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

add

上级 dbb27875
<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="{height:menuHeight}"> <div :class="isFixed ? 'cource-header fixed' : 'cource-header'">
<div class="font-title" :style="{paddingTop:ptop}"> <div class="fixBox">
{{title}} <div class="bgFill"></div>
<div class="font-title">
{{title}}
</div>
</div> </div>
</div> </div>
<div> <div class="couse-cont">
<div class="couse-list" v-infinite-scroll="loadMore" infinite-scroll-disabled="loading" infinite-scroll-distance="10" :style="'height:'+clientHeight"> <div class="couse-list" v-infinite-scroll="loadMore" infinite-scroll-disabled="loading" infinite-scroll-distance="10" :style="'height:'+clientHeight">
<div :class="index%2==1 ? 'course-item end-left' : 'course-item'" :key="index" v-for="(item,index) in list"> <div :class="index%2==1 ? 'course-item end-left' : 'course-item'" :key="index" v-for="(item,index) in list">
<div class="course-pic" @click="goToPage(item)"> <div class="course-pic" @click="goToPage(item)">
...@@ -82,7 +83,7 @@ export default { ...@@ -82,7 +83,7 @@ export default {
mounted(){ mounted(){
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{
...@@ -278,16 +279,24 @@ export default { ...@@ -278,16 +279,24 @@ export default {
overflow: hidden; overflow: hidden;
} }
.cource-teach{ .bgFill{
background: inherit;
height: px2rem(20px);
}
.cource-teach .cource-header,.couse-cont{
padding:0 px2rem(15px); padding:0 px2rem(15px);
} }
.fixBox{
}
.cource-header{ .cource-header{
/* margin: 0 0 px2rem(11px) 0;*/ /* margin: 0 0 px2rem(11px) 0;*/
overflow: hidden; overflow: hidden;
height: px2rem(50px);
.font-title{ .font-title{
line-height: px2rem(40px); line-height: px2rem(30px);
/*height: px2rem(40px);*/ height: px2rem(30px);
background: #fff; background: #fff;
} }
} }
...@@ -316,16 +325,24 @@ export default { ...@@ -316,16 +325,24 @@ export default {
} }
} }
.fixed{ .fixed{
background: #fff; height: px2rem(50px);
.font-title{
.fixBox{
position: fixed; position: fixed;
top:0; top:0;
left: 0; left: 0;
width: 100%; width: 100%;
background: #fff;
z-index: 112; z-index: 112;
padding: 0 px2rem(15px);; .font-title{
background: #fff;
padding:0 px2rem(15px);
}
} }
.bgFill{
background: #ddd
}
} }
.course-item{ .course-item{
float: left; float: left;
...@@ -404,7 +421,7 @@ export default { ...@@ -404,7 +421,7 @@ export default {
.font-title{ .font-title{
font-size: px2rem(18px); font-size: px2rem(18px);
font-weight: bold; font-weight: bold;
} }
.title{ .title{
font-size: px2rem(16px); font-size: px2rem(16px);
......
...@@ -144,7 +144,7 @@ html,body{ ...@@ -144,7 +144,7 @@ html,body{
} }
} }
.bgFill{ .bgFill{
background: #ddd; background: inherit;
height: 20px; height: 20px;
} }
.fs30{ .fs30{
...@@ -179,6 +179,9 @@ html,body{ ...@@ -179,6 +179,9 @@ html,body{
padding-top: px2rem(7px) padding-top: px2rem(7px)
} }
.bgFill{
background: #ddd;
}
.search-transparent::-webkit-input-placeholder{ .search-transparent::-webkit-input-placeholder{
color:#666; color:#666;
} }
......
...@@ -237,17 +237,17 @@ export function jumpEvaluatPage(){ ...@@ -237,17 +237,17 @@ export function jumpEvaluatPage(){
// const apiUrl = 'https://dev-api.yunqueyi.com/' // const apiUrl = 'https://dev-api.yunqueyi.com/'
// test1地址 // test1地址
// const baseUrl = 'https://test1-sc.yunqueyi.com/' const baseUrl = 'https://test1-sc.yunqueyi.com/'
// const apiUrl = 'https://test1-api.yunqueyi.com/' 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-phome.yunqueyi.com/appl/#/' export const jumpWebPageUrl = 'https://test1-phome.yunqueyi.com/appl/#/'
const baseUrl = 'https://uat-sc.yunqueyi.com/' // const baseUrl = 'https://uat-sc.yunqueyi.com/'
const apiUrl = 'https://uat-api.yunqueyi.com/' // const apiUrl = 'https://uat-api.yunqueyi.com/'
const evaluatPageUrl = 'https://uat-phome.yunqueyi.com/gpr/#/home' // const evaluatPageUrl = 'https://uat-phome.yunqueyi.com/gpr/#/home'
export const jumpWebPageUrl = 'https://uat-phome.yunqueyi.com/appl/#/' // export const jumpWebPageUrl = 'https://uat-phome.yunqueyi.com/appl/#/'
// pro地址 // pro地址
// const baseUrl = 'https://sc.yunqueyi.com/' // const baseUrl = 'https://sc.yunqueyi.com/'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册