Browse Source

修改卖家发票记录样式
通知账户中心登录

shenjj 7 years ago
parent
commit
a59c0d626c
2 changed files with 8 additions and 1 deletions
  1. 3 0
      pages/mobile/center/vendor/invoice/index.vue
  2. 5 1
      pages/mobile/wechat/index.vue

+ 3 - 0
pages/mobile/center/vendor/invoice/index.vue

@@ -321,6 +321,9 @@
 </script>
 <style lang="scss" scoped>
   @import '~assets/scss/mobileInvoice';
+  .com-switch-head .com-switch-item.active {
+    border-bottom: 0.04rem solid #3f84f6;
+  }
   .vendor-invoice {
     .mi-list {
       padding-bottom: 2rem !important;

+ 5 - 1
pages/mobile/wechat/index.vue

@@ -101,7 +101,11 @@
         userAccount.spaceUU = item.uu
         this.$http.get('/newLogin/other', {params: userAccount}).then(res => {
           this.$store.dispatch('loadUserInfo').then(() => {
-             let _url = localStorage.getItem('RETURNURL')
+              let _url = localStorage.getItem('RETURNURL')
+              let _uu = item.uu === 0 ? '' : item.uu
+              this.$jsonp(`${process.env.ssoUrl}/sso/login/other?spaceUU=${_uu}&appId=mall&userUU=${userAccount.userUU}`, {timeout: 5000, name: 'successCallback'}, (err) => {
+                console.log(err)
+              })
              if (_url !== '') {
                localStorage.removeItem('RETURNURL')
                this.$router.replace(_url)