修改弹出窗口问题

This commit is contained in:
daihh
2022-11-04 00:19:59 +08:00
parent b93812c7a0
commit eafce63e74

View File

@@ -53,7 +53,7 @@
</a> </a>
<div class="last-study-info"> <div class="last-study-info">
<div class="one-line-ellipsis" style="color: #333;font-size: 16px;" v-if="overlayShow"> <div class="one-line-ellipsis" style="color: #333;font-size: 16px;" v-if="overlayShow">
<router-link :to="'/course/studyindex?id='+lastStudy.courseId" > <router-link :to="'/course/studyindex?id='+lastStudy.courseId" >
<img class="Recent" :src="`${webBaseUrl}/images/Recent.png`" alt=""> <img class="Recent" :src="`${webBaseUrl}/images/Recent.png`" alt="">
最近学习 {{lastStudy.courseName}} 最近学习 {{lastStudy.courseName}}
</router-link> </router-link>
@@ -686,7 +686,13 @@
if(!res.result){ if(!res.result){
this.$refs.guide.show(); this.$refs.guide.show();
}else{ }else{
if(this.userHobby.needShow){ this.$refs.userCollection.show();} if(this.userHobby.needShow){
this.$refs.userCollection.show();
}else{
if(this.needLoginMedal){
this.showLoginMedal=true;
}
}
} }
localStorage.setItem('user-guide-'+this.userInfo.aid,1); localStorage.setItem('user-guide-'+this.userInfo.aid,1);
}else{ }else{
@@ -696,7 +702,13 @@
} }
}); });
}else { }else {
if(this.userHobby.needShow){ this.$refs.userCollection.show();} if(this.userHobby.needShow){
this.$refs.userCollection.show();
}else{
if(this.needLoginMedal){
this.showLoginMedal=true;
}
}
} }
//测试情况下 //测试情况下