商品详情加京东链接

main
shuxiaoquan 7 months ago
parent a0c9cf4604
commit 691e2a2623
  1. 2
      pages/goods/detail.vue

@ -1075,7 +1075,7 @@
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}\nSKU:${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}\n京东链接:https://item.jd.com/${this.goods.goods_no}.html`
uni.setClipboardData({ uni.setClipboardData({
data: str, // value data: str, // value
success: function() { success: function() {

Loading…
Cancel
Save