103 lines
4.3 KiB
Plaintext
103 lines
4.3 KiB
Plaintext
<!--pages/init/userinfo.wxml-->
|
||
<view class="container">
|
||
<view class="page-title text-center">基本信息采集表</view>
|
||
<view class="container-card">请据实填写您的基本情况,为评估提供依据:</view>
|
||
<view class="card">
|
||
<view class="form-group">
|
||
<label>1、您的姓名:</label>
|
||
<input bindinput="onBoxInput" data-key="realname" />
|
||
</view>
|
||
<view class="form-group">
|
||
<label>2、您的性别:</label>
|
||
<radio-group bindchange="onSelectChange" data-key="gender">
|
||
<label class="radio" c>
|
||
<radio value="1" checked="true" />男
|
||
</label>
|
||
<label class="radio">
|
||
<radio value="0" />女
|
||
</label>
|
||
</radio-group>
|
||
</view>
|
||
<view class="form-group">
|
||
<label>3、您的年龄:</label>
|
||
<input bindinput="onBoxInput" data-key="age" />
|
||
</view>
|
||
<view class="form-group">
|
||
<label>4、您是否第一次进藏?</label>
|
||
<radio-group bindchange="onSelectChange" data-key="is_first_to_tibet">
|
||
<label class="radio">
|
||
<radio value="1" checked="true" />是
|
||
</label>
|
||
<label class="radio">
|
||
<radio value="0" />否
|
||
</label>
|
||
</radio-group>
|
||
</view>
|
||
<view class="form-group">
|
||
<label>5、您的世居地(居住十年以上):</label>
|
||
|
||
<picker bindchange="bindProvinceChange" value="{{provinceId}}" range="{{provinces}}" range-key="name">
|
||
<view class="select-input">{{provinceId==-1?"请选择省份":provinces[provinceId].name}}</view>
|
||
</picker>
|
||
|
||
<picker bindchange="bindCityChange" value="{{cityId}}" range="{{cities}}" range-key="name">
|
||
<view class="select-input">{{cityId == -1?"请选择城市":cities[cityId].name}}</view>
|
||
</picker>
|
||
</view>
|
||
|
||
<view class="form-group">
|
||
<label>6、您的身高(cm):</label>
|
||
<input bindinput="onBoxInput" data-key="height" />
|
||
</view>
|
||
|
||
<view class="form-group">
|
||
<label>7、您的体重(kg):</label>
|
||
<input bindinput="onBoxInput" data-key="weight" />
|
||
</view>
|
||
<view class="form-group">
|
||
<label>8、您是否长期吸烟,吸烟量(支/天):</label>
|
||
<radio-group bindchange="onSelectChange" data-key="smoke">
|
||
<view class="item" wx:key="smoke" wx:for="{{subjects.smoke}}">
|
||
<label>
|
||
<radio value="{{index}}" checked="{{index == 0}}" />{{item}}</label>
|
||
</view>
|
||
</radio-group>
|
||
</view>
|
||
<view class="form-group">
|
||
<label>9、您是否长期饮酒?</label>
|
||
<radio-group bindchange="onSelectChange" data-key="drink">
|
||
<label class="radio">
|
||
<radio value="1" checked="true" />是
|
||
</label>
|
||
<label class="radio">
|
||
<radio value="0" />否
|
||
</label>
|
||
</radio-group>
|
||
</view>
|
||
<view class="form-group">
|
||
<label>10、您是否有既往基础疾病?</label>
|
||
<radio-group bindchange="onMedicalChange">
|
||
<label class="radio">
|
||
<radio value="1" />是
|
||
</label>
|
||
<label class="radio">
|
||
<radio value="0" checked="true" />否
|
||
</label>
|
||
</radio-group>
|
||
</view>
|
||
<view class="form-group" hidden="{{hiddenSelect}}">
|
||
<label>11、既往疾病包括(多选):</label>
|
||
<checkbox-group bindchange="onMedicalValueChange">
|
||
<view class="item" wx:key="medical" wx:for="{{subjects.medical_histories}}">
|
||
<label>
|
||
<checkbox value="{{index}}" />
|
||
<text>{{item}}</text>
|
||
</label>
|
||
</view>
|
||
</checkbox-group>
|
||
</view>
|
||
</view>
|
||
<view class="text-center container-card">
|
||
<button bindtap="updateAndEvaluation" class="btn-green go-to-next btn-round">下一步</button>
|
||
</view>
|
||
</view> |