From 6710ed4fc4d67d4f6551d13dd38f7f2b21451d9d Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 30 六月 2023 09:05:48 +0800 Subject: [PATCH] no message --- uniapp/pages/rankinglist/fengqiang.vue | 2 uniapp/pages/rankinglist/xianbao.vue | 2 uniapp/utils/config.js | 4 +- uniapp/pages/active/tmsearch.vue | 2 uniapp/pages/index/index.vue | 60 ++++++++++------------------- 5 files changed, 26 insertions(+), 44 deletions(-) diff --git a/uniapp/pages/active/tmsearch.vue b/uniapp/pages/active/tmsearch.vue index d04124a..5dc18e4 100644 --- a/uniapp/pages/active/tmsearch.vue +++ b/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}} diff --git a/uniapp/pages/index/index.vue b/uniapp/pages/index/index.vue index a0b0e24..8b90c02 100644 --- a/uniapp/pages/index/index.vue +++ b/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); diff --git a/uniapp/pages/rankinglist/fengqiang.vue b/uniapp/pages/rankinglist/fengqiang.vue index 7a4bf27..bfff77a 100644 --- a/uniapp/pages/rankinglist/fengqiang.vue +++ b/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); } }, diff --git a/uniapp/pages/rankinglist/xianbao.vue b/uniapp/pages/rankinglist/xianbao.vue index b908771..eace27c 100644 --- a/uniapp/pages/rankinglist/xianbao.vue +++ b/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(); diff --git a/uniapp/utils/config.js b/uniapp/utils/config.js index 8f94b03..567e57f 100644 --- a/uniapp/utils/config.js +++ b/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, -- Gitblit v1.9.3