From 2ef086d9d076fb2b59c5b71451e04b836fe37317 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 28 May 2025 11:29:22 +0800
Subject: [PATCH] feat:css调整
---
src/views/tickets/ticket.vue | 48 +++++++++++++++++++++++++++++-------------------
1 files changed, 29 insertions(+), 19 deletions(-)
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 4391250..2324fe0 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -344,7 +344,7 @@
<div
v-if="totalTime"
class="event-total-time"
- style="text-align: center; color: #666; font-size: 15px; margin-bottom: 12px"
+
>
总耗时:{{ totalTime }}
</div>
@@ -373,16 +373,8 @@
</span>
<div class="step-description" v-if="getStepTime(status)">
<span
- style="
- position: absolute;
- right: 80%;
- top: 50%;
- transform: translateY(-50%);
- width: 100px;
- margin-left: 4px;
- color: #666;
- font-size: 12px;
- "
+ class="step-timer"
+
>
耗时:{{ getStepTime(status) }}
</span>
@@ -400,7 +392,8 @@
:show-header="false"
:data="formattedDetailFields"
border
- style="width: 100%; margin-bottom: 20px"
+ class="tableCss"
+
>
<el-table-column prop="label1" label="基本信息" width="150">
<template #default="{ row }">
@@ -519,8 +512,8 @@
<!-- 上传图片 -->
<div
v-if="[3].includes(currentDetail.status)"
- class="form-section"
- style="margin-bottom: 32px"
+ class="form-section uploadImg"
+
>
<div class="section-title" v-if="hasProcessedAndOverBtnPermission()">
<!-- 已完成状态显示必填星号 -->
@@ -549,7 +542,7 @@
</el-upload>
<div
class="el-upload__tip"
- style="margin-top: 12px"
+
v-if="hasProcessedAndOverBtnPermission()"
>
(上传照片即可完结工单,只能上传jpg、jpeg、png照片,且不超过5M)
@@ -1531,8 +1524,7 @@
job_create_time: item.job_create_time || '',
isReview: item.is_review, // 添加复核状态字段映射
};
- });
- console.log('this.tableData',this.tableData);
+ })
// 更新总数显示
this.page.total = total || 0;
@@ -2837,7 +2829,25 @@
</script>
<style lang="scss" scoped>
-
+.uploadImg {
+ margin-bottom: 32px
+}
+.tableCss {
+ width: 100%; margin-bottom: 20px
+}
+.step-timer {
+ position: absolute;
+ right: 80%;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 100px;
+ margin-left: 4px;
+ color: #666;
+ font-size: 12px;
+}
+.event-total-time {
+ text-align: center; color: #666; font-size: 15px; margin-bottom: 12px
+}
.tab-content {
padding: 10px;
}
@@ -2914,7 +2924,7 @@
.el-upload__tip {
font-size: 12px;
color: #909399;
- margin-top: 7px;
+ margin-top: 12px;
}
.create-ticket-form {
--
Gitblit v1.9.3