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

add

上级 43d83de9
<template> <template>
<section :class="isIntStyle"> <section :class="isIntStyle">
<!--展开收起学习评价--> <!--展开收起学习评价-->
<YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj"/> <YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj" v-on:evluatFun="getEluatFun"/>
<section class="home-header"> <section class="home-header">
<div class="home-topMenu"> <div class="home-topMenu">
<YqyHomeHeader :msgCount="msgCount" :searchFix="searchFix" :statusBarHeight="statusBarHeight"/> <YqyHomeHeader :msgCount="msgCount" :searchFix="searchFix" :statusBarHeight="statusBarHeight"/>
</div> </div>
<div class="swiper"> <div class="swiper">
<mt-swipe :auto="3000" :speed="speedSwiper"> <mt-swipe :auto="0" :speed="speedSwiper">
<mt-swipe-item v-for="(item,index) in listSwiper" :key="index" > <mt-swipe-item v-for="(item,index) in listSwiper" :key="index" >
<img :src="item.picturePath" @click="goLinkByswiper(item)"/> <img :src="item.picturePath" @click="goLinkByswiper(item)"/>
</mt-swipe-item> </mt-swipe-item>
...@@ -136,6 +136,7 @@ export default { ...@@ -136,6 +136,7 @@ export default {
_this.msgCount = params.msgNum || ''; _this.msgCount = params.msgNum || '';
} }
window.__refresh = function(params){ window.__refresh = function(params){
_this.fiveTimePull();
_this.initByToken() _this.initByToken()
} }
...@@ -145,12 +146,15 @@ export default { ...@@ -145,12 +146,15 @@ export default {
window.__getUserInfo = function(parm){ window.__getUserInfo = function(parm){
alert(parm.userToken); // alert(parm.userToken);
_this.systemType = parm.systemType; _this.systemType = parm.systemType;
_this.appVersion = parm.appVersion; _this.appVersion = parm.appVersion;
_this.token = parm.userToken; _this.token = parm.userToken;
_this.userToken = parm.userToken; _this.userToken = parm.userToken;
_this.userMobile = parm.userMobile; _this.userMobile = parm.userMobile;
if(parm.userMobile != ''){
_this.getKeepData();
}
_this.initByToken(); _this.initByToken();
_this.getSwiper(_this.appVersion,_this.systemType); _this.getSwiper(_this.appVersion,_this.systemType);
...@@ -198,7 +202,6 @@ export default { ...@@ -198,7 +202,6 @@ export default {
this.getAdjustData(); this.getAdjustData();
this.getNewsData(); this.getNewsData();
this.getEvaluctData(); this.getEvaluctData();
this.getKeepData();
window.addEventListener('scroll', this.scrollFun); window.addEventListener('scroll', this.scrollFun);
}, },
...@@ -208,12 +211,9 @@ export default { ...@@ -208,12 +211,9 @@ export default {
this.getStatusHight(); this.getStatusHight();
this.getUpdateData(); this.getUpdateData();
this.getMiddel(); this.getMiddel();
this.getIconData(); this.getIconData();
this.getCategoryData(); this.getCategoryData();
this.getYqDoctorData(); this.getYqDoctorData();
this.getFiveData(); this.getFiveData();
}, },
...@@ -547,7 +547,7 @@ export default { ...@@ -547,7 +547,7 @@ export default {
_this.isIntStyle = 'font-style pull-up'; _this.isIntStyle = 'font-style pull-up';
_this.isShowEvluat = false; _this.isShowEvluat = false;
clearInterval(setTimer) clearInterval(setTimer)
},20000); },5000);
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册