Kaynağa Gözat

修改样式

lex-xin 9 ay önce
ebeveyn
işleme
20c0ef62b8

+ 21 - 21
src/components/col-header/modals/loganInfo.tsx

@@ -136,30 +136,30 @@ export default defineComponent({
         } else {
           states.iconList.push(noMemberIcon)
         }
-        if (checkBadge('STYLE')) {
-          states.iconList.push(styleIcon)
-        } else {
-          states.iconList.push(nostyleIcon)
-        }
-        if (checkBadge('VIDEO')) {
-          states.iconList.push(videoIcon)
-        } else {
-          states.iconList.push(noVideoIcon)
-        }
-        if (checkBadge('LIVE')) {
-          states.iconList.push(onlineIcon)
-        } else {
-          states.iconList.push(noOnlineIcon)
-        }
-        if (checkBadge('MUSIC')) {
-          states.iconList.push(ablumIcon)
-        } else {
-          states.iconList.push(noAblumIcon)
-        }
+        // if (checkBadge('STYLE')) {
+        //   states.iconList.push(styleIcon)
+        // } else {
+        //   states.iconList.push(nostyleIcon)
+        // }
+        // if (checkBadge('VIDEO')) {
+        //   states.iconList.push(videoIcon)
+        // } else {
+        //   states.iconList.push(noVideoIcon)
+        // }
+        // if (checkBadge('LIVE')) {
+        //   states.iconList.push(onlineIcon)
+        // } else {
+        //   states.iconList.push(noOnlineIcon)
+        // }
+        // if (checkBadge('MUSIC')) {
+        //   states.iconList.push(ablumIcon)
+        // } else {
+        //   states.iconList.push(noAblumIcon)
+        // }
       } else {
         states.iconList = []
       }
-      console.log('查看用户登录态', states.user)
+      // console.log('查看用户登录态', states.user)
     }
     const gotoPage = (val: string) => {
       router.push({ path: val })

+ 7 - 7
src/router/routes-admin.ts

@@ -137,14 +137,14 @@ export default [
     name: 'userInfo',
     meta: { title: '用户信息', index: 5, isdark: true },
     component: () => import('@/views/user-info/index'),
-    redirect: '/userInfo/practiceSetting',
+    redirect: '/userInfo/liveClass',
     children: [
-      {
-        path: '/userInfo/practiceSetting',
-        name: 'userInfoPracticeSetting',
-        component: () => import('@/views/user-info/practice-setting'),
-        meta: { title: '陪练课', index: 2, isdark: true }
-      },
+      // {
+      //   path: '/userInfo/practiceSetting',
+      //   name: 'userInfoPracticeSetting',
+      //   component: () => import('@/views/user-info/practice-setting'),
+      //   meta: { title: '陪练课', index: 2, isdark: true }
+      // },
       {
         path: '/userInfo/liveClass',
         name: 'userInfoLiveClass',

+ 5 - 4
src/views/user-info/components/users/index.tsx

@@ -100,7 +100,7 @@ export default defineComponent({
           )}
         </p>
 
-        <div class="flex items-center justify-center pt-2 pb-10">
+        {/* <div class="flex items-center justify-center pt-2 pb-10">
           <span class="text-base text-[#999]">勋章</span>
           <img
             src={
@@ -142,7 +142,7 @@ export default defineComponent({
             }
             class="h-[26px] px-1"
           />
-        </div>
+        </div> */}
 
         {/* <div class="pt-3 pb-6 flex">
           {this.userInfo.entryFlag === 1 ? (
@@ -183,10 +183,11 @@ export default defineComponent({
 
         <div
           class={
-            this.userInfo.entryFlag !== 1 ||
+           [ this.userInfo.entryFlag !== 1 ||
             !(this.checkBadge('SVIP') || this.checkBadge('VIP'))
               ? 'mb-9'
-              : ''
+              : '',
+              'pt-3']
           }
         >
           {this.userInfo.entryFlag !== 1 && (

+ 1 - 0
src/views/user-info/live-operation/course-content/index.tsx

@@ -148,6 +148,7 @@ export default defineComponent({
           {
             data: {
               courseNum: createState.live.courseNum,
+              courseFreeMinutes: createState.live.freeMinutes,
               courseType: 'LIVE',
               loop: this.selectType === 'noEnough' ? 1 : 0,
               teacherId: state.user.data?.userId,