zhaojs
2023-06-04 47b673f0d6987a51125daf3214264ad7bdd3ff57
uniapp/pages/mine/mine.vue
@@ -262,7 +262,6 @@
            platform: '',
            showtar: false,
            bbcList:'',
            sct: 0,
            inviteCodeShow:false,
            inviterShow:false
@@ -275,9 +274,11 @@
      },
      onPullDownRefresh()
      {
         this.getuserInfo();
         this.centerInfo();
         this.getmoneyInfo();
         this.getInit();
         uni.stopPullDownRefresh();
      },      
      onLoad() {
@@ -286,24 +287,32 @@
               url:"/pages/login/wxlogin"
            })
         }else{
            // #ifdef APP-PLUS
            this.appInfo = uni.getStorageSync('appInfo');
            console.log(this.appInfo.iosExamine);
            this.showtar = getApp().globalData.ifwt == 1 ? false : true;
            this.platform = plus.os.name
            // #endif
            getApp().watch(this.getInit,'ifwt')
            this.centerInfo()
            this.getbanner()
         }
      },
      onShow() {
         if(this.hasLogin){
            this.getInit();
            this.getmoneyInfo()
            this.getuserInfo()
         }
      },
      methods: {
         getInit()
         {
            if(!getApp().globalData.hasinit)
            {
               getApp().getAppInfo();
            }
               // #ifdef APP-PLUS
               this.appInfo = uni.getStorageSync('appInfo');
               this.showtar = getApp().globalData.ifwt == 1 ? false : true;
               this.platform = plus.os.name
               // #endif
         },
         getmoneyInfo() {
            var that = this;
            this.$u.api.getEstimateAmount({}).then(e => {
@@ -416,8 +425,6 @@
            }
            
         },
         cpr_version(a, b) {
            console.log(a);
            var _a = this.toNum(a),