zhaojs
2023-06-21 dd13f704cd41f0f4d84bb48f5d216112250fe1a3
no message
已修改3个文件
47 ■■■■■ 文件已修改
uniapp/manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/login/bindingPhone.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/mine/mine.vue 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/manifest.json
@@ -2,8 +2,8 @@
    "name" : "大返官",
    "appid" : "__UNI__FC8858A",
    "description" : "大返官app",
    "versionName" : "1.2.1",
    "versionCode" : 121,
    "versionName" : "1.2.2",
    "versionCode" : 122,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {
uniapp/pages/login/bindingPhone.vue
@@ -125,6 +125,7 @@
                    setTimeout(function(){
                        univerifyManager.close();
                    },2000);
                    that.isyj=false;
                })
            },
            mobShow()
@@ -213,7 +214,9 @@
            },
            bindMobile(){
                var that = this;
                if(!this.hasLogin && this.wxUser != ""){
                console.log(this.hasLogin)
                console.log(this.wxUser)
                if(this.wxUser != ""){
                    this.$u.api.bindMobileLogin({
                        wxUser : encodeURIComponent(JSON.stringify(that.wxUser)),
                        mobile:this.phone,
@@ -243,7 +246,8 @@
                }else{
                    this.$u.api.changeMobile({
                        mobile:this.phone,
                        captcha:this.code
                        captcha:this.code,
                        isyj:this.isyj
                    }).then(e => {
                        if(e.code != 0) return that.$alert(e.msg)
                        that.$alert('绑定成功');
uniapp/pages/mine/mine.vue
@@ -291,6 +291,7 @@
                inviteCodeShow:false,
                inviterShow:false,
                isshowtype:false,
                hasshow:false
            }
        },
        onPageScroll(e) {
@@ -323,22 +324,30 @@
                this.getmoneyInfo()
                this.getuserInfo()
            }
            // #ifdef APP-PLUS
            var showtar = getApp().globalData.ifwt == 1 ? false : true;
            var platform = plus.os.name;
            console.log(showtar);
            console.log(platform);
            //showtar&&platform=='iOS'
            if(showtar&&platform=='iOS')
            {//跳转new
                this.isshowtype=true;
                return;
            if(!this.hasshow)
            {
                this.shShow();
            }
            // #endif
        },
        methods: {
            shShow()
            {
                var that=this;
                this.$u.api.comminInt({}).then(e => {
                    that.hasshow=true;
                    // #ifdef APP-PLUS
                    if (plus.os.name == 'iOS') {
                        if (e.data.basic.iosExamine && plus.runtime.version == e.data.basic.IosExamineV) {
                            that.isshowtype=true;
                        } else {
                            that.isshowtype=false;
                        }
                    }
                    // #endif
                }).catch(function(err) {
                    console.log(err);
                })
            },
            getInit()
            {
                console.log(getApp().globalData)