|
|
@ -395,7 +395,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="shareWechat" v-if="shareType=='share'"> |
|
|
|
<view class="shareWechat" v-if="shareType=='share'"> |
|
|
|
<view class="shareGoods"> |
|
|
|
<view class="shareGoods"> |
|
|
|
<image :src="goods.goods_image" mode="" class="shareImg"></image> |
|
|
|
<image :src="goods.goods_image" mode="heightFix" class="shareImg"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="shareInfo"> |
|
|
|
<view class="shareInfo"> |
|
|
|
<view class="shareGoodsInfo"> |
|
|
|
<view class="shareGoodsInfo"> |
|
|
@ -1042,8 +1042,13 @@ |
|
|
|
toHaibao(index) { |
|
|
|
toHaibao(index) { |
|
|
|
this.shareCancel(); |
|
|
|
this.shareCancel(); |
|
|
|
if (index == 2) { |
|
|
|
if (index == 2) { |
|
|
|
|
|
|
|
let str = `${this.goods.goods_name}\n |
|
|
|
|
|
|
|
前台价:¥${this.goods.goods_price_max}元\n |
|
|
|
|
|
|
|
推广价:¥${this.goods.goods_price_min}元\n |
|
|
|
|
|
|
|
SKU:${this.goods.goods_no} |
|
|
|
|
|
|
|
` |
|
|
|
uni.setClipboardData({ |
|
|
|
uni.setClipboardData({ |
|
|
|
data: this.goods.goods_name, // 这里是个坑接受字符串类型 value转化为字符串 |
|
|
|
data: str, // 这里是个坑接受字符串类型 value转化为字符串 |
|
|
|
success: function() { |
|
|
|
success: function() { |
|
|
|
//调用方法成功 |
|
|
|
//调用方法成功 |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|