zhaojs
2023-06-14 47171769ba8a7e953c870ac6b5bf24efb6a5e440
no message
已修改9个文件
97 ■■■■■ 文件已修改
uniapp/App.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/components/sh_page/indexCont.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/components/sh_page/indexNewPage.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/manifest.json 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/index/index.vue 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/login/wxlogin.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/mine/mine.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/fengqiang.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/xianbao.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/App.vue
@@ -220,6 +220,7 @@
                                that.globalData.ifwt = 0
                            }
                        }
                        console.log(that.globalData.ifwt);
                    } else {
                        if (plus.runtime.isApplicationExist({pname:'com.tencent.mm',
                                action: 'weixin://'
@@ -232,6 +233,7 @@
                        }
                    }
                    // #endif
                }).catch(function(err) {})
                
            },
uniapp/components/sh_page/indexCont.vue
@@ -594,7 +594,6 @@
            },
            onRestore() {
                this.swpidx = 0
                console.log('下拉被终止');
            },
            pagescroll(e) {
                this.$emit('scrollNum', e.detail.scrollTop)
@@ -625,7 +624,6 @@
                this.$u.api.getBanner({
                    type: '1,3,4,5,11,12,13,14'
                }).then(e => {
                    console.log(e)
                    if (e.code == 1) return that.$alert(e.msg);
                    var res = e.data.info;
                    if(res.topBannerList&&res.topBannerList.length>0)
@@ -637,7 +635,6 @@
                    that.doubleLineList = res.doubleLineList;
                    that.bottomBannerList = res.bottomBannerList;
                    that.fastenter=res.indexbanner;
                    console.log(that.fastenter);
                    that.popBannerSList=res.popBannerSList;
                    that.enterTop=res.enterTop;
                    that.enterDown=res.enterDown;
@@ -699,7 +696,6 @@
                    pageSize: 10,
                    type: type
                }).then(e => {
                    console.log(e)
                    if (e.code != 0) return that.$alert(e.msg)
                    var res = e.data.list;
                    if (res.length < 10) {
uniapp/components/sh_page/indexNewPage.vue
@@ -178,7 +178,6 @@
                }).then(e => {
                    if (e.code == 1) return that.$alert(e.msg);
                    var res = e.data.info;
                    console.log(res)
                    if(res.length > 0){
                        this.showBulletFrame = true;
                        this.BulletFrameData = res[0]
uniapp/manifest.json
@@ -128,11 +128,14 @@
            "splashscreen" : {
                "androidStyle" : "default",
                "android" : {
                    "hdpi" : "E:/OPProject/发版用_勿删/开屏/开屏小.png",
                    "xhdpi" : "E:/OPProject/图片/开屏/开屏中.png",
                    "xxhdpi" : "E:/OPProject/图片/开屏/开屏大.png"
                    "hdpi" : "E:/OPProject/发版用_勿删/android/480X762.9.png",
                    "xhdpi" : "E:/OPProject/发版用_勿删/android/720X1242.9.png",
                    "xxhdpi" : "E:/OPProject/发版用_勿删/android/1080x1882.9.png"
                },
                "iosStyle" : "common"
                "iosStyle" : "storyboard",
                "ios" : {
                    "storyboard" : "E:/OPProject/发版用_勿删/ios/CustomStoryboard.zip"
                }
            },
            "icons" : {
                "android" : {
uniapp/pages/index/index.vue
@@ -1,7 +1,8 @@
<template>
    <view v-if="!isshowtype">
    <view v-if="isshowtype">
        <indexnewPage></indexnewPage>
    </view>
    </view>
    <view v-else class="index-wrapper wrapperLayer borderBox">
        <view class="fixed-container colCen borderBox" :style="'background:'+ (categoryCurrent>0?'#EE1B14':(scrollTop>30?'#EE1B14;':bannerColor) +';')">
            <view class="topbarbox"></view>
@@ -131,6 +132,7 @@
            }
        },
        onLoad() {
            this.shShow();
            this.getCategoryList();
            this.getPopBannerInfo();
        },
@@ -144,19 +146,6 @@
                },1000);
                return;
            }
            // #ifdef APP-PLUS
            var showtar = getApp().globalData.ifwt == 1 ? false : true;
            var platform = plus.os.name;
            console.log(showtar);
            console.log(platform);
            if(showtar&&platform=='iOS')
            {//跳转new
                this.isshowtype=true;
                return;
            }
            // #endif
            var user= uni.getStorageSync('userInfo');
            console.log(user);
            if(!user.invitation_code)
@@ -182,6 +171,25 @@
        },
        watch: {},
        methods: {
            shShow()
            {
                var that=this;
                console.log('开始请求······');
                this.$u.api.comminInt({}).then(e => {
                    // #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;
                        }
                        console.log(that.isshowtype);
                    }
                    // #endif
                }).catch(function(err) {
                    console.log(err);
                })
            },
            goToShowBulletFrame(info){
                this.showBulletFrame = false
                utils.goUrl(info, this)
uniapp/pages/login/wxlogin.vue
@@ -4,7 +4,7 @@
        <view class="pageContent borderBox colCen">
            <image class="applogo" :src="appInfo.logo" mode="aspectFill"></image>
            <view class="wxlogoBtn rowCenCen" @tap="wxlogin()" v-if="haswxlogin">
            <view class="wxlogoBtn rowCenCen" @tap="wxlogin()" v-if="supportWx">
                <image class="logoIcon" src="../../static/images/mine/wxwhite.png" mode=""></image>
                <view>微信一键登录</view>
            </view>
@@ -47,19 +47,41 @@
                isread: false,
                haswxlogin: false,
                isSupportMob:false,
                isother:false
                isother:false,
                supportWx:true
            }
        },
        onLoad() {
            this.appInfo = uni.getStorageSync('appInfo')
            console.log(this.appInfo.iosExamine)
            console.log(getApp().globalData.ifwt)
            //this.haswxlogin = this.appInfo.iosExamine ? false : (getApp().globalData.ifwt == 1 ? true : false)
            this.haswxlogin = getApp().globalData.ifwt == 1 ? true :false;
            this.checkSupportWx();
            this.isSupportMoblie();
        },
        methods: {
            ...mapMutations(['login']),
            checkSupportWx()
            {
                // #ifdef APP-PLUS
                 if (plus.os.name == 'iOS') {
                    if (plus.runtime.isApplicationExist({
                            action: 'weixin://'
                        }) && plus.runtime.isApplicationExist({
                            action: 'taobao://'
                        })) {
                        this.supportWx = true //是否安装微信和淘宝 1代表安装
                    } else {
                        this.supportWx = false
                    }
                } else {
                    if (plus.runtime.isApplicationExist({pname:'com.tencent.mm',
                            action: 'weixin://'
                        })) {
                        this.supportWx = true //是否安装微信 1代表安装
                    } else {
                        this.supportWx = false
                    }
                }
                // #endif
            },
            backHome() {
                var pages = getCurrentPages();
                console.log(pages.length);
uniapp/pages/mine/mine.vue
@@ -341,8 +341,10 @@
        methods: {
            getInit()
            {
                console.log(getApp().globalData)
                if(!getApp().globalData.hasinit)
                {
                    console.log('初始化1111')
                    getApp().getAppInfo();
                    setTimeout(()=>{
                        this.getInit();
@@ -383,7 +385,6 @@
                var that = this;
                this.$u.api.getBanner({type:'2'}).then(e => {
                    if(e.code == 1)return that.$alert(e.msg);
                    console.log(e.data.info)
                    that.bannerList = e.data.info;
                }).catch(function (err) {
                })
uniapp/pages/rankinglist/fengqiang.vue
@@ -1,5 +1,5 @@
<template>
    <view v-if="!isshowtype">
    <view v-if="isshowtype">
        <matherPage></matherPage>
    </view>
    <view v-else>
uniapp/pages/rankinglist/xianbao.vue
@@ -1,5 +1,5 @@
<template>
    <view v-if="!isshowtype">
    <view v-if="isshowtype">
        <findPage></findPage>
    </view>
    <view v-else>