From b1205edb1d27e40feaf893daa64e9a941fb88ceb Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 27 May 2025 17:25:13 +0800
Subject: [PATCH] feat:调整样式

---
 src/views/tickets/ticket.vue |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 32fcb3d..4391250 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -559,7 +559,7 @@
         <!-- 图片和地图部分 -->
         <div class="media-section">
           <el-row :gutter="20">
-            <el-col :span="1"><div class="leftBtn" @click="leftClick"><</div></el-col>
+            <el-col :span="1"><div class="leftBtn" :class="currentIndex ===0 ? 'disableds':''" @click="leftClick"><</div></el-col>
             <el-col :span="11">
               <div class="media-box">
                 <div class="media-title">事件图片</div>
@@ -625,7 +625,9 @@
                 </template>
               </div>
             </el-col>
-            <el-col :span="1"><div class="leftBtn" @click="rightClick">></div></el-col>
+            <el-col :span="1"><div 
+            :class="currentIndex === tableData.length-1 ? 'disableds':''" class="leftBtn" @click="rightClick">></div>
+            </el-col>
           </el-row>
         </div>
 
@@ -1310,7 +1312,6 @@
       this.currentDetail.updatePhotoUrl = this.currentDetail.update_photo_url;
       this.currentDetail.processingDetail = this.currentDetail.content;
       this.handleViewDetail(this.currentDetail)
-console.log('this.currentDetail', this.tableData);
 
       // 如果使用地图组件,需要更新地图标记
       this.$nextTick(() => {
@@ -1531,7 +1532,7 @@
             isReview: item.is_review, // 添加复核状态字段映射
           };
         });
-        // console.log('this.tableData',this.tableData);
+        console.log('this.tableData',this.tableData);
 
         // 更新总数显示
         this.page.total = total || 0;
@@ -2836,6 +2837,7 @@
 </script>
 
 <style lang="scss" scoped>
+
 .tab-content {
   padding: 10px;
 }
@@ -3188,6 +3190,13 @@
   line-height: 36px;
   color: #fff;
   cursor: pointer;
+  opacity: 0.8;
+}
+.disableds {
+	background: #999 !important;
+	cursor: not-allowed !important;
+	pointer-events: none;
+   opacity: 0.3 !important;
 }
 .media-box {
   width: 100%;

--
Gitblit v1.9.3