发送消息不显示bug

master
2022-12-28 18:33:50 +08:00
parent 9cc6f519a9
commit d59cd74bf0
2 changed files with 2604 additions and 2511 deletions

View File

@ -4,29 +4,54 @@
width: 100%; width: 100%;
} }
.status_bar-nobg { .status_bar-nobg {
height: var(--status-bar-height); height: var(--status-bar-height);
width: 100%; width: 100%;
} }
/* 转圈动画 */ /* 转圈动画 */
.turn-load { .turn-load {
animation: turnmy 1s linear infinite; animation: turnmy 1s linear infinite;
} }
@keyframes turnmy { @keyframes turnmy {
0%{-webkit-transform:rotate(0deg);} 0% {
25%{-webkit-transform:rotate(90deg);} -webkit-transform: rotate(0deg);
50%{-webkit-transform:rotate(180deg);}
75%{-webkit-transform:rotate(270deg);}
100%{-webkit-transform:rotate(360deg);}
} }
25% {
-webkit-transform: rotate(90deg);
}
50% {
-webkit-transform: rotate(180deg);
}
75% {
-webkit-transform: rotate(270deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
.one-show { .one-show {
animation: oneshow 0.8s ease 1; animation: oneshow 0.8s ease 1;
} }
@keyframes oneshow { @keyframes oneshow {
from{opacity: 0;} from {
to{opacity: 1;} opacity: 0;
} }
to {
opacity: 1;
}
}
.status_bar-fixed { .status_bar-fixed {
height: var(--status-bar-height); height: var(--status-bar-height);
width: 100%; width: 100%;
@ -34,6 +59,7 @@ position: fixed;
background-color: #f1f1f1; background-color: #f1f1f1;
z-index: 20; z-index: 20;
} }
.head-dh-my { .head-dh-my {
display: flex; display: flex;
position: fixed; position: fixed;
@ -44,40 +70,51 @@ z-index: 15;
background-color: #e3e3e3; background-color: #e3e3e3;
width: 750rpx; width: 750rpx;
} }
.border-bom { .border-bom {
border-bottom: 0.5rpx solid #DDDDDD; border-bottom: 0.5rpx solid #DDDDDD;
} }
.border-red { .border-red {
border-bottom: 1rpx solid #d33e18; border-bottom: 1rpx solid #d33e18;
} }
.border-bom-big { .border-bom-big {
border-bottom: 8rpx solid #DDDDDD; border-bottom: 8rpx solid #DDDDDD;
} }
.border-bom-white { .border-bom-white {
border-bottom: 2rpx solid #FFFFFF; border-bottom: 2rpx solid #FFFFFF;
} }
.border-bom-green { .border-bom-green {
border-bottom: 4rpx solid #f8f9bd; border-bottom: 4rpx solid #f8f9bd;
} }
.border-bom-index { .border-bom-index {
border-bottom: 4rpx solid #27d9b3; border-bottom: 4rpx solid #27d9b3;
} }
.padding-left { .padding-left {
padding-left: 20rpx; padding-left: 20rpx;
} }
.padding-left-top { .padding-left-top {
padding-left: 20rpx; padding-left: 20rpx;
padding-top: 20rpx; padding-top: 20rpx;
} }
.padding-right { .padding-right {
padding-right: 20rpx; padding-right: 20rpx;
} }
.input-my { .input-my {
padding-left: 20rpx; padding-left: 20rpx;
border-radius: 40rpx; border-radius: 40rpx;
height: 50rpx; height: 50rpx;
margin: 10rpx; margin: 10rpx;
} }
.tb-tag-absolute { .tb-tag-absolute {
position: absolute; position: absolute;
z-index: 5; z-index: 5;
@ -86,6 +123,7 @@ width: 750rpx;
margin-left: 25rpx; margin-left: 25rpx;
margin-top: -35rpx; margin-top: -35rpx;
} }
.lk-tag { .lk-tag {
height: 50rpx; height: 50rpx;
padding: 0 10rpx; padding: 0 10rpx;
@ -99,35 +137,42 @@ width: 750rpx;
} }
.tb-tag-my { .tb-tag-my {
border-radius: 15rpx; border-radius: 15rpx;
font-size: 16rpx; font-size: 16rpx;
margin-left: 5rpx; margin-left: 5rpx;
} }
.my-green { .my-green {
color: #29c7a5; color: #29c7a5;
} }
.my-hui { .my-hui {
color: #585858; color: #585858;
font-size: 22rpx; font-size: 22rpx;
} }
.flex-column-center { .flex-column-center {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.flex-column-between { .flex-column-between {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.flex-column-start { .flex-column-start {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
.flex-column-around { .flex-column-around {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -135,52 +180,63 @@ width: 750rpx;
align-items: center; align-items: center;
} }
.flex-row-start { .flex-row-start {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
.flex-row-around { .flex-row-around {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
} }
.flex-row-center { .flex-row-center {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.flex-row-between { .flex-row-between {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.my-title { .my-title {
font-size: 35rpx; font-size: 35rpx;
font-weight: bold; font-weight: bold;
} }
.my-neirong { .my-neirong {
font-size: 26rpx; font-size: 26rpx;
color: #6d6d6d; color: #6d6d6d;
} }
.my-neirong-sm { .my-neirong-sm {
font-size: 23rpx; font-size: 23rpx;
color: #616161; color: #616161;
} }
.my-tag-text { .my-tag-text {
font-size: 22rpx; font-size: 22rpx;
padding-top: 20rpx; padding-top: 20rpx;
color: #bababa; color: #bababa;
} }
.padding-top { .padding-top {
padding-top: 35rpx; padding-top: 35rpx;
} }
.padding-top-sm { .padding-top-sm {
padding-top: 20rpx; padding-top: 20rpx;
} }
.bottom-dh { .bottom-dh {
background-color: #f1f1f1; background-color: #f1f1f1;
position: fixed; position: fixed;
@ -189,12 +245,14 @@ width: 750rpx;
width: 750rpx; width: 750rpx;
height: 110rpx; height: 110rpx;
} }
.tb-text { .tb-text {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.bottom-text { .bottom-text {
width: 750rpx; width: 750rpx;
position: fixed; position: fixed;
@ -203,6 +261,7 @@ width: 750rpx;
color: #9d9d9d; color: #9d9d9d;
bottom: 70rpx; bottom: 70rpx;
} }
.white-box { .white-box {
padding: 0 20rpx; padding: 0 20rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
@ -211,6 +270,7 @@ width: 750rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 30rpx; border-radius: 30rpx;
} }
.green-box { .green-box {
padding: 0 20rpx; padding: 0 20rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
@ -220,6 +280,7 @@ width: 750rpx;
border-radius: 30rpx; border-radius: 30rpx;
background-image: linear-gradient(#1faf97, #29c7a5); background-image: linear-gradient(#1faf97, #29c7a5);
} }
.yuan-sm { .yuan-sm {
width: 13rpx; width: 13rpx;
height: 13rpx; height: 13rpx;
@ -227,6 +288,7 @@ width: 750rpx;
background-color: #1fc189; background-color: #1fc189;
margin-left: 10rpx; margin-left: 10rpx;
} }
.yuan-normal { .yuan-normal {
width: 14rpx; width: 14rpx;
height: 14rpx; height: 14rpx;
@ -235,6 +297,7 @@ width: 750rpx;
margin-left: 10rpx; margin-left: 10rpx;
} }
.yuan-normal-red { .yuan-normal-red {
width: 14rpx; width: 14rpx;
height: 14rpx; height: 14rpx;
@ -243,6 +306,7 @@ width: 750rpx;
margin-left: 10rpx; margin-left: 10rpx;
} }
.yuan-sm-red { .yuan-sm-red {
width: 13rpx; width: 13rpx;
height: 13rpx; height: 13rpx;
@ -250,46 +314,59 @@ width: 750rpx;
background-color: #de410d; background-color: #de410d;
margin-left: 10rpx; margin-left: 10rpx;
} }
.white-box-all { .white-box-all {
margin-top: 5rpx; margin-top: 5rpx;
width: 750rpx; width: 750rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 13px; border-radius: 13px;
} }
.moneycolor { .moneycolor {
color: #ea5002; color: #ea5002;
} }
.text-bold-sm { .text-bold-sm {
font-weight: 425; font-weight: 425;
} }
.sm-moneycolor { .sm-moneycolor {
color: #e3793b; color: #e3793b;
} }
.margin-top { .margin-top {
margin-top: 20rpx; margin-top: 20rpx;
} }
.margin-top-sm { .margin-top-sm {
margin-top: 12rpx; margin-top: 12rpx;
} }
.margin { .margin {
margin: 20rpx; margin: 20rpx;
} }
.margin-left { .margin-left {
margin-left: 20rpx; margin-left: 20rpx;
} }
.margin-left-top { .margin-left-top {
margin-left: 20rpx; margin-left: 20rpx;
margin-top: 20rpx; margin-top: 20rpx;
} }
.margin-right { .margin-right {
margin-right: 20rpx; margin-right: 20rpx;
} }
.my-absolute { .my-absolute {
position: absolute; position: absolute;
} }
.my-fixed { .my-fixed {
position: fixed; position: fixed;
} }
.my-seach { .my-seach {
width: 450rpx; width: 450rpx;
height: 55rpx; height: 55rpx;
@ -297,6 +374,7 @@ width: 750rpx;
border-radius: 30rpx; border-radius: 30rpx;
padding-left: 20rpx; padding-left: 20rpx;
} }
.move-view { .move-view {
width: 48rpx; width: 48rpx;
height: 10rpx; height: 10rpx;
@ -304,12 +382,14 @@ width: 750rpx;
border-radius: 4rpx; border-radius: 4rpx;
margin-left: 100rpx; margin-left: 100rpx;
} }
.move-view-p { .move-view-p {
width: 45rpx; width: 45rpx;
height: 10rpx; height: 10rpx;
background-color: #28ba91; background-color: #28ba91;
border-radius: 4rpx; border-radius: 4rpx;
} }
.header-dh { .header-dh {
position: fixed; position: fixed;
padding-top: 20rpx; padding-top: 20rpx;
@ -319,17 +399,23 @@ width: 750rpx;
background-color: #f1f1f1; background-color: #f1f1f1;
z-index: 20; z-index: 20;
} }
.tp-normal { .tp-normal {
width: 60rpx; width: 60rpx;
height: 60rpx; height: 60rpx;
}.tp-sm{ }
.tp-sm {
width: 45rpx; width: 45rpx;
height: 45rpx; height: 45rpx;
}.tp-big{ }
.tp-big {
width: 70rpx; width: 70rpx;
height: 70rpx; height: 70rpx;
border-radius: 50%; border-radius: 50%;
} }
.main-color { .main-color {
color: #07D188; color: #07D188;
} }
@ -1605,9 +1691,11 @@ image {
.round { .round {
border-radius: 5000rpx; border-radius: 5000rpx;
} }
.radius-m { .radius-m {
border-radius: 12rpx; border-radius: 12rpx;
} }
.radius { .radius {
border-radius: 6rpx; border-radius: 6rpx;
} }
@ -4080,11 +4168,13 @@ button.cuIcon.lg {
.cu-modal.drawer-modal.show .cu-dialog { .cu-modal.drawer-modal.show .cu-dialog {
transform: translateX(0%); transform: translateX(0%);
} }
.cu-modal .cu-dialog>.cu-bar:first-child .action { .cu-modal .cu-dialog>.cu-bar:first-child .action {
min-width: 100rpx; min-width: 100rpx;
margin-right: 0; margin-right: 0;
min-height: 100rpx; min-height: 100rpx;
} }
/* ================== /* ==================
==================== */ ==================== */
@ -4514,11 +4604,13 @@ scroll-view.cu-steps .cu-item {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
.grid.grid-square>view.bg-img image { .grid.grid-square>view.bg-img image {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
} }
.grid.col-1.grid-square>view { .grid.col-1.grid-square>view {
padding-bottom: 100%; padding-bottom: 100%;
height: 0; height: 0;
@ -4999,6 +5091,7 @@ scroll-view.cu-steps .cu-item {
background-color: #FFFFCC; background-color: #FFFFCC;
color: black; color: black;
} }
.bg-to-color { .bg-to-color {
background-color: #F5F5F5; background-color: #F5F5F5;
color: black; color: black;
@ -5532,6 +5625,7 @@ scroll-view.cu-steps .cu-item {
.gif-black { .gif-black {
mix-blend-mode: screen; mix-blend-mode: screen;
} }
.gif-white { .gif-white {
mix-blend-mode: multiply; mix-blend-mode: multiply;
} }

View File

@ -25,7 +25,6 @@
<view v-else> <view v-else>
<view class="goodsCard u-flex u-row-between u-p-b-0" style="width:100%;margin: 0 0; "> <view class="goodsCard u-flex u-row-between u-p-b-0" style="width:100%;margin: 0 0; ">
<view class="imagebox" @click="jumpGoodDelic"> <view class="imagebox" @click="jumpGoodDelic">
<!-- <image class="image" :src="goodLiistData.thumbnail" mode="widthFix"></image> -->
<image class="image" :src="JSON.parse(item.text).thumbnail" mode="widthFix"></image> <image class="image" :src="JSON.parse(item.text).thumbnail" mode="widthFix"></image>
</view> </view>
<view class="goodsdesc" @click="jumpGoodDelic"> <view class="goodsdesc" @click="jumpGoodDelic">
@ -292,7 +291,7 @@ export default {
talk_id: this.params.talkId, talk_id: this.params.talkId,
} }
this.ws.send(JSON.stringify(msg)) this.ws.send(JSON.stringify(msg))
this.msgList.push({ "text": JSON.stringify(this.goodLiistData), "my": true }) this.msgList.push({ "text": JSON.stringify(this.goodLiistData), "my": true, "messageType": 'GOODS' })
this.showHide = false this.showHide = false
storage.setImGoodsLink(this.params.talkId) storage.setImGoodsLink(this.params.talkId)
}, },
@ -390,7 +389,7 @@ export default {
talk_id: this.params.talkId, talk_id: this.params.talkId,
} }
this.ws.send(JSON.stringify(msg)) this.ws.send(JSON.stringify(msg))
this.msgList.push({ "text": this.msg, "my": true }) this.msgList.push({ "text": this.msg, "my": true, "messageType": 'MESSAGE' })
// //
let type = 'down'; let type = 'down';
this.msgGo(type) this.msgGo(type)