瀏覽代碼

修改阅读条例样式及报价框位置

yangc 7 年之前
父節點
當前提交
b68ff43b6f

+ 1 - 1
assets/scss/commonComponent.scss

@@ -457,6 +457,6 @@ div.tip{
   left: 0;
   right: 0;
   background: rgba(0, 0, 0, .3);
-  z-index: 1;
+  z-index: 99;
 }
 /*----------遮罩层 end-------------*/

+ 1 - 1
components/applyPurchase/SayPrice.vue

@@ -347,7 +347,7 @@
     width: 476px;
     top: 50%;
     left: 50%;
-    margin-top: -183px;
+    margin-top: -325px;
     margin-left: -238px;
     overflow-y: auto;
     /*-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);*/

+ 14 - 1
components/common/upload/upload.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <div class="preview">
-      <img :src="qualifications.url==''?'/images/all/upload-apply.png': isPdf?'/images/all/timg.png':qualifications.url" class="previewImage"/>
+      <img :src="qualifications.url==''? uploadImgTemp : isPdf?'/images/all/timg.png':qualifications.url" class="previewImage" :class="{'mobile-previewImage': isMobile}"/>
       <input type="file" v-if="!qualifications.url" class="com-input" @change="update" accept="image/jpeg,image/jpg,image/gif,image/bmp,image/png,.pdf" />
     </div>
     <div class="hover-show" v-if="qualifications.url">
@@ -39,6 +39,11 @@
         }
       }
     },
+    computed: {
+      uploadImgTemp () {
+        return this.isMobile ? '/images/mobile/openStore/upload.png' : '/images/all/upload-apply.png'
+      }
+    },
     methods: {
       update (e) {
         let file = e.target.files[0]
@@ -94,3 +99,11 @@
     }
   }
 </script>
+<style scoped>
+  .mobile-previewImage {
+    width: .5rem !important;
+    height: .5rem !important;
+    display: block;
+    margin: .3rem auto 0 !important;
+  }
+</style>

+ 26 - 5
components/mobile/register-saler/register/StepSecond.vue

@@ -1,6 +1,6 @@
 <template>
   <!--阅读服务协议-->
-  <div class="section">
+  <div class="section mobile-step">
     <div class="mobile-agreement">
       <div class="mobile-join_xieyi">
         <div class="article-flag">
@@ -11,12 +11,10 @@
         <div class="text-area">
           <div class="ql-container ql-snow" v-html="article"></div>
         </div>
-        <div class="row" style="margin:10px 0 10px 0;padding:0 0.2rem;">
+        <div class="row" style="margin:10px 0 10px 0;">
           <div class="checkbox-inline">
             <input type="checkbox" id="agree" name="agree" value="1" :checked="checkData.checked" @click="onCheck()" style="-webkit-appearance:checkbox">
-            我已阅读并同意<a href="http://www.usoftmall.com/help#/issue/50" target="_blank">
-            《优软商城服务条款》</a>、<a href="http://www.usoftmall.com/help#/issue/16" target="_blank">
-            《优软商城买卖条例》</a>
+            我已阅读并同意<a href="http://www.usoftmall.com/help#/issue/50" target="_blank" style="margin-right: -.1rem">《优软商城服务条款》</a>、<a href="http://www.usoftmall.com/help#/issue/16" target="_blank" style="margin-left: -.26rem">《优软商城买卖条例》</a>
           </div>
         </div>
         <div class="row next-btn step-two-btn" style="padding-top: 0px;">
@@ -123,4 +121,27 @@
   .ql-container.ql-snow {
     border: none;
   }
+  .mobile-join_xieyi .ql-editor span, .mobile-join_xieyi .ql-editor a {
+    font-size: .24rem;
+  }
+  .mobile-join_xieyi .ql-editor .ql-size-20 {
+    display: block;
+    margin: .3rem auto;
+    width: fit-content;
+    font-size: .28rem;
+  }
+  .mobile-step .checkbox-inline, .radio-inline {
+    padding: 0;
+  }
+  .mobile-tab-list .checkbox-inline {
+    padding-left: .7rem;
+  }
+  .mobile-step .checkbox-inline input {
+    margin: 0;
+    position: absolute;
+    left: 0.3rem;
+    top: 0;
+    width: .3rem;
+    height: .3rem;
+  }
 </style>

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

@@ -248,7 +248,7 @@
     text-align: center;
     cursor: pointer;
     color: #a0a0a0;
-    font-size: 0.24rem;
+    font-size: 0.28rem;
     width: 50%;
     display: inline-block;
   }

二進制
static/images/mobile/openStore/upload.png