improve: 客服接待商品展示

This commit is contained in:
From-wh 2023-05-10 14:56:03 +08:00
parent eceaacc7dc
commit 4cbebbff21

View File

@ -217,6 +217,7 @@ export default {
}
},
records() {
if (!this.chatList.length) return;
return this.chatList.map((item, index) => {
item.time = this.$moment(item.add_time * 1000).format('MMMDo h:mm');
if (index) {
@ -264,7 +265,7 @@ export default {
if (data.msn_type == 1 || data.msn_type == 2) {
data.msn = this.replace_em(data.msn);
}
if (data.msn_type == 5) return;
// if (data.msn_type == 5)
this.chatList.push(data);
this.$refs['scrollBox'].refresh();
@ -565,7 +566,12 @@ export default {
},
};
</script>
<style>
html,
body {
font-size: 50px;
}
</style>
<style lang="stylus" scoped>
.head-box{
position relative