|
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+<script setup lang="ts">
|
|
|
2
|
+import { ref, onMounted, computed } from 'vue'
|
|
|
3
|
+import { http } from '@/utils/request'
|
|
|
4
|
+
|
|
|
5
|
+// 定义页面配置
|
|
|
6
|
+definePage({
|
|
|
7
|
+ title: '工单详情'
|
|
|
8
|
+})
|
|
|
9
|
+
|
|
|
10
|
+// 工单详情接口
|
|
|
11
|
+interface WorkOrderDetail {
|
|
|
12
|
+ id: string
|
|
|
13
|
+ orderNo: string
|
|
|
14
|
+ statusName: string
|
|
|
15
|
+ status: string
|
|
|
16
|
+ createBy: string
|
|
|
17
|
+ ticketTypeName: string
|
|
|
18
|
+ createTime: string
|
|
|
19
|
+ stationName?: string
|
|
|
20
|
+ contact?: string
|
|
|
21
|
+ phone?: string
|
|
|
22
|
+ content?: string
|
|
|
23
|
+ attachments?: string
|
|
|
24
|
+}
|
|
|
25
|
+
|
|
|
26
|
+// 流程信息接口
|
|
|
27
|
+interface FlowInfo {
|
|
|
28
|
+ instanceId: string
|
|
|
29
|
+}
|
|
|
30
|
+
|
|
|
31
|
+// 工单流程记录接口
|
|
|
32
|
+interface WorkOrderRecord {
|
|
|
33
|
+ id: string
|
|
|
34
|
+ orderId: string
|
|
|
35
|
+ operationContent: string
|
|
|
36
|
+ status: string
|
|
|
37
|
+ operatorName: string
|
|
|
38
|
+ operationTime: string
|
|
|
39
|
+ operationType: string
|
|
|
40
|
+ approveName?: string
|
|
|
41
|
+ workOrderProcessRecords?: Array<{
|
|
|
42
|
+ processContent: string
|
|
|
43
|
+ attachmentsUrl?: string
|
|
|
44
|
+ }>
|
|
|
45
|
+ workOrderDelay?: Array<{
|
|
|
46
|
+ delayReason: string
|
|
|
47
|
+ delayDuration: string
|
|
|
48
|
+ approveRemark: string
|
|
|
49
|
+ approveStatus: string
|
|
|
50
|
+ approveTime: string
|
|
|
51
|
+ attachmentsUrl?: string
|
|
|
52
|
+ }>
|
|
|
53
|
+ message?: string
|
|
|
54
|
+}
|
|
|
55
|
+
|
|
|
56
|
+// 页面数据
|
|
|
57
|
+const workOrderDetail = ref<WorkOrderDetail>({
|
|
|
58
|
+ id: '',
|
|
|
59
|
+ orderNo: '',
|
|
|
60
|
+ statusName: '',
|
|
|
61
|
+ status: '',
|
|
|
62
|
+ createBy: '',
|
|
|
63
|
+ ticketTypeName: '',
|
|
|
64
|
+ createTime: '',
|
|
|
65
|
+ stationName: '',
|
|
|
66
|
+ contact: '',
|
|
|
67
|
+ phone: '',
|
|
|
68
|
+ content: '',
|
|
|
69
|
+ attachments: ''
|
|
|
70
|
+})
|
|
|
71
|
+
|
|
|
72
|
+const workOrderRecords = ref<WorkOrderRecord[]>([])
|
|
|
73
|
+const loading = ref(true)
|
|
|
74
|
+const recordsLoading = ref(false)
|
|
|
75
|
+
|
|
|
76
|
+// 获取工单ID(从路由参数中获取)
|
|
|
77
|
+const getWorkOrderId = () => {
|
|
|
78
|
+ const pages = getCurrentPages()
|
|
|
79
|
+ const currentPage = pages[pages.length - 1]
|
|
|
80
|
+ return currentPage.options.id || ''
|
|
|
81
|
+}
|
|
|
82
|
+
|
|
|
83
|
+// 获取工单详情
|
|
|
84
|
+async function fetchWorkOrderDetail() {
|
|
|
85
|
+ const id = getWorkOrderId()
|
|
|
86
|
+ if (!id) return
|
|
|
87
|
+
|
|
|
88
|
+ try {
|
|
|
89
|
+ loading.value = true
|
|
|
90
|
+ const response = await http.get<WorkOrderDetail>(`/workOrder/order/${id}`)
|
|
|
91
|
+ workOrderDetail.value = response || workOrderDetail.value
|
|
|
92
|
+
|
|
|
93
|
+ // 获取工单流程记录
|
|
|
94
|
+ await fetchWorkOrderRecords(id)
|
|
|
95
|
+ } catch (error) {
|
|
|
96
|
+ console.error('获取工单详情失败:', error)
|
|
|
97
|
+ uni.showToast({
|
|
|
98
|
+ title: '获取工单详情失败',
|
|
|
99
|
+ icon: 'none'
|
|
|
100
|
+ })
|
|
|
101
|
+ } finally {
|
|
|
102
|
+ loading.value = false
|
|
|
103
|
+ }
|
|
|
104
|
+}
|
|
|
105
|
+
|
|
|
106
|
+// 获取工单流程记录
|
|
|
107
|
+async function fetchWorkOrderRecords(orderId: string) {
|
|
|
108
|
+ try {
|
|
|
109
|
+ recordsLoading.value = true
|
|
|
110
|
+ const response = await http.get<WorkOrderRecord[]>('/workOrderRecord/record/list', {
|
|
|
111
|
+ orderId: orderId
|
|
|
112
|
+ })
|
|
|
113
|
+ workOrderRecords.value = response.rows || []
|
|
|
114
|
+ } catch (error) {
|
|
|
115
|
+ console.error('获取工单流程记录失败:', error)
|
|
|
116
|
+ uni.showToast({
|
|
|
117
|
+ title: '获取工单流程记录失败',
|
|
|
118
|
+ icon: 'none'
|
|
|
119
|
+ })
|
|
|
120
|
+ } finally {
|
|
|
121
|
+ recordsLoading.value = false
|
|
|
122
|
+ }
|
|
|
123
|
+}
|
|
|
124
|
+
|
|
|
125
|
+// 复制工单编号
|
|
|
126
|
+function handleCopy(text: string) {
|
|
|
127
|
+ uni.setClipboardData({
|
|
|
128
|
+ data: text,
|
|
|
129
|
+ success: () => {
|
|
|
130
|
+ uni.showToast({
|
|
|
131
|
+ title: '复制成功',
|
|
|
132
|
+ icon: 'success'
|
|
|
133
|
+ })
|
|
|
134
|
+ }
|
|
|
135
|
+ })
|
|
|
136
|
+}
|
|
|
137
|
+
|
|
|
138
|
+// 获取状态样式
|
|
|
139
|
+function getStatusClass(statusName: string) {
|
|
|
140
|
+ switch (statusName) {
|
|
|
141
|
+ case '新工单':
|
|
|
142
|
+ return 'status-new'
|
|
|
143
|
+ case '待处理':
|
|
|
144
|
+ return 'status-pending'
|
|
|
145
|
+ case '已完结':
|
|
|
146
|
+ return 'status-completed'
|
|
|
147
|
+ default:
|
|
|
148
|
+ return 'status-default'
|
|
|
149
|
+ }
|
|
|
150
|
+}
|
|
|
151
|
+
|
|
|
152
|
+// 编辑按钮
|
|
|
153
|
+function handleEdit() {
|
|
|
154
|
+ console.log('编辑工单')
|
|
|
155
|
+}
|
|
|
156
|
+
|
|
|
157
|
+// 删除按钮
|
|
|
158
|
+function handleDelete() {
|
|
|
159
|
+ console.log('删除工单')
|
|
|
160
|
+}
|
|
|
161
|
+
|
|
|
162
|
+// 提交按钮
|
|
|
163
|
+function handleSubmit() {
|
|
|
164
|
+ console.log('提交工单')
|
|
|
165
|
+}
|
|
|
166
|
+
|
|
|
167
|
+// 页面加载时获取工单详情
|
|
|
168
|
+onMounted(() => {
|
|
|
169
|
+ fetchWorkOrderDetail()
|
|
|
170
|
+})
|
|
|
171
|
+</script>
|
|
|
172
|
+<template>
|
|
|
173
|
+ <view class="work-order-detail">
|
|
|
174
|
+ <!-- 标题区域 -->
|
|
|
175
|
+ <view class="detail-header">
|
|
|
176
|
+ <view class="flex justify-between items-center mb-3">
|
|
|
177
|
+ <view class="flex items-center gap-2">
|
|
|
178
|
+ <text class="text-2xl font-bold">{{ workOrderDetail.orderNo }}</text>
|
|
|
179
|
+ <wd-icon name="copy" size="20px" @click="handleCopy(workOrderDetail.orderNo)"></wd-icon>
|
|
|
180
|
+ <view :class="['status-tag', getStatusClass(workOrderDetail.statusName)]">
|
|
|
181
|
+ {{ workOrderDetail.statusName }}
|
|
|
182
|
+ </view>
|
|
|
183
|
+ </view>
|
|
|
184
|
+ </view>
|
|
|
185
|
+
|
|
|
186
|
+ <view class="flex items-center gap-2 mb-4">
|
|
|
187
|
+ <view class="flex flex-col gap-2">
|
|
|
188
|
+ <view class="flex items-center gap-1 text-gray-500">
|
|
|
189
|
+ <wd-icon name="user" size="16px"></wd-icon>
|
|
|
190
|
+ 创建人: {{ workOrderDetail.createBy + '/' + (workOrderDetail.stationName || '无') }}
|
|
|
191
|
+ </view>
|
|
|
192
|
+ <view class="flex items-center gap-1 text-gray-500">
|
|
|
193
|
+ <wd-icon name="transfer" size="16px"></wd-icon>
|
|
|
194
|
+ 流程分类: {{ workOrderDetail.ticketTypeName }}
|
|
|
195
|
+ </view>
|
|
|
196
|
+ <view class="flex items-center gap-1 text-gray-500">
|
|
|
197
|
+ <wd-icon name="time" size="16px"></wd-icon>
|
|
|
198
|
+ 提交时间: {{ workOrderDetail.createTime }}
|
|
|
199
|
+ </view>
|
|
|
200
|
+ </view>
|
|
|
201
|
+ </view>
|
|
|
202
|
+ </view>
|
|
|
203
|
+
|
|
|
204
|
+ <!-- 工单详情内容 -->
|
|
|
205
|
+ <view class="detail-content">
|
|
|
206
|
+ <view class="detail-title">
|
|
|
207
|
+ <text class="text-lg font-medium">工单详情</text>
|
|
|
208
|
+ </view>
|
|
|
209
|
+
|
|
|
210
|
+ <!-- 基本信息 -->
|
|
|
211
|
+ <wd-card :border="true" :shadow="false" style="margin-bottom: 16rpx;">
|
|
|
212
|
+ <view class="card-content">
|
|
|
213
|
+ <view class="info-item flex items-center py-2">
|
|
|
214
|
+ <text class="info-label w-40">工单类型:</text>
|
|
|
215
|
+ <text class="info-value flex-1">{{ workOrderDetail.ticketTypeName }}</text>
|
|
|
216
|
+ </view>
|
|
|
217
|
+ <view class="info-item flex items-center py-2">
|
|
|
218
|
+ <text class="info-label w-40">场站:</text>
|
|
|
219
|
+ <text class="info-value flex-1">{{ workOrderDetail.stationName || '无' }}</text>
|
|
|
220
|
+ </view>
|
|
|
221
|
+ <view class="info-item flex items-center py-2">
|
|
|
222
|
+ <text class="info-label w-40">联系人:</text>
|
|
|
223
|
+ <text class="info-value flex-1">{{ workOrderDetail.contact || '无' }}</text>
|
|
|
224
|
+ </view>
|
|
|
225
|
+ <view class="info-item flex items-center py-2">
|
|
|
226
|
+ <text class="info-label w-40">联系电话:</text>
|
|
|
227
|
+ <text class="info-value flex-1">{{ workOrderDetail.phone || '无' }}</text>
|
|
|
228
|
+ </view>
|
|
|
229
|
+
|
|
|
230
|
+ <view class="info-item flex flex-col">
|
|
|
231
|
+ <text class="info-label w-40">提报内容:</text>
|
|
|
232
|
+ <text class="info-value flex-1">{{ workOrderDetail.content || '无' }}</text>
|
|
|
233
|
+ </view>
|
|
|
234
|
+
|
|
|
235
|
+ <!-- 附件 -->
|
|
|
236
|
+ <view class="info-item flex flex-col mt-4">
|
|
|
237
|
+ <text class="info-label w-40">附件:</text>
|
|
|
238
|
+ <view v-if="workOrderDetail.attachmentsUrl.length > 0" class="flex flex-wrap gap-2">
|
|
|
239
|
+ <view
|
|
|
240
|
+ v-for="(url, index) in workOrderDetail.attachmentsUrl"
|
|
|
241
|
+ :key="index"
|
|
|
242
|
+ class="w-20 h-20 cursor-pointer rounded overflow-hidden"
|
|
|
243
|
+ >
|
|
|
244
|
+ <wd-img :width="100" :height="100" :src="url" :enable-preview="true" />
|
|
|
245
|
+ </view>
|
|
|
246
|
+ </view>
|
|
|
247
|
+ <text v-else class="info-value">无</text>
|
|
|
248
|
+ </view>
|
|
|
249
|
+ </view>
|
|
|
250
|
+ </wd-card>
|
|
|
251
|
+ <view class="detail-title">
|
|
|
252
|
+ <text class="text-lg font-medium">工单流程</text>
|
|
|
253
|
+ </view>
|
|
|
254
|
+ <!-- 审批流程 -->
|
|
|
255
|
+ <wd-card :border="true" :shadow="false">
|
|
|
256
|
+ <view class="card-content">
|
|
|
257
|
+ <view v-if="workOrderRecords.length > 0">
|
|
|
258
|
+ <wd-steps :active="workOrderRecords.length - 1" vertical dot>
|
|
|
259
|
+ <wd-step
|
|
|
260
|
+ v-for="(record, index) in workOrderRecords"
|
|
|
261
|
+ :key="record.id"
|
|
|
262
|
+ :title="record.operationContent">
|
|
|
263
|
+ <template #description>
|
|
|
264
|
+ <view class="mt-2 ml-4">
|
|
|
265
|
+ <text class="text-sm font-medium">{{ `${record.operatorName} · ${record.operationTime}` }}</text>
|
|
|
266
|
+ <!-- 处理内容 -->
|
|
|
267
|
+ <view v-if="record.workOrderProcessRecords?.[0]?.processContent" class="mb-2 p-2 bg-gray-50 rounded">
|
|
|
268
|
+ <text class="text-sm font-medium">处理内容:</text>
|
|
|
269
|
+ <text class="text-sm">{{ record.workOrderProcessRecords[0].processContent }}</text>
|
|
|
270
|
+ <!-- 处理内容附件 -->
|
|
|
271
|
+ <view v-if="record.workOrderProcessRecords[0].attachmentsUrl" class="mt-2">
|
|
|
272
|
+ <view class="flex flex-wrap gap-2">
|
|
|
273
|
+ <view
|
|
|
274
|
+ v-for="(url, index) in record.workOrderProcessRecords[0].attachmentsUrl"
|
|
|
275
|
+ :key="index"
|
|
|
276
|
+ class="w-20 h-20 cursor-pointer rounded overflow-hidden">
|
|
|
277
|
+ <wd-img :width="100" :height="100" :src="url" :enable-preview="true" />
|
|
|
278
|
+ </view>
|
|
|
279
|
+ </view>
|
|
|
280
|
+ </view>
|
|
|
281
|
+ </view>
|
|
|
282
|
+
|
|
|
283
|
+ <!-- 延时申请 -->
|
|
|
284
|
+ <view v-if="record.operationType === 'APPLY_DELAY' && record.workOrderDelay?.[0]" class="mb-2 p-2 bg-gray-50 rounded">
|
|
|
285
|
+ <text class="text-sm font-medium">延时原因:</text>
|
|
|
286
|
+ <text class="text-sm">{{ record.workOrderDelay[0].delayReason }}</text>
|
|
|
287
|
+ <text v-if="record.workOrderDelay[0].delayDuration" class="text-sm block mt-1">
|
|
|
288
|
+ 延时时长:{{ record.workOrderDelay[0].delayDuration }} 小时
|
|
|
289
|
+ </text>
|
|
|
290
|
+ <!-- 延时申请附件 -->
|
|
|
291
|
+ <view v-if="record.workOrderDelay[0].attachmentsUrl" class="mt-2">
|
|
|
292
|
+ <view class="flex flex-wrap gap-2">
|
|
|
293
|
+ <view
|
|
|
294
|
+ v-for="(url, index) in record.workOrderProcessRecords[0].attachmentsUrl"
|
|
|
295
|
+ :key="index"
|
|
|
296
|
+ class="w-20 h-20 cursor-pointer rounded overflow-hidden"
|
|
|
297
|
+ >
|
|
|
298
|
+ <wd-img :width="100" :height="100" :src="url" :enable-preview="true" />
|
|
|
299
|
+ </view>
|
|
|
300
|
+ </view>
|
|
|
301
|
+ </view>
|
|
|
302
|
+ </view>
|
|
|
303
|
+
|
|
|
304
|
+ <!-- 延时审批 -->
|
|
|
305
|
+ <view v-if="record.operationType === 'AUDIT_DELAY' && record.workOrderDelay?.[0]" class="mb-2 p-2 bg-gray-50 rounded">
|
|
|
306
|
+ <text class="text-sm font-medium">审批意见:</text>
|
|
|
307
|
+ <text class="text-sm">{{ record.workOrderDelay[0].approveRemark }}</text>
|
|
|
308
|
+ <text v-if="record.workOrderDelay[0].approveStatus" class="text-sm block mt-1">
|
|
|
309
|
+ 审核状态:{{ record.workOrderDelay[0].approveStatus === '1' ? '同意' : '拒绝' }}
|
|
|
310
|
+ </text>
|
|
|
311
|
+ <text v-if="record.workOrderDelay[0].approveTime" class="text-sm block mt-1">
|
|
|
312
|
+ 新截止时间:{{ record.workOrderDelay[0].approveTime }}
|
|
|
313
|
+ </text>
|
|
|
314
|
+ </view>
|
|
|
315
|
+
|
|
|
316
|
+ <!-- 其他消息 -->
|
|
|
317
|
+ <view v-if="record.message && !['PROCESS', 'APPLY_DELAY', 'AUDIT_DELAY'].includes(record.operationType)" class="mb-2 p-2 bg-gray-50 rounded">
|
|
|
318
|
+ <text class="text-sm">{{ record.message }}</text>
|
|
|
319
|
+ </view>
|
|
|
320
|
+ </view>
|
|
|
321
|
+ </template>
|
|
|
322
|
+ </wd-step>
|
|
|
323
|
+ </wd-steps>
|
|
|
324
|
+ </view>
|
|
|
325
|
+ <text v-else>暂无工单流程记录</text>
|
|
|
326
|
+ </view>
|
|
|
327
|
+ </wd-card>
|
|
|
328
|
+ </view>
|
|
|
329
|
+
|
|
|
330
|
+ <!-- 底部悬浮按钮 -->
|
|
|
331
|
+ <view v-if="workOrderDetail.status === 'new'" class="bottom-actions">
|
|
|
332
|
+ <wd-button size="medium" custom-class="action-btn" @click="handleEdit">
|
|
|
333
|
+ 编辑
|
|
|
334
|
+ </wd-button>
|
|
|
335
|
+ <wd-button type="error" size="medium" custom-class="action-btn" @click="handleDelete">
|
|
|
336
|
+ 删除
|
|
|
337
|
+ </wd-button>
|
|
|
338
|
+ <wd-button size="medium" custom-class="action-btn" @click="handleSubmit">
|
|
|
339
|
+ 提交
|
|
|
340
|
+ </wd-button>
|
|
|
341
|
+ </view>
|
|
|
342
|
+ </view>
|
|
|
343
|
+</template>
|
|
|
344
|
+
|
|
|
345
|
+
|
|
|
346
|
+
|
|
|
347
|
+<style scoped>
|
|
|
348
|
+.work-order-detail {
|
|
|
349
|
+ padding: 20rpx;
|
|
|
350
|
+ padding-bottom: 160rpx;
|
|
|
351
|
+ background-color: #ffffff;
|
|
|
352
|
+ min-height: 100vh;
|
|
|
353
|
+}
|
|
|
354
|
+
|
|
|
355
|
+.detail-header {
|
|
|
356
|
+ background-color: #fff;
|
|
|
357
|
+ padding: 20rpx;
|
|
|
358
|
+}
|
|
|
359
|
+
|
|
|
360
|
+.status-tag {
|
|
|
361
|
+ padding: 4rpx 12rpx;
|
|
|
362
|
+ border-radius: 16rpx;
|
|
|
363
|
+ font-size: 24rpx;
|
|
|
364
|
+}
|
|
|
365
|
+
|
|
|
366
|
+.status-new {
|
|
|
367
|
+ background-color: #E8F5E9;
|
|
|
368
|
+ color: #4CAF50;
|
|
|
369
|
+}
|
|
|
370
|
+
|
|
|
371
|
+.status-pending {
|
|
|
372
|
+ background-color: #FEF4EB;
|
|
|
373
|
+ color: #FF9500;
|
|
|
374
|
+}
|
|
|
375
|
+
|
|
|
376
|
+.status-completed {
|
|
|
377
|
+ background-color: #F0F7FF;
|
|
|
378
|
+ color: #3498DB;
|
|
|
379
|
+}
|
|
|
380
|
+
|
|
|
381
|
+.status-default {
|
|
|
382
|
+ background-color: #F5F5F5;
|
|
|
383
|
+ color: #666;
|
|
|
384
|
+}
|
|
|
385
|
+
|
|
|
386
|
+.avatar {
|
|
|
387
|
+ width: 56rpx;
|
|
|
388
|
+ height: 56rpx;
|
|
|
389
|
+ border-radius: 50%;
|
|
|
390
|
+ background-color: #3194F2;
|
|
|
391
|
+ display: flex;
|
|
|
392
|
+ align-items: center;
|
|
|
393
|
+ justify-content: center;
|
|
|
394
|
+ color: white;
|
|
|
395
|
+ font-size: 24rpx;
|
|
|
396
|
+}
|
|
|
397
|
+
|
|
|
398
|
+.detail-content {
|
|
|
399
|
+ background-color: #fff;
|
|
|
400
|
+ padding: 20rpx;
|
|
|
401
|
+}
|
|
|
402
|
+
|
|
|
403
|
+.card-content {
|
|
|
404
|
+ padding: 20rpx 0;
|
|
|
405
|
+}
|
|
|
406
|
+
|
|
|
407
|
+.grid {
|
|
|
408
|
+ display: grid;
|
|
|
409
|
+ grid-template-columns: 1fr 1fr;
|
|
|
410
|
+ gap: 20rpx;
|
|
|
411
|
+}
|
|
|
412
|
+
|
|
|
413
|
+.info-item {
|
|
|
414
|
+ display: flex;
|
|
|
415
|
+ gap: 16rpx;
|
|
|
416
|
+}
|
|
|
417
|
+
|
|
|
418
|
+.info-item.flex-col {
|
|
|
419
|
+ flex-direction: column;
|
|
|
420
|
+ align-items: flex-start;
|
|
|
421
|
+}
|
|
|
422
|
+
|
|
|
423
|
+.w-40 {
|
|
|
424
|
+ width: 160rpx;
|
|
|
425
|
+ flex-shrink: 0;
|
|
|
426
|
+}
|
|
|
427
|
+
|
|
|
428
|
+.info-label {
|
|
|
429
|
+ font-size: 26rpx;
|
|
|
430
|
+ color: #666;
|
|
|
431
|
+ font-weight: 500;
|
|
|
432
|
+}
|
|
|
433
|
+
|
|
|
434
|
+.info-value {
|
|
|
435
|
+ font-size: 28rpx;
|
|
|
436
|
+ color: #333;
|
|
|
437
|
+ line-height: 1.5;
|
|
|
438
|
+}
|
|
|
439
|
+
|
|
|
440
|
+.preview-container {
|
|
|
441
|
+ width: 100%;
|
|
|
442
|
+ height: 80vh;
|
|
|
443
|
+ display: flex;
|
|
|
444
|
+ align-items: center;
|
|
|
445
|
+ justify-content: center;
|
|
|
446
|
+}
|
|
|
447
|
+
|
|
|
448
|
+.flex {
|
|
|
449
|
+ display: flex;
|
|
|
450
|
+}
|
|
|
451
|
+
|
|
|
452
|
+.flex-wrap {
|
|
|
453
|
+ flex-wrap: wrap;
|
|
|
454
|
+}
|
|
|
455
|
+
|
|
|
456
|
+.justify-between {
|
|
|
457
|
+ justify-content: space-between;
|
|
|
458
|
+}
|
|
|
459
|
+
|
|
|
460
|
+.items-center {
|
|
|
461
|
+ align-items: center;
|
|
|
462
|
+}
|
|
|
463
|
+
|
|
|
464
|
+.gap-2 {
|
|
|
465
|
+ gap: 16rpx;
|
|
|
466
|
+}
|
|
|
467
|
+
|
|
|
468
|
+.gap-4 {
|
|
|
469
|
+ gap: 32rpx;
|
|
|
470
|
+}
|
|
|
471
|
+
|
|
|
472
|
+.mb-3 {
|
|
|
473
|
+ margin-bottom: 24rpx;
|
|
|
474
|
+}
|
|
|
475
|
+
|
|
|
476
|
+.mb-4 {
|
|
|
477
|
+ margin-bottom: 32rpx;
|
|
|
478
|
+}
|
|
|
479
|
+
|
|
|
480
|
+.mt-4 {
|
|
|
481
|
+ margin-top: 32rpx;
|
|
|
482
|
+}
|
|
|
483
|
+
|
|
|
484
|
+.text-2xl {
|
|
|
485
|
+ font-size: 36rpx;
|
|
|
486
|
+}
|
|
|
487
|
+
|
|
|
488
|
+.font-bold {
|
|
|
489
|
+ font-weight: bold;
|
|
|
490
|
+}
|
|
|
491
|
+
|
|
|
492
|
+.text-gray-500 {
|
|
|
493
|
+ color: #999;
|
|
|
494
|
+ font-size: 24rpx;
|
|
|
495
|
+}
|
|
|
496
|
+
|
|
|
497
|
+.detail-title {
|
|
|
498
|
+ margin: 0 0 16rpx 0;
|
|
|
499
|
+ padding-bottom: 16rpx;
|
|
|
500
|
+ border-bottom: 1rpx solid #e5e7eb;
|
|
|
501
|
+}
|
|
|
502
|
+
|
|
|
503
|
+.text-lg {
|
|
|
504
|
+ font-size: 32rpx;
|
|
|
505
|
+}
|
|
|
506
|
+
|
|
|
507
|
+.font-medium {
|
|
|
508
|
+ font-weight: 500;
|
|
|
509
|
+}
|
|
|
510
|
+
|
|
|
511
|
+.bg-primary {
|
|
|
512
|
+ background-color: #3194F2;
|
|
|
513
|
+}
|
|
|
514
|
+
|
|
|
515
|
+.size-20px {
|
|
|
516
|
+ width: 20px;
|
|
|
517
|
+ height: 20px;
|
|
|
518
|
+}
|
|
|
519
|
+
|
|
|
520
|
+.size-28px {
|
|
|
521
|
+ width: 28px;
|
|
|
522
|
+ height: 28px;
|
|
|
523
|
+}
|
|
|
524
|
+
|
|
|
525
|
+.rounded-full {
|
|
|
526
|
+ border-radius: 50%;
|
|
|
527
|
+}
|
|
|
528
|
+
|
|
|
529
|
+.text-white {
|
|
|
530
|
+ color: white;
|
|
|
531
|
+}
|
|
|
532
|
+
|
|
|
533
|
+.bottom-actions {
|
|
|
534
|
+ position: fixed;
|
|
|
535
|
+ bottom: 0;
|
|
|
536
|
+ left: 0;
|
|
|
537
|
+ right: 0;
|
|
|
538
|
+ background-color: #fff;
|
|
|
539
|
+ padding: 20rpx;
|
|
|
540
|
+ display: flex;
|
|
|
541
|
+ gap: 20rpx;
|
|
|
542
|
+ box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.05);
|
|
|
543
|
+ z-index: 100;
|
|
|
544
|
+}
|
|
|
545
|
+
|
|
|
546
|
+.action-btn {
|
|
|
547
|
+ flex: 1;
|
|
|
548
|
+}
|
|
|
549
|
+</style>
|