|
|
|
@ -997,7 +997,7 @@ |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
toDetail(goods_id) { |
|
|
|
|
let that=this |
|
|
|
|
let that = this |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/goods/seckillDetail?goodsId=' + goods_id + '&activeTimeId=' + that.activeTimeId + |
|
|
|
|
'&sharpGoodsId=' + that.sharpGoodsId + "&isSeckill=" + true + '&isBuy=' + that |
|
|
|
@ -1094,8 +1094,9 @@ |
|
|
|
|
page_title: that.goods.goods_name, |
|
|
|
|
}) |
|
|
|
|
if (res.data.url) { |
|
|
|
|
let storeInfo = JSON.parse(uni.getStorageSync("storeInfo")) |
|
|
|
|
let str = |
|
|
|
|
`型号:${that.goods.goods_name}\n零售价:¥${that.goods.goods_price_max}元\n会员价:¥${that.goods.goods_price_min}元\n编码:${that.goods.goods_no}\n小程序链接:${res.data.url}` |
|
|
|
|
`【${storeInfo.store_name}】型号:${that.goods.goods_name}\n———————\n市场价:¥${that.goods.goods_price_max}元\n到手价:¥${that.goods.goods_price_min}元\n编码:${that.goods.goods_no}\n———————\n抢购链接:${res.data.url}` |
|
|
|
|
uni.setClipboardData({ |
|
|
|
|
data: str, // 这里是个坑接受字符串类型 value转化为字符串 |
|
|
|
|
success: function() { |
|
|
|
@ -1165,7 +1166,7 @@ |
|
|
|
|
imageUrl: app.goods.goods_image, |
|
|
|
|
path: 'pages/goods/seckillDetail?refereeId=' + store.getters.userId + |
|
|
|
|
'&goodsId=' + app.goods |
|
|
|
|
.goods_id + '&activeTimeId=' + app.activeTimeId + '&sharpGoodsId=' + app.sharpGoodsId+ "&isSeckill=" + |
|
|
|
|
.goods_id + '&activeTimeId=' + app.activeTimeId + '&sharpGoodsId=' + app.sharpGoodsId + "&isSeckill=" + |
|
|
|
|
true + '&isBuy=' + app |
|
|
|
|
.isBuy + '&seckillText=' + (app.activeInfo.status == 10 ? |
|
|
|
|
'结束' : '开始') |
|
|
|
|