提交 b0ceb7a8 编写于 作者: chendeli's avatar chendeli

add

上级 964d533c
......@@ -18,7 +18,7 @@
{{item.name}}
</p>
<div class="course-opt">
<span class="opt-info">{{item.showTime == '' ? '' : item.showTime + ' |'}} {{item.joinNum}}人已学</span>
<span class="opt-info">{{!item.showTime ? '' : item.showTime + ' |'}} {{item.joinNum}}人已学</span>
<span :class="item.whetherFavors==2?'opt collect':'opt collected'"@click="collectFun(item.whetherFavors,item.id,item.name)">
{{item.whetherFavors==2?'收藏':'已收藏'}}
</span>
......
......@@ -14,7 +14,7 @@
{{item.name}}
</p>
<div class="course-opt">
<span class="opt-info">{{item.showTime == '' ? '' : item.showTime + ' |'}} {{item.joinNum}}人已学</span>
<span class="opt-info">{{!item.showTime ? '' : item.showTime + ' |'}} {{item.joinNum}}人已学</span>
<span :class="item.whetherFavors==2?'opt collect':'opt collected'"@click="collectFun(item.whetherFavors,item.id)">
{{item.whetherFavors==2?'收藏':'已收藏'}}
</span>
......
......@@ -109,7 +109,7 @@ export default {
msgCount:'',
userToken:'',
searchFix:false,
statusBarHeight:0,
statusBarHeight:20,
userMobile:'',
userToken:'',
}
......@@ -141,6 +141,7 @@ export default {
}
window.__getStatusBarHeight = function(parm){
alert(parm.statusBarHeight);
_this.statusBarHeight = parm.statusBarHeight
}
......@@ -155,6 +156,7 @@ export default {
if(parm.userMobile != ''){
_this.getKeepData();
}
_this.initByToken();
_this.getSwiper(_this.appVersion,_this.systemType);
......@@ -164,7 +166,8 @@ export default {
// _this.token = '63C3FA92AF8A45A48B31EB7FD97B95EB';
// _this.initByToken();
this.getUserInfo();
_this.getUserInfo();
_this.getStatusHight();
......@@ -206,15 +209,12 @@ export default {
},
initAll(){
this.getStatusHight();
this.getUpdateData();
this.getMiddel();
this.getIconData();
this.getCategoryData();
this.getYqDoctorData();
this.getFiveData();
this.getUpdateData();
this.getMiddel();
this.getIconData();
this.getCategoryData();
this.getYqDoctorData();
this.getFiveData();
},
......@@ -446,7 +446,6 @@ export default {
let _this = this,
para = {
token:_this.token,
setEntry: 'headers'
}
//alert("000");
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册