文字对齐

main
shuxiaoquan 9 months ago
parent bda97bd40a
commit bcb6dfa5a2
  1. 6
      pages/goods/detail.vue

@ -1075,11 +1075,7 @@
toHaibao(index) { toHaibao(index) {
this.shareCancel(); this.shareCancel();
if (index == 2) { if (index == 2) {
let str = `${this.goods.goods_name}\n let str = `${this.goods.goods_name}\n前台价:¥${this.goods.goods_price_max}\n推广价:¥${this.goods.goods_price_min}\nSKU:${this.goods.goods_no}`
前台价${this.goods.goods_price_max}\n
推广价${this.goods.goods_price_min}\n
SKU${this.goods.goods_no}
`
uni.setClipboardData({ uni.setClipboardData({
data: str, // value data: str, // value
success: function() { success: function() {

Loading…
Cancel
Save