2026-09-09 22:05:00 +08:00
|
|
|
<!-- 红娘服务进度页 U35 -->
|
|
|
|
|
<view class="page" wx:if="{{service}}">
|
|
|
|
|
<view class="status-card">
|
|
|
|
|
<view class="status-dot" style="background: {{getStatusColor(service.status)}}"></view>
|
|
|
|
|
<text class="status-text">{{getStatusText(service.status)}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="info-card">
|
2026-10-15 09:47:31 +08:00
|
|
|
<view class="info-row"><text class="info-label">服务编号</text><text class="info-value">{{service.displayId || service.serviceDisplayId}}</text></view>
|
2026-09-09 22:05:00 +08:00
|
|
|
<view class="info-row">
|
|
|
|
|
<text class="info-label">服务类型</text>
|
|
|
|
|
<text class="info-value">{{getServiceTypeText(service.serviceType)}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info-row" wx:if="{{service.description}}">
|
|
|
|
|
<text class="info-label">您的需求</text>
|
|
|
|
|
<text class="info-value desc">{{service.description}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info-row">
|
|
|
|
|
<text class="info-label">提交时间</text>
|
|
|
|
|
<text class="info-value">{{formatTime(service.createdAt)}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info-row" wx:if="{{service.assignedAt}}">
|
|
|
|
|
<text class="info-label">分配时间</text>
|
|
|
|
|
<text class="info-value">{{formatTime(service.assignedAt)}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info-row" wx:if="{{service.completedAt}}">
|
|
|
|
|
<text class="info-label">完成时间</text>
|
|
|
|
|
<text class="info-value">{{formatTime(service.completedAt)}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="notice">
|
|
|
|
|
<text class="notice-title">服务流程</text>
|
|
|
|
|
<view class="steps">
|
|
|
|
|
<view class="step {{getStepStatus('submitted', service.status)}}">
|
|
|
|
|
<text class="step-num">1</text>
|
|
|
|
|
<text class="step-text">提交申请</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="step {{getStepStatus('assigned', service.status)}}">
|
|
|
|
|
<text class="step-num">2</text>
|
|
|
|
|
<text class="step-text">分配红娘</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="step {{getStepStatus('in_service', service.status)}}">
|
|
|
|
|
<text class="step-num">3</text>
|
|
|
|
|
<text class="step-text">红娘服务</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="step {{getStepStatus('completed', service.status)}}">
|
|
|
|
|
<text class="step-num">4</text>
|
|
|
|
|
<text class="step-text">服务完成</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2026-10-15 09:47:31 +08:00
|
|
|
|
|
|
|
|
<view wx:if="{{service.status === 'waiting_user'}}" class="confirm-card">
|
|
|
|
|
<text class="confirm-title">红娘已提交服务方案</text>
|
|
|
|
|
<text class="confirm-desc">确认后将恢复服务跟进。</text>
|
|
|
|
|
<button class="btn-confirm" loading="{{confirming}}" disabled="{{confirming}}" bindtap="onConfirmService">{{confirming ? '确认中...' : '确认服务方案'}}</button>
|
|
|
|
|
</view>
|
2026-09-09 22:05:00 +08:00
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view wx:if="{{!loading && !service}}" class="empty">
|
|
|
|
|
<text>暂无服务记录</text>
|
|
|
|
|
<text class="empty-desc">您可以重新申请红娘服务</text>
|
|
|
|
|
<button class="btn-apply" bindtap="onApply">申请红娘服务</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view wx:if="{{loading}}" class="loading">
|
|
|
|
|
<text>加载中...</text>
|
|
|
|
|
</view>
|