浏览代码

开店申请移动端样式修改

shenjj 7 年之前
父节点
当前提交
a6032c0581

+ 1 - 0
assets/scss/mobileCenter.scss

@@ -77,6 +77,7 @@
       }
       span {
         font-size: .28rem;
+        color: #666;
         .text {
           color: #3f84f6;
         }

+ 3 - 2
components/mobile/Home.vue

@@ -70,7 +70,7 @@
           <div>商家地址:深圳市南山区英唐大厦1楼</div>
           <!-- <div class="content-line link-url">在线咨询</div>-->
           <div>致电:<a href="tel:4008301818" target="_blank" class="content-line">4008301818</a></div>
-          <div>邮件:<a href="mailto:yrsc@usoftchina.com" target="_blank" class="content-line">yrsc@usoftchina.com</a></div>
+          <div>邮件:<a href="mailto:yrsc@usoftchina.com" target="_blank" class="content-lineUSOFTMALLWECHATINFO">yrsc@usoftchina.com</a></div>
         </div>
       </div>
     </div>
@@ -215,7 +215,8 @@
             window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb3274b676737a319&redirect_uri=https://www.usoftmall.com&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
             // window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd29bbca61728b189&redirect_uri=http://gwzcfb.natappfree.cc&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
           } else if (ua.match(/micromessenger/i) && ua.match(/micromessenger/i)[0] === 'micromessenger') {
-            if (info) {
+            info = info && JSON.parse(info)
+            if (info.openid) {
               this.$store.commit('option/REQUEST_WECHATINFO_STATUS_SUCCESS', JSON.parse(info))
             } else {
               this.$store.dispatch('GerWechatInfo', {code: this.$route.query.code})

+ 1 - 0
components/register-saler/Register.vue

@@ -75,6 +75,7 @@
       let isSelf = true
       let tempEnterprise = {}
       if (ens && ens.length) {
+        console.log(ens)
         ens.forEach(function (item) {
           if (item.current) {
             isSelf = false

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

@@ -421,8 +421,8 @@
             if (response.data.success) {
               this.isSelfRegisterSuccess = true
               this.$http.delete('basic/user/userCacheEnterprise')
-              this.$http.get('/user/authentication/reflash')
-                .then(() => {
+              // this.$http.get(`/user/authentication/` + response.data.data.enuu).then(() => {
+                this.$http.get('/user/authentication/reflash').then(() => {
                   this.$http.get(`/user/authentication/` + response.data.data.enuu).then(() => {
                     this.$store.dispatch('loadUserInfo')
                     this.loginData.isSelf = false
@@ -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 => {
               console.log(err)
               this.$http.post('/basic/enterprise/openVendorSetRead/' + enuu)

+ 1 - 1
pages/mobile/center/user/index.vue

@@ -39,7 +39,7 @@
         </nuxt-link>
         <nuxt-link tag="div" to="/mobile/center/user/collect/message" class="content-line" v-if="user.data.enterprise.uu">
           <img src="/images/mobile/center/user/message.png" alt="">
-          <span>消息<span class="text">({{messageCount.count || 0}})</span></span>
+          <span>消息中心<span class="text">({{messageCount.count || 0}})</span></span>
           <i class="iconfont icon-xiangyou"></i>
         </nuxt-link>
       </div>

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

@@ -51,7 +51,7 @@
         </div>-->
         <nuxt-link tag="div" to="/mobile/center/vendor/message"  class="content-line" v-if="user.data.enterprise.uu">
           <img src="/images/mobile/center/user/message.png" alt="">
-          <span>消息<span class="text">({{messageCount.count || 0}})</span></span>
+          <span>消息中心<span class="text">({{messageCount.count || 0}})</span></span>
           <i class="iconfont icon-xiangyou"></i>
         </nuxt-link>
       </div>