<!--pages/inforBind/inforBind.wxml-->
<!--hospitalList.wxml 医院列表 联系医院-->
<view class="main">
<view class="content">
<view class="inforView">
<view class="title">
<text wx:if="{{currentShowType == 1}}">已绑定信息</text>
<text wx:if="{{currentShowType == 2}}">修改信息</text>
</view>
<view class="card" wx:if="{{currentShowType == 1}}">
<view class="viewList">
<text class="view-title">社保卡</text>
<text class="view-body">{{userData.sINCard?userData.sINCard:''}}</text>
</view>
<view class="viewList">
<text class="view-title">就诊卡</text>
<text class="view-body">{{userData.vcCardNo?userData.vcCardNo:''}}</text>
</view>
</view>
<view wx:if="{{currentShowType == 2}}" catchsubmit="inforSubmit">
<view class="viewList">
<text class="view-title">社保卡</text>
<input class="view-body input" maxlength="20" bindinput="SINCardInput" value='{{SINCard}}' type="text"></input>
</view>
<view class="viewList">
<text class="view-title">就诊卡</text>
<input class="view-body input" maxlength="20" bindinput="vcCardInput"value='{{vcCardNo}}' type="number"></input>
</view>
</view>
</view>
</view>
</view>
<button wx:if="{{currentShowType == 1}}" class="delete_bt2" bindtap="edit">修改</button>
<button wx:if="{{currentShowType == 2}}" class="delete_bt2" bindtap="save">保存</button>