diff --git a/src/views/Index.vue b/src/views/Index.vue
index 8036beca..08810138 100644
--- a/src/views/Index.vue
+++ b/src/views/Index.vue
@@ -53,7 +53,7 @@
-
+
最近学习: {{lastStudy.courseName}}
@@ -686,7 +686,13 @@
if(!res.result){
this.$refs.guide.show();
}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);
}else{
@@ -696,7 +702,13 @@
}
});
}else {
- if(this.userHobby.needShow){ this.$refs.userCollection.show();}
+ if(this.userHobby.needShow){
+ this.$refs.userCollection.show();
+ }else{
+ if(this.needLoginMedal){
+ this.showLoginMedal=true;
+ }
+ }
}
//测试情况下