展示问题

master
chc 2022-12-28 18:23:23 +08:00
parent 84d3dd247d
commit f4bf4dc060
3 changed files with 14 additions and 11 deletions

View File

@ -95,11 +95,10 @@ export default {
}, },
// im // im
async getIMDetailMethods () { async getIMDetailMethods () {
// let res = await getIMDetail(); let res = await getIMDetail();
// if (res.success) { if (res.success) {
// this.IMLink = res.result; this.IMLink = res.result;
// } }
this.IMLink = 'http://192.168.0.139:8000'
}, },
// //
targetClickSku (val) { targetClickSku (val) {

View File

@ -484,9 +484,8 @@ export default {
records.length records.length
? (this.loadRecord.status = 1) ? (this.loadRecord.status = 1)
: (this.loadRecord.status = 2); : (this.loadRecord.status = 2);
this.$nextTick(() => { this.$nextTick(() => {
if (data.record_id == 0) { if (data.record_id == 0 || !data.record_id) {
el.scrollTop = el.scrollHeight el.scrollTop = el.scrollHeight
} else { } else {
el.scrollTop = el.scrollHeight - scrollHeight el.scrollTop = el.scrollHeight - scrollHeight

View File

@ -12,9 +12,9 @@
<img :src="item.thumbnail" class="image" /> <img :src="item.thumbnail" class="image" />
</div> </div>
<div style="margin-left: 13px"> <div style="margin-left: 13px">
<a>{{ item.goodsName }}</a> {{ item.goodsName }}
<div> <div class="price">
<span style="color: red;">{{ item.price }}</span> <span>{{ item.price }}</span>
</div> </div>
</div> </div>
</div> </div>
@ -108,7 +108,11 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
margin-top: 8px; margin-top: 8px;
white-space: nowrap; white-space: nowrap;
margin-top: 4px; }
.price {
color: red;
margin-top: 15px;
} }
.image { .image {
@ -122,4 +126,5 @@ export default {
.separate { .separate {
margin-top: 8px; margin-top: 8px;
} }
</style> </style>