panhui пре 3 година
родитељ
комит
edb8ce33c4
3 измењених фајлова са 17 додато и 3 уклоњено
  1. 1 1
      .env.development
  2. 7 2
      src/components/asset/showInfo.vue
  3. 9 0
      src/router/index.js

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VUE_APP_BASE_URL=https://test.raex.vip/
+VUE_APP_BASE_URL=https://nfttest.raex.vip/
 NODE_ENV=development
 VUE_APP_PUBLIC_PATH=/
 ASSETS_PATH=raex

+ 7 - 2
src/components/asset/showInfo.vue

@@ -8,7 +8,8 @@
         }"
         class="showInfo"
     >
-        <div class="bg" :style="{ backgroundImage: `url(${info.headBg}),url(${info.showroomBg})` }"></div>
+        <div class="bg" v-if="!list" :style="{ backgroundImage: `url(${info.headBg}),url(${info.showroomBg})` }"></div>
+        <div class="bg" v-else :style="{ backgroundImage: `url(${info.headBg}),url(${info.showroomBg})` }"></div>
         <!-- <van-image radius="6" :src="info.showroomBg" width="100%" height="140" fit="cover" /> -->
         <div class="collecions">
             <div class="users">
@@ -39,7 +40,7 @@
                 :key="index"
             />
         </div>
-        <img src="../../assets/png-zhantai1.png" class="bg-img" alt="" />
+        <img v-if="!list" src="../../assets/png-zhantai1.png" class="bg-img" alt="" />
         <div class="text">
             <div class="text1">{{ info.introduction || '展馆未设置' }}</div>
             <div class="text2">{{ info.nickname }}</div>
@@ -75,6 +76,10 @@ export default {
             default: () => {
                 return {};
             }
+        },
+        list: {
+            type: Boolean,
+            default: false
         }
     },
     computed: {

+ 9 - 0
src/router/index.js

@@ -331,6 +331,15 @@ const routes = [
             title: '第九空间'
         }
     },
+    {
+        path: '/hallList',
+        name: 'hallList',
+        component: () => import('../views/hall/List.vue'),
+        meta: {
+            pageType: Page.Every,
+            title: '第九空间'
+        }
+    },
     {
         path: '/hopeMarket',
         name: 'hopeMarket',