CompleteTouristInfo.wxml 2.31 KB
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
<view class="backgroundView" style="background: white">
<form catchsubmit="formSubmit">

<view class="record-input-constainer whiteColor">
<!-- <view class="record-input_bg whiteColor" style="border-color:{{inputFocus.nameInput ? '#48C17B' : '#e8eae5'}};margin-bottom:20px;">
<label class="record_input_title">姓名</label>
<input class="input" id="name" name="name" maxlength="12" placeholder="请输入建档姓名" value="" placeholder-class="input-placeholder" bindinput="blurNameInput"/>
</view> -->

<view class="record-input_bg" style="border-color:{{inputFocus.nameInput ? '#48C17B' : '#e8eae5'}};margin-bottom:20px;">
<picker class="picker" mode="date" value="{{date}}" start="2016-01-01" end="{{today}}" bindchange="chooseBirth">
<view class="picker_view">
<label class="record_input_title">出生日期</label>
<view class="picker_view_text" data-id="{{item.id}}">{{birth}}</view>
</view>
</picker>
</view>



<view class="record-input_bg whiteColor" style="border-color:{{inputFocus.nameInput ? '#48C17B' : '#e8eae5'}};margin-bottom:20px;">
<label class="record_input_title">性别</label>
<view class="checkbox">
<view class="type_choose1" bindtap="chooseCheckboxOne">
<image mode='aspectFit' class="img" src="../../source/{{chooseOne==1 ? 'checkBox_yes.png':'checkBox_no.png'}}"></image>
<text class="choose_text">男</text>
</view>
<view class="type_choose2" bindtap="chooseCheckboxTwo">
<image mode='aspectFit' class="img" src="../../source/{{chooseTwo==1 ? 'checkBox_yes.png':'checkBox_no.png'}}"></image>
<text class="choose_text">女</text>
</view>
</view>
</view>


</view>
<view class="bottom_hint" wx:if="{{showErr == true}}">
<image mode='aspectFit' src="../../source/exclamation_point.png"></image>
<label>宝宝信息不完整,请重新输入</label>
</view>

<button class="record-submit-btn" formType="submit">确认</button>
</form>
</view>