Browse Source

fixed index/index.vue. It was loading mobile and desktop backgrounds

Patrick Bozic 5 years ago
parent
commit
4286ea4d29
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sh_museum/src/pages/index/index.vue

+ 2 - 2
sh_museum/src/pages/index/index.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="wrapper">
-    <div class="layout" @mousewheel.stop  v-if="!isMobile">
+    <div class="layout" @mousewheel.stop v-if="!isMobile">
       <bg :canvasWidth='width' :canvasHeight='height' class="xlz-bg"/>
     </div>
-    <div class="mobileLayout">
+    <div class="mobileLayout" v-if="isMobile">
       <img class="bg" :src="`${$cdn}images/mobile/home_bg.png`" alt="">
       <img class="logo" :src="`${$cdn}images/k.png`" alt="">
       <img class="search-bar" :src="`${$cdn}images/mobile/home_search_bar.png`" alt="" @click="$router.push({path:'/search'})">