diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index bd49ab6..6dad292 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -1075,11 +1075,7 @@ toHaibao(index) { this.shareCancel(); 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} - ` + let str = `${this.goods.goods_name}\n前台价:¥${this.goods.goods_price_max}元\n推广价:¥${this.goods.goods_price_min}元\nSKU:${this.goods.goods_no}` uni.setClipboardData({ data: str, // 这里是个坑接受字符串类型 value转化为字符串 success: function() {