|
@@ -69,14 +69,22 @@
|
|
<!-- 4 -->
|
|
<!-- 4 -->
|
|
<div class="box4" v-if="data.galleries">
|
|
<div class="box4" v-if="data.galleries">
|
|
<div class="title">Exhibition Galleries</div>
|
|
<div class="title">Exhibition Galleries</div>
|
|
|
|
+ <div class="swiper-container">
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
+ <div class="swiper-slide" v-for="i in GalLength" :key="i">
|
|
|
|
+ <img
|
|
|
|
+ :src="`/data/Exhibitions/${dataUrl}/galleries${data.topImg}/galleries${i}${data.imgLast}`"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-// import Swiper from 'swiper';
|
|
|
|
-import "swiper/css/swiper.min.css";
|
|
|
|
import { ImagePreview } from "vant";
|
|
import { ImagePreview } from "vant";
|
|
import { dataAll } from "./dataAll";
|
|
import { dataAll } from "./dataAll";
|
|
export default {
|
|
export default {
|
|
@@ -184,6 +192,7 @@ export default {
|
|
this.info = tempArr[0];
|
|
this.info = tempArr[0];
|
|
}, 300);
|
|
}, 300);
|
|
});
|
|
});
|
|
|
|
+
|
|
},
|
|
},
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
beforeMount() {}, //生命周期 - 挂载之前
|
|
beforeMount() {}, //生命周期 - 挂载之前
|