addfile.wxml 2.6 KB
<!--pages/addfile/addfile.wxml-->
<view class='top_tip'>
 为了给您提供更准确的健康随访服务,请务必如实填写以下资料
</view>
<view class='record_main addfile_top'>
 <view class='input_box'>
  <view>姓名:</view>
  <view class="input_cell">
   <input placeholder='请输入姓名或昵称' type='text' placeholder-class='placeholderStyle' bindinput='setpatient'></input>
  </view>
 </view>
 <picker mode="date" value="{{mdate}}" end="{{enddate}}" bindchange="bindDateChange">
  <view class='input_box'>
   <view>生日:</view>
   <view class="input_cell">{{date}}</view>
  </view>
 </picker>
 <view class='sexbox'>
  <view class='man_box' bindtap='setsexman_yes'>
   <view class='seximg'>
    <image src='../../img/man.png'></image>
   </view>
   <view class='no_choose_box' wx:if='{{sexman}}'>
    <image src='../../img/choose_yes.png'></image>
   </view>
   <view class='no_choose_box' wx:else>
    <image src='../../img/choose_no.png'></image>
   </view>
   <view>男</view>
  </view>
  <view class='man_box' bindtap='setsexman_no'>
   <view class='seximg'>
    <image src='../../img/woman.png'></image>
   </view>
   <view class='no_choose_box' wx:if='{{sexman}}'>
    <image src='../../img/choose_no.png'></image>
   </view>
   <view class='no_choose_box' wx:else>
    <image src='../../img/choose_yes.png'></image>
   </view>
   <view>女</view>
  </view>
 </view>
<picker  bindchange="bindPickeritem"  range="{{for_meitem}}">
 <view class='input_box'>
  <view>与本人关系</view>
  <view class="input_cell">
   <view class="picker">
    {{for_who}}
    </view>
  </view>
 </view>
 </picker>
 <view class='input_box'>
  <view>疾病名称:</view>
  <view class="input_cell">
   <input placeholder='请输入疾病名称' type='text' placeholder-class='placeholderStyle' bindinput='setdisease'></input>
  </view>
 </view>
 <picker mode="region" bindchange="bindRegionChange" value="{{address}}" custom-item="{{customItem}}">
  <view class='input_box'>
   <view>现住址</view>
   <view class="input_cell">
    <view class="picker">
    {{address[0]}}{{address[1]}}{{address[2]}}
    </view>
   </view>
  </view>
 </picker>
 <view class='agreenbox'>
  <view class='no_choose_box' wx:if='{{chooseagreen}}' bindtap='setchoose'>
   <image src='../../img/choose_yes.png'></image>
  </view>
  <view class='no_choose_box' wx:else bindtap='setchoose'>
   <image src='../../img/choose_no.png'></image>
  </view>
  <view class='agreen_txt'>我已阅读并同意
   <text class='txt_a' bindtap='goagreement'>《用户授权隐私协议》</text>
  </view>
 </view>


 <view class='btn addfile_btn' bindtap='addFiles'>保存 并开始记录</view>


</view>