Browse Source

主播审核通过

warrior 3 months ago
parent
commit
12ddc7cbb9

+ 1 - 1
projects/live-app/src/modules/tabs/my/my.component.scss

@@ -153,7 +153,7 @@
   }
   .tool {
     display: grid;
-    grid-template-columns: repeat(5, 70px);
+    grid-template-columns: repeat(5, 60px);
     align-items: center;
     padding: 6px 10px;
     font-size: 12px;

+ 4 - 1
projects/live-app/src/modules/tabs/my/my.component.ts

@@ -88,7 +88,10 @@ export class MyComponent implements OnInit {
     console.log(this.orderList);
     const { fans, follow } = data.data[0];
     this.userObj = { fans, follow, friendly_degree: 0 };
-    this.userObj.vip = await this.accServ.userVip;
+    this.userObj.vip = this.accServ.userVip;
+    if (!this.userObj.vip) {
+      this.userObj.vip = await this.accServ.getVip();
+    }
     loading.dismiss();
   }
   // 获取用户信息