|
@@ -172,7 +172,7 @@ export default {
|
|
|
},
|
|
|
async getData() {
|
|
|
// https://www.4dmodel.com/
|
|
|
- let url = `/data/${
|
|
|
+ let url = `/SuperTwo/data/${
|
|
|
this.id
|
|
|
}/hot/js/data.js?time=${Math.random()}`;
|
|
|
let result = (await this.$http.get(url)).data;
|
|
@@ -205,15 +205,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fixUrl(item) {
|
|
|
- let condition =
|
|
|
- item.indexOf("http://") > -1 || item.indexOf("https://") > -1;
|
|
|
- let tmp = ''
|
|
|
- if (!condition) {
|
|
|
- tmp = "https://" + item
|
|
|
- tmp = tmp.replace('https://super.4dage.com','')
|
|
|
- return tmp;
|
|
|
- }
|
|
|
- return item.replace('https://super.4dage.com','');
|
|
|
+ return item;
|
|
|
},
|
|
|
slideto(action) {
|
|
|
this.swiper[action]();
|