committed by
trae-solo-agent
co-authored by
Claude Sonnet 4.6 noreply@anthropic.com
parent
031227710d
commit
d3f399d1ad
@@ -158,28 +158,46 @@
|
||||
<text class="fee-label">服务费用</text>
|
||||
<text class="fee-amount">¥{{record.totalFee}}</text>
|
||||
</view>
|
||||
<text class="fee-paid">已支付 ¥{{record.paidFee}}</text>
|
||||
<text class="fee-paid" wx:if="{{record.showPaidFee}}">已支付 ¥{{record.paidFee}}</text>
|
||||
</view>
|
||||
|
||||
<!-- 未付清时的出口指引:全站没有线上支付入口,只能引到客服;
|
||||
收在费用行之下——「已支付 ¥0.00」之后正是用户想问「怎么付」的位置 -->
|
||||
<text class="pay-hint" wx:if="{{record.paymentHint}}">{{record.paymentHint}}</text>
|
||||
<!-- 支付与退款问题都进入带订单上下文的客服页 -->
|
||||
<view class="pay-hint" wx:if="{{record.paymentHint}}" bindtap="onContactSupport">
|
||||
<text class="pay-hint-text">{{record.paymentHint}}</text>
|
||||
<t-icon name="chevron-right" size="26rpx" color="#6F655C" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 订单信息:只留编号与时间,订单状态在抬头已出现一次,不重复 -->
|
||||
<!-- 收货信息为下单时的订单快照,不随后续就诊人资料变化 -->
|
||||
<view class="section" wx:if="{{record.shippingAddress && record.shippingAddress.address}}">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">收货信息</text>
|
||||
</view>
|
||||
<view class="card">
|
||||
<text class="shipping-recipient">{{record.shippingAddress.recipientName}} {{record.shippingAddress.mobile}}</text>
|
||||
<text class="shipping-address">{{record.shippingAddress.address}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 订单信息:编号脱敏展示,完整编号由客服入口安全携带 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">订单信息</text>
|
||||
</view>
|
||||
<view class="card order-card">
|
||||
<text class="order-no">订单编号 {{record._id || '--'}}</text>
|
||||
<text class="order-no">订单编号 {{record.displayId}}</text>
|
||||
<view class="meta-list order-meta">
|
||||
<text class="meta-item">创建于 {{record.createTime || '--'}}</text>
|
||||
<view class="meta-sep"></view>
|
||||
<text class="meta-item">更新于 {{record.updateTime || '--'}}</text>
|
||||
</view>
|
||||
<view class="order-extra" wx:if="{{record.cancelReason}}">
|
||||
<text class="order-extra-label">取消原因</text>
|
||||
<text class="order-extra-value">{{record.cancelReason}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -187,9 +205,15 @@
|
||||
<view class="bottom-placeholder" wx:if="{{record.showBottomBar}}"></view>
|
||||
</view>
|
||||
|
||||
<!-- 底部操作栏:同类实心块只保留一处——
|
||||
再次预约为「已完成」时让位给「确认完成」,为「已取消」时自己成为主操作(§2.1)。
|
||||
四种动作都为假时整条栏不出现:进行中且已支付这类状态没有动作可给,不留空白栏 -->
|
||||
<view class="page-state" wx:if="{{loading && !record._id}}">
|
||||
<t-loading theme="circular" size="40rpx" text="加载中..." />
|
||||
</view>
|
||||
<view class="page-state" wx:if="{{!loading && loadError && !record._id}}">
|
||||
<text class="page-state-text">{{loadError}}</text>
|
||||
<button class="page-retry" bindtap="retryLoad">重新加载</button>
|
||||
</view>
|
||||
|
||||
<!-- 底部操作栏:完成状态仅由平台流转,用户不确认完成 -->
|
||||
<view class="bottom-bar" wx:if="{{record.showBottomBar}}">
|
||||
<view
|
||||
class="action-btn action-ghost"
|
||||
@@ -201,11 +225,6 @@
|
||||
wx:if="{{record.canDelete}}"
|
||||
bindtap="onDeleteOrder"
|
||||
>删除订单</view>
|
||||
<view
|
||||
class="action-btn action-primary"
|
||||
wx:if="{{record.canComplete}}"
|
||||
bindtap="onConfirmComplete"
|
||||
>确认完成</view>
|
||||
<view
|
||||
class="action-btn {{record.status === 'cancelled' ? 'action-primary' : 'action-ghost'}}"
|
||||
wx:if="{{record.canRebook}}"
|
||||
@@ -297,33 +316,36 @@
|
||||
class="form-picker"
|
||||
mode="date"
|
||||
value="{{editHospital.scheduleDate}}"
|
||||
start="{{minAppointmentDate}}"
|
||||
bindchange="onScheduleDateChange"
|
||||
>
|
||||
<view class="form-picker-value">{{editHospital.scheduleDate || '请选择日期'}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="form-row">
|
||||
<text class="form-label">开始时间</text>
|
||||
<text class="form-label">预约时间</text>
|
||||
<picker
|
||||
wx:if="{{fixedTime}}"
|
||||
class="form-picker"
|
||||
mode="selector"
|
||||
range="{{timeOptions}}"
|
||||
value="{{editHospital.sessionIndex}}"
|
||||
bindchange="onStartTimeChange"
|
||||
>
|
||||
<view class="form-picker-value">{{timeOptions[editHospital.sessionIndex] || '请选择服务班次'}}</view>
|
||||
</picker>
|
||||
<picker
|
||||
wx:else
|
||||
class="form-picker"
|
||||
mode="time"
|
||||
value="{{editHospital.startTime}}"
|
||||
start="{{timeStart}}"
|
||||
end="{{timeEnd}}"
|
||||
bindchange="onStartTimeChange"
|
||||
>
|
||||
<view class="form-picker-value">{{editHospital.startTime || '请选择时间'}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="form-row">
|
||||
<text class="form-label">结束时间</text>
|
||||
<picker
|
||||
class="form-picker"
|
||||
mode="time"
|
||||
value="{{editHospital.endTime}}"
|
||||
bindchange="onEndTimeChange"
|
||||
>
|
||||
<view class="form-picker-value">{{editHospital.endTime || '请选择时间'}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
<view class="popup-btn popup-btn-ghost" bindtap="onCancelHospitalEdit">取消</view>
|
||||
|
||||
Reference in New Issue
Block a user