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

add

上级 d9adb7c9
...@@ -34,7 +34,8 @@ export default { ...@@ -34,7 +34,8 @@ export default {
}, },
mounted(){ mounted(){
this.list = this.parmData this.list = this.parmData;
alert(this.userToken);
//this.getData(); //this.getData();
}, },
props:{ props:{
...@@ -42,10 +43,11 @@ export default { ...@@ -42,10 +43,11 @@ export default {
type:Array, type:Array,
default:[] default:[]
}, },
// userToken:{
// type:String, userToken:{
// default:'' type:String,
// } default:''
}
}, },
methods: { methods: {
...@@ -59,12 +61,12 @@ export default { ...@@ -59,12 +61,12 @@ export default {
if(parm == 'list'){ if(parm == 'list'){
rocNative.gotoNewWebActivity({ rocNative.gotoNewWebActivity({
pageUrl: 'https://test1-phome.yunqueyi.com/appl/#/teachers' pageUrl: 'https://test1-phome.yunqueyi.com/appl/#/teachers?userToken='+_this.userToken
}) })
}else{ }else{
rocNative.gotoNewWebActivity({ rocNative.gotoNewWebActivity({
pageUrl: jumpWebPageUrl+'teachersDetail?id='+item.id+"&from=appHome" pageUrl: jumpWebPageUrl+'teachersDetail?id='+item.id+"&from=appHome&userToken="+_this.userToken
}) })
} }
......
...@@ -20,6 +20,12 @@ service.interceptors.request.use(config => { ...@@ -20,6 +20,12 @@ service.interceptors.request.use(config => {
config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' }) config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
} }
// if (config.data && config.data.setEntry) {
// config.headers['sysCode'] = config.data.sysCode || 10
// config.headers['token'] = config.data.token || '625D128F3DBA486AABE7CBA9BDF90E69'
// config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
// }
return config return config
}, error => { }, error => {
......
<template> <template>
<div class="main-body" ref="wrapper" :style="{ height: (wrapperHeight-50) + 'px' }"> <div class="main-body" ref="wrapper" :style="{ height: (wrapperHeight-50) + 'px' }">
<section :class="isIntStyle"> <section :class="isIntStyle">
<!--展开收起学习评价--> <!--展开收起学习评价-->
<YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj" v-on:evluatFun="getEluatFun"/> <YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj" v-on:evluatFun="getEluatFun"/>
...@@ -54,7 +55,7 @@ ...@@ -54,7 +55,7 @@
<!-- <YqyHomePorter/> --> <!-- <YqyHomePorter/> -->
<!--云雀名师--> <!--云雀名师-->
<YqyHomeAdv :parmData="yqDoctorList" v-if="yqDoctorList.length>0"/> <YqyHomeAdv :parmData="yqDoctorList" v-if="yqDoctorList.length>0 && userToken !=''" :userToken="userToken"/>
<!--最新课程--> <!--最新课程-->
<YqyTeacherList :parmData="newsDatalist" v-if="newsDatalist.length>0" :userToken="userToken"/> <YqyTeacherList :parmData="newsDatalist" v-if="newsDatalist.length>0" :userToken="userToken"/>
...@@ -77,6 +78,7 @@ ...@@ -77,6 +78,7 @@
</section> </section>
</section> </section>
</div> </div>
</template> </template>
...@@ -251,7 +253,7 @@ export default { ...@@ -251,7 +253,7 @@ export default {
}, },
loadTop(){ loadTop(){
location.reload(); //location.reload();
this.$refs.loadmore.onTopLoaded(); this.$refs.loadmore.onTopLoaded();
}, },
...@@ -341,7 +343,9 @@ export default { ...@@ -341,7 +343,9 @@ export default {
_this.isShowEvluat = _this.evaluctObj.showFlag; _this.isShowEvluat = _this.evaluctObj.showFlag;
if(_this.isShowEvluat){ if(_this.isShowEvluat){
_this.fiveTimePull() _this.isIntStyle = 'font-style pull-down';
_this.fiveTimePull();
} }
} }
...@@ -797,6 +801,17 @@ export default { ...@@ -797,6 +801,17 @@ export default {
.banner-container{ .banner-container{
height: px2rem(210px) height: px2rem(210px)
} }
.main-body{
position: relative;
}
.box-BG{
width: 100%;
height: 100%;
position: absolute;
top:0;
left: 0;
z-index: 10000
}
.mint-header { .mint-header {
background-color: rgba($color: #000000, $alpha: 0) background-color: rgba($color: #000000, $alpha: 0)
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册