Browse Source

修改严重BUG

shenjj 7 years ago
parent
commit
5c6b57698f

+ 2 - 2
components/common/upload/upload.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <div class="preview">
-      <img :src="qualifications.url==''? uploadImgTemp : isPdf?'/images/all/timg.png':qualifications.url" class="previewImage" :class="{'mobile-previewImage': isMobile}"
+      <img :src="qualifications.url===''? uploadImgTemp : isPdf?'/images/all/timg.png':qualifications.url" class="previewImage" :class="{'mobile-previewImage': isMobile}"
         :style="imgStyle"
       />
       <input type="file" v-if="!qualifications.url" class="com-input" @change="update" accept="image/jpeg,image/jpg,image/gif,image/bmp,image/png,.pdf" />
@@ -48,7 +48,7 @@
       }
     },
     mounted() {
-      this.qualifications.url = this.url
+      this.qualifications.url = this.url || ''
     },
     methods: {
       update (e) {

+ 2 - 1
components/mobile/common/PullUp.vue

@@ -67,7 +67,8 @@
         } if (this.FixedEl) {
           let obj = document.getElementById(this.fixId)
           // availHeight = document.getElementById(this.fixId).clientHeight + 50
-          if (obj.clientHeight + obj.scrollTop >= obj.scrollHeight && !this.searchMore && this.page < this.allPage) {
+          let _sc = obj.clientHeight + obj.scrollTop
+          if (obj.clientHeight + obj.scrollTop >= obj.scrollHeight - 30 && !this.searchMore && this.page < this.allPage) {
             this.getMore()
           }
         } else if (Math.ceil(scrolled + availHeight) >= height && !this.searchMore && this.page < this.allPage) {

+ 2 - 2
pages/mobile/center/vendor/productdetails.vue

@@ -771,10 +771,10 @@
         .labelInput {
           display: inline-block;
           vertical-align: top;
-          width: 5.1rem;
+          width: 5rem;
           text-indent: 0;
           input {
-            width: 4.7rem;
+            width: 4.6rem;
             color: #333;
             font-size: .24rem;
             height: 0.44rem;

+ 3 - 2
pages/mobile/store/index.vue

@@ -367,9 +367,10 @@
   }
 
   .mobile-tab-list div.mobile-vendor_store_apply .custom_col img.previewImage {
-    width: 100%;
+    /*width: 100%;*/
     cursor: pointer;
-    height: 1.09rem;
+    /*height: 1.09rem;*/
+    margin: .3rem auto 0;
     /*padding: 0 30px;*/
   }