|
@@ -64,7 +64,7 @@
|
|
|
:key="i"
|
|
|
>
|
|
|
<img :src="require(`@/assets/images/${item.img}.png`)" alt="" />
|
|
|
- <span>{{ item.name }}</span>
|
|
|
+ <!-- <span>{{ item.name }}</span> -->
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div
|
|
@@ -93,6 +93,8 @@ let iconArr = [
|
|
|
browser.mobile &&
|
|
|
iconArr.push({ name: "介绍", id: "title", img: "txt-icon", display: false });
|
|
|
|
|
|
+let tt = window.location.href.split('hot_online1')[0]
|
|
|
+
|
|
|
export default {
|
|
|
name: "Home",
|
|
|
data() {
|
|
@@ -172,7 +174,7 @@ export default {
|
|
|
},
|
|
|
async getData() {
|
|
|
// https://www.4dmodel.com/
|
|
|
- let url = `/SuperTwo/data/${
|
|
|
+ let url = `${tt}data/${
|
|
|
this.id
|
|
|
}/hot/js/data.js?time=${Math.random()}`;
|
|
|
let result = (await this.$http.get(url)).data;
|
|
@@ -205,7 +207,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fixUrl(item) {
|
|
|
- return item;
|
|
|
+ let tmp = item.split('super.4dage.com/')
|
|
|
+ return tt + tmp[1];
|
|
|
},
|
|
|
slideto(action) {
|
|
|
this.swiper[action]();
|