Files
danyang-match/miniapp/pages/profile-intent/profile-intent.wxml
T

60 lines
2.7 KiB
Plaintext

<!-- 婚恋态度页 U10 -->
<view class="pt-page">
<ui-nav-bar
title="婚恋态度"
status-bar-height="{{statusBarHeight}}"
nav-bar-height="{{navBarHeight}}"
bind:back="onBack"
/>
<view class="pt-body">
<view class="pt-section card-base">
<ui-section-header title="婚恋态度" subtitle="让我们更了解你的期待" />
<view class="pt-form">
<!-- 婚恋目标 -->
<view class="pt-field pt-field--column">
<text class="pt-field__label">当前婚恋目标</text>
<textarea
class="pt-field__textarea"
value="{{relationshipGoal}}"
placeholder="寻找以婚姻为目标的稳定关系"
maxlength="100"
bindinput="onGoalInput"
/>
</view>
<picker mode="selector" range="{{marriagePlanOptions}}" range-key="label" value="{{marriagePlanIndex < 0 ? 0 : marriagePlanIndex}}" bindchange="onMarriagePlanChange">
<view class="pt-field">
<text class="pt-field__label">希望多久进入婚姻</text>
<view class="pt-field__value {{marriagePlanIndex >= 0 ? '' : 'pt-field__value--placeholder'}}">
{{marriagePlanIndex >= 0 ? marriagePlanOptions[marriagePlanIndex].label : '请选择'}}
</view>
</view>
</picker>
<picker mode="selector" range="{{activityWillingnessOptions}}" range-key="label" value="{{activityWillingnessIndex < 0 ? 0 : activityWillingnessIndex}}" bindchange="onActivityWillingnessChange">
<view class="pt-field">
<text class="pt-field__label">参加公益相亲活动</text>
<view class="pt-field__value {{activityWillingnessIndex >= 0 ? '' : 'pt-field__value--placeholder'}}">
{{activityWillingnessIndex >= 0 ? activityWillingnessOptions[activityWillingnessIndex].label : '请选择'}}
</view>
</view>
</picker>
<picker mode="selector" range="{{matchmakerWillingnessOptions}}" range-key="label" value="{{matchmakerWillingnessIndex < 0 ? 0 : matchmakerWillingnessIndex}}" bindchange="onMatchmakerWillingnessChange">
<view class="pt-field">
<text class="pt-field__label">接受公益红娘推荐</text>
<view class="pt-field__value {{matchmakerWillingnessIndex >= 0 ? '' : 'pt-field__value--placeholder'}}">
{{matchmakerWillingnessIndex >= 0 ? matchmakerWillingnessOptions[matchmakerWillingnessIndex].label : '请选择'}}
</view>
</view>
</picker>
</view>
</view>
</view>
<view class="pt-actions">
<ui-button variant="primary" size="lg" block loading="{{saving}}" bind:tap="onNext">下一步</ui-button>
</view>
</view>