提交 c50683ac 编写于 作者: guangjun.yang's avatar guangjun.yang

commit test

上级 be73aa83
<template> <template>
<section> <section>
<article class="group-title"> <article class="group-title">
<section class="group-title-order"> <section class="group-title-order">
<div @click="selectedType(1)" class="group-title-order-item"> <div @click="selectedType(1)" class="group-title-order-item">
<span>{{selectedAreaName}}</span><img src="../../images/lecturer/select-down.png"/> <span>{{selectedAreaName}}</span><img src="../../images/lecturer/select-down.png"/>
</div> </div>
<div @click="selectedType(2)" class="group-title-order-item"> <div @click="selectedType(2)" class="group-title-order-item">
<span>{{selectedLevelName}}</span><img src="../../images/lecturer/select-down.png"/> <span>{{selectedLevelName}}</span><img src="../../images/lecturer/select-down.png"/>
</div> </div>
<div @click="selectedType(3)" class="group-title-order-item"> <div @click="selectedType(3)" class="group-title-order-item">
<span>{{selectedDepartName}}</span><img src="../../images/lecturer/select-down.png"/> <span>{{selectedDepartName}}</span><img src="../../images/lecturer/select-down.png"/>
</div> </div>
</section> </section>
</article> </article>
</section> </section>
......
...@@ -21,24 +21,28 @@ ...@@ -21,24 +21,28 @@
<!-- 全部讲师选择标题 --> <!-- 全部讲师选择标题 -->
<YqyLecturerSelect <YqyLecturerSelect
@selectedType="selectedTypeFromTitle"
/>
<!-- <YqyLecturerSelect
@selectedType="selectedTypeFromTitle" @selectedType="selectedTypeFromTitle"
:selectedAreaName="selectedAreaSubName || selectedAreaName" :selectedAreaName="selectedAreaSubName || selectedAreaName"
:selectedLevelName="selectedLevelName" :selectedLevelName="selectedLevelName"
:selectedDepartName="selectedDepartName" :selectedDepartName="selectedDepartName"
/> /> -->
<!-- 全部讲师列表 --> <!-- 全部讲师列表 -->
<YqyTeacherList :parmData="parmDataDoctList"/> <YqyTeacherList :parmData="parmDataDoctList"/>
<YqyLecturerSelectContent ref="lecturerSelContRef" :isShowSelectionB="showSelectedPage"/>
<!--返回顶部--> <!--返回顶部-->
<BackTop v-if="searchFix"/> <BackTop v-if="searchFix"/>
<!-- 全部讲师选择页面 --> <!-- 全部讲师选择页面 -->
<mt-popup <!-- <mt-popup
v-model="showSelectedPage" v-model="showSelectedPage"
position="top" position="top"
> > -->
<section > <!-- <section >
<article class="lect-selection"> <article class="lect-selection">
<div class="lect-selection-content-mask"></div> <div class="lect-selection-content-mask"></div>
<section class="lect-selection-title"> <section class="lect-selection-title">
...@@ -120,9 +124,9 @@ ...@@ -120,9 +124,9 @@
</table> </table>
</article> </article>
</section> </section>
</section> </section> -->
</mt-popup> <!-- </mt-popup> -->
</div> </div>
</template> </template>
...@@ -134,6 +138,7 @@ import BackTop from '@/homecom/components/common/backTop'; ...@@ -134,6 +138,7 @@ import BackTop from '@/homecom/components/common/backTop';
import YqyHomeHeader from '@/componentsn/business/yqy-home-header'; import YqyHomeHeader from '@/componentsn/business/yqy-home-header';
import YqyLecturerTitle from '@/componentsn/business/yqy-lecturer-title'; import YqyLecturerTitle from '@/componentsn/business/yqy-lecturer-title';
import YqyLecturerSelect from '@/componentsn/business/yqy-lecturer-select'; import YqyLecturerSelect from '@/componentsn/business/yqy-lecturer-select';
import YqyLecturerSelectContent from '@/componentsn/business/yqy-lecturer-select-content';
import YqyHotLecturer from '@/componentsn/business/yqy-hot-lecturer'; import YqyHotLecturer from '@/componentsn/business/yqy-hot-lecturer';
import YqyTeacherList from '@/componentsn/business/yqy-teacher-list' import YqyTeacherList from '@/componentsn/business/yqy-teacher-list'
export default { export default {
...@@ -164,19 +169,19 @@ export default { ...@@ -164,19 +169,19 @@ export default {
statusBarHeight: 0, statusBarHeight: 0,
userMobile: '', userMobile: '',
isFailSwiper: 1, isFailSwiper: 1,
allAreaList: [], // allAreaList: [],
allAreaSubList: [], // allAreaSubList: [],
allAreaListHandles: [], // allAreaListHandles: [],
allLevelList: [], // allLevelList: [],
allDepartList: [], // allDepartList: [],
selectedAreaIndex: -1, // selectedAreaIndex: -1,
selectedAreaSubIndex: -1, // selectedAreaSubIndex: -1,
selectedLevelIndex: -1, // selectedLevelIndex: -1,
selectedDepartIndex: -1, // selectedDepartIndex: -1,
selectedAreaName: '全国', // selectedAreaName: '全国',
selectedAreaSubName: '', // selectedAreaSubName: '',
selectedLevelName: '全部等级', // selectedLevelName: '全部等级',
selectedDepartName: '全部科室', // selectedDepartName: '全部科室',
} }
}, },
...@@ -187,6 +192,7 @@ export default { ...@@ -187,6 +192,7 @@ export default {
YqyHomeHeader, YqyHomeHeader,
YqyLecturerTitle, YqyLecturerTitle,
YqyLecturerSelect, YqyLecturerSelect,
YqyLecturerSelectContent,
YqyHotLecturer, YqyHotLecturer,
YqyTeacherList, YqyTeacherList,
}, },
...@@ -247,10 +253,11 @@ export default { ...@@ -247,10 +253,11 @@ export default {
selectedTypeFromTitle(index) { selectedTypeFromTitle(index) {
this.selectedTypeIndex = index this.selectedTypeIndex = index
this.showSelectedPage = true this.showSelectedPage = true
this.$refs.lecturerSelContRef.show()
}, },
closeSelectedPage() { // closeSelectedPage() {
this.showSelectedPage = false // this.showSelectedPage = false
}, // },
selectedType(index) { selectedType(index) {
this.selectedTypeIndex = index this.selectedTypeIndex = index
// this.$emit('selectedType', index) // this.$emit('selectedType', index)
...@@ -259,9 +266,9 @@ export default { ...@@ -259,9 +266,9 @@ export default {
initAll(){ initAll(){
this.getSwiper() this.getSwiper()
this.getYqDoctorDataByCD() this.getYqDoctorDataByCD()
this.getAreas() // this.getAreas()
this.getLevels() // this.getLevels()
this.getDeparts() // this.getDeparts()
}, },
//获取状态栏高度 //获取状态栏高度
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册