Browse Source

移动端头部规范

yangc 7 years ago
parent
commit
68fd9f03c1

+ 9 - 7
components/applyPurchase/articleOne.vue

@@ -181,14 +181,16 @@
       }
     },
     mounted () {
-      document.getElementsByClassName('el-upload-dragger')[0].onclick = function (event) {
-        event.stopPropagation()
-      }
       let _this = this
-      document.body.onclick = function () {
-        _this.showSimilarCodeList = false
-        _this.showSimilarBrandList = false
-      }
+      this.$nextTick(() => {
+        document.getElementsByClassName('el-upload-dragger')[0].onclick = function (event) {
+          event.stopPropagation()
+        }
+        document.body.onclick = function () {
+          _this.showSimilarCodeList = false
+          _this.showSimilarBrandList = false
+        }
+      })
     },
     methods: {
       emptyForm: function () {

+ 1 - 1
pages/mobile/order/details.vue

@@ -888,7 +888,7 @@
   }
   .order-wrapper {
     background: #f1f3f6;
-    margin: 0.88rem 0 0.98rem 0;
+    margin: 1.26rem 0 0.98rem 0;
     height: calc(100vh - 0.88rem - 0.96rem);
     overflow-y: scroll;
     .order-details-wrap {

+ 1 - 1
pages/mobile/order/index.vue

@@ -827,7 +827,7 @@
   }
 .order-wrapper {
   background: #f1f3f6;
-  margin: 0.88rem 0 0.98rem 0;
+  margin: 1.26rem 0 0.98rem 0;
   height: calc(100vh - 0.88rem - 0.96rem);
   overflow-y: scroll;
   /*padding-bottom: 0.96rem;*/

+ 1 - 1
pages/mobile/order/logistics.vue

@@ -101,7 +101,7 @@
   }
   .order-wrapper {
     background: #f1f3f6;
-    margin: 0.88rem 0 0.98rem 0;
+    margin: 1.26rem 0 0.98rem 0;
     height: calc(100vh - 0.88rem - 0.98rem);
     overflow-y: scroll;
     .logistics_top {