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

add

上级 96191de6
<template> <template>
<div class="cource-teach" id="adjust-u"> <div class="cource-teach" id="adjust-u">
<div :class="isFixed ? 'cource-header fixed' : 'cource-header'" :style="{paddingTop:ptop,height:menuHeight}"> <div :class="isFixed ? 'cource-header fixed' : 'cource-header'" :style="{height:menuHeight}">
<div class="font-title" :style="{top:isFixed?ptop:'0'}"> <div class="font-title" :style="{paddingTop:ptop}">
{{title}} {{title}}
</div> </div>
...@@ -58,6 +58,7 @@ export default { ...@@ -58,6 +58,7 @@ export default {
isShowLoading:true, isShowLoading:true,
menuHeight:0, menuHeight:0,
ptop:0, ptop:0,
popHeight:0
} }
}, },
props:{ props:{
...@@ -79,10 +80,15 @@ export default { ...@@ -79,10 +80,15 @@ export default {
}, },
}, },
mounted(){ mounted(){
//alert(this.userToken+"自组建");
this.list = this.parmData; this.list = this.parmData;
this.menuHeight = this.statusBarHeight + 7 + 40 + "px"; if(window.__isAndroid){
this.ptop = this.statusBarHeight + "px"; this.popHeight = this.statusBarHeight/2
}else{
this.popHeight = this.statusBarHeight
}
this.menuHeight = this.popHeight + 7 + 40 + "px";
this.ptop = this.popHeight + "px";
// this.getData(); // this.getData();
}, },
...@@ -172,7 +178,12 @@ export default { ...@@ -172,7 +178,12 @@ export default {
token:_this.userToken, token:_this.userToken,
type:status, type:status,
courseId:id, courseId:id,
setEntry: 'headers' setEntry: 'headers',
token:_this.userToken,
setEntry: 'headers',
data:{
token:_this.userToken,
}
} }
/// alert(this.token) /// alert(this.token)
_this.POST('contents/favors',parm).then(function(res){ _this.POST('contents/favors',parm).then(function(res){
...@@ -266,7 +277,7 @@ export default { ...@@ -266,7 +277,7 @@ export default {
.font-title{ .font-title{
line-height: px2rem(40px); line-height: px2rem(40px);
height: px2rem(40px); /*height: px2rem(40px);*/
background: #fff; background: #fff;
} }
} }
...@@ -295,6 +306,7 @@ export default { ...@@ -295,6 +306,7 @@ export default {
} }
} }
.fixed{ .fixed{
background: #fff;
.font-title{ .font-title{
position: fixed; position: fixed;
top:0; top:0;
......
<template> <template>
<div class="hot-teacher"> <div class="hot-teacher" >
<div class="space-between"> <div class="space-between" id="fiveBoxMenu">
<img class="img" src="../../images/mins.png"/> <img class="img" src="../../images/mins.png"/>
<div @click="goToPage('')" class="five-more gray fs11"> <div @click="goToPage('')" class="five-more gray fs11">
更多<img src="../../images/right-throw.png" class="thorw-icon"/> 更多<img src="../../images/right-throw.png" class="thorw-icon"/>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<script> <script>
// import { setEventByModuleCode } from '@/utils/index' // import { setEventByModuleCode } from '@/utils/index'
import { jumpWebPageUrl } from '@/utils/index'
export default { export default {
data(){ data(){
return { return {
...@@ -50,32 +51,20 @@ export default { ...@@ -50,32 +51,20 @@ export default {
//跳转 //跳转
goToPage(item,parm){ goToPage(item,parm){
console.log(item); //console.log(item);
let _this = this; let _this = this;
let url = location.host+'/#/' //let url = location.protocol+'//'+location.host+'/#/'
//alert(url);
if(parm == 'list'){ if(parm == 'list'){
rocNative.gotoNewWebActivity({ rocNative.gotoNewWebActivity({
url: 'http://10.177.10.231:8000/#/teachers' url: jumpWebPageUrl+'teachers'
}) })
// this.$router.push({
// path: '/teachers',
// query:{
// userToken:_this.userToken
// }
// })
}else{ }else{
rocNative.gotoNewWebActivity({ rocNative.gotoNewWebActivity({
url: 'http://10.177.10.231:8000/#/teachersDetail?id='+item.id+"&from=appHome" url: jumpWebPageUrl+'teachersDetail?id='+item.id+"&from=appHome"
}) })
// this.$router.push({
// path: '/teachersDetail',
// query:{
// id:item.id,
// userToken:_this.userToken
// }
// })
} }
// let obj = {} // let obj = {}
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</template> </template>
<script> <script>
// import { setEventByModuleCode } from '@/utils/index' import { jumpWebPageUrl } from '@/utils/index'
export default { export default {
name: 'YqyHomeBanner', name: 'YqyHomeBanner',
data(){ data(){
...@@ -38,11 +38,22 @@ export default { ...@@ -38,11 +38,22 @@ export default {
goToPage(itemData){ goToPage(itemData){
let paramList = this.setEventByModuleCode(itemData); let paramList = this.setEventByModuleCode(itemData);
if(itemData.appModuleInfo && itemData.appModuleInfo.code != 'M400'){
if(itemData.appModuleInfo.code != 'M400'){
//alert(itemData.appModuleInfo.code);
rocNative.dispatchEventByModuleCode({ rocNative.dispatchEventByModuleCode({
modeCode: itemData.appModuleInfo.code, modeCode: itemData.appModuleInfo.code,
jsonString: paramList jsonString: paramList
}) })
}else{
rocNative.gotoNewWebActivity({
url: jumpWebPageUrl+'teachers'
})
// this.$router.push({
// path: paramList[0].url,
// query:paramList[0].query
// })
} }
this.pageBurialPoin({ this.pageBurialPoin({
menuLevel:1, menuLevel:1,
......
<template> <template>
<div :class="searchFix?'header fixed' : 'header' " id="search-top" :style="{height:menuptop}"> <div :class="searchFix?'header fixed' : 'header' " id="search-top" :style="{height:menuptop}">
<div class="search-menu" :style="{paddingTop:ptop}"> <div class="search-menu" :style="{paddingTop:'20px'}">
<!-- <div :class="isTransparent?'search-transparent':'bgWhite'" class="search"> <!-- <div :class="isTransparent?'search-transparent':'bgWhite'" class="search">
<input type="search" :class="isTransparent?'search-transparent':''" class="input" v-model="searchVal" :placeholder="placeholder" :disabled="disabled" /> <input type="search" :class="isTransparent?'search-transparent':''" class="input" v-model="searchVal" :placeholder="placeholder" :disabled="disabled" />
<img v-if="searchFix" class="search-img" src='../../images/search-grey.png'> <img v-if="searchFix" class="search-img" src='../../images/search-grey.png'>
...@@ -28,6 +28,7 @@ export default { ...@@ -28,6 +28,7 @@ export default {
isShowMsg:true, isShowMsg:true,
ptop:0, ptop:0,
menuptop:0, menuptop:0,
popHeight:0
} }
}, },
props:{ props:{
...@@ -47,9 +48,14 @@ export default { ...@@ -47,9 +48,14 @@ export default {
mounted(){ mounted(){
if(window.__isAndroid){
this.popHeight = this.statusBarHeight/2
}else{
this.popHeight = this.statusBarHeight
}
this.count = this.msgCount; this.count = this.msgCount;
this.ptop = this.statusBarHeight+7+'px'; this.ptop = this.popHeight+7+'px';
this.menuptop = this.statusBarHeight+7+43+'px' this.menuptop = this.popHeight+7+'px'
// console.log(this.statusBarHeight); // console.log(this.statusBarHeight);
if(this.msgCount == ''){ if(this.msgCount == ''){
this.isShowMsg = false this.isShowMsg = false
......
<template> <template>
<div class="cource-teach" id="new-course"> <div class="cource-teach" >
<div class="space-between cource-header" > <div class="space-between cource-header">
<div class="title" >{{title}}</div> <div class="title" id="new-course">{{title}}</div>
</div> </div>
<div class="couse-list"> <div class="couse-list">
...@@ -112,10 +112,13 @@ export default { ...@@ -112,10 +112,13 @@ export default {
}) })
let _this = this, let _this = this,
parm = { parm = {
token:this.userToken, token:_this.userToken,
type:status, type:status,
courseId:id, courseId:id,
setEntry: 'headers' setEntry: 'headers',
data:{
token:_this.userToken,
}
} }
_this.POST('contents/favors',parm).then(function(res){ _this.POST('contents/favors',parm).then(function(res){
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
methods: { methods: {
backPre(){ backPre(){
alert("999"); ///alert("999");
rocNative.goBack() rocNative.goBack()
// this.$router.back(-1); // this.$router.back(-1);
}, },
......
...@@ -14,7 +14,7 @@ service.interceptors.request.use(config => { ...@@ -14,7 +14,7 @@ service.interceptors.request.use(config => {
// console.log('config: ', config, config.data.setEntry) // console.log('config: ', config, config.data.setEntry)
if (config.data && config.data.setEntry) { if (config.data && config.data.setEntry) {
config.headers['sysCode'] = config.data.sysCode || 10 config.headers['sysCode'] = config.data.sysCode || 10
if(config.token){ if(config.data.token){
config.headers['token'] = config.data.token || '63C3FA92AF8A45A48B31EB7FD97B95EB' config.headers['token'] = config.data.token || '63C3FA92AF8A45A48B31EB7FD97B95EB'
} }
......
...@@ -230,6 +230,8 @@ export function jumpEvaluatPage(){ ...@@ -230,6 +230,8 @@ export function jumpEvaluatPage(){
} }
// dev地址 // dev地址
// const baseUrl = 'https://dev-sc.yunqueyi.com/' // const baseUrl = 'https://dev-sc.yunqueyi.com/'
// const apiUrl = 'https://dev-api.yunqueyi.com/' // const apiUrl = 'https://dev-api.yunqueyi.com/'
...@@ -240,6 +242,8 @@ const apiUrl = 'https://test1-api.yunqueyi.com/' ...@@ -240,6 +242,8 @@ const apiUrl = 'https://test1-api.yunqueyi.com/'
const evaluatPageUrl = 'https://test1-phome.yunqueyi.com/gpr/#/home' const evaluatPageUrl = 'https://test1-phome.yunqueyi.com/gpr/#/home'
export const jumpWebPageUrl = 'https://test1-sc.yunqueyi.com/appl/#/'
//const devApiUri = 'https://test1-api.yunqueyi.com/' //const devApiUri = 'https://test1-api.yunqueyi.com/'
// // uat地址 // // uat地址
......
...@@ -103,11 +103,12 @@ module.exports = { ...@@ -103,11 +103,12 @@ module.exports = {
let path = paramList[0]['key']; let path = paramList[0]['key'];
let v = paramList[0]['value']; let v = paramList[0]['value'];
let query = this.setRouterParm(paramList); let query = this.setRouterParm(paramList);
//alert(this.token); paramList = [{
this.$router.push({ url:v,
path: v,
query:query query:query
}) }]
//alert(this.token);
} }
if(typeof paramList === 'string' && !paramList){ if(typeof paramList === 'string' && !paramList){
paramList = [] paramList = []
......
<template> <template>
<section :class="isIntStyle"> <div class="main-body" ref="wrapper" :style="{ height: (wrapperHeight-50) + 'px' }">
<!--展开收起学习评价--> <mt-loadmore :top-method="loadTop" ref="loadmore" :autoFill="isAutoFill" :bottom-all-loaded="allLoaded" :topDistance="topDistance">
<YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj" v-on:evluatFun="getEluatFun"/> <section :class="isIntStyle">
<!--展开收起学习评价-->
<section class="home-header"> <YqyTopEvaluat :isShowEvluat="isShowEvluat" v-if="isShowEvluat" :parmData="evaluctObj" v-on:evluatFun="getEluatFun"/>
<div class="home-topMenu">
<YqyHomeHeader :msgCount="msgCount" :searchFix="searchFix" :statusBarHeight="statusBarHeight" v-if="isHeightFromApp"/> <section class="home-header">
</div> <div class="home-topMenu">
<div class="swiper"> <YqyHomeHeader :msgCount="msgCount" :searchFix="searchFix" :statusBarHeight="statusBarHeight" v-if="isHeightFromApp"/>
<mt-swipe :auto="0" :speed="speedSwiper"> </div>
<mt-swipe-item v-for="(item,index) in listSwiper" :key="index" > <div class="swiper">
<img :src="item.picturePath" @click="goLinkByswiper(item)"/> <mt-swipe :auto="0" :speed="speedSwiper">
</mt-swipe-item> <mt-swipe-item v-for="(item,index) in listSwiper" :key="index" >
<!-- <mt-swipe-item> <img :src="item.picturePath" @click="goLinkByswiper(item)"/>
<img src="../../images/552064153@2x.png"/> </mt-swipe-item>
</mt-swipe-item> --> <!-- <mt-swipe-item>
</mt-swipe> <img src="../../images/552064153@2x.png"/>
</div> </mt-swipe-item> -->
</section> </mt-swipe>
<section class="home-body"> </div>
<YqyHomeBanner :parmData="iconList" v-if="iconList.length>0"/> </section>
<section class="home-body">
<div class="pathologic-list"> <YqyHomeBanner :parmData="iconList" v-if="iconList.length>0"/>
<div class="pathologic-item" v-for="(item,index) in listMiddle" :style="index%2==1?'margin-right: 0':''" @click="goToPatholo(item)">
<span class="pathologic-icon"> <div class="pathologic-list">
<img :src="item.imageUrl"/> <div class="pathologic-item" v-for="(item,index) in listMiddle" :style="index%2==1?'margin-right: 0':''" @click="goToPatholo(item)">
</span> <span class="pathologic-icon">
<span class="pathologic-txt fs14">{{item.name}}</span> <img :src="item.imageUrl"/>
</div> </span>
<span class="pathologic-txt fs14">{{item.name}}</span>
<div class="clear"></div> </div>
</div>
<div class="clear"></div>
<!--继续学习--> </div>
<YqyHomeKeepon :parmData="keeponData" v-if="isShowKeep"/>
<!--继续学习-->
<YqyHomeKeepon :parmData="keeponData" v-if="isShowKeep"/>
<!--专题分类--> <!--专题分类-->
<YqyCategoryThree1 v-if="listCategory.length>0" :parmData="listCategory"/> <YqyCategoryThree1 v-if="listCategory.length>0" :parmData="listCategory"/>
<!--健康守门人--> <!--健康守门人-->
<!-- <YqyHomePorter/> --> <!-- <YqyHomePorter/> -->
<!--云雀名师--> <!--云雀名师-->
<YqyHomeAdv :parmData="yqDoctorList" v-if="yqDoctorList.length>0"/> <YqyHomeAdv :parmData="yqDoctorList" v-if="yqDoctorList.length>0"/>
<!--最新课程--> <!--最新课程-->
<YqyTeacherList :parmData="newsDatalist" v-if="newsDatalist.length>0" :userToken="userToken"/> <YqyTeacherList :parmData="newsDatalist" v-if="newsDatalist.length>0" :userToken="userToken"/>
<!--分钟医学院--> <!--分钟医学院-->
<YqyFiveMinutes :parmData="fiveList" v-if="fiveList.length>0"/> <YqyFiveMinutes :parmData="fiveList" v-if="fiveList.length>0"/>
<!--为你推荐--> <!--为你推荐-->
<YqyHomeAdjust :isFixed="isFixed" :statusBarHeight="statusBarHeight" :parmData="adjustList" v-if="adjustList.length>0" :userToken="userToken"/> <YqyHomeAdjust :isFixed="isFixed" :statusBarHeight="statusBarHeight" :parmData="adjustList" v-if="adjustList.length>0" :userToken="userToken"/>
<!--返回顶部--> <!--返回顶部-->
<BackTop v-if="isShowBackTop"/> <BackTop v-if="isShowBackTop"/>
<a class="news-update" @click="goAnchors" v-show="showNewCorse"> <a class="news-update" @click="goAnchors" v-show="showNewCorse">
<span class="news-info"> <span class="news-info">
{{updateTotal}}个新内容 {{updateStr}}个新内容
<i></i> <i></i>
</span> </span>
</a> </a>
</section> </section>
</section> </section>
</mt-loadmore>
</div>
</template> </template>
<script> <script>
...@@ -83,6 +88,10 @@ import YqyHomeAdjust from '../../components/business-new/yqy-adjust'; ...@@ -83,6 +88,10 @@ import YqyHomeAdjust from '../../components/business-new/yqy-adjust';
export default { export default {
data(){ data(){
return { return {
wrapperHeight:0,
topDistance:20,
allLoaded:false,
isAutoFill:false,
showNewCorse:false, // 是否显示新内容 默认不显示 showNewCorse:false, // 是否显示新内容 默认不显示
isFixed:false, isFixed:false,
isShowBackTop:false, isShowBackTop:false,
...@@ -113,6 +122,8 @@ export default { ...@@ -113,6 +122,8 @@ export default {
userMobile:'', userMobile:'',
userToken:'', userToken:'',
isHeightFromApp:false, isHeightFromApp:false,
isFirstPull:true,
updateStr:''
} }
}, },
components:{ components:{
...@@ -154,25 +165,25 @@ export default { ...@@ -154,25 +165,25 @@ 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 != ''){ if(parm.userMobile != ''){
_this.getKeepData(); _this.getKeepData(parm.userToken);
} }
_this.initByToken(parm.userToken); _this.initByToken(parm.userToken);
_this.getSwiper(_this.appVersion,_this.systemType); _this.getSwiper(_this.appVersion,_this.systemType,parm.userToken);
} }
_this.initAll() _this.initAll()
// _this.token = '63C3FA92AF8A45A48B31EB7FD97B95EB'; // _this.token = 'A19F2200C11A4E958650B2246039B560';
// _this.isHeightFromApp = true; // _this.isHeightFromApp = true;
// _this.initByToken(_this.token); // _this.initByToken(_this.token);
...@@ -186,6 +197,8 @@ export default { ...@@ -186,6 +197,8 @@ export default {
mounted(){ mounted(){
//console.log(this.isShowEvluat); //console.log(this.isShowEvluat);
//this.getSwiper();
this.wrapperHeight =document.documentElement.clientHeight - this.$refs.wrapper.getBoundingClientRect().top;
}, },
beforeDestroyed(){ beforeDestroyed(){
...@@ -209,14 +222,16 @@ export default { ...@@ -209,14 +222,16 @@ export default {
}, },
methods:{ methods:{
loadTop(){
location.reload();
this.$refs.loadmore.onTopLoaded();
},
initByToken(userToken){ initByToken(userToken){
this.getAdjustData(userToken); this.getAdjustData(userToken);
this.getNewsData(userToken); this.getNewsData(userToken);
this.getEvaluctData(userToken); this.getEvaluctData(userToken);
window.addEventListener('scroll', this.scrollFun);
}, },
initAll(){ initAll(){
...@@ -256,12 +271,16 @@ export default { ...@@ -256,12 +271,16 @@ export default {
// labelId:item.id, // labelId:item.id,
}) })
let moduleCode = 'M100'
if(item.moduleCode === 'M015'){
moduleCode = 'M002'
}
let itemData = { let itemData = {
"title":item.name, "title":item.name,
"imageUrl":"", "imageUrl":"",
"appModuleInfo":{ "appModuleInfo":{
"code":"M100", "code":moduleCode,
"type":4, "type":4,
"name":"名师风采个人展示", "name":"名师风采个人展示",
"paramFlag":1, "paramFlag":1,
...@@ -295,7 +314,10 @@ export default { ...@@ -295,7 +314,10 @@ export default {
let _this = this, para = { let _this = this, para = {
sysCode: 27, sysCode: 27,
token: userToken, token: userToken,
setEntry: 'headers' setEntry: 'headers',
data:{
token:userToken,
}
} }
this.GET('contents/gp/v1/homepage', para).then(res => { this.GET('contents/gp/v1/homepage', para).then(res => {
...@@ -366,11 +388,16 @@ export default { ...@@ -366,11 +388,16 @@ export default {
}, },
//继续学习数据 //继续学习数据
getKeepData(){ getKeepData(userToken){
let _this = this, let _this = this,
parm = { parm = {
token:_this.userToken,
setEntry: 'headers'
token:userToken,
setEntry: 'headers',
data:{
token:userToken,
}
} }
_this.GET('contents/courses/continueLearningCourse',parm).then(function(res){ _this.GET('contents/courses/continueLearningCourse',parm).then(function(res){
...@@ -411,7 +438,10 @@ export default { ...@@ -411,7 +438,10 @@ export default {
pageNo:1, pageNo:1,
pageSize:6, pageSize:6,
token:userToken, token:userToken,
setEntry: 'headers' setEntry: 'headers',
data:{
token:userToken,
}
} }
_this.GET('/contents/HomeNewCourse/NewCourseInformation',parm).then(function(res){ _this.GET('/contents/HomeNewCourse/NewCourseInformation',parm).then(function(res){
...@@ -455,14 +485,18 @@ export default { ...@@ -455,14 +485,18 @@ export default {
//为您推荐 //为您推荐
getAdjustData(userToken){ getAdjustData(userToken){
// alert(userToken); //alert(userToken);
this.adjustList = [] this.adjustList = []
let _this = this, let _this = this,
parm = { parm = {
pageNo:1, pageNo:1,
pageSize:10, pageSize:10,
token:userToken, token:userToken,
setEntry: 'headers' setEntry: 'headers',
data:{
token:userToken,
}
} }
...@@ -471,6 +505,7 @@ export default { ...@@ -471,6 +505,7 @@ export default {
if(res.code === '000000'){ if(res.code === '000000'){
_this.adjustList = res.data || []; _this.adjustList = res.data || [];
if(_this.adjustList.length>0){ if(_this.adjustList.length>0){
window.addEventListener('scroll', _this.scrollFun);
_this.userToken = userToken _this.userToken = userToken
} }
...@@ -491,20 +526,14 @@ export default { ...@@ -491,20 +526,14 @@ export default {
this.GET('contents/courses/queryCourseCount', para).then(res => { this.GET('contents/courses/queryCourseCount', para).then(res => {
if(res.code == '000000'){ if(res.code == '000000'){
if(res.data != null){ if(res.data != null){
_this.updateTotal = res.data.courseCount + res.data.fiveHospCount || 0
if(res.data.courseCount + res.data.fiveHospCount > 0){ if(_this.updateTotal > 0){
_this.showNewCorse = true; _this.showNewCorse = true;
if((res.data.courseCount + res.data.fiveHospCount)>9){
_this.updateStr = _this.updateTotal>9 ? '9+' : _this.updateTotal
//_this.showNewCorse = _this.updateTotal > 0 ? true : false
_this.updateTotal = '9+';
}
}else{ }else{
_this.showNewCorse = false _this.showNewCorse = false
} }
} }
} }
...@@ -524,16 +553,18 @@ export default { ...@@ -524,16 +553,18 @@ export default {
scrollEndFun(){ scrollEndFun(){
let scrollTop = document.body.scrollTop || document.documentElement.scrollTop; let scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
// let newCourseTop = document.querySelector('#famus-teacher').offsetTop;
// let fivesTop = document.querySelector('#fiveBoxMenu').offsetTop;
if(this.scrollTop != scrollTop){ if(this.scrollTop != scrollTop){
this.showNewCorse = false; this.showNewCorse = false;
}else{ }else{
//alert("000"); this.showNewCorse = this.updateTotal>0 ? true : false;
if(this.updateTotal.length>0){
this.showNewCorse = true;
}
} }
}, },
scrollFun(){ scrollFun(){
...@@ -604,22 +635,22 @@ export default { ...@@ -604,22 +635,22 @@ export default {
}, },
//获取轮播图数据 //获取轮播图数据
getSwiper(appVersion,systemType){ getSwiper(appVersion,systemType,userToken){
// let version = '3.7.3', // let version = '3.7.3',
// systemType = 3; // sys = 3;
// token = '364ED1F1C8064CEBABF745CFFFDE18CF' // token = '364ED1F1C8064CEBABF745CFFFDE18CF'
let _this = this, let _this = this,
para = { para = {
version:appVersion, version:appVersion,
systemType:systemType, systemType:systemType,
token:_this.token, token:userToken,
data:{ data:{
setEntry: 'headers' setEntry: 'headers'
} }
} }
// para = { // para = {
// version:version, // version:version,
// systemType:systemType, // systemType:sys,
// token:_this.token, // token:_this.token,
// //setEntry: 'headers', // //setEntry: 'headers',
// data:{ // data:{
...@@ -699,6 +730,7 @@ export default { ...@@ -699,6 +730,7 @@ export default {
.swiper .is-active{ .swiper .is-active{
opacity: 1; opacity: 1;
} }
.mint-loadmore-top .mint-loadmore-text{font-size: 12px;}
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../style/mixin'; @import '../../style/mixin';
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<div class="item-line" v-for="(item,index) in newsList"> <div class="item-line" v-for="(item,index) in newsList">
<div class="line-img" @click="goToPage(item)"> <div class="line-img" @click="goToPage(item)">
<img :src="item.imageUrl"> <img :src="item.imageUrl">
<span class="tag">{{item.structureName}}</span> <span class="tag" v-if="item.structureName">{{item.structureName}}</span>
<span class="line-play" @click.stop="goToPage(item)"> <span class="line-play" @click.stop="goToPage(item)">
<img src="../../images/grey-play.png"> <img src="../../images/grey-play.png">
</span> </span>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册