提交 54b26e76 编写于 作者: 杨广俊's avatar 杨广俊

完成开发

上级 964c25c9
......@@ -3,7 +3,9 @@
<div class="search-menu">
<div class="bgFill" :style="{height:ptop}"></div>
<div class="fixBox">
<img @click="goBackHome" class="left-arror" :style="{top: bPtop}" src="../../images/lecturer/left-arror.png" alt="">
<div :class="isTransparent?'search-transparent':'bgWhite'" class="search" @click="goSearch">
<!-- <img class="search-img-left" src="../../images/search-white.png"> -->
<span class="input">{{placeholder}}</span>
<img class="search-img" src="../../images/search-white.png">
</div>
......@@ -21,6 +23,7 @@ export default {
isTransparent: true, //更改颜色 背景
count: "",
ptop: 0,
bPtop: 0,
menuptop: 0,
popHeight: 0
};
......@@ -51,7 +54,7 @@ export default {
_this.popHeight = parm.statusBarHeight;
}
_this.ptop = _this.popHeight + "px";
_this.bPtop = _this.popHeight + 2 + "px"
_this.menuptop = _this.popHeight + "px";
// alert(parm.statusBarHeight);
};
......@@ -103,6 +106,11 @@ export default {
modeCode: itemData.appModuleInfo.code,
jsonString: itemData.appModuleInfo.paramList
});
},
// 返回到首页
goBackHome() {
rocNative.goBack()
}
}
};
......@@ -124,6 +132,7 @@ body {
border: 1px solid rgba(255, 255, 255, 1);
color: #fff;
margin: px2rem(8px) 0 0 0;
margin-left: px2rem(20px);
}
.search-transparent::-webkit-input-placeholder {
color: #fff;
......@@ -223,6 +232,12 @@ body {
margin: px2rem(8px) px2rem(10px) 0 0;
float: right;
}
.search-img-left {
width: px2rem(13px);
height: px2rem(13px);
margin: px2rem(8px) px2rem(10px) 0 0;
float: left;
}
.info-count {
position: absolute;
......@@ -299,4 +314,12 @@ body {
height: px2rem(325px);
margin-top: px2rem(35px);
}
.left-arror {
position: absolute;
left: px2rem(6px);
top: px2rem(3px);
width: px2rem(25px);
height: px2rem(25px);
margin: px2rem(8px) px2rem(12px);
}
</style>
......@@ -158,9 +158,7 @@ export default {
// 排序
orderAction(orderName, isSortUp) {
let orderType = isSortUp ? 1 : -1
// sortLecturerData()
let orderData = this.parmDataDoctList.slice()
console.log('this.orderData', orderData)
orderData.sort((a, b)=> {
if (orderName === 'doctorFirstNameChar') {
return (a[orderName].charCodeAt(0) - b[orderName].charCodeAt(0)) * orderType
......@@ -184,27 +182,16 @@ export default {
this.selectedLevelName = selectedLevelName
this.selectedDepartName = selectedDepartName
},
// ...mapActions({
// 'setAdjustList': 'setAdjustList'
// }),
// 选择标题组件
selectedTypeFromTitle(index) {
this.selectedTypeIndex = index
// commit
this.$refs.lecturerSelContRef.selectedType(index)
this.$refs.lecturerSelContRef.show()
// this.showSelectedPage = true
},
selectedType(index) {
this.selectedTypeIndex = index
// this.$emit('selectedType', index)
},
// 请求数据
initAll(){
this.getSwiper()
this.getYqDoctorDataByCD()
// this.getAreas()
// this.getLevels()
// this.getDeparts()
},
//获取状态栏高度
......@@ -212,7 +199,6 @@ export default {
rocNative.getStatusBarHeight({
__funcName: '__getStatusBarHeight'
})
},
//获取用户信息及版本号等()
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册