zhaojs
2023-06-30 6710ed4fc4d67d4f6551d13dd38f7f2b21451d9d
no message
已修改5个文件
70 ■■■■■ 文件已修改
uniapp/pages/active/tmsearch.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/index/index.vue 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/fengqiang.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/xianbao.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/utils/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/active/tmsearch.vue
@@ -65,7 +65,7 @@
            <view class="scrangeList-container rowCen" :class="scrollTop>fiexdtop?'tofixed':''" :style="'top:'+(scrollTop>fiexdtop?fiexdHeight:'0')+'px;'">
                <scroll-view class="scrollview-content" scroll-x scroll-with-animation="true">
                    <block v-for="(items,index) in secrendSearch" :key="index">
                        <view class="rangeItem" :class="nowsec==items.id?'rangeItem-active':''" @tap="changeSeRange(items.id)">
                        <view class="rangeItem" style="font-size: 13px;margin-right: 30rpx; color: #8b8686;" :class="nowsec==items.id?'rangeItem-active':''" @tap="changeSeRange(items.id)">
                            <view class="boxcontent colCenCen">
                                <view class="nameBox">
                                    {{items.name}}
uniapp/pages/index/index.vue
@@ -137,32 +137,10 @@
            this.getPopBannerInfo();
        },
        onShow() {
            /* if(!this.hasLogin){
                setTimeout(function(){
                    uni.reLaunch({
                        url:"/pages/login/wxlogin"
                    })
                },1000);
                return;
            } */
            if(!this.hasshow)
            {
                this.shShow();
            }
        /*     var user= uni.getStorageSync('userInfo');
            console.log(user); */
            // if(!user.invitation_code)
            // {
            //     setTimeout(function(){
            //         uni.reLaunch({
            //             url:"/pages/login/wxlogin"
            //         })
            //     },1000);
            //     return;
            // }
            }
            if(this.categoryList){
                this.getCategoryList();
            }
@@ -180,34 +158,38 @@
            shShow()
            {
                var that=this;
                var istoLogin=true;
                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;
                            istoLogin=false;
                        } else {
                            that.isshowtype=false;
                            console.log("跳转");
                            if(!that.hasLogin){
                        }
                    }
                    if(istoLogin)
                    {
                        if(!that.hasLogin){
                            uni.reLaunch({
                                url:"/pages/login/wxlogin"
                            })
                        }
                        /* var user= uni.getStorageSync('userInfo');
                        if(!user.invitation_code)
                        {
                            setTimeout(function(){
                                uni.reLaunch({
                                    url:"/pages/login/wxlogin"
                                })
                            }
                            var user= uni.getStorageSync('userInfo');
                            if(!user.invitation_code)
                            {
                                setTimeout(function(){
                                    uni.reLaunch({
                                        url:"/pages/login/wxlogin"
                                    })
                                },1000);
                                return;
                            }
                        }
                        console.log(that.isshowtype);
                            },1000);
                            return;
                        } */
                    }
                    // #endif
                }).catch(function(err) {
                    console.log(err);
uniapp/pages/rankinglist/fengqiang.vue
@@ -48,7 +48,7 @@
            else{
                const value = uni.getStorageSync('userInfo');
                console.log(value);
                this.webviewUrl = encodeURI('http://appapitest.ushopvip.com/html/fengqiangbang.html?token='+value.token);
                this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/fengqiangbang.html?token='+value.token);
            }
            
        },
uniapp/pages/rankinglist/xianbao.vue
@@ -48,7 +48,7 @@
        },
        onLoad(options) {
            const value = uni.getStorageSync('userInfo');
            this.webviewUrl = encodeURI('http://appapitest.ushopvip.com/html/xianbao.html?token='+value.token);
            this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/xianbao.html?token='+value.token);
        },
        onReady() {
          this.clearMuiBack();
uniapp/utils/config.js
@@ -1,6 +1,6 @@
//const httpUrl = ""; // 接口域名
const httpUrl = "http://appapitest.ushopvip.com"; // 测试环境接口域名
//const httpUrl = "http://dfgapp.ushopvip.com"; // 生产环境接口域名
//const httpUrl = "http://appapitest.ushopvip.com"; // 测试环境接口域名
const httpUrl = "http://dfgapp.ushopvip.com"; // 生产环境接口域名
const salt = ""; 
export default {
    httpUrl:httpUrl,