Эх сурвалжийг харах

fix(SCRM-7504): 修复vant组件传值问题

john 9 сар өмнө
parent
commit
3c41456ea6

+ 1 - 27
src/pages/vehicleManagement.vue

@@ -108,7 +108,7 @@
       <div class="add_plate_btn">+添加车牌号</div>
       <div class="btnpb"></div>
     </div>
-    <van-dialog class="dialog-box" v-model="show" title="删除已绑定车牌" show-cancel-button confirm-button-color="var(--k-color-primary-01, #064c8a)" @confirm="doDelete">
+    <van-dialog class="vehicleManagement_dialog-box" v-model:show="show" title="删除已绑定车牌" show-cancel-button confirm-button-color="var(--k-color-primary-01, #064c8a)" @confirm="doDelete">
       <div class="info">是否确认删除已经绑定车牌</div>
       <div class="activeCarno">{{ activeCarnoFilter(activeCarno) }}</div>
     </van-dialog>
@@ -525,30 +525,4 @@ export default {
     color: #ffffff;
   }
 }
-
-.dialog-box {
-  border-radius: 10px;
-  
-  .van-dialog__header {}
-  :deep(.van-dialog__content) {
-    margin-top: 34px;
-    
-    text-align: center;
-    font-family: 'PingFang SC';
-    font-style: normal;
-    font-weight: 400;
-    font-size: 30px;
-    color: #333333;
-    .info {
-      margin-bottom: 20px;  
-    }
-    .activeCarno {
-      font-family: 'PingFang SC';
-      font-style: normal;
-      font-weight: 500;
-      font-size: 36px;
-      margin-bottom: 28px;
-    }
-  }
-}
 </style>

+ 25 - 0
src/styles/common.less

@@ -149,4 +149,29 @@ button {
 
 .USERshowLoadingToast {
   width: fit-content;
+}
+
+/* 车里管理删除UI */
+.vehicleManagement_dialog-box {
+  border-radius: 10px;
+  .van-dialog__content {
+    margin-top: 34px;
+    
+    text-align: center;
+    font-family: 'PingFang SC';
+    font-style: normal;
+    font-weight: 400;
+    font-size: 30px;
+    color: #333333;
+    .info {
+      margin-bottom: 20px;  
+    }
+    .activeCarno {
+      font-family: 'PingFang SC';
+      font-style: normal;
+      font-weight: 500;
+      font-size: 36px;
+      margin-bottom: 28px;
+    }
+  }
 }