diff --git a/package1/myCenter/goodsList.vue b/package1/myCenter/goodsList.vue index 90087b5..447ab1d 100644 --- a/package1/myCenter/goodsList.vue +++ b/package1/myCenter/goodsList.vue @@ -21,66 +21,105 @@ - - - {{item.buyCountNew}} + + + + {{item.buyCountNew}} + + + 暂无图片 + + + + {{item.productName == null ?'':item.productName}} + (已下架) + + + + + {{item.lunchBox}} + 餐盒费 + + + {{item.startPayNum}} + 起售数量 + + + + + - - 暂无图片 - - - {{item.productName == null ?'':item.productName}} - (已下架) + + + + 编辑 - - - + + + 设为推荐 - - - {{item.lunchBox}} - 餐盒费 - - - {{item.startPayNum}} - 起售数量 - - - - + + + 设为必点 + + + + 上架 + + + + 删除 - - - {{item.buyCountNew}} - - - 暂无图片 - - - - {{item.productSn}} - ({{item.productName == null ?'':item.productName}}) - - - - - {{item.lunchBox}} - 餐盒费 + + + + {{item.buyCountNew}} - - {{item.startPayNum}} - 起售数量 + + 暂无图片 + + + + {{item.productName == null ?'':item.productName}} - - + + + + {{item.lunchBox}} + 餐盒费 + + + {{item.startPayNum}} + 起售数量 + + + + + + + 编辑 + + + 设为推荐 + + + 设为必点 + + + 上架 + + + 删除 + + @@ -146,6 +185,15 @@ } }, + changeShow(index,type){ + console.log("1111",index) + console.log("1111",type) + if(type == 'shopList'){ + this.shopList[index].isShow = !this.shopList[index].isShow + }else{ + this.shopList1[index].isShow = !this.shopList1[index].isShow + } + }, goDetail(type,item){ let url="" if(type == 'goods'){ @@ -189,7 +237,7 @@ this.shopList1 = [...this.shopList1, ...res.result.records] } for(let i=0;i \ No newline at end of file