From 983dddd66ab8a999544272089e8c0fc12370f356 Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期一, 08 十二月 2025 22:38:22 +0800
Subject: [PATCH] 通用界面,不良功能搬运至平板程序

---
 pages/QC/SJ/detail.vue |   88 ++++++++++++++++++++++++++++++++++---------
 1 files changed, 69 insertions(+), 19 deletions(-)

diff --git a/pages/QC/SJ/detail.vue b/pages/QC/SJ/detail.vue
index b45faff..6a7e212 100644
--- a/pages/QC/SJ/detail.vue
+++ b/pages/QC/SJ/detail.vue
@@ -98,12 +98,7 @@
               <view class="info-value">{{formData.result}}</view>
             </view>
           </view>
- 
-          <view v-if="formData.result != null" class="result-preview">
-            <view class="info-label">棰勮缁撴灉</view>
-            <view class="info-value">{{formData.result}}</view>
-          </view>
- 
+
           <view v-if="formData.remarks != null" class="result-ng">
             <view class="info-label">涓嶅悎鏍兼弿杩�</view>
             <view class="info-value danger">{{formData.remarks}}</view>
@@ -135,16 +130,6 @@
           
           <view class="input-group">
             <view class="input-wrapper">
-              <button class="btn upload-btn" @tap="saveRemarks">
-                <uni-icons type="compose" size="16" color="#fff"></uni-icons>
-                涓嶅悎鏍兼弿杩�
-              </button>
-              
-              <button class="btn attachment-btn" @tap="viewAttachmentInfo">
-                <uni-icons type="folder" size="16" color="#fff"></uni-icons>
-                鏌ョ湅闄勪欢淇℃伅
-              </button>
-              
               <input v-if="!isAllCompleted"
                 v-model="formData.fcheckResu"
                 type="text"
@@ -161,6 +146,18 @@
 
       <!-- 鎿嶄綔鎸夐挳 -->
       <view class="action-buttons">
+        <button class="btn upload-btn" @tap="saveRemarks">
+          <view class="btn-content">
+            <uni-icons type="compose" size="16" color="#fff"></uni-icons>
+            <view class="btn-text">涓嶅悎鏍兼弿杩�</view>
+          </view>
+        </button>
+        <button class="btn attachment-btn" @tap="viewAttachmentInfo">
+          <view class="btn-content">
+            <uni-icons type="folder" size="16" color="#fff"></uni-icons>
+            <view class="btn-text">鏌ョ湅闄勪欢淇℃伅</view>
+          </view>
+        </button>
         <button class="action-btn success tablet-upload-btn" @click="uploadImage">
           <view class="btn-content">
             <view class="btn-icon">馃摲</view>
@@ -1693,19 +1690,71 @@
   display: flex;
   justify-content: flex-end;
   gap: 12px;
- 
+
   .btn {
     padding: 8px 20px;
     border-radius: 4px;
- 
+
     &.primary-btn {
       background-color: $primary-color;
       color: #fff;
     }
- 
+
     &.cancel-btn {
       background-color: #909399;
       color: #fff;
+    }
+
+    &.upload-btn {
+      background-color: #909399;
+      color: #fff;
+      border: none;
+      border-radius: 8px;
+      padding: 12px 20px;
+      margin: 0;
+      font-size: 14px;
+      font-weight: 600;
+      min-height: 48px;
+      white-space: nowrap;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      gap: 8px;
+      cursor: pointer;
+      transition: all 0.3s ease;
+      box-shadow: 0 4px 12px rgba(144, 147, 153, 0.3);
+    }
+
+    &.upload-btn:hover {
+      background-color: #7a7d82;
+      transform: translateY(-2px);
+      box-shadow: 0 6px 16px rgba(144, 147, 153, 0.4);
+    }
+
+    &.attachment-btn {
+      background-color: #17a2b8;
+      color: #fff;
+      border: none;
+      border-radius: 8px;
+      padding: 12px 20px;
+      margin: 0;
+      font-size: 14px;
+      font-weight: 600;
+      min-height: 48px;
+      white-space: nowrap;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      gap: 8px;
+      cursor: pointer;
+      transition: all 0.3s ease;
+      box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
+    }
+
+    &.attachment-btn:hover {
+      background-color: #138496;
+      transform: translateY(-2px);
+      box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
     }
   }
 }
@@ -2391,6 +2440,7 @@
   align-items: center;
   justify-content: center;
   min-height: 48px;
+  margin: 0;
 }
 
 .tablet-upload-btn:hover {

--
Gitblit v1.9.3