style(escort): 预约表单行标签加浅底tag,医院下拉补遮罩与收起入口
- 行标题统一 190rpx 浅橙底 tag,整列对齐 - 医院下拉展开时加全屏遮罩,点空白处收起 - 下拉面板改白底橙边,收起文案换箭头图标,列表加高到 6 行 - 各 picker 补下拉箭头,行分隔线改点分线,底部占位加高避开固定栏
This commit is contained in:
@@ -80,7 +80,10 @@
|
||||
<view class="order-row">
|
||||
<text class="order-label">就诊省份</text>
|
||||
<picker class="order-picker" mode="selector" range="{{provinces}}" value="{{provinceIndex}}" bindchange="onProvinceChange">
|
||||
<view class="picker-value {{province ? '' : 'placeholder'}}">{{province || '请选择省份'}}</view>
|
||||
<view class="picker-value-wrap">
|
||||
<text class="picker-value {{province ? '' : 'placeholder'}}">{{province || '请选择省份'}}</text>
|
||||
<view class="picker-chevron"></view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
@@ -97,14 +100,20 @@
|
||||
<view class="order-row">
|
||||
<text class="order-label">陪诊师性别</text>
|
||||
<picker class="order-picker" mode="selector" range="{{genderOptions}}" value="{{genderIndex}}" bindchange="onGenderChange">
|
||||
<view class="picker-value {{gender ? '' : 'placeholder'}}">{{gender || '请选择性别要求'}}</view>
|
||||
<view class="picker-value-wrap">
|
||||
<text class="picker-value {{gender ? '' : 'placeholder'}}">{{gender || '请选择性别要求'}}</text>
|
||||
<view class="picker-chevron"></view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="order-row">
|
||||
<text class="order-label">预约日期</text>
|
||||
<picker class="order-picker" mode="date" value="{{appointmentDate}}" start="{{minAppointmentDate}}" bindchange="onDateChange">
|
||||
<view class="picker-value {{appointmentDate ? '' : 'placeholder'}}">{{appointmentDate || '请选择预约日期'}}</view>
|
||||
<view class="picker-value-wrap">
|
||||
<text class="picker-value {{appointmentDate ? '' : 'placeholder'}}">{{appointmentDate || '请选择预约日期'}}</text>
|
||||
<view class="picker-chevron"></view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
@@ -112,7 +121,10 @@
|
||||
<view class="order-row">
|
||||
<text class="order-label">预约时间</text>
|
||||
<picker class="order-picker" mode="selector" range="{{timeSlots}}" value="{{timeSlotIndex}}" bindchange="onTimeChange">
|
||||
<view class="picker-value {{appointmentTime ? '' : 'placeholder'}}">{{appointmentTime || '请选择预约时间'}}</view>
|
||||
<view class="picker-value-wrap">
|
||||
<text class="picker-value {{appointmentTime ? '' : 'placeholder'}}">{{appointmentTime || '请选择预约时间'}}</text>
|
||||
<view class="picker-chevron"></view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user