hangb 8 år sedan
förälder
incheckning
2eb148742c

+ 7 - 1
components/mobile/enterpriseCertification/addressChoose.vue

@@ -334,7 +334,9 @@
         color: #505050;
       }
       input{
-        height: 1rem;
+        height: .9rem;
+        color: #555;
+        font-size: .28rem;
         border: none;
       }
       i{
@@ -387,9 +389,11 @@
   li {
     display: inline-block;
     padding: 10px 10px 7px;
+    color: #000;
   &.active {
      border-bottom: #52697f solid 3px;
      color: #52697f;
+    font-weight: bold;
    }
   }
   }
@@ -400,10 +404,12 @@
     height: 100%;
     overflow: auto;
   li {
+    color: #555;
     padding: 8px 10px;
     border-top: 1px solid #f6f6f6;
   &.active {
      color: #52697f;
+     font-weight: bold;
    }
   }
   }

+ 4 - 3
components/mobile/enterpriseCertification/stepOne.vue

@@ -44,7 +44,7 @@
         <mt-field readonly aria-haspopup="true" aria-expanded="false"
                   placeholder="注册地址"
                   v-model="valid.regAddress"
-                  @click.native="chooseAddress(choose)"></mt-field>
+                  @click.native="chooseAddress('choose')"></mt-field>
         <i class="fa fa-map-marker fa-p"></i>
       </div>
       <div class="form-btn">
@@ -89,8 +89,9 @@
         })
       },
       // 获取地址
-      chooseAddress (type) {
-        this.$emit('stepEvent', type)
+      chooseAddress (step) {
+        console.log(step)
+        this.$emit('stepEvent', step)
       },
       // 验证企业名称
       validateSpaceName () {

+ 2 - 1
pages/certification/enterpriseCertification.vue

@@ -3,7 +3,7 @@
     <template v-if="isMobile">
       <step-one v-if="step === 'first'" @stepEvent="setStep"/>
       <step-last v-if="step === 'await'" :step="step"/>
-      <address-choose v-if="step === choose" @stepEvent="setStep"/>
+      <address-choose v-if="step === 'choose'" @stepEvent="setStep"/>
     </template>
     <template v-else>
       <accountCenter-header/>
@@ -42,6 +42,7 @@
     },
     methods: {
       setStep (step) {
+        console.log(step)
         this.step = step
       }
     }