shaogen1995 2 tahun lalu
induk
melakukan
0f3ac8c1d8
1 mengubah file dengan 7 tambahan dan 6 penghapusan
  1. 7 6
      定制化热点/src/views/Home.vue

+ 7 - 6
定制化热点/src/views/Home.vue

@@ -9,14 +9,14 @@
         <Swiper class="warpper" ref="mySwiper" :options="swiperOptions">
           <SwiperSlide v-for="item in myImgArr" :key="item">
             <!-- 线上数据 -->
-            <img :src="item" alt="" @click="lookImg(item)" />
+            <!-- <img :src="item" alt="" @click="lookImg(item)" /> -->
 
             <!-- 本地化部署 -->
-            <!-- <img
+            <img
               :src="item.replace('https://super.4dage.com', '')"
               alt=""
               @click="lookImg(item.replace('https://super.4dage.com', ''))"
-            /> -->
+            />
           </SwiperSlide>
         </Swiper>
         <!-- 索引 -->
@@ -81,9 +81,10 @@ export default {
       // https://www.4dmodel.com/
 
       //线上数据
-      let url = `https://super.4dage.com/data/${
-        // let url = `/data/${
-        //本地化部署
+      // let url = `https://super.4dage.com/data/${
+
+      let url = `/data/${
+        // 本地化部署
         this.id
       }/hot/js/data.js?time=${Math.random()}`;
       let result = (await this.$http.get(url)).data;