init
This commit is contained in:
@@ -0,0 +1,159 @@
|
||||
.selected {
|
||||
color: @primaryColor !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content_header {
|
||||
height: 150rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 30rpx;
|
||||
background: #fff;
|
||||
&_avar {
|
||||
width: 110rpx;
|
||||
height: 110rpx;
|
||||
margin-right: 22rpx;
|
||||
image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
&_userName {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
&_tag {
|
||||
span {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
color: @primaryColor;
|
||||
background: rgba(56, 117, 234, 0.14);
|
||||
padding: 3rpx 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content_message {
|
||||
margin-top: 14rpx;
|
||||
&_item {
|
||||
display: flex;
|
||||
// height: 100rpx;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
padding: 40rpx 30rpx;
|
||||
font-size: 14px;
|
||||
border-bottom: 1px solid #f0f2f7;
|
||||
&_label {
|
||||
flex: 0.25;
|
||||
}
|
||||
&_value {
|
||||
flex: 0.75;
|
||||
font-weight: 600;
|
||||
input {
|
||||
font-size: 14px;
|
||||
}
|
||||
.tag_list {
|
||||
flex: 1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-row-gap: 20rpx;
|
||||
justify-items: self-start;
|
||||
|
||||
span {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: @primaryColor;
|
||||
display: inline-block;
|
||||
padding: 4rpx 14rpx;
|
||||
border-radius: 16px;
|
||||
border: 1px solid @primaryColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
.flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
.marginTop16 {
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
}
|
||||
.iconfont {
|
||||
font-weight: 900;
|
||||
color: #c4c4c4;
|
||||
font-size: 20px !important;
|
||||
}
|
||||
.to_link {
|
||||
.iconfont {
|
||||
font-weight: 400;
|
||||
color: #000;
|
||||
font-size: 16px !important;
|
||||
}
|
||||
}
|
||||
.userTag_container {
|
||||
padding: 30rpx 40rpx;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
width: 690rpx;
|
||||
box-sizing: border-box;
|
||||
&_title {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
position: relative;
|
||||
&_message {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
&_list {
|
||||
&_item {
|
||||
margin-top: 78rpx;
|
||||
&_label {
|
||||
color: #282828;
|
||||
font-weight: bold;
|
||||
margin-bottom: 26rpx;
|
||||
}
|
||||
|
||||
&_value {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 178rpx);
|
||||
grid-row-gap: 26rpx;
|
||||
grid-column-gap: 26rpx;
|
||||
span {
|
||||
font-size: 14px;
|
||||
display: inline-block;
|
||||
background: #f0f0f0;
|
||||
text-align: center;
|
||||
padding: 12rpx 0;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
.select {
|
||||
background: @primaryColor;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mg0 {
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
&_handle {
|
||||
width: 610rpx;
|
||||
height: 76rpx;
|
||||
background: @primaryColor;
|
||||
opacity: 1;
|
||||
border-radius: 43px;
|
||||
margin: auto;
|
||||
margin-top: 84rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,358 @@
|
||||
.header {
|
||||
height: 116rpx;
|
||||
background: linear-gradient(90deg, #3875ea 0%, #1890fc 100%);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 30rpx;
|
||||
|
||||
color: #fff;
|
||||
> view {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.header_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&_center {
|
||||
// position: absolute;
|
||||
// top: 50%;
|
||||
// left: 50%;
|
||||
// transform: translate(-50%, -50%);
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.header_right {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
// 聊天对话框
|
||||
.content {
|
||||
padding: 36rpx 30rpx;
|
||||
&_list {
|
||||
display: flex;
|
||||
margin-bottom: 36rpx;
|
||||
color: #282828;
|
||||
font-weight: 600;
|
||||
&_avar {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
margin-right: 22rpx;
|
||||
border-radius: 50%;
|
||||
// border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&_message {
|
||||
max-width: 420rpx;
|
||||
padding: 15rpx 28rpx;
|
||||
background: #fff;
|
||||
border-radius: 7px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
&_value{
|
||||
word-break:break-all;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
&_product {
|
||||
.content_list_message_orderId {
|
||||
padding-bottom: 15rpx;
|
||||
border-bottom: 1px solid #eceff8;
|
||||
}
|
||||
|
||||
.content_list_message_detils {
|
||||
padding-top: 20rpx;
|
||||
display: flex;
|
||||
&_image {
|
||||
width: 204rpx;
|
||||
height: 204rpx;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
background: #eee;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&_value {
|
||||
flex: 1;
|
||||
padding-left: 16rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
&_shopPrice {
|
||||
color: #f74c31;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.content_list_message_detils_value_shopMessag {
|
||||
}
|
||||
|
||||
.content_list_message_detils_value_shopMessag_item {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&_image {
|
||||
max-width: 400rpx;
|
||||
image {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.right_box {
|
||||
flex-direction: row-reverse;
|
||||
.content_list_message {
|
||||
margin-right: 20rpx;
|
||||
background: #cde0ff;
|
||||
}
|
||||
|
||||
.content_list_avar {
|
||||
margin-right: 0rpx !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
background: #f3f4f5;
|
||||
padding-bottom: 20rpx;
|
||||
&_input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 24rpx 30rpx;
|
||||
border-top: 1px solid #dddddd;
|
||||
&_icon {
|
||||
// align-self: flex-start;
|
||||
}
|
||||
.iconfont {
|
||||
font-size: 24px;
|
||||
}
|
||||
.mr18 {
|
||||
margin-right: 18rpx;
|
||||
}
|
||||
&_content {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
padding: 8rpx;
|
||||
border-radius: 32px;
|
||||
overflow: hidden; // 隐藏超出部分的textarea
|
||||
.font {
|
||||
padding: 8rpx 16rpx;
|
||||
}
|
||||
textarea {
|
||||
height: 20px;
|
||||
display: block;
|
||||
// position: absolute;
|
||||
// top: 0rpx;
|
||||
// left: 0rpx;
|
||||
z-index: 10;
|
||||
resize: none;
|
||||
outline: none;
|
||||
background: none;
|
||||
color: rgba(0, 0, 0, 1);
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
width: 80%;
|
||||
font-size: 14px;
|
||||
}
|
||||
p {
|
||||
width: 100%;
|
||||
display: block;
|
||||
min-height: 20rpx;
|
||||
opacity: 0;
|
||||
}
|
||||
.iconfont {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
.canSend {
|
||||
color: @primaryColor;
|
||||
}
|
||||
}
|
||||
.footer_input_icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.iconfont {
|
||||
font-size: 60rpx;
|
||||
}
|
||||
.sendMessage {
|
||||
display: inline-block;
|
||||
background: @primaryColor;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
padding: 12rpx 25rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&_option {
|
||||
background: #fff;
|
||||
height: 440rpx;
|
||||
transition: 0.3s;
|
||||
.option {
|
||||
padding: 46rpx 65rpx;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 68rpx;
|
||||
> view {
|
||||
text-align: center;
|
||||
image {
|
||||
width: 90%;
|
||||
}
|
||||
> view {
|
||||
color: #282828;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.emoji {
|
||||
height: 100%;
|
||||
|
||||
.emoji-item {
|
||||
display: inline-block;
|
||||
width: 12.5%;
|
||||
text-align: center;
|
||||
margin: 20rpx 0;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
.em {
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.translateY0 {
|
||||
// transform: translateY(0);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.speechArtSelectEd {
|
||||
color: @primaryColor;
|
||||
}
|
||||
|
||||
.image_content {
|
||||
max-width: 90%;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
image {
|
||||
max-width: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
right: -30rpx;
|
||||
top: -30rpx;
|
||||
z-index: 100;
|
||||
font-size: 60rpx;
|
||||
opacity: 0.9;
|
||||
}
|
||||
}
|
||||
|
||||
.chat_result {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 10rpx;
|
||||
}
|
||||
|
||||
.chat_result_ing {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
border-top: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
animation: changeleft 1s linear infinite;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.chat_result_faile {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
background: #FF0000;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@keyframes changeleft {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.scriptLibary_header {
|
||||
display: flex;
|
||||
padding: 44rpx 32rpx;
|
||||
position: relative;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.scriptLibary_header_title[data-v-afab33f6] {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
display: flex;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.speechArtSelectEd[data-v-afab33f6] {
|
||||
color: #3875EA;
|
||||
}
|
||||
.scriptLibary_header_icon {
|
||||
display: flex;
|
||||
}
|
||||
.tit {
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
.search {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background: #f5f6f9;
|
||||
margin: 0 5%;
|
||||
border-radius: 30rpx;
|
||||
padding: 10rpx 0;
|
||||
color: #9f9f9f;
|
||||
}
|
||||
.icon_search {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
left: 33%;
|
||||
}
|
||||
.uni-input-placeholder {
|
||||
color: #9f9f9f !important;
|
||||
}
|
||||
.icon_edit {
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
.scriptLibary {
|
||||
background: #fff;
|
||||
border-radius: 12rpx 12rpx 0px 0px;
|
||||
&_header {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 40rpx 30rpx;
|
||||
position: relative;
|
||||
> div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&_title {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
> div:nth-child(1) {
|
||||
margin-right: 100rpx;
|
||||
}
|
||||
}
|
||||
|
||||
&_icon {
|
||||
> div:nth-child(1) {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.iconfont {
|
||||
font-size: 22px;
|
||||
color: #c8cad0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&_search {
|
||||
padding-bottom: 44rpx;
|
||||
border-bottom: 1px solid #F0F3FA;
|
||||
> div {
|
||||
display: flex;
|
||||
background: #f5f6f9;
|
||||
width: 690rpx;
|
||||
height: 68rpx;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 39px;
|
||||
> input {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.iconfont {
|
||||
font-size: 22px;
|
||||
color: #C4C4C4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user