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

add

上级 bf7f3dc2
<template> <template>
<div class="cource-teach" id="adjust-u"> <div class="cource-teach" id="adjust-u">
<div :class="isFixed ? 'cource-header fixed' : 'cource-header'"> <div :class="isFixed ? 'cource-header fixed' : 'cource-header'" :style="{height:menuptop}">
<div class="fixBox"> <div class="fixBox">
<div class="bgFill" :style="{height:ptop}"></div> <div class="bgFill" :style="{height:ptop}"></div>
...@@ -85,13 +85,13 @@ export default { ...@@ -85,13 +85,13 @@ export default {
this.list = this.parmData; this.list = this.parmData;
if(window.__isAndroid){ // if(window.__isAndroid){
this.popHeight = this.statusBarHeight/2 // this.popHeight = this.statusBarHeight/2
}else{ // }else{
this.popHeight = this.statusBarHeight // this.popHeight = this.statusBarHeight
} // }
this.menuHeight = this.popHeight + 7 + 40 + "px"; // this.menuHeight = this.popHeight + 7 + 40 + "px";
this.ptop = this.popHeight + "px"; // this.ptop = this.popHeight + "px";
// this.getData(); // this.getData();
}, },
...@@ -106,8 +106,8 @@ export default { ...@@ -106,8 +106,8 @@ export default {
} }
_this.ptop = _this.popHeight+7+'px'; _this.ptop = _this.popHeight+7+'px';
_this.menuptop = _this.popHeight+7+'px' _this.menuptop = _this.popHeight+7+36+'px'
//alert(parm.statusBarHeight+'kkkkk'); // alert(parm.statusBarHeight+'kkkkk');
} }
this.getStatusHight() this.getStatusHight()
...@@ -317,11 +317,12 @@ export default { ...@@ -317,11 +317,12 @@ export default {
} }
.cource-header{ .cource-header{
/* margin: 0 0 px2rem(11px) 0;*/ /* margin: 0 0 px2rem(11px) 0;*/
overflow: hidden;
height: px2rem(65px); /*height: px2rem(45px);*/
margin-bottom: px2rem(15px);
.font-title{ .font-title{
line-height: px2rem(45px); line-height: px2rem(36px);
height: px2rem(45px); height: px2rem(36px);
background: #fff; background: #fff;
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
更多<img src="../../images/right-throw.png" class="thorw-icon"/> 更多<img src="../../images/right-throw.png" class="thorw-icon"/>
</div> </div>
</div> </div>
<div class="teacher-item" :key="index" v-for="(item,index) in list" @click="goToPage(item)"> <div :class="index>1 && (index+1 == list.length)?'teacher-item item-end' : 'teacher-item'" :key="index" v-for="(item,index) in list" @click="goToPage(item)">
<div class="teacher-itemimg"> <div class="teacher-itemimg">
<img :src="item.appImageUrl"/> <img :src="item.appImageUrl"/>
</div> </div>
...@@ -364,5 +364,8 @@ export default { ...@@ -364,5 +364,8 @@ export default {
} }
} }
} }
.item-end{
height: px2rem(60px);
}
} }
</style> </style>
...@@ -230,7 +230,7 @@ export default { ...@@ -230,7 +230,7 @@ export default {
// _this.token = 'BE1D60CAE8F24649B4F72D47E964A58B'; // _this.token = 'BE1D60CAE8F24649B4F72D47E964A58B';
// _this.msgCount = '2' // _this.msgCount = '2'
// _this.isShowKeep = true; // _this.isShowKeep = true;
// _this.isHeightFromApp = true; // _this.isHeightFromApp = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册