Răsfoiți Sursa

支付页分享优化

shish 6 ani în urmă
părinte
comite
9d22d6639e
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 4 2
      mall/src/pages/pay/index.vue

+ 4 - 2
mall/src/pages/pay/index.vue

@@ -197,13 +197,15 @@ export default {
         getShopUser(true).then(res => {
           // 设置分享
           let shareParams = {
-            title: '点我付款',// 分享标题
-            desc: "享随机优惠,最高20元", // 分享内容
             // #ifdef H5
+            title: "点我付款",
+            desc: "享随机优惠,最高20元",
             imgUrl: `${this.$constant.imgUrl}/retail/pay/wxSharePay.jpg`,
             pagePath: `${this.$constant.formal}/#/pages/pay/index?account=${res.merchantId}&store=0&sourceType=3`,
             // #endif
             // #ifndef H5
+            title: "",
+            desc: "享随机优惠,最高20元",
             imgUrl: `${this.$constant.imgUrl}/retail/pay/wxPay.png`,
             pagePath: `/pages/pay/index?account=${res.merchantId}&store=0&sourceType=3`
             // #endif