Browse Source

开店申请移动端样式修改

shenjj 7 years ago
parent
commit
6bb5737245

+ 2 - 1
components/mobile/MobileFooter.vue

@@ -101,7 +101,8 @@
         this.url = url
         this.url = url
         if (this.user.logged) {
         if (this.user.logged) {
           if (isSelf && (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313)) {
           if (isSelf && (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313)) {
-            this.onRemind('请前往账户中心【我】进行开店申请')
+            // this.onRemind('请前往账户中心【我】进行开店申请')
+            this.onRemind('请前往PC端申请开店')
           } else {
           } else {
             this.$router.push(url)
             this.$router.push(url)
           }
           }

+ 3 - 3
components/mobile/register-saler/register/StepThird.vue

@@ -565,9 +565,9 @@
                     .then(() => {
                     .then(() => {
                       this.$http.get(`/user/authentication/` + enuu).then(() => {
                       this.$http.get(`/user/authentication/` + enuu).then(() => {
                         this.$store.dispatch('loadUserInfo')
                         this.$store.dispatch('loadUserInfo')
-                        // setTimeout(() => {
-                        this.$router.push('/mobile/user')
-                        // }, 3000)
+                        setTimeout(() => {
+                          this.$router.push('/mobile/user')
+                        }, 3000)
                       })
                       })
                     })
                     })
                 })
                 })

+ 3 - 3
components/register-saler/register/StepThird.vue

@@ -507,9 +507,9 @@
                       })
                       })
                     })
                     })
                 })
                 })
-              window.setTimeout(function () {
-                window.location.href = '/vendor#/store-apply/wait'
-              }, 3000)
+              // window.setTimeout(function () {
+              //   window.location.href = '/vendor#/store-apply/wait'
+              // }, 3000)
             }, err => {
             }, err => {
               console.log(err)
               console.log(err)
               this.$http.post('/basic/enterprise/openVendorSetRead/' + enuu)
               this.$http.post('/basic/enterprise/openVendorSetRead/' + enuu)

+ 2 - 1
pages/mobile/center/vendor/index.vue

@@ -93,7 +93,8 @@
         if (this.storeInfo.uuid) {
         if (this.storeInfo.uuid) {
           this.$router.push(`/mobile/shop/${this.storeInfo.uuid}`)
           this.$router.push(`/mobile/shop/${this.storeInfo.uuid}`)
         } else {
         } else {
-          this.onRemind('请前往账户中心【我】进行开店申请')
+          // this.onRemind('请前往账户中心【我】进行开店申请')
+          this.onRemind('请前往PC端申请开店')
         }
         }
       },
       },
       onRemind: function (str) {
       onRemind: function (str) {

+ 21 - 19
pages/mobile/user/index.vue

@@ -25,20 +25,21 @@
         <i class="iconfont icon-xiangyou"></i>
         <i class="iconfont icon-xiangyou"></i>
         <span class="l-right">{{currentEnName}}</span>
         <span class="l-right">{{currentEnName}}</span>
       </div>
       </div>
-      <div class="line" @click="go('/mobile/user/storeinfo')" v-if="storeStatus.uuid">
+      <!--v-if="storeStatus.uuid"-->
+      <div class="line" @click="go('/mobile/user/storeinfo')" >
         <div class="img-wrap">
         <div class="img-wrap">
           <img src="/images/mobile/user/icon_02.png" alt="">
           <img src="/images/mobile/user/icon_02.png" alt="">
         </div>
         </div>
         <span>店铺信息</span>
         <span>店铺信息</span>
         <i class="iconfont icon-xiangyou"></i>
         <i class="iconfont icon-xiangyou"></i>
       </div>
       </div>
-      <div class="line" @click="go('/mobile/user/storeinfo')" v-else>
-        <div class="img-wrap">
-          <img src="/images/mobile/user/apply-store.png" alt="">
-        </div>
-        <span>开店申请</span>
-        <i class="iconfont icon-xiangyou"></i>
-      </div>
+      <!--<div class="line" @click="go('/mobile/user/storeinfo')" v-else>-->
+        <!--<div class="img-wrap">-->
+          <!--<img src="/images/mobile/user/apply-store.png" alt="">-->
+        <!--</div>-->
+        <!--<span>开店申请</span>-->
+        <!--<i class="iconfont icon-xiangyou"></i>-->
+      <!--</div>-->
       <div class="line block-line" @click="go('/mobile/user/enterpriseinfo')">
       <div class="line block-line" @click="go('/mobile/user/enterpriseinfo')">
         <div class="img-wrap">
         <div class="img-wrap">
           <img src="/images/mobile/user/icon_03.png" alt="">
           <img src="/images/mobile/user/icon_03.png" alt="">
@@ -133,7 +134,7 @@
             this.showLogin = false
             this.showLogin = false
             this.$store.dispatch('loadStoreStatus', {op: 'check'})
             this.$store.dispatch('loadStoreStatus', {op: 'check'})
             this.$http.get('/store-service/applications?status=normal').then(res => {
             this.$http.get('/store-service/applications?status=normal').then(res => {
-              this.applyStatus = res.data.data.status
+              this.applyStatus = res.data.data.status || ''
             })
             })
           })
           })
         })
         })
@@ -155,16 +156,17 @@
           if (this.storeStatus.uuid) {
           if (this.storeStatus.uuid) {
             this.$router.push(url)
             this.$router.push(url)
           } else {
           } else {
-            if (this.applyStatus === 'PREPARE') {
-              this.setRemindText('您的申请已提交,请耐心工作人员审核(2-3个工作日)')
-            } else {
-              if (!this.$store.state.option.user.data.enterprise.uu) {
-                // 进入个人绑定企业页面
-                this.$router.push('/mobile/store/register')
-              } else {
-                this.$router.push('/mobile/store')
-              }
-            }
+            this.setRemindText('请前往PC端申请开店')
+            // if (this.applyStatus === 'PREPARE') {
+            //   this.setRemindText('您的申请已提交,请耐心工作人员审核(2-3个工作日)')
+            // } else {
+            //   if (!this.$store.state.option.user.data.enterprise.uu) {
+            //     // 进入个人绑定企业页面
+            //     this.$router.push('/mobile/store/register')
+            //   } else {
+            //     this.$router.push('/mobile/store')
+            //   }
+            // }
           }
           }
         } else if (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313) {
         } else if (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313) {
           this.setRemindText('请先前往pc端完善企业信息')
           this.setRemindText('请先前往pc端完善企业信息')