This commit is contained in:
zoujiandong
2025-12-25 15:49:02 +08:00
parent a52add7452
commit 8689fad91a
15 changed files with 219 additions and 24 deletions
@@ -21,6 +21,7 @@ Page({
showDialog:false,
currentData:0,
avatar: '',
register_cert:'',
user_name: '',
doctor_title: '',
doctor_id: '',
@@ -96,6 +97,13 @@ Page({
url:'/patient/pages/videoList/videoList'
})
}),
previewImg(){
let {register_cert}=this.data;
wx.previewImage({
current: 'register_cert', // 当前显示图片的http链接
urls: [register_cert] // 需要预览的图片http链接列表
})
},
goSelectPatient() {
//判断是否能接诊
@@ -1,6 +1,7 @@
{
"usingComponents": {
"van-rate": "@vant/weapp/rate/index",
"van-image": "@vant/weapp/image/index",
"van-popup": "@vant/weapp/popup/index",
"dialog":"../../../components/dialog/dialog",
"nav":"../../../components/nav/nav"
@@ -404,6 +404,25 @@
<view class="line"></view>
</view>
<view class="borderbox" wx:if="{{register_cert}}">
<view class="rowintro">
<image src="../../../assets/images/cert.png" style="width:36rpx"></image>
<text>医师注册证</text>
</view>
<view class="goodjob" style="margin-top:20rpx">
<van-image
width="100"
height="100"
fit="contain"
bindtap="previewImg"
src="{{register_cert}}"
/>
</view>
<view class="line"></view>
</view>
</view>
</view>
</van-popup>