75 lines
3.6 KiB
Plaintext
75 lines
3.6 KiB
Plaintext
<!-- 职业与生活页 U07 -->
|
|||
|
|
<view class="pl-page">
|
||
|
|
<ui-nav-bar
|
||
|
|
title="职业与生活"
|
||
|
|
status-bar-height="{{statusBarHeight}}"
|
||
|
|
nav-bar-height="{{navBarHeight}}"
|
||
|
|
bind:back="onBack"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<view class="pl-body">
|
||
|
|
<view class="pl-section card-base">
|
||
|
|
<ui-section-header title="职业与生活" subtitle="完善你的生活状态" />
|
||
|
|
<view class="pl-form">
|
||
|
|
<picker mode="selector" range="{{occupationCategoryOptions}}" value="{{occupationCategoryIndex < 0 ? 0 : occupationCategoryIndex}}" bindchange="onOccupationCategoryChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">职业类别</text>
|
||
|
|
<view class="pl-field__value {{occupationCategoryIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{occupationCategoryIndex >= 0 ? occupationCategoryOptions[occupationCategoryIndex] : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
|
||
|
|
<picker mode="selector" range="{{workRegionOptions}}" value="{{workRegionIndex < 0 ? 0 : workRegionIndex}}" bindchange="onWorkRegionChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">工作区域</text>
|
||
|
|
<view class="pl-field__value {{workRegionIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{workRegionIndex >= 0 ? workRegionOptions[workRegionIndex] : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
|
||
|
|
<picker mode="selector" range="{{smokingOptions}}" range-key="label" value="{{smokingIndex < 0 ? 0 : smokingIndex}}" bindchange="onSmokingChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">是否吸烟</text>
|
||
|
|
<view class="pl-field__value {{smokingIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{smokingIndex >= 0 ? smokingOptions[smokingIndex].label : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
|
||
|
|
<picker mode="selector" range="{{drinkingOptions}}" range-key="label" value="{{drinkingIndex < 0 ? 0 : drinkingIndex}}" bindchange="onDrinkingChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">是否饮酒</text>
|
||
|
|
<view class="pl-field__value {{drinkingIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{drinkingIndex >= 0 ? drinkingOptions[drinkingIndex].label : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
|
||
|
|
<picker mode="selector" range="{{longTermOptions}}" range-key="label" value="{{longTermIndex < 0 ? 0 : longTermIndex}}" bindchange="onLongTermChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">是否长期居住丹阳</text>
|
||
|
|
<view class="pl-field__value {{longTermIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{longTermIndex >= 0 ? longTermOptions[longTermIndex].label : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
|
||
|
|
<picker mode="selector" range="{{futureDanyangOptions}}" range-key="label" value="{{futureDanyangIndex < 0 ? 0 : futureDanyangIndex}}" bindchange="onFutureDanyangChange">
|
||
|
|
<view class="pl-field">
|
||
|
|
<text class="pl-field__label">未来是否愿意继续在丹阳</text>
|
||
|
|
<view class="pl-field__value {{futureDanyangIndex >= 0 ? '' : 'pl-field__value--placeholder'}}">
|
||
|
|
{{futureDanyangIndex >= 0 ? futureDanyangOptions[futureDanyangIndex].label : '请选择'}}
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</picker>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="pl-actions">
|
||
|
|
<ui-button variant="primary" size="lg" block loading="{{saving}}" bind:tap="onNext">下一步</ui-button>
|
||
|
|
</view>
|
||
|
|
</view>
|