소스 검색

抖音挑战赛入口隐藏

yuwenjun1997 2 년 전
부모
커밋
d543d89a49
2개의 변경된 파일14개의 추가작업 그리고 13개의 파일을 삭제
  1. 7 7
      layouts/app-ross.vue
  2. 7 6
      pages/_template/ross/index.vue

+ 7 - 7
layouts/app-ross.vue

@@ -103,13 +103,13 @@ export default {
       drawer: false,
       isMounted: false,
       list: [
-        {
-          id: 4,
-          name: '挑战赛',
-          path: '/activity/challenge',
-          icon: 'icon-challenge',
-          auth: false,
-        },
+        // {
+        //   id: 4,
+        //   name: '挑战赛',
+        //   path: '/activity/challenge',
+        //   icon: 'icon-challenge',
+        //   auth: false,
+        // },
         {
           id: 1,
           name: '授权申请',

+ 7 - 6
pages/_template/ross/index.vue

@@ -10,9 +10,9 @@
       <div class="page-top flex flex-col justify-center items-center" @click="toActivity"></div>
       <div class="page-content">
         <div class="navbar-container" :style="{ top: offsetTop }">
-          <nuxt-link :to="routePrefix + '/activity/challenge'">
+          <!-- <nuxt-link :to="routePrefix + '/activity/challenge'">
             <div class="activity-entry"></div>
-          </nuxt-link>
+          </nuxt-link> -->
           <div class="navbar flex items-center flex-col">
             <nuxt-link :to="routePrefix + '/approve/device'" class="link flex items-center flex-col">
               <span class="icon icon-device"></span>
@@ -126,6 +126,7 @@ export default {
   methods: {
     // 抖音挑战赛
     toActivity() {
+      return
       this.$router.push(`${this.routePrefix}/activity/challenge`)
     },
     // 从缓存中获取数据
@@ -176,8 +177,8 @@ export default {
       background-color: #fff;
       .page-top {
         height: 530px;
-        // background-image: fetch('pc-banner-club');
-        background-image: url(~assets/theme-images/ross/pc-banner-club.png);
+        background-image: fetch('pc-banner-club');
+        // background-image: url(~assets/theme-images/ross/pc-banner-club.png);
         background-size: cover;
         background-position: center;
         cursor: pointer;
@@ -394,8 +395,8 @@ export default {
     @include useTheme() {
       .page-top {
         height: 100vw;
-        // background: fetch('h5-banner-club');
-        background-image: url(~assets/theme-images/ross/h5-banner-club.png);
+        background: fetch('h5-banner-club');
+        // background-image: url(~assets/theme-images/ross/h5-banner-club.png);
         background-size: 100vw 100vw !important;
 
         .logo {