You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
3.3 KiB
78 lines
3.3 KiB
<view class="page"> |
|
<navBar fixed></navBar> |
|
<image class="bg" mode="aspectFill" src="{{imageUrl}}bg18.png?t={{Timestamp}}"></image> |
|
|
|
<view class="page-container" wx:if="{{reload}}"> |
|
<view |
|
class="error" |
|
wx:if="{{!resetBind && (mpPatientInfo.PatientId==mpPatientInfo.ToBindPatientId || mpPatientInfo.LeftBindNum==0 || mpPatientInfo.PatientId || !mpPatientInfo.ToBindPatientId)}}" |
|
> |
|
<image class="icon" src="{{imageUrl}}icon77.png?t={{Timestamp}}"></image> |
|
<view class="repeat" wx:if="{{!mpPatientInfo.ToBindPatientId}}"> |
|
当前患者账号已注销,该邀请码已失效, |
|
<view></view> |
|
请您重新注册账号。 |
|
<view class="footer"> |
|
<view class="submit" bind:tap="handleHome">关闭</view> |
|
</view> |
|
</view> |
|
<view class="repeat" wx:elif="{{mpPatientInfo.PatientId==mpPatientInfo.ToBindPatientId}}"> |
|
您已加入ID:{{mpPatientInfo.ToBindPatientId}}的亲友号 |
|
<view></view> |
|
无需重复加入 |
|
<view class="footer"> |
|
<view class="submit" bind:tap="handleHome">关闭</view> |
|
</view> |
|
</view> |
|
<view class="beyond" wx:elif="{{mpPatientInfo.LeftBindNum==0}}"> |
|
当前ID:{{mpPatientInfo.ToBindPatientId}}的亲友号已绑定3个用户 |
|
<view></view> |
|
无法继续绑定 |
|
<view class="footer"> |
|
<view bind:tap="handleHome" class="submit">关闭</view> |
|
</view> |
|
</view> |
|
<view class="unbind" wx:elif="{{mpPatientInfo.PatientId}}"> |
|
<view class="tip">注意</view> |
|
<view class="content"> |
|
<view>您正在扫码绑定新的患者!</view> |
|
您当前已有账号: |
|
<block wx:if="{{mpPatientInfo.RelationType==1}}">ID:{{mpPatientInfo.PatientId}}</block> |
|
<block wx:else>ID:{{mpPatientInfo.PatientId}}亲友</block> |
|
<view></view> |
|
若绑定新的患者 |
|
<view></view> |
|
ID:{{mpPatientInfo.PatientId}}的记录数据您将无法管理和查看 |
|
</view> |
|
<view class="sure">是否继续绑定?</view> |
|
<view class="footer"> |
|
<button bind:tap="handleHome" class="cancel">取消</button> |
|
<button bind:tap="handleResetBind" class="submit">确定</button> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="identity-wrapper" wx:elif="{{!mpPatientInfo.PatientId || resetBind }}"> |
|
<view class="title">请选择您的身份?</view> |
|
<view class="identity"> |
|
<view |
|
bind:tap="handleSwitchType" |
|
class="item {{RelationType == 1 && 'active' }}" |
|
data-type="1" |
|
wx:if="{{!mpPatientInfo.HasSelf}}" |
|
> |
|
<image class="icon" src="{{imageUrl}}icon78.png?t={{Timestamp}}"></image> |
|
<image class="icon-active" src="{{imageUrl}}icon79.png?t={{Timestamp}}"></image> |
|
<view class="name">本人</view> |
|
</view> |
|
<view bind:tap="handleSwitchType" class="item {{RelationType > 1 && 'active' }}" data-type="2"> |
|
<image class="icon" src="{{imageUrl}}icon80.png?t={{Timestamp}}"></image> |
|
<image class="icon-active" src="{{imageUrl}}icon81.png?t={{Timestamp}}"></image> |
|
<view class="name">亲友</view> |
|
</view> |
|
</view> |
|
<view class="footer"> |
|
<view bind:tap="handleSubmit" class="submit">完成</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view>
|
|
|