修改
This commit is contained in:
parent
556eb9292a
commit
3244d310f0
@ -162,9 +162,9 @@
|
||||
|
||||
.hospitalimage {
|
||||
position: absolute;
|
||||
width: 109rpx;
|
||||
height: 111rpx;
|
||||
top: 50rpx;
|
||||
width: 120rpx;
|
||||
height: 150rpx;
|
||||
top: 30rpx;
|
||||
left: 30rpx;
|
||||
}
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
font-size: 36rpx;
|
||||
position: absolute;
|
||||
top: 60rpx;
|
||||
left: 160rpx;
|
||||
left: 180rpx;
|
||||
}
|
||||
|
||||
.physician {
|
||||
@ -180,7 +180,7 @@
|
||||
color: #666666;
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 160rpx;
|
||||
left: 183rpx;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</view>
|
||||
<view class="hospital">
|
||||
<view class="appointmenthospital">预约医生</view>
|
||||
<view class="tabbar">
|
||||
<view class="tabbar" v-if="hospitalDepartmentList.length>0&&HospitalPersonlist.length>0">
|
||||
<view class="lefttabbar" @touchstart="start" @touchend="end" @touchmove="move">
|
||||
<view class="lefttabbarlist">
|
||||
<view v-for="(item,index) in hospitalDepartmentList" :key="index"
|
||||
@ -28,7 +28,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="righttabbar">
|
||||
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move">
|
||||
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move"
|
||||
v-if="HospitalPersonlist.length>0">
|
||||
<view class="content" v-for="(item,index) in HospitalPersonlist" :key="item.id">
|
||||
<image class="hospitalimage" v-if="item.personPictureUrl"
|
||||
:src="baseurl+item.personPictureUrl" mode=""></image>
|
||||
@ -48,8 +49,14 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else style='margin-top: 100rpx;'>
|
||||
<u-empty text="暂无" mode="search" icon-size='220'></u-empty>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else style='margin-top: 100rpx;padding-bottom: 200rpx;'>
|
||||
<u-empty text="暂无" mode="search" icon-size='220'></u-empty>
|
||||
</view>
|
||||
</view>
|
||||
<u-mask :show="usershow" class='mask'>
|
||||
<view class="information">
|
||||
@ -66,7 +73,6 @@
|
||||
</view>
|
||||
</u-mask>
|
||||
<u-toast ref="uToast" />
|
||||
<u-back-top :scroll-top="scrollTop"></u-back-top>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -93,7 +99,7 @@
|
||||
tabIndex: 0,
|
||||
departmentId: null, //人员所属科室id
|
||||
DepartmentpageNum: 1,
|
||||
DepartmentpageSize: 100,
|
||||
DepartmentpageSize: 50,
|
||||
personpageNum: 1,
|
||||
pageSize: 10,
|
||||
startData: {
|
||||
@ -101,7 +107,6 @@
|
||||
clientY: '',
|
||||
},
|
||||
touch: {},
|
||||
scrollTop: 0,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@ -139,6 +144,7 @@
|
||||
},
|
||||
//人员
|
||||
selectHospitalPersonInfo() {
|
||||
this.personpageNum = 1
|
||||
selectHospitalPerson(this.personpageNum, this.pageSize, this.departmentId).then(res => {
|
||||
this.HospitalPersonlist = res.rows
|
||||
this.HospitalPersontotal = res.total
|
||||
@ -154,6 +160,7 @@
|
||||
},
|
||||
//健康咨询科室
|
||||
selectDepartmentinfo() {
|
||||
this.DepartmentpageNum = 1
|
||||
this.swiperImgUrls = []
|
||||
selectDepartment(this.DepartmentpageNum, this.DepartmentpageSize).then(res => {
|
||||
this.hospitalDepartmentList = res.rows
|
||||
@ -246,11 +253,14 @@
|
||||
},
|
||||
},
|
||||
onLoad() {
|
||||
this.pageNum = 1
|
||||
this.DepartmentpageNum = 1
|
||||
this.personpageNum = 1
|
||||
this.baseurl = baseurl
|
||||
this.selectDepartmentinfo()
|
||||
},
|
||||
onShow() {
|
||||
this.DepartmentpageNum = 1
|
||||
this.personpageNum = 1
|
||||
this.usershow = false
|
||||
},
|
||||
//1.分享给朋友
|
||||
|
||||
Loading…
Reference in New Issue
Block a user