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

add

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