|
|
@@ -4,278 +4,378 @@
|
|
4
|
4
|
<view class="status-card">
|
|
5
|
5
|
<view class="status-header">
|
|
6
|
6
|
<text class="order-number">工单号:{{ orderInfo.orderId }}</text>
|
|
7
|
|
- <text class="order-status" :style="{ color: orderStatusColor }">{{ orderInfo.status }}</text>
|
|
|
7
|
+ <text class="order-status" :style="{ color: orderStatusColor }">{{ orderStatusFormatter(orderInfo.status) }}</text>
|
|
8
|
8
|
</view>
|
|
9
|
9
|
<view class="status-footer">
|
|
10
|
10
|
<text class="order-time">下单时间:{{ orderInfo.createTime }}</text>
|
|
11
|
|
- <text class="payment-status" :style="{ color: paymentStatusColor }">{{ orderInfo.paymentStatus }}</text>
|
|
|
11
|
+ <text class="payment-status" v-if="!isRejected" :style="{ color: paymentStatusColor }">{{ paymentStatusFormatter(orderInfo.paymentStatus) }}</text>
|
|
12
|
12
|
</view>
|
|
13
|
13
|
<view class="status-service">
|
|
14
|
|
- <text class="service-type">服务类型:{{ serviceTypeFormatter(orderInfo.serviceType) }}</text>
|
|
|
14
|
+ <text class="service-type">业务类型:{{ orderInfo.orderType }}</text>
|
|
15
|
15
|
</view>
|
|
16
|
|
- </view>
|
|
17
|
|
-
|
|
18
|
|
- <!-- 客户信息 -->
|
|
19
|
|
- <view class="info-section">
|
|
20
|
|
- <view class="section-header">
|
|
21
|
|
- <text class="section-title">客户信息</text>
|
|
|
16
|
+ <view class="status-service">
|
|
|
17
|
+ <text class="service-type">服务类型:{{ serviceTypeFormatter(orderInfo.serviceType) }}</text>
|
|
22
|
18
|
</view>
|
|
23
|
|
- <view class="section-content">
|
|
24
|
|
- <view class="info-item">
|
|
25
|
|
- <text class="info-label">姓名</text>
|
|
26
|
|
- <text class="info-value">{{ orderInfo.customer.name }}</text>
|
|
27
|
|
- </view>
|
|
28
|
|
- <view class="info-item">
|
|
29
|
|
- <text class="info-label">电话</text>
|
|
30
|
|
- <text class="info-value">{{ orderInfo.customer.phone }}</text>
|
|
31
|
|
- </view>
|
|
32
|
|
- <view class="info-item" v-if="orderInfo.serviceType === 'home' || orderInfo.serviceType === 'mail'">
|
|
33
|
|
- <text class="info-label">地址</text>
|
|
34
|
|
- <text class="info-value">{{ orderInfo.customer.address }}</text>
|
|
35
|
|
- </view>
|
|
|
19
|
+ <view class="review-btn">
|
|
|
20
|
+ <up-button size="small" type="error" @click="handleRefund" v-if="orderInfo.paymentStatus === 'PAID' && hasRole('SERVICESALESREP', false)">
|
|
|
21
|
+ 退款
|
|
|
22
|
+ </up-button>
|
|
|
23
|
+ <up-button size="small" type="warning" @click="handleProgress">
|
|
|
24
|
+ 进度查询
|
|
|
25
|
+ </up-button>
|
|
|
26
|
+ <up-button size="small" type="primary" @click="handleQuote" v-if="orderInfo.status === 'INSPECTED' && hasRole('REPAIRMAN', false)">
|
|
|
27
|
+ 报价
|
|
|
28
|
+ </up-button>
|
|
|
29
|
+ <up-button v-if="orderInfo.status === OrderStatus.DELIVERED" type="success" size="small" @click="handleReview">
|
|
|
30
|
+ 评价
|
|
|
31
|
+ </up-button>
|
|
36
|
32
|
</view>
|
|
|
33
|
+ <up-modal :show="showReviewModal" showCancelButton @confirm="handleSubmitReview"
|
|
|
34
|
+ @cancel="showReviewModal = false">
|
|
|
35
|
+ <up-rate :count="reviewCount" v-model="reviewValue" active-color="#2c94f6"></up-rate>
|
|
|
36
|
+ </up-modal>
|
|
37
|
37
|
</view>
|
|
38
|
38
|
|
|
39
|
|
- <!-- 手表信息 -->
|
|
40
|
|
- <view class="info-section">
|
|
41
|
|
- <view class="section-header">
|
|
42
|
|
- <text class="section-title">手表信息</text>
|
|
43
|
|
- </view>
|
|
44
|
|
- <view class="section-content">
|
|
45
|
|
- <view class="info-item">
|
|
46
|
|
- <text class="info-label">品牌</text>
|
|
47
|
|
- <text class="info-value">{{ orderInfo.watch.brand }}</text>
|
|
48
|
|
- </view>
|
|
49
|
|
- <view class="info-item">
|
|
50
|
|
- <text class="info-label">型号</text>
|
|
51
|
|
- <text class="info-value">{{ orderInfo.watch.model }}</text>
|
|
52
|
|
- </view>
|
|
53
|
|
- <view class="info-item">
|
|
54
|
|
- <text class="info-label">机芯类型</text>
|
|
55
|
|
- <text class="info-value">{{ orderInfo.watch.movementType }}</text>
|
|
56
|
|
- </view>
|
|
57
|
|
- <view class="info-item">
|
|
58
|
|
- <text class="info-label">表身编号</text>
|
|
59
|
|
- <text class="info-value">{{ orderInfo.watch.serialNumber }}</text>
|
|
60
|
|
- </view>
|
|
61
|
|
- <view class="info-item">
|
|
62
|
|
- <text class="info-label">是否在保</text>
|
|
63
|
|
- <text class="info-value">{{ orderInfo.watch.inWarranty ? '是' : '否' }}</text>
|
|
64
|
|
- </view>
|
|
65
|
|
- <view class="info-item">
|
|
66
|
|
- <text class="info-label">手表图片</text>
|
|
67
|
|
- <view class="image-grid">
|
|
68
|
|
- <image v-for="(img, index) in orderInfo.watch.images" :key="index" :src="img" class="grid-image" mode="aspectFill"></image>
|
|
|
39
|
+ <!-- ========== 维修专属区块 ========== -->
|
|
|
40
|
+ <template v-if="orderInfo.orderTypeId === 'repair'">
|
|
|
41
|
+ <!-- 故障描述 -->
|
|
|
42
|
+ <view class="info-section row">
|
|
|
43
|
+ <view class="section-header">
|
|
|
44
|
+ <text class="section-title">故障描述</text>
|
|
|
45
|
+ </view>
|
|
|
46
|
+ <view class="section-content col">
|
|
|
47
|
+ <view class="info-item">
|
|
|
48
|
+ <text class="info-label">故障现象:</text>
|
|
|
49
|
+ <text class="info-value">{{ orderInfo.fault.description.join('、') }}</text>
|
|
|
50
|
+ </view>
|
|
|
51
|
+ <view class="info-item">
|
|
|
52
|
+ <text class="info-label">详细描述:</text>
|
|
|
53
|
+ <text class="info-value">{{ orderInfo.fault.details }}</text>
|
|
|
54
|
+ </view>
|
|
|
55
|
+ <view class="info-item">
|
|
|
56
|
+ <text class="info-label ">故障图片:</text>
|
|
|
57
|
+ <view class="image-grid">
|
|
|
58
|
+ <image v-for="(img, index) in orderInfo.fault.images" :key="index" :src="img" class="grid-image"
|
|
|
59
|
+ mode="aspectFill"></image>
|
|
|
60
|
+ </view>
|
|
69
|
61
|
</view>
|
|
70
|
62
|
</view>
|
|
71
|
63
|
</view>
|
|
72
|
|
- </view>
|
|
73
|
64
|
|
|
74
|
|
- <!-- 故障描述 -->
|
|
75
|
|
- <view class="info-section">
|
|
76
|
|
- <view class="section-header">
|
|
77
|
|
- <text class="section-title">故障描述</text>
|
|
78
|
|
- </view>
|
|
79
|
|
- <view class="section-content">
|
|
80
|
|
- <view class="info-item">
|
|
81
|
|
- <text class="info-label">故障现象</text>
|
|
82
|
|
- <text class="info-value">{{ orderInfo.fault.description.join('、') }}</text>
|
|
|
65
|
+ <!-- 维修信息 -->
|
|
|
66
|
+ <view class="info-section">
|
|
|
67
|
+ <view class="section-header">
|
|
|
68
|
+ <text class="section-title">维保信息</text>
|
|
83
|
69
|
</view>
|
|
84
|
|
- <view class="info-item">
|
|
85
|
|
- <text class="info-label">详细描述</text>
|
|
86
|
|
- <text class="info-value">{{ orderInfo.fault.details }}</text>
|
|
87
|
|
- </view>
|
|
88
|
|
- <view class="info-item">
|
|
89
|
|
- <text class="info-label">故障图片</text>
|
|
90
|
|
- <view class="image-grid">
|
|
91
|
|
- <image v-for="(img, index) in orderInfo.fault.images" :key="index" :src="img" class="grid-image" mode="aspectFill"></image>
|
|
|
70
|
+ <view class="section-content col">
|
|
|
71
|
+ <view class="info-item">
|
|
|
72
|
+ <text class="info-label">维保项目:</text>
|
|
|
73
|
+ <text class="info-value">{{ orderInfo.repairInfo.items.join('、') }}</text>
|
|
|
74
|
+ </view>
|
|
|
75
|
+ <view class="info-item">
|
|
|
76
|
+ <text class="info-label">维保工时:</text>
|
|
|
77
|
+ <text class="info-value">{{ orderInfo.repairInfo.laborHours }}</text>
|
|
|
78
|
+ </view>
|
|
|
79
|
+ <view class="info-item">
|
|
|
80
|
+ <text class="info-label">维保技师:</text>
|
|
|
81
|
+ <text class="info-value">{{ orderInfo.repairInfo.technician }}</text>
|
|
|
82
|
+ </view>
|
|
|
83
|
+ <view class="info-item">
|
|
|
84
|
+ <text class="info-label">预计完成日期:</text>
|
|
|
85
|
+ <text class="info-value">{{ orderInfo.repairInfo.estimatedCompletionDate }}</text>
|
|
|
86
|
+ </view>
|
|
|
87
|
+ <view class="info-item">
|
|
|
88
|
+ <text class="info-label">紧急程度:</text>
|
|
|
89
|
+ <text class="info-value">{{ orderInfo.repairInfo.urgency }}</text>
|
|
|
90
|
+ </view>
|
|
|
91
|
+ <view class="info-item">
|
|
|
92
|
+ <text class="info-label">备注:</text>
|
|
|
93
|
+ <text class="info-value">{{ orderInfo.repairInfo.remarks }}</text>
|
|
92
|
94
|
</view>
|
|
93
|
95
|
</view>
|
|
94
|
96
|
</view>
|
|
95
|
|
- </view>
|
|
96
|
97
|
|
|
97
|
|
- <!-- 维修信息 -->
|
|
98
|
|
- <view class="info-section">
|
|
99
|
|
- <view class="section-header">
|
|
100
|
|
- <text class="section-title">维修信息</text>
|
|
101
|
|
- </view>
|
|
102
|
|
- <view class="section-content">
|
|
103
|
|
- <view class="info-item">
|
|
104
|
|
- <text class="info-label">维修项目</text>
|
|
105
|
|
- <text class="info-value">{{ orderInfo.repairInfo.items.join('、') }}</text>
|
|
106
|
|
- </view>
|
|
107
|
|
- <view class="info-item">
|
|
108
|
|
- <text class="info-label">维修工时</text>
|
|
109
|
|
- <text class="info-value">{{ orderInfo.repairInfo.laborHours }}</text>
|
|
|
98
|
+ <!-- 服务信息(维修) -->
|
|
|
99
|
+ <view class="info-section" v-if="orderInfo.serviceType === 'home'">
|
|
|
100
|
+ <view class="section-header">
|
|
|
101
|
+ <text class="section-title">服务信息</text>
|
|
110
|
102
|
</view>
|
|
111
|
|
- <view class="info-item">
|
|
112
|
|
- <text class="info-label">维修技师</text>
|
|
113
|
|
- <text class="info-value">{{ orderInfo.repairInfo.technician }}</text>
|
|
|
103
|
+ <view class="section-content col">
|
|
|
104
|
+ <view class="info-item">
|
|
|
105
|
+ <text class="info-label">上门服务时间</text>
|
|
|
106
|
+ <text class="info-value">{{ orderInfo.serviceInfo.deliveryTime }}</text>
|
|
|
107
|
+ </view>
|
|
|
108
|
+ <view class="info-item">
|
|
|
109
|
+ <text class="info-label">服务地址</text>
|
|
|
110
|
+ <text class="info-value">{{ orderInfo.serviceInfo.serviceAddress }}</text>
|
|
|
111
|
+ </view>
|
|
114
|
112
|
</view>
|
|
115
|
|
- <view class="info-item">
|
|
116
|
|
- <text class="info-label">预计完成日期</text>
|
|
117
|
|
- <text class="info-value">{{ orderInfo.repairInfo.estimatedCompletionDate }}</text>
|
|
|
113
|
+ </view>
|
|
|
114
|
+ <view class="info-section" v-if="orderInfo.serviceType === 'mail'">
|
|
|
115
|
+ <view class="section-header">
|
|
|
116
|
+ <text class="section-title">服务信息</text>
|
|
|
117
|
+ </view>
|
|
|
118
|
+ <view class="section-content col">
|
|
|
119
|
+ <view class="info-item">
|
|
|
120
|
+ <text class="info-label">快递单号</text>
|
|
|
121
|
+ <text class="info-value">{{ orderInfo.serviceInfo.expressNumber }}</text>
|
|
|
122
|
+ </view>
|
|
118
|
123
|
</view>
|
|
119
|
|
- <view class="info-item">
|
|
120
|
|
- <text class="info-label">紧急程度</text>
|
|
121
|
|
- <text class="info-value">{{ orderInfo.repairInfo.urgency }}</text>
|
|
|
124
|
+ </view>
|
|
|
125
|
+
|
|
|
126
|
+ <!-- 维修车间视频 -->
|
|
|
127
|
+ <view class="info-section" v-if="orderInfo.status === OrderStatus.REPAIRING">
|
|
|
128
|
+ <view class="section-header">
|
|
|
129
|
+ <text class="section-title">维保车间视频</text>
|
|
122
|
130
|
</view>
|
|
123
|
|
- <view class="info-item">
|
|
124
|
|
- <text class="info-label">备注</text>
|
|
125
|
|
- <text class="info-value">{{ orderInfo.repairInfo.remarks }}</text>
|
|
|
131
|
+ <view class="section-content">
|
|
|
132
|
+ <view class="video-section">
|
|
|
133
|
+ <video id="repairVideo" :src="videoUrl" class="video-player" controls></video>
|
|
|
134
|
+ <text class="video-hint">实时查看维修情况</text>
|
|
|
135
|
+ </view>
|
|
126
|
136
|
</view>
|
|
127
|
137
|
</view>
|
|
128
|
|
- </view>
|
|
129
|
138
|
|
|
130
|
|
- <!-- 服务信息 -->
|
|
131
|
|
- <view class="info-section" v-if="orderInfo.serviceType === 'home'">
|
|
132
|
|
- <view class="section-header">
|
|
133
|
|
- <text class="section-title">服务信息</text>
|
|
|
139
|
+ <!-- 维修记录 -->
|
|
|
140
|
+ <view class="info-section">
|
|
|
141
|
+ <view class="section-header">
|
|
|
142
|
+ <text class="section-title">维保记录</text>
|
|
|
143
|
+ </view>
|
|
|
144
|
+ <view class="section-content">
|
|
|
145
|
+ <view v-for="(record, index) in orderInfo.repairRecords" :key="index" class="record-item">
|
|
|
146
|
+ <view class="record-header">
|
|
|
147
|
+ <text class="record-title">{{ record.title }}</text>
|
|
|
148
|
+ <text class="record-time">{{ record.time }}</text>
|
|
|
149
|
+ </view>
|
|
|
150
|
+ <text class="record-content">{{ record.content }}</text>
|
|
|
151
|
+ </view>
|
|
|
152
|
+ </view>
|
|
134
|
153
|
</view>
|
|
135
|
|
- <view class="section-content">
|
|
136
|
|
- <view class="info-item">
|
|
137
|
|
- <text class="info-label">上门服务时间</text>
|
|
138
|
|
- <text class="info-value">{{ orderInfo.serviceInfo.deliveryTime }}</text>
|
|
|
154
|
+
|
|
|
155
|
+ <!-- 质保期 -->
|
|
|
156
|
+ <view class="info-section">
|
|
|
157
|
+ <view class="section-header">
|
|
|
158
|
+ <text class="section-title">质保期:</text>
|
|
139
|
159
|
</view>
|
|
140
|
|
- <view class="info-item">
|
|
141
|
|
- <text class="info-label">服务地址</text>
|
|
142
|
|
- <text class="info-value">{{ orderInfo.serviceInfo.serviceAddress }}</text>
|
|
|
160
|
+ <view class="section-content col">
|
|
|
161
|
+ <view class="info-item">
|
|
|
162
|
+ <text class="info-label">质保开始日期:</text>
|
|
|
163
|
+ <text class="info-value">{{ orderInfo.warranty.startDate }}</text>
|
|
|
164
|
+ </view>
|
|
|
165
|
+ <view class="info-item">
|
|
|
166
|
+ <text class="info-label">质保结束日期:</text>
|
|
|
167
|
+ <text class="info-value">{{ orderInfo.warranty.endDate }}</text>
|
|
|
168
|
+ </view>
|
|
|
169
|
+ <view class="info-item">
|
|
|
170
|
+ <text class="info-label">质保范围:</text>
|
|
|
171
|
+ <text class="info-value">{{ orderInfo.warranty.coverage }}</text>
|
|
|
172
|
+ </view>
|
|
143
|
173
|
</view>
|
|
144
|
174
|
</view>
|
|
145
|
|
- </view>
|
|
146
|
|
- <view class="info-item" v-if="orderInfo.serviceType === 'mail'">
|
|
147
|
|
- <text class="info-label">快递单号</text>
|
|
148
|
|
- <text class="info-value">{{ orderInfo.serviceInfo.expressNumber }}</text>
|
|
149
|
|
- </view>
|
|
150
|
|
- <!-- 维修车间视频 -->
|
|
151
|
|
- <view class="info-section" v-if="orderInfo.status === OrderStatus.IN_REPAIR">
|
|
152
|
|
- <view class="section-header">
|
|
153
|
|
- <text class="section-title">维修车间视频</text>
|
|
154
|
|
- </view>
|
|
155
|
|
- <view class="section-content">
|
|
156
|
|
- <view class="video-section">
|
|
157
|
|
- <video id="repairVideo" :src="videoUrl" class="video-player" controls></video>
|
|
158
|
|
- <text class="video-hint">实时查看维修情况</text>
|
|
|
175
|
+ </template>
|
|
|
176
|
+
|
|
|
177
|
+ <!-- ========== 养护专属区块 ========== -->
|
|
|
178
|
+ <template v-if="orderInfo.orderTypeId === 'maintenance'">
|
|
|
179
|
+ <!-- 养护项目 -->
|
|
|
180
|
+ <view class="info-section">
|
|
|
181
|
+ <view class="section-header">
|
|
|
182
|
+ <text class="section-title">养护项目</text>
|
|
|
183
|
+ </view>
|
|
|
184
|
+ <view class="section-content col">
|
|
|
185
|
+ <view class="info-item">
|
|
|
186
|
+ <text class="info-label">养护类型:</text>
|
|
|
187
|
+ <text class="info-value">{{ maintenanceTypesFormatter(orderInfo.maintenance.maintenanceTypes) }}</text>
|
|
|
188
|
+ </view>
|
|
|
189
|
+ <view class="info-item">
|
|
|
190
|
+ <text class="info-label">上次养护时间:</text>
|
|
|
191
|
+ <text class="info-value">{{ orderInfo.maintenance.lastMaintenanceDate || '-' }}</text>
|
|
|
192
|
+ </view>
|
|
|
193
|
+ <view class="info-item">
|
|
|
194
|
+ <text class="info-label">特殊要求:</text>
|
|
|
195
|
+ <text class="info-value">{{ orderInfo.maintenance.maintenanceRemark || '-' }}</text>
|
|
|
196
|
+ </view>
|
|
159
|
197
|
</view>
|
|
160
|
198
|
</view>
|
|
161
|
|
- </view>
|
|
162
|
199
|
|
|
163
|
|
- <!-- 维修记录 -->
|
|
164
|
|
- <view class="info-section">
|
|
165
|
|
- <view class="section-header">
|
|
166
|
|
- <text class="section-title">维修记录</text>
|
|
|
200
|
+ <!-- 养护服务信息 -->
|
|
|
201
|
+ <view class="info-section">
|
|
|
202
|
+ <view class="section-header">
|
|
|
203
|
+ <text class="section-title">服务信息</text>
|
|
|
204
|
+ </view>
|
|
|
205
|
+ <view class="section-content col">
|
|
|
206
|
+ <view class="info-item">
|
|
|
207
|
+ <text class="info-label">服务方式:</text>
|
|
|
208
|
+ <text class="info-value">{{ maintenanceServiceFormatter(orderInfo.maintenance.maintenanceServiceId)
|
|
|
209
|
+ }}</text>
|
|
|
210
|
+ </view>
|
|
|
211
|
+ <view class="info-item"
|
|
|
212
|
+ v-if="orderInfo.maintenance.maintenanceServiceId === 'home' || orderInfo.maintenance.maintenanceServiceId === 'mail'">
|
|
|
213
|
+ <text class="info-label">地址:</text>
|
|
|
214
|
+ <text class="info-value">{{ orderInfo.maintenance.address || '-' }}</text>
|
|
|
215
|
+ </view>
|
|
|
216
|
+ <view class="info-item" v-if="orderInfo.maintenance.maintenanceServiceId === 'store'">
|
|
|
217
|
+ <text class="info-label">门店:</text>
|
|
|
218
|
+ <text class="info-value">{{ orderInfo.maintenance.storeName || '-' }}</text>
|
|
|
219
|
+ </view>
|
|
|
220
|
+ <view class="info-item" v-if="orderInfo.maintenance.maintenanceServiceId === 'home'">
|
|
|
221
|
+ <text class="info-label">上门时间:</text>
|
|
|
222
|
+ <text class="info-value">{{ orderInfo.maintenance.delivery || '-' }}</text>
|
|
|
223
|
+ </view>
|
|
|
224
|
+ <view class="info-item" v-if="orderInfo.maintenance.maintenanceServiceId === 'mail'">
|
|
|
225
|
+ <text class="info-label">快递单号:</text>
|
|
|
226
|
+ <text class="info-value">{{ orderInfo.maintenance.expressNumber || '-' }}</text>
|
|
|
227
|
+ </view>
|
|
|
228
|
+ </view>
|
|
167
|
229
|
</view>
|
|
168
|
|
- <view class="section-content">
|
|
169
|
|
- <view v-for="(record, index) in orderInfo.repairRecords" :key="index" class="record-item">
|
|
170
|
|
- <view class="record-header">
|
|
171
|
|
- <text class="record-title">{{ record.title }}</text>
|
|
172
|
|
- <text class="record-time">{{ record.time }}</text>
|
|
|
230
|
+
|
|
|
231
|
+ <!-- 养护记录 -->
|
|
|
232
|
+ <view class="info-section">
|
|
|
233
|
+ <view class="section-header">
|
|
|
234
|
+ <text class="section-title">养护记录</text>
|
|
|
235
|
+ </view>
|
|
|
236
|
+ <view class="section-content">
|
|
|
237
|
+ <view v-for="(record, index) in orderInfo.repairRecords" :key="index" class="record-item">
|
|
|
238
|
+ <view class="record-header">
|
|
|
239
|
+ <text class="record-title">{{ record.title }}</text>
|
|
|
240
|
+ <text class="record-time">{{ record.time }}</text>
|
|
|
241
|
+ </view>
|
|
|
242
|
+ <text class="record-content">{{ record.content }}</text>
|
|
173
|
243
|
</view>
|
|
174
|
|
- <text class="record-content">{{ record.content }}</text>
|
|
175
|
244
|
</view>
|
|
176
|
245
|
</view>
|
|
177
|
|
- </view>
|
|
|
246
|
+ </template>
|
|
178
|
247
|
|
|
179
|
|
- <!-- 费用明细 -->
|
|
|
248
|
+ <!-- 手表信息 -->
|
|
180
|
249
|
<view class="info-section">
|
|
181
|
250
|
<view class="section-header">
|
|
182
|
|
- <text class="section-title">费用明细</text>
|
|
|
251
|
+ <text class="section-title">手表信息</text>
|
|
183
|
252
|
</view>
|
|
184
|
|
- <view class="section-content">
|
|
185
|
|
- <view class="info-item">
|
|
186
|
|
- <text class="info-label">维修项目</text>
|
|
187
|
|
- <text class="info-value">{{ orderInfo.cost.items.join('、') }}</text>
|
|
188
|
|
- </view>
|
|
|
253
|
+ <view class="section-content grid">
|
|
189
|
254
|
<view class="info-item">
|
|
190
|
|
- <text class="info-label">配件费</text>
|
|
191
|
|
- <text class="info-value">¥{{ orderInfo.cost.partsFee.toFixed(2) }}</text>
|
|
|
255
|
+ <text class="info-label">品牌:</text>
|
|
|
256
|
+ <text class="info-value">{{ orderInfo.watch.brand }}</text>
|
|
192
|
257
|
</view>
|
|
193
|
258
|
<view class="info-item">
|
|
194
|
|
- <text class="info-label">工时费</text>
|
|
195
|
|
- <text class="info-value">¥{{ orderInfo.cost.laborFee.toFixed(2) }}</text>
|
|
|
259
|
+ <text class="info-label">型号:</text>
|
|
|
260
|
+ <text class="info-value">{{ orderInfo.watch.model }}</text>
|
|
196
|
261
|
</view>
|
|
197
|
262
|
<view class="info-item">
|
|
198
|
|
- <text class="info-label">其他费用</text>
|
|
199
|
|
- <text class="info-value">¥{{ orderInfo.cost.otherFee.toFixed(2) }}</text>
|
|
|
263
|
+ <text class="info-label">机芯类型:</text>
|
|
|
264
|
+ <text class="info-value">{{ orderInfo.watch.movementType }}</text>
|
|
200
|
265
|
</view>
|
|
201
|
266
|
<view class="info-item">
|
|
202
|
|
- <text class="info-label">折扣率</text>
|
|
203
|
|
- <text class="info-value">{{ orderInfo.cost.discountRate }}%</text>
|
|
|
267
|
+ <text class="info-label">表身编号:</text>
|
|
|
268
|
+ <text class="info-value">{{ orderInfo.watch.serialNumber }}</text>
|
|
204
|
269
|
</view>
|
|
205
|
270
|
<view class="info-item">
|
|
206
|
|
- <text class="info-label">折扣金额</text>
|
|
207
|
|
- <text class="info-value">-¥{{ orderInfo.cost.discountAmount.toFixed(2) }}</text>
|
|
208
|
|
- </view>
|
|
209
|
|
- <view class="info-item total">
|
|
210
|
|
- <text class="info-label">最终金额</text>
|
|
211
|
|
- <text class="info-value total-value">¥{{ orderInfo.cost.finalAmount.toFixed(2) }}</text>
|
|
|
271
|
+ <text class="info-label">是否在保:</text>
|
|
|
272
|
+ <text class="info-value">{{ orderInfo.watch.inWarranty ? '是' : '否' }}</text>
|
|
212
|
273
|
</view>
|
|
213
|
|
-
|
|
214
|
|
- <!-- 详细费用明细 -->
|
|
215
|
|
- <view class="cost-details">
|
|
216
|
|
- <view class="cost-details-title">详细费用</view>
|
|
217
|
|
- <view v-for="(item, index) in orderInfo.cost.details" :key="index" class="cost-detail-item">
|
|
218
|
|
- <text class="cost-detail-type">{{ item.type }}</text>
|
|
219
|
|
- <text class="cost-detail-amount">¥{{ item.amount.toFixed(2) }}</text>
|
|
220
|
|
- <text class="cost-detail-description">{{ item.description }}</text>
|
|
|
274
|
+ <view class="info-item row">
|
|
|
275
|
+ <text class="info-label ">手表图片:</text>
|
|
|
276
|
+ <view class="image-grid">
|
|
|
277
|
+ <image v-for="(img, index) in orderInfo.watch.images" :key="index" :src="img" class="grid-image"
|
|
|
278
|
+ mode="aspectFill"></image>
|
|
221
|
279
|
</view>
|
|
222
|
280
|
</view>
|
|
223
|
281
|
</view>
|
|
224
|
282
|
</view>
|
|
225
|
|
-
|
|
226
|
|
- <!-- 质保期 -->
|
|
|
283
|
+ <!-- 客户信息 -->
|
|
227
|
284
|
<view class="info-section">
|
|
228
|
285
|
<view class="section-header">
|
|
229
|
|
- <text class="section-title">质保期</text>
|
|
|
286
|
+ <text class="section-title">客户信息:</text>
|
|
230
|
287
|
</view>
|
|
231
|
|
- <view class="section-content">
|
|
|
288
|
+ <view class="section-content col">
|
|
232
|
289
|
<view class="info-item">
|
|
233
|
|
- <text class="info-label">质保开始日期</text>
|
|
234
|
|
- <text class="info-value">{{ orderInfo.warranty.startDate }}</text>
|
|
|
290
|
+ <text class="info-label">姓名:</text>
|
|
|
291
|
+ <text class="info-value">{{ orderInfo.customer.name }}</text>
|
|
235
|
292
|
</view>
|
|
236
|
293
|
<view class="info-item">
|
|
237
|
|
- <text class="info-label">质保结束日期</text>
|
|
238
|
|
- <text class="info-value">{{ orderInfo.warranty.endDate }}</text>
|
|
|
294
|
+ <text class="info-label">电话:</text>
|
|
|
295
|
+ <text class="info-value">{{ orderInfo.customer.phone }}</text>
|
|
239
|
296
|
</view>
|
|
240
|
|
- <view class="info-item">
|
|
241
|
|
- <text class="info-label">质保范围</text>
|
|
242
|
|
- <text class="info-value">{{ orderInfo.warranty.coverage }}</text>
|
|
|
297
|
+ <view class="info-item" v-if="orderInfo.serviceType === 'home' || orderInfo.serviceType === 'mail'">
|
|
|
298
|
+ <text class="info-label">地址:</text>
|
|
|
299
|
+ <text class="info-value">{{ orderInfo.customer.address }}</text>
|
|
243
|
300
|
</view>
|
|
244
|
301
|
</view>
|
|
245
|
302
|
</view>
|
|
246
|
303
|
|
|
247
|
304
|
<!-- 底部按钮 -->
|
|
248
|
305
|
<view class="bottom-buttons">
|
|
249
|
|
- <up-button v-if="orderInfo.paymentStatus === PaymentStatus.UNPAID" type="primary" size="normal"
|
|
|
306
|
+ <up-button v-if="orderInfo.paymentStatus === 'UNPAID' && orderInfo.status === 'QUOTED'" type="primary" size="small"
|
|
250
|
307
|
@click="handlePayment">
|
|
251
|
308
|
支付
|
|
252
|
309
|
</up-button>
|
|
253
|
|
- <up-button v-if="orderInfo.status === OrderStatus.COMPLETED" type="success" size="normal" @click="handleReview">
|
|
254
|
|
- 评价
|
|
255
|
|
- </up-button>
|
|
256
|
|
- <up-button type="warning" size="normal" plain @click="contactService">
|
|
|
310
|
+ <up-button type="warning" size="small" plain @click="contactService">
|
|
257
|
311
|
联系客服
|
|
258
|
312
|
</up-button>
|
|
259
|
|
- <up-button size="normal" plain @click="closeOrder">
|
|
260
|
|
- 关闭订单
|
|
|
313
|
+ <!-- 维修师傅按钮 -->
|
|
|
314
|
+ <up-button type="primary" size="small" plain @click="acceptOrder"
|
|
|
315
|
+ v-if="orderInfo.status === 'SENT_REPAIR' && hasRole('REPAIRMAN', false)">
|
|
|
316
|
+ 接单
|
|
|
317
|
+ </up-button>
|
|
|
318
|
+ <up-button type="error" size="small" plain @click="rejectOrder"
|
|
|
319
|
+ v-if="orderInfo.status === 'SENT_REPAIR' && hasRole('REPAIRMAN', false)">
|
|
|
320
|
+ 拒单
|
|
|
321
|
+ </up-button>
|
|
|
322
|
+ <up-button type="primary" size="small" plain @click="rejectOrder"
|
|
|
323
|
+ v-if="orderInfo.status === 'PAID' && hasRole('REPAIRMAN', false)">
|
|
|
324
|
+ 开始维修
|
|
|
325
|
+ </up-button>
|
|
|
326
|
+ <up-button type="success" size="small" plain @click="rejectOrder"
|
|
|
327
|
+ v-if="orderInfo.status === 'REPAIRING' && hasRole('REPAIRMAN', false)">
|
|
|
328
|
+ 完成维修
|
|
|
329
|
+ </up-button>
|
|
|
330
|
+ <!-- 业务员按钮 -->
|
|
|
331
|
+ <up-button type="primary" size="small" plain v-if="orderInfo.status === 'REPAIRED' && hasRole('SERVICESALESREP', false)">
|
|
|
332
|
+ 开始质检
|
|
|
333
|
+ </up-button>
|
|
|
334
|
+ <up-button type="success" size="small" plain v-if="orderInfo.status === 'CHECKING' && hasRole('SERVICESALESREP', false)">
|
|
|
335
|
+ 完成质检
|
|
|
336
|
+ </up-button>
|
|
|
337
|
+ <up-button type="primary" size="small" plain v-if="orderInfo.status === 'CHECKED' && hasRole('SERVICESALESREP', false)">
|
|
|
338
|
+ 开始交付
|
|
261
|
339
|
</up-button>
|
|
|
340
|
+ <up-button type="success" size="small" plain v-if="orderInfo.status === 'DELIVERING' && hasRole('SERVICESALESREP', false)">
|
|
|
341
|
+ 完成交付
|
|
|
342
|
+ </up-button>
|
|
|
343
|
+ <!-- 检测员按钮 -->
|
|
|
344
|
+ <up-button type="primary" size="small" plain @click="inspectOrder" v-if="orderInfo.status === 'ACCEPTED' && hasRole('INSPECTOR', false)">
|
|
|
345
|
+ 检测
|
|
|
346
|
+ </up-button>
|
|
|
347
|
+ <up-modal :show="showInspectPopup" showCancelButton title="检测" @confirm="submitInspectForm" @cancel="closeInspectPopup" class="inspect-modal">
|
|
|
348
|
+ <up-form labelPosition="top" :model="inspectForm">
|
|
|
349
|
+ <up-form-item label="图片">
|
|
|
350
|
+ <up-upload :fileList="inspectForm.imgList" @afterRead="inspectImgAfterRead" @delete="inspectImgdeletePic" name="1" multiple accept="image"
|
|
|
351
|
+ :maxCount="10"></up-upload>
|
|
|
352
|
+ </up-form-item>
|
|
|
353
|
+ <up-form-item label="视频">
|
|
|
354
|
+ <up-upload :fileList="inspectForm.videoList" @afterRead="inspectVideoafterRead" @delete="inspectImgdeleteVideo" name="2" multiple accept="video"
|
|
|
355
|
+ :maxCount="10"></up-upload>
|
|
|
356
|
+ </up-form-item>
|
|
|
357
|
+ </up-form>
|
|
|
358
|
+ </up-modal>
|
|
262
|
359
|
</view>
|
|
263
|
360
|
</view>
|
|
264
|
361
|
</template>
|
|
265
|
362
|
|
|
266
|
363
|
<script setup lang="ts">
|
|
267
|
364
|
import { ref, computed, onMounted } from 'vue'
|
|
268
|
|
-import { paymentStatusColors, orderStatusColors,OrderStatus,PaymentStatus } from '../public'
|
|
|
365
|
+import { paymentStatusColors, orderStatusColors, OrderStatus, PaymentStatus, maintenanceTypeOptions } from '../public'
|
|
|
366
|
+import { hasRole } from '@/utils/utils'
|
|
|
367
|
+import { onLoad } from '@dcloudio/uni-app'
|
|
269
|
368
|
|
|
270
|
369
|
// 视频文件路径
|
|
271
|
370
|
const videoUrl = ref('/static/video/2.mp4')
|
|
272
|
|
-
|
|
273
|
371
|
// 订单信息
|
|
274
|
372
|
const orderInfo = ref({
|
|
275
|
373
|
orderId: 'WX20260304001',
|
|
276
|
|
- status: OrderStatus.IN_REPAIR,
|
|
|
374
|
+ orderType: '维修',
|
|
|
375
|
+ orderTypeId: 'repair', // 'repair' | 'maintenance'
|
|
|
376
|
+ status: 'QUOTED',
|
|
277
|
377
|
createTime: '2026-03-04 10:30:00',
|
|
278
|
|
- paymentStatus: PaymentStatus.UNPAID,
|
|
|
378
|
+ paymentStatus: 'PAID',
|
|
279
|
379
|
serviceType: 'store',
|
|
280
|
380
|
customer: {
|
|
281
|
381
|
name: '张三',
|
|
|
@@ -359,30 +459,92 @@ const orderInfo = ref({
|
|
359
|
459
|
startDate: '2026-03-05',
|
|
360
|
460
|
endDate: '2027-03-05',
|
|
361
|
461
|
coverage: '维修项目质保1年'
|
|
|
462
|
+ },
|
|
|
463
|
+ // 养护信息(orderTypeId === 'maintenance' 时使用)
|
|
|
464
|
+ maintenance: {
|
|
|
465
|
+ maintenanceTypes: ['MOVEMENT_CLEAN', 'CASE_POLISH'],
|
|
|
466
|
+ lastMaintenanceDate: '2025-09-01',
|
|
|
467
|
+ maintenanceRemark: '请轻拿轻放',
|
|
|
468
|
+ maintenanceServiceType: '邮寄维修',
|
|
|
469
|
+ maintenanceServiceId: 'mail',
|
|
|
470
|
+ address: '北京市朝阳区某某小区1号楼101室',
|
|
|
471
|
+ storeName: '',
|
|
|
472
|
+ delivery: '',
|
|
|
473
|
+ expressNumber: 'SF1234567890'
|
|
362
|
474
|
}
|
|
363
|
475
|
})
|
|
|
476
|
+const showReviewModal = ref(false)
|
|
|
477
|
+const reviewCount = ref(5)
|
|
|
478
|
+const reviewValue = ref(0)
|
|
|
479
|
+const showInspectPopup = ref(false)
|
|
364
|
480
|
|
|
365
|
481
|
// 计算属性
|
|
366
|
482
|
const orderStatusColor = computed(() => {
|
|
367
|
|
- return orderStatusColors[orderInfo.value.status]
|
|
|
483
|
+ return orderStatusColors[orderStatusFormatter(orderInfo.value.status)]
|
|
368
|
484
|
})
|
|
369
|
|
-
|
|
370
|
485
|
const paymentStatusColor = computed(() => {
|
|
371
|
|
- return paymentStatusColors[orderInfo.value.paymentStatus]
|
|
|
486
|
+ return paymentStatusColors[paymentStatusFormatter(orderInfo.value.paymentStatus)]
|
|
372
|
487
|
})
|
|
|
488
|
+const orderStatusFormatter = (status: string) => {
|
|
|
489
|
+ return OrderStatus[status as keyof typeof OrderStatus]
|
|
|
490
|
+}
|
|
|
491
|
+const paymentStatusFormatter = (status: string) => {
|
|
|
492
|
+ return PaymentStatus[status as keyof typeof PaymentStatus]
|
|
|
493
|
+}
|
|
|
494
|
+// 退款
|
|
|
495
|
+const handleRefund = () => {
|
|
|
496
|
+ uni.showToast({
|
|
|
497
|
+ title: '退款成功',
|
|
|
498
|
+ icon: 'success'
|
|
|
499
|
+ })
|
|
|
500
|
+}
|
|
|
501
|
+// 判断是否拒单,拒单后,禁止支付、评价、检测、报价、维修、质检、交付
|
|
|
502
|
+const isRejected = computed(() => {
|
|
|
503
|
+ return orderInfo.value.status === 'REJECTED'
|
|
|
504
|
+})
|
|
|
505
|
+const handleProgress = () => {
|
|
|
506
|
+ console.log('处理进度查询')
|
|
|
507
|
+ uni.navigateTo({
|
|
|
508
|
+ url: '/pages/repair/components/progress/index?orderId=' + orderInfo.value.orderId
|
|
|
509
|
+ })
|
|
|
510
|
+}
|
|
373
|
511
|
|
|
|
512
|
+const handleQuote = () => {
|
|
|
513
|
+ uni.navigateTo({
|
|
|
514
|
+ url: '/pages/repair/components/price/index?orderId=' + orderInfo.value.orderId
|
|
|
515
|
+ })
|
|
|
516
|
+}
|
|
374
|
517
|
// 服务类型格式化
|
|
375
|
518
|
const serviceTypeFormatter = (type: string) => {
|
|
376
|
519
|
return type === 'store' ? '到店维修' : type === 'home' ? '上门维修' : type === 'mail' ? '邮寄维修' : '-'
|
|
377
|
520
|
}
|
|
378
|
521
|
|
|
|
522
|
+// 养护服务方式格式化
|
|
|
523
|
+const maintenanceServiceFormatter = (id: string) => {
|
|
|
524
|
+ return id === 'store' ? '到店养护' : id === 'home' ? '上门取送' : id === 'mail' ? '邮寄养护' : '-'
|
|
|
525
|
+}
|
|
|
526
|
+
|
|
|
527
|
+// 养护类型格式化(value数组 → 名称列表)
|
|
|
528
|
+const maintenanceTypesFormatter = (values: string[]) => {
|
|
|
529
|
+ if (!values || values.length === 0) return '-'
|
|
|
530
|
+ return values.map(v => {
|
|
|
531
|
+ const found = maintenanceTypeOptions.find(o => o.value === v)
|
|
|
532
|
+ return found ? found.label : v
|
|
|
533
|
+ }).join('、')
|
|
|
534
|
+}
|
|
|
535
|
+
|
|
379
|
536
|
// 方法
|
|
380
|
537
|
const handlePayment = () => {
|
|
381
|
538
|
console.log('处理支付')
|
|
382
|
539
|
}
|
|
383
|
540
|
|
|
384
|
541
|
const handleReview = () => {
|
|
|
542
|
+ showReviewModal.value = true
|
|
|
543
|
+}
|
|
|
544
|
+const handleSubmitReview = () => {
|
|
385
|
545
|
console.log('处理评价')
|
|
|
546
|
+ console.log(reviewValue.value, reviewCount.value)
|
|
|
547
|
+ showReviewModal.value = false
|
|
386
|
548
|
}
|
|
387
|
549
|
|
|
388
|
550
|
const contactService = () => {
|
|
|
@@ -390,15 +552,40 @@ const contactService = () => {
|
|
390
|
552
|
phoneNumber: '400-123-4567'
|
|
391
|
553
|
})
|
|
392
|
554
|
}
|
|
393
|
|
-
|
|
394
|
|
-const closeOrder = () => {
|
|
395
|
|
- console.log('关闭订单')
|
|
|
555
|
+const acceptOrder = () => {
|
|
|
556
|
+ console.log('接单')
|
|
396
|
557
|
}
|
|
397
|
|
-
|
|
398
|
|
-// 生命周期
|
|
399
|
|
-onMounted(() => {
|
|
400
|
|
- // 这里可以添加获取订单详情的逻辑
|
|
401
|
|
- console.log('获取订单详情')
|
|
|
558
|
+const rejectOrder = () => {
|
|
|
559
|
+ console.log('拒单')
|
|
|
560
|
+}
|
|
|
561
|
+const inspectForm = ref<any>({
|
|
|
562
|
+ imgList: [],
|
|
|
563
|
+ videoList: []
|
|
|
564
|
+})
|
|
|
565
|
+const inspectOrder = () => {
|
|
|
566
|
+ console.log('检测')
|
|
|
567
|
+ showInspectPopup.value = true
|
|
|
568
|
+}
|
|
|
569
|
+const closeInspectPopup = () => {
|
|
|
570
|
+ showInspectPopup.value = false
|
|
|
571
|
+}
|
|
|
572
|
+const submitInspectForm = () => {
|
|
|
573
|
+ showInspectPopup.value = false
|
|
|
574
|
+}
|
|
|
575
|
+const inspectImgAfterRead = (file: any) => {
|
|
|
576
|
+ inspectForm.value.imgList.push(file)
|
|
|
577
|
+}
|
|
|
578
|
+const inspectImgdeletePic = (index: number) => {
|
|
|
579
|
+ inspectForm.value.imgList.splice(index, 1)
|
|
|
580
|
+}
|
|
|
581
|
+const inspectImgdeleteVideo = (index: number) => {
|
|
|
582
|
+ inspectForm.value.videoList.splice(index, 1)
|
|
|
583
|
+}
|
|
|
584
|
+const inspectVideoafterRead = (file: any) => {
|
|
|
585
|
+ inspectForm.value.videoList.push(file)
|
|
|
586
|
+}
|
|
|
587
|
+onLoad((options: any) => {
|
|
|
588
|
+ console.log(options)
|
|
402
|
589
|
})
|
|
403
|
590
|
</script>
|
|
404
|
591
|
|
|
|
@@ -411,54 +598,65 @@ onMounted(() => {
|
|
411
|
598
|
|
|
412
|
599
|
/* 顶部状态卡片 */
|
|
413
|
600
|
.status-card {
|
|
414
|
|
- background: linear-gradient(135deg, #2c94f6 0%, #1e88e5 100%);
|
|
415
|
|
- border-radius: 16rpx;
|
|
416
|
|
- padding: 32rpx;
|
|
417
|
|
- margin-bottom: 32rpx;
|
|
418
|
|
- color: #fff;
|
|
419
|
|
- box-shadow: 0 4rpx 12rpx rgba(44, 148, 246, 0.3);
|
|
|
601
|
+ background: linear-gradient(135deg, #2c94f6 0%, #1e88e5 100%);
|
|
|
602
|
+ border-radius: 16rpx;
|
|
|
603
|
+ padding: 32rpx;
|
|
|
604
|
+ margin-bottom: 32rpx;
|
|
|
605
|
+ color: #fff;
|
|
|
606
|
+ box-shadow: 0 4rpx 12rpx rgba(44, 148, 246, 0.3);
|
|
|
607
|
+
|
|
|
608
|
+ .status-header {
|
|
|
609
|
+ display: flex;
|
|
|
610
|
+ justify-content: space-between;
|
|
|
611
|
+ align-items: center;
|
|
|
612
|
+ margin-bottom: 16rpx;
|
|
|
613
|
+
|
|
|
614
|
+ .order-number {
|
|
|
615
|
+ font-size: 28rpx;
|
|
|
616
|
+ font-weight: bold;
|
|
|
617
|
+ }
|
|
420
|
618
|
|
|
421
|
|
- .status-header {
|
|
422
|
|
- display: flex;
|
|
423
|
|
- justify-content: space-between;
|
|
424
|
|
- align-items: center;
|
|
425
|
|
- margin-bottom: 16rpx;
|
|
|
619
|
+ .order-status {
|
|
|
620
|
+ font-size: 32rpx;
|
|
|
621
|
+ font-weight: bold;
|
|
|
622
|
+ }
|
|
|
623
|
+ }
|
|
426
|
624
|
|
|
427
|
|
- .order-number {
|
|
428
|
|
- font-size: 28rpx;
|
|
429
|
|
- font-weight: bold;
|
|
430
|
|
- }
|
|
|
625
|
+ .status-footer {
|
|
|
626
|
+ display: flex;
|
|
|
627
|
+ justify-content: space-between;
|
|
|
628
|
+ align-items: center;
|
|
431
|
629
|
|
|
432
|
|
- .order-status {
|
|
433
|
|
- font-size: 32rpx;
|
|
434
|
|
- font-weight: bold;
|
|
435
|
|
- }
|
|
|
630
|
+ .order-time {
|
|
|
631
|
+ font-size: 24rpx;
|
|
|
632
|
+ opacity: 0.9;
|
|
436
|
633
|
}
|
|
437
|
634
|
|
|
438
|
|
- .status-footer {
|
|
439
|
|
- display: flex;
|
|
440
|
|
- justify-content: space-between;
|
|
441
|
|
- align-items: center;
|
|
442
|
|
- margin-bottom: 16rpx;
|
|
443
|
|
-
|
|
444
|
|
- .order-time {
|
|
445
|
|
- font-size: 24rpx;
|
|
446
|
|
- opacity: 0.9;
|
|
447
|
|
- }
|
|
|
635
|
+ .payment-status {
|
|
|
636
|
+ font-size: 24rpx;
|
|
|
637
|
+ font-weight: bold;
|
|
|
638
|
+ }
|
|
|
639
|
+ }
|
|
448
|
640
|
|
|
449
|
|
- .payment-status {
|
|
450
|
|
- font-size: 24rpx;
|
|
451
|
|
- font-weight: bold;
|
|
452
|
|
- }
|
|
|
641
|
+ .status-service {
|
|
|
642
|
+ .service-type {
|
|
|
643
|
+ font-size: 24rpx;
|
|
|
644
|
+ opacity: 0.9;
|
|
453
|
645
|
}
|
|
|
646
|
+ }
|
|
454
|
647
|
|
|
455
|
|
- .status-service {
|
|
456
|
|
- .service-type {
|
|
457
|
|
- font-size: 24rpx;
|
|
458
|
|
- opacity: 0.9;
|
|
459
|
|
- }
|
|
|
648
|
+ .review-btn {
|
|
|
649
|
+ width: 100%;
|
|
|
650
|
+ display: flex;
|
|
|
651
|
+ justify-content: flex-end;
|
|
|
652
|
+ gap: 12rpx;
|
|
|
653
|
+
|
|
|
654
|
+ :deep(.u-button) {
|
|
|
655
|
+ width: fit-content;
|
|
|
656
|
+ margin: 0;
|
|
460
|
657
|
}
|
|
461
|
658
|
}
|
|
|
659
|
+ }
|
|
462
|
660
|
|
|
463
|
661
|
/* 信息区块 */
|
|
464
|
662
|
.info-section {
|
|
|
@@ -478,6 +676,19 @@ onMounted(() => {
|
|
478
|
676
|
}
|
|
479
|
677
|
}
|
|
480
|
678
|
|
|
|
679
|
+ .grid {
|
|
|
680
|
+ display: grid;
|
|
|
681
|
+ grid-template-columns: 1fr 1fr;
|
|
|
682
|
+ grid-gap: 12rpx;
|
|
|
683
|
+
|
|
|
684
|
+ }
|
|
|
685
|
+
|
|
|
686
|
+ .col {
|
|
|
687
|
+ display: grid;
|
|
|
688
|
+ grid-template-columns: 1fr;
|
|
|
689
|
+ grid-gap: 12rpx;
|
|
|
690
|
+ }
|
|
|
691
|
+
|
|
481
|
692
|
.section-content {
|
|
482
|
693
|
padding: 32rpx;
|
|
483
|
694
|
|
|
|
@@ -485,7 +696,6 @@ onMounted(() => {
|
|
485
|
696
|
display: flex;
|
|
486
|
697
|
justify-content: space-between;
|
|
487
|
698
|
align-items: flex-start;
|
|
488
|
|
- margin-bottom: 24rpx;
|
|
489
|
699
|
|
|
490
|
700
|
&:last-child {
|
|
491
|
701
|
margin-bottom: 0;
|
|
|
@@ -497,24 +707,29 @@ onMounted(() => {
|
|
497
|
707
|
margin-top: 8rpx;
|
|
498
|
708
|
}
|
|
499
|
709
|
|
|
|
710
|
+ &.row {
|
|
|
711
|
+ grid-column: span 2;
|
|
|
712
|
+ }
|
|
|
713
|
+
|
|
500
|
714
|
.info-label {
|
|
501
|
715
|
font-size: 28rpx;
|
|
502
|
716
|
color: #666;
|
|
503
|
717
|
flex-shrink: 0;
|
|
504
|
|
- min-width: 170rpx;
|
|
|
718
|
+ // min-width: 170rpx;
|
|
505
|
719
|
}
|
|
506
|
720
|
|
|
507
|
721
|
.info-value {
|
|
508
|
722
|
font-size: 28rpx;
|
|
509
|
723
|
color: #333;
|
|
510
|
724
|
flex: 1;
|
|
511
|
|
- text-align: right;
|
|
|
725
|
+ text-align: left;
|
|
512
|
726
|
}
|
|
513
|
727
|
|
|
514
|
728
|
.total-value {
|
|
515
|
729
|
font-size: 32rpx;
|
|
516
|
730
|
font-weight: bold;
|
|
517
|
731
|
color: #ff6b6b;
|
|
|
732
|
+ text-align: right;
|
|
518
|
733
|
}
|
|
519
|
734
|
|
|
520
|
735
|
/* 图片网格 */
|
|
|
@@ -560,7 +775,6 @@ onMounted(() => {
|
|
560
|
775
|
font-size: 26rpx;
|
|
561
|
776
|
color: #666;
|
|
562
|
777
|
flex-shrink: 0;
|
|
563
|
|
- min-width: 120rpx;
|
|
564
|
778
|
}
|
|
565
|
779
|
|
|
566
|
780
|
.cost-detail-amount {
|
|
|
@@ -583,6 +797,7 @@ onMounted(() => {
|
|
583
|
797
|
/* 视频区域 */
|
|
584
|
798
|
.video-section {
|
|
585
|
799
|
.video-player {
|
|
|
800
|
+ z-index: 0;
|
|
586
|
801
|
width: 100%;
|
|
587
|
802
|
height: 400rpx;
|
|
588
|
803
|
border-radius: 16rpx;
|
|
|
@@ -671,11 +886,10 @@ onMounted(() => {
|
|
671
|
886
|
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.1);
|
|
672
|
887
|
display: flex;
|
|
673
|
888
|
gap: 24rpx;
|
|
674
|
|
-
|
|
675
|
|
- button {
|
|
676
|
|
- flex: 1;
|
|
677
|
|
- height: 88rpx;
|
|
678
|
|
- border-radius: 44rpx;
|
|
|
889
|
+ }
|
|
|
890
|
+ .inspect-modal{
|
|
|
891
|
+ :deep(.u-modal__content){
|
|
|
892
|
+ justify-content: left;
|
|
679
|
893
|
}
|
|
680
|
894
|
}
|
|
681
|
895
|
}
|