Selaa lähdekoodia

feature_20260203_完美门店

zhujindu 3 päivää sitten
vanhempi
commit
c16b3cb521
1 muutettua tiedostoa jossa 19 lisäystä ja 11 poistoa
  1. 19 11
      src/views/historicalVisit/perfectStoreTask.vue

+ 19 - 11
src/views/historicalVisit/perfectStoreTask.vue

@@ -95,13 +95,17 @@
             <div class="itemHtml" v-html="item.displayInstructions"></div>
           </div>
           <div class="itemBottom" v-if="insert == '0'">
-            <img
+            <van-button round type="primary" v-if="item.taskPhotoConditionPassed == 1"
+              >通过</van-button
+            >
+            <van-button round type="danger" v-else>不通过</van-button>
+            <!-- <img
               @click="openDialog"
               :src="
                 item.taskPhotoConditionPassed == 1
                   ? require('@/assets/taskPhotoSu.png')
                   : require('@/assets/taskPhotoErr.png')
-              " />
+              " /> -->
           </div>
         </div>
       </div>
@@ -367,12 +371,18 @@ export default {
       }
       .itemBottom {
         align-items: center;
-        width: 35px;
+        width: 60px;
         margin-left: 5px;
         img {
           width: 100%;
           height: 30px;
         }
+        button {
+          width: 55px;
+          height: 25px;
+          padding: 0;
+          font-size: 12px;
+        }
       }
     }
   }
@@ -386,14 +396,12 @@ export default {
 }
 </style>
 <style lang="scss">
-// .perfectStoreTask {
-//   .itenHtml {
-//     overflow: hidden;
-//     img {
-//       width: 100%;
-//     }
-//   }
-// }
+.perfectStoreTask {
+  .van-button--danger {
+    background-color: #ee0a24 !important;
+    border: 1px solid #ee0a24 !important;
+  }
+}
 .identifyResultdialog {
   width: vw(690) !important;
   margin-top: 1vh !important;