lanxin 1 week ago
parent
commit
aecf39c0c4
1 changed files with 11 additions and 1 deletions
  1. 11 1
      src/views/Home.vue

+ 11 - 1
src/views/Home.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="home">
-    <div :class="['main', { 'specialHome': myTitle === '椰壳镶银里雕人物诗句套杯' }]">
+    <div :class="['main', { 'specialHome':  myTitle === '椰雕锡胆酒杯' || myTitle === '椰壳镶银里雕人物诗句套杯'}]">
       <div class="myTitle is-mobile">{{ myTitle }}</div>
 
       <div class="mainCon" v-show="!oneTxt">
@@ -459,6 +459,16 @@ export default {
     }
     .mainCon {
       margin: 0;
+      width: 100%;
+      max-width: 100%;
+      .contenBoxMain {
+        .swiper-wrapper {
+          justify-content: center;
+          .contenBox {
+            width: 100%;
+          }
+        }
+      }
     }
     .main-info {
       .myTitle {