Browse Source

图库详情无权限样式调整

jwyu 3 years ago
parent
commit
ac7c36b208
2 changed files with 15 additions and 1 deletions
  1. 1 1
      src/api/hzyb/http.js
  2. 14 0
      src/views/hzyb/chart/component/noAuth.vue

+ 1 - 1
src/api/hzyb/http.js

@@ -59,7 +59,7 @@ _axios.interceptors.response.use(
     }else{
       data=response.data
     }
-    if(data.code!==200){
+    if(![200,403].includes(data.code)){
       setTimeout(() => {
         Toast(data.msg)
       }, 10);

+ 14 - 0
src/views/hzyb/chart/component/noAuth.vue

@@ -80,5 +80,19 @@ const handleApply=()=>{
   .img-wait {
     width: 186px;
   }
+  .global-btn-yellow-change{
+    background: linear-gradient(270deg, #EEC795 0%, #D9A360 100%);
+    border-radius: 35px;
+    color: #fff;
+    text-align: center;
+    line-height: 70px;
+  }
+  .btn{
+    width: 380px;
+    line-height: 7rpx;
+    margin-left: auto;
+    margin-right: auto;
+    margin-top: 40px;
+  }
 }
 </style>