This commit is contained in:
chc 2024-12-02 18:05:51 +08:00
commit c5aaa2f3e2
4 changed files with 11 additions and 14 deletions

View File

@ -65,11 +65,13 @@ export default {
}
return cur;
}, []);
this.wap.forEach((items,indexs) => {
if(items.title == '活动'){
this.wap.splice(indexs,1)
if (this.$route.path !== '/floorList/main') {
this.wap.forEach((items, indexs) => {
if (items.title == '活动') {
this.wap.splice(indexs, 1)
}
})
}
}else{
this.wap.push( {
title: "活动",

View File

@ -73,13 +73,6 @@ export default {
pageSize: 10,
},
pintuanColumns: [
//
{
title: "活动标题",
key: "title",
tooltip: true,
width: 250,
},
{
title: "商品名称",
key: "goodsName",
@ -386,6 +379,7 @@ export default {
//
delete this.promotionList.COUPON;
Object.keys(res.result)[0] && this.typeOption(Object.keys(res.result)[0]).methodsed();
this.promotions = Object.keys(res.result)[0];
}
// if (Object.keys(res.result).length) {

View File

@ -22,11 +22,11 @@
<div style="margin-left: 13px;">
<div class="div-zoom">
<a @click="linkTo(row.id,row.skuId)">{{row.goodsName}}</a>
<a @click="linkTo(row.goodsId,row.skuId)">{{row.goodsName}}</a>
</div>
<Poptip trigger="hover" title="扫码在手机中查看" transfer>
<div slot="content">
<vue-qr :text="wapLinkTo(row.id,row.skuId)" :margin="0" colorDark="#000" colorLight="#fff" :size="150"></vue-qr>
<vue-qr :text="wapLinkTo(row.goodsId,row.skuId)" :margin="0" colorDark="#000" colorLight="#fff" :size="150"></vue-qr>
</div>
<img src="../../assets/qrcode.svg" class="hover-pointer" width="20" height="20" alt="">
</Poptip>

View File

@ -377,6 +377,7 @@ export default {
price: e.price,
quantity: e.quantity,
storeId: e.storeId,
goodsId:e.goodsId,
storeName: e.storeName,
thumbnail: e.thumbnail,
skuId: e.id,