xiansin hace 4 años
padre
commit
4ce0d1bc5f

+ 11 - 0
components/page-component/app-my-app/app-my-share.vue

xqd xqd
@@ -30,6 +30,7 @@
             </div>
 
             <view class="save-btn" @click="saveImg">保存二维码</view>
+            <view class="save-btn" v-if="false" @click="scan">扫一扫</view>
         </view>
     </view>
     <view class="app-my-share" v-else
@@ -86,6 +87,16 @@
             }
         },
         methods: {
+            scan(){
+                uni.scanCode({
+                    success: function (res) {
+                        console.log('条码类型:' + res);
+                        uni.navigateTo({
+                            url: '/'+res.path
+                        });
+                    }
+                });
+            },
             showQrCode(){
                 console.log(this.homePages)
                 this.showQrCodeStatus = !this.showQrCodeStatus;

+ 1 - 1
pages/share/summary/summary.vue

xqd
@@ -125,7 +125,7 @@
                     {
                         name: '返利',
                         value: 4,
-                        desc: '个人返利是指(自己购买+自己顾客购买)的返利;团队返利是指自己购买+自己顾客购买)的返利+(代理B购买+代理B顾客购买)的返利+(代理C购买+代理c顾客购买)的返利;总返利是指筛选结束日起,总共有多少团队返利\n',
+                        desc: '个人返利是指(自己购买+自己顾客购买)的返利;团队返利是指自己购买+自己顾客购买)的返利+(代理B购买+代理B顾客购买)的返利+(代理C购买+代理c顾客购买)的返利;总返利是指筛选结束日起,总共有多少团队返利。其中包含未结算的',
                         listItem:[
                             {
                                 key: 'selfCash',