yuminge-app/yun-min-program-plugin-master/packageH/chitchat/chatWindow/chatWindow.wxss

766 lines
13 KiB
Plaintext

/* packageH/chitchat/chatWindow/chatWindow.wxss */
view,
text {
box-sizing: border-box;
}
.chat-scroll {
padding: 0 0.9rem;
padding-top: 0.5rem;
box-sizing: border-box;
transition: 0.3s;
overflow-anchor: none;
}
.conversation {
padding-bottom: 1.2rem;
position: relative;
}
.conversation .history {
padding-bottom: 20px;
}
.conversation .history .title {
font-size: 14px;
color: #265bed;
text-align: center;
}
.conversation .system-opt-message {
width: 100%;
text-align: center;
font-size: 12px;
color: #666;
height: 1.5rem;
line-height: 1.5rem;
}
.chat-msg {
width: 100%;
}
.chat-msg .avater {
width: 2.281rem;
height: 2.281rem;
text-align: center;
box-sizing: border-box;
position: absolute;
}
.chat-msg .avater img {
width: 100%;
height: 100%;
border-radius: 50%;
}
.chat-msg .content {
position: relative;
}
.chat-msg .content .name {
font-size: 12px;
color: #666;
line-height: 1;
margin-bottom: 0.3rem;
}
.chat-msg .content .txt {
max-width: 15rem;
word-wrap: break-word;
word-break: break-all;
text-align: justify;
padding: 0.6rem;
border-radius: 0.3rem;
position: relative;
}
.chat-msg .content .arrow-l {
position: absolute;
width: 0;
height: 0;
left: -7px;
border-color: #fff transparent transparent transparent;
border-style: solid;
border-width: 10px 0 0 10px;
top: 8px;
}
.chat-msg .content .arrow-r {
position: absolute;
width: 0;
height: 0;
right: -7px;
border-color: transparent transparent transparent #f14e4e;
border-style: solid;
border-width: 0 0 10px 10px;
top: 8px;
}
.chat-msg::after {
content: "";
display: table;
clear: both;
}
.chat-msg .send-msg-loading {
position: absolute;
left: -2rem;
}
.chat-msg .send-msg-loading image {
width: 2rem;
height: 2rem;
}
.my-msg {
text-align: right;
padding-left: 2rem;
box-sizing: border-box;
}
.my-msg .avater {
right: 0;
top: 0;
}
.my-msg .content {
padding-right: 3rem;
float: right;
text-align: right;
}
.my-msg .content .my-info {
position: relative;
display: inline-block;
}
.my-msg .content .my-info .txt {
display: inline-flex;
font-size: 0.875rem;
color: #fff;
background: #f14e4e;
}
.my-msg .content .name {
font-size: 12px;
color: #666;
line-height: 1;
margin-bottom: 0.3rem;
}
.other-msg {
vertical-align: top;
width: 100%;
box-sizing: border-box;
position: relative;
padding-right: 2rem;
}
.other-msg .content {
padding-left: 3rem;
float: left;
text-align: left;
}
.other-msg .content .other-info {
position: relative;
display: inline-block;
}
.other-msg .content .other-info .txt {
font-size: 0.875rem;
color: #333;
background: #fff;
}
.other-msg .content .content-time {
margin-left: 0.6rem;
}
.other-msg .avater {
left: 0;
top: 0;
}
.chat-content-opt {
width: 5rem;
}
.chat-content-opt .chat-content-opt-item {
width: 100%;
text-align: center;
line-height: 2;
border-bottom: 1px solid #f5f5f5;
}
.chat-footer {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 50px;
border-top: 1px solid #ddd;
transition: 0.4s;
background: #fff;
}
.chat-footer .show_tool_bar {
position: absolute;
top: -88rpx;
left: 0;
right: 0;
height: 88rpx;
background-color: #e3e3e3;
}
.chat-footer .show_tool_bar .chat_tool_bars {
display: flex;
align-items: center;
flex-wrap: nowrap;
height: 88rpx;
padding: 0 29rpx;
overflow-x: auto;
box-sizing: border-box;
}
.chat-footer .show_tool_bar .chat_tool_bars .chat_tool_item {
flex-shrink: 0;
display: flex;
align-items: center;
height: 52rpx;
padding: 0 20rpx;
margin-right: 34rpx;
font-size: 22rpx;
color: #7c7c7c;
background-color: #ffffff;
border-radius: 26rpx;
border: solid 1rpx #a9a9a9;
}
.chat-footer .chat-opt-input {
display: flex;
align-items: center;
width: 100%;
height: 50px;
background-color: #e3e3e3;
}
.chat-footer .chat-opt-input .chat-opt-input-box {
position: relative;
display: flex;
align-items: center;
width: 100%;
padding: 0 0.563rem;
}
.chat-footer .chat-opt-input .chat-opt-input-box::after {
content: "";
clear: both;
display: table;
}
.chat-footer .chat-opt-input .chat-opt-input-box .chat-opt-input-more-icon {
margin-top: 0.3rem;
display: block;
}
.chat-footer .chat-opt-input .chat-opt-input-box .inputWrapper {
display: flex;
align-items: center;
flex: 1;
height: 2rem;
padding: 0 0.4rem;
margin-left: 0.813rem;
border-radius: 1rem;
background-color: #fff;
}
.chat-footer .chat-opt-input .chat-opt-input-box .inputWrapper .chat-opt-input-emoji-icon {
position: relative;
}
.chat-footer .chat-opt-input .chat-opt-input-box .inputWrapper .chat-opt-input-emoji-icon .emotion-wrapper {
position: absolute;
bottom: 50px;
right: -60px;
width: 90vw;
background: #fff;
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
word-break: break-all;
border-radius: 4px;
border: 1px solid #ebeef5;
padding: 12px;
box-sizing: border-box;
}
.chat-footer .chat-opt-input .chat-opt-input-box .inputWrapper .chat-opt-input-emoji-icon .emotion-wrapper::after {
position: absolute;
bottom: -6px;
right: 68px;
content: '';
display: block;
border: 6px solid #fff;
border-bottom-width: 0;
border-right-color: transparent;
border-left-color: transparent;
filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
}
.chat-footer .chat-opt-input .chat-opt-input-box .inputWrapper .edit-ipt {
flex: 1;
padding: 0 0.2rem;
border-width: 1px;
border-style: none;
border-color: #666;
}
.chat-footer .chat-opt-input .chat-opt-input-box .chat-opt-send-msg-btn {
display: flex;
align-items: center;
justify-content: center;
width: 3.656rem;
height: 2rem;
margin-left: 0.5rem;
font-size: 0.862rem;
color: #fff;
background-color: #f14e4e;
border-radius: 1rem;
}
.chat-footer.pcStyle {
width: 375px;
left: 50%;
transform: translateX(-50%);
}
.faces_content {
display: grid;
grid-template-columns: repeat(9, 25px);
-webkit-box-pack: justify;
justify-content: space-between;
width: 100%;
}
.face-item {
text-align: center;
display: inline-block;
height: 36px;
width: 25px;
}
.face-item image {
width: 25px;
height: 25px;
}
.more-opt-con {
padding: 1rem;
}
.more-opt-con::after {
clear: both;
content: "";
display: table;
}
.more-opt-con .more-opt-item {
width: 4rem;
text-align: center;
float: left;
}
.goods-con {
background: #fff;
display: flex;
padding: 0.8rem;
min-width: 15rem;
}
.goods-con .goods-img {
width: 4.5rem;
}
.goods-con .goods-img image {
width: 4rem;
height: 4rem;
}
.goods-con .goods-txt {
flex: 1;
}
.goods-con .goods-txt .goods-title {
font-size: 14px;
}
.goods-con .goods-txt .goods-price {
margin-top: 0.8rem;
color: #fb4a4a;
}
.search-list-popup-con .search-con {
width: 90%;
position: relative;
padding-top: 1rem;
margin: auto;
}
.search-list-popup-con .input {
display: flex;
width: 100%;
background: #f5f5f5;
border-radius: 0.3rem;
}
.search-list-popup-con input {
border: none;
flex: 1;
height: 2rem;
padding: 0.3rem 0.5rem;
}
.search-list-popup-con i {
font-size: 1.65rem;
color: #999;
margin-right: 0.375rem;
}
.search-list-popup-con .goods-con {
width: 100%;
border-bottom: 1px solid #f5f5f5;
}
.search-list-popup-con .goods-con .goods-txt {
text-align: left;
padding-left: 0.5rem;
}
.search-list-popup-con .goods-con .goods-send {
width: 4rem;
padding-left: 0.5rem;
}
.search-list-popup-con .goods-con .goods-send-btn {
display: inline-block;
color: #fff;
width: 100%;
text-align: center;
background: #fb4a4a;
border-radius: 0.3rem;
padding: 0.3rem 0;
margin-top: 40%;
}
.search-list-popup-con .order-con .order-item-con {
border-bottom: none;
}
.search-list-popup-con .order-con .order-footer {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #f5f5f5;
padding-bottom: 0.5rem;
}
.search-list-popup-con .order-con .send-btn {
display: inline-block;
color: #fff;
text-align: center;
background: #fb4a4a;
border-radius: 0.3rem;
padding: 0.15rem 0.6rem;
}
.search-list-popup-con .reply-con {
width: 100%;
border-bottom: 1px solid #f5f5f5;
display: flex;
padding: 0.8rem;
}
.search-list-popup-con .reply-con .reply-txt {
text-align: left;
padding-left: 0.5rem;
flex: 1;
}
.search-list-popup-con .reply-con .reply-title {
font-size: 16px;
}
.search-list-popup-con .reply-con .reply-content {
font-size: 12px;
color: #333;
}
.search-list-popup-con .reply-con .reply-send {
width: 4rem;
padding-left: 0.5rem;
}
.search-list-popup-con .reply-con .reply-send-btn {
display: inline-block;
color: #fff;
width: 100%;
text-align: center;
background: #fb4a4a;
border-radius: 0.3rem;
padding: 0.3rem 0;
margin-top: 10%;
}
.search-list-popup-con .transfer-con {
width: 100%;
border-bottom: 1px solid #f5f5f5;
display: flex;
padding: 0.8rem;
}
.search-list-popup-con .transfer-con .transfer-avatar {
width: 4.5rem;
}
.search-list-popup-con .transfer-con .transfer-avatar image {
width: 4rem;
height: 4rem;
}
.search-list-popup-con .transfer-con .transfer-txt {
text-align: left;
padding-left: 0.5rem;
flex: 1;
}
.search-list-popup-con .transfer-con .transfer-title {
font-size: 16px;
}
.search-list-popup-con .transfer-con .transfer-content {
font-size: 12px;
color: #333;
}
.search-list-popup-con .transfer-con .transfer-send {
width: 4rem;
padding-left: 0.5rem;
}
.search-list-popup-con .transfer-con .transfer-send-btn {
display: inline-block;
color: #fff;
width: 100%;
text-align: center;
background: #fb4a4a;
border-radius: 0.3rem;
padding: 0.3rem 0;
margin-top: 10%;
}
.opet {
display: grid;
grid-template-columns: repeat(4, 3.438rem);
grid-template-rows: repeat(auto-fill, 4.75rem);
grid-row-gap: 1.5rem;
justify-content: space-between;
width: 100%;
height: 14rem;
padding: 1.75rem 1.656rem 0;
background: #fff;
}
.opet .opetItem {
display: flex;
flex-direction: column;
}
.opet .opetItem .iconImg {
width: 3.438rem;
height: 3.438rem;
margin: 0;
border-radius: 0.625rem;
}
.opet .opetItem text {
margin-top: 0.4rem;
font-size: 0.75rem;
color: #4b4b4b;
text-align: center;
}
.sendGoods {
position: fixed;
right: 1rem;
bottom: 4rem;
width: 7rem;
height: 9.5rem;
padding: 0.5rem;
text-align: left;
border-radius: 0.5rem;
background: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.sendGoods .tips {
font-size: 0.75rem;
color: #222;
}
.sendGoods image {
width: 6rem;
height: 6rem;
margin-top: 0.4rem;
}
.sendGoods .price {
font-weight: bold;
color: #f14e4e;
}
.order-con {
background: #fff;
padding: 10px;
}
.order-con .order-header {
width: 100%;
font-size: 14px;
padding-top: 10px;
}
.order-con .order-header .order-no {
color: #666;
float: left;
}
.order-con .order-header .order-status {
float: right;
color: #f15353;
}
.order-con .order-header::after {
display: table;
content: "";
clear: both;
}
.order-con .order-item-con {
display: flex;
padding: 10px 0;
border-bottom: 1px solid #ccc;
}
.order-con .order-item-con .order-goods-img {
width: 70px;
}
.order-con .order-item-con .order-goods-img image {
width: 50px;
height: 50px;
}
.order-con .order-item-con .order-item-txt {
flex: 1;
}
.order-con .order-item-con .order-item-txt .order-goods-title {
font-size: 14px;
}
.order-con .order-item-con .order-item-txt .order-goods-price {
display: inline-block;
width: 100%;
text-align: right;
margin-top: 10px;
color: #fb4a4a;
}
.order-con .order-item-con .order-item-txt .order-goods-price .order-goods-num {
float: left;
}
.order-con .order-footer {
text-align: right;
color: #666;
line-height: 1.8;
}
.no-more-message {
padding: 10px 0;
color: #666;
text-align: center;
}
.faces_content {
display: grid;
grid-template-columns: repeat(9, 36px);
justify-content: space-between;
width: 100%;
}
.faces_content span {
margin: 5px;
}
.faces_content img {
width: 28px;
height: 28px;
}
.no-connect {
position: absolute;
top: 0;
left: 0;
width: 100%;
color: #f56c6c;
text-align: center;
background: #fef0f0;
border-color: #fbc4c4;
padding: 10px;
z-index: 10;
}
.withdraw {
position: fixed;
width: 150rpx;
background: #fff;
border-radius: 10rpx;
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}
.withdraw .item {
display: flex;
align-items: center;
justify-content: center;
width: 150rpx;
height: 60rpx;
font-size: 28rpx;
color: #666;
}
.withdraw.down::after {
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%);
content: '';
display: block;
border: 6px solid #fff;
border-top-width: 0;
border-right-color: transparent;
border-left-color: transparent;
filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
}
.withdraw.up::after {
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
content: '';
display: block;
border: 6px solid #fff;
border-bottom-width: 0;
border-right-color: transparent;
border-left-color: transparent;
filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
}