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; return cur;
}, []); }, []);
this.wap.forEach((items,indexs) => { if (this.$route.path !== '/floorList/main') {
if(items.title == '活动'){ this.wap.forEach((items, indexs) => {
this.wap.splice(indexs,1) if (items.title == '活动') {
} this.wap.splice(indexs, 1)
}) }
})
}
}else{ }else{
this.wap.push( { this.wap.push( {
title: "活动", title: "活动",

View File

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

View File

@ -22,11 +22,11 @@
<div style="margin-left: 13px;"> <div style="margin-left: 13px;">
<div class="div-zoom"> <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> </div>
<Poptip trigger="hover" title="扫码在手机中查看" transfer> <Poptip trigger="hover" title="扫码在手机中查看" transfer>
<div slot="content"> <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> </div>
<img src="../../assets/qrcode.svg" class="hover-pointer" width="20" height="20" alt=""> <img src="../../assets/qrcode.svg" class="hover-pointer" width="20" height="20" alt="">
</Poptip> </Poptip>

View File

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