2023-08-10 16:17:27 +08:00

46 lines
1.6 KiB
Plaintext

<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
<view class="bk"></view>
<view class="content">
<view class="name">{{info.user_name}}</view>
<view class="zhicheng">
<view class="zhicheng_title">{{info.doctor_title}}</view>
<view class="zhicheng_c"> | </view>
<view class="zhicheng_name">{{info.department_custom_name }}</view>
</view>
<view class="hospital">{{info.hospital_name}}</view>
</view>
<view class="photo">
<t-avatar class="avatar" size="large" image="{{info.avatar}}" />
</view>
<view class="qrcode">
<van-image bindtap="showVisible" src="{{codeImg}}" fit="heightFix" width="150" height="150" aria-label="qrcode" />
<text>让您的患者微信扫码,线上复诊更便捷</text>
</view>
<view class="block" wx:if="{{painter_ready}}">
<view class="header">
<!-- <view class="title">分享我的名片到</view> -->
</view>
<view class="imgbox">
<view class="imgbox_item" bindtap="onSave">
<t-icon color="#fff" name="download" size="24" data-name="download" class="t_icon" />
<text class="imgbox_item_txt">
保存到相册,分享到朋友圈
</text>
</view>
</view>
</view>
<t-dialog
visible="{{showText}}"
content="您已禁止保存名片到相册,现在去开启"
confirm-btn="{{ confirmBtn }}"
close-btn="{{true}}"
bind:confirm="openSetting"
/>
</view>
<painter palette="{{template}}" customStyle="position:fixed;top:-9999rpx;" bind:imgOK="onImgOK" wx:if="{{painter_ready}}"/>