Commit e3bb36fc authored by zhangyanni's avatar zhangyanni

提交

parent 9b8d5c46
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<itegralCmpt :isFirstGuess="isFirstGuess" :visible="getIntegralVisible" v-if="getIntegralVisible" :integral="integral" @handleHideIntegral="handleHideIntegral"></itegralCmpt> <itegralCmpt :isFirstGuess="isFirstGuess" :visible="getIntegralVisible" v-if="getIntegralVisible" :integral="integral" @handleHideIntegral="handleHideIntegral"></itegralCmpt>
<div class="bottomFixed" :class="showAllIcon?'':'showHalf'"> <div class="bottomFixed" :class="showAllIcon?'':'showHalf'">
<div class="btnFixed"> <div class="btnFixed">
<div class="signBtn" @click="$router.push('/guessJoin')"> <div class="signBtn" @click="handleToMine">
</div> </div>
</div> </div>
...@@ -188,6 +188,16 @@ ...@@ -188,6 +188,16 @@
}, },
methods: { methods: {
//去我的竞猜
handleToMine(){
if(this.userInfo){
this.$router.push('/guessJoin')
}else{
this.isLogin = true;
this.loginFlag = 2;
}
},
getScroll(e) { getScroll(e) {
this.top = event.target.scrollTop; this.top = event.target.scrollTop;
this.publicFun.setUserInfoCookie("guessListTop",this.top); this.publicFun.setUserInfoCookie("guessListTop",this.top);
...@@ -611,6 +621,8 @@ ...@@ -611,6 +621,8 @@
this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null; this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null;
if(this.loginFlag==1){ if(this.loginFlag==1){
this.$router.push("/integralExchange") this.$router.push("/integralExchange")
}else if(this.loginFlag==2){
this.$router.push('/guessJoin')
}else{ }else{
this.handleIsFirst(); this.handleIsFirst();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment