feat: 新增陪诊师列表与详情页,下单支持指定陪诊师

This commit is contained in:
lik
2026-11-10 15:13:59 +08:00
parent 6238f01346
commit d6d5cc732d
13 changed files with 853 additions and 3 deletions
+15
View File
@@ -107,6 +107,21 @@
</picker>
</view>
<!-- 指定陪诊师:不选则进入订单池,由平台抢单或管理端指派 -->
<view class="order-row" bindtap="goToAttendants">
<text class="order-label">指定陪诊师</text>
<view class="order-picker">
<view class="picker-value-wrap">
<text class="picker-value {{selectedAttendant ? '' : 'placeholder'}}">{{selectedAttendant ? selectedAttendant.name : '平台安排(可选)'}}</text>
<view class="picker-chevron"></view>
</view>
</view>
</view>
<view class="attendant-choice" wx:if="{{selectedAttendant}}">
<text class="attendant-choice-text">从业 {{selectedAttendant.workYears}} 年 · 已接 {{selectedAttendant.orderCount}} 单</text>
<text class="attendant-choice-clear" catchtap="onClearAttendant">清除</text>
</view>
<view class="order-row">
<text class="order-label">预约日期</text>
<picker class="order-picker" mode="date" value="{{appointmentDate}}" start="{{minAppointmentDate}}" bindchange="onDateChange">