Quellcode durchsuchen

Merge branch 'feature_20260508_图片识别弹出框ui优化' into uat(dev)

zhujindu vor 12 Stunden
Ursprung
Commit
4ee9ecdb68

+ 1 - 1
src/components/uploadVNormal.vue

@@ -258,7 +258,7 @@ export default {
                     },
                     function (err) {
                       that.addressesRemark = '';
-                    }
+                    },
                   );
                 },
                 fail: function () {

+ 9 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -3662,7 +3662,12 @@
       </van-form>
     </div>
     <br />
-    <van-dialog v-model="show" :show-confirm-button="false" show-cancel-button title="上传图片">
+    <van-dialog
+      v-model="show"
+      :show-confirm-button="false"
+      show-cancel-button
+      title="上传图片"
+      className="uploadDialog">
       <van-field
         v-if="indexselect == '1'"
         :value="PhotoTypeText"
@@ -6677,5 +6682,8 @@ export default {
     font-size: 12px;
     margin: 3px 0;
   }
+  .uploadDialog {
+    padding: 20px 0;
+  }
 }
 </style>

+ 16 - 8
src/views/deviceWithin/addStoreVisitd.vue

@@ -612,7 +612,12 @@
       </van-form>
     </div>
     <br />
-    <van-dialog v-model="show" :show-confirm-button="false" show-cancel-button title="上传图片">
+    <van-dialog
+      v-model="show"
+      :show-confirm-button="false"
+      show-cancel-button
+      title="上传图片"
+      className="uploadDialog">
       <van-field
         v-if="indexselect == '1'"
         :value="PhotoTypeText"
@@ -908,7 +913,7 @@ export default {
     formatter(value) {
       return value.replace(
         /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,
-        ''
+        '',
       );
     },
     editDwellTimes() {
@@ -939,8 +944,8 @@ export default {
             /\.\d{2,}$/,
             this.collectionItemList[index].answerValue.substr(
               this.collectionItemList[index].answerValue.indexOf('.'),
-              3
-            )
+              3,
+            ),
           );
         }
       } else {
@@ -951,8 +956,8 @@ export default {
             /\.\d{2,}$/,
             this.collectionItemList[index].answerValue.substr(
               this.collectionItemList[index].answerValue.indexOf('.'),
-              3
-            )
+              3,
+            ),
           );
         }
       }
@@ -1036,7 +1041,7 @@ export default {
               for (var qq = 0; qq < collectionItemLists[q].collectionOptionList.length; qq++) {
                 if (collectionItemLists[q].collectionOptionList[qq].isCheck == 1) {
                   collectionItemLists[q].answerValue.push(
-                    collectionItemLists[q].collectionOptionList[qq].collectionOptionId
+                    collectionItemLists[q].collectionOptionList[qq].collectionOptionId,
                   );
                   collectionItemLists[q].collectionOptionList[qq].code =
                     collectionItemLists[q].collectionCode;
@@ -1098,7 +1103,7 @@ export default {
                             listchild[qq1].secondCollectionId;
                           if (listchild[qq1].collectionOptionList[qq2].isCheck == 1) {
                             listchild[qq1].answerValue.push(
-                              listchild[qq1].collectionOptionList[qq2].collectionOptionId
+                              listchild[qq1].collectionOptionList[qq2].collectionOptionId,
                             );
                             // this.collectionAnswerlisd.push(listchild[qq1].collectionOptionList[qq2]);
                           }
@@ -1972,4 +1977,7 @@ export default {
 .formLabel .mobile-input {
   border: 0 !important;
 }
+.uploadDialog {
+  padding: 20px 0;
+}
 </style>