|
@@ -37,6 +37,8 @@
|
|
|
<video
|
|
|
v-else-if="active === 'video'"
|
|
|
:src="fixUrl(item.url)"
|
|
|
+ controlsList="nodownload"
|
|
|
+ disablePictureInPicture
|
|
|
controls
|
|
|
></video>
|
|
|
<iframe
|
|
@@ -93,6 +95,8 @@ browser.mobile &&
|
|
|
iconArr.push({ name: "介绍", id: "title", img: "txt-icon", display: false });
|
|
|
|
|
|
let tt = window.location.href.split('/hot_online1')[0]
|
|
|
+// let tt = 'http://192.168.0.198:8080/code/'
|
|
|
+
|
|
|
|
|
|
export default {
|
|
|
name: "Home",
|
|
@@ -208,7 +212,7 @@ export default {
|
|
|
console.log(tt);
|
|
|
let url = `${tt}/data/${
|
|
|
this.id
|
|
|
- }/hot/js/data.js?time=${Math.random()}`;
|
|
|
+ }/hot/js/data.json?time=${Math.random()}`;
|
|
|
let result = (await this.$http.get(url)).data;
|
|
|
this.data = result[this.m];
|
|
|
if (!this.data) {
|
|
@@ -239,7 +243,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fixUrl(item) {
|
|
|
- return item;
|
|
|
+ let qq = item.replace(`https://super.4dage.com`,`${tt}`,)
|
|
|
+ console.log(qq);
|
|
|
+ return qq;
|
|
|
},
|
|
|
slideto(action) {
|
|
|
this.swiper[action]();
|
|
@@ -254,6 +260,12 @@ export default {
|
|
|
},
|
|
|
false
|
|
|
);
|
|
|
+ document.oncontextmenu = function(){
|
|
|
+ event.returnValue = false;
|
|
|
+ }// 或者直接返回整个事件
|
|
|
+ document.oncontextmenu = function(){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -282,9 +294,7 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
position: relative;
|
|
|
- .ismtop {
|
|
|
- padding-top: 40px !important;
|
|
|
- }
|
|
|
+
|
|
|
.content {
|
|
|
width: 100%;
|
|
|
height: 80%;
|
|
@@ -353,6 +363,11 @@ export default {
|
|
|
text-indent: 32px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .ismtop {
|
|
|
+ padding-top: 40px !important;
|
|
|
+ max-height: unset !important;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 1400px) {
|
|
@@ -425,7 +440,6 @@ export default {
|
|
|
.warpper {
|
|
|
.slide {
|
|
|
width: 100%;
|
|
|
- img,
|
|
|
video,
|
|
|
iframe {
|
|
|
max-width: 70%;
|
|
@@ -436,6 +450,10 @@ export default {
|
|
|
max-width: unset;
|
|
|
height: 100vh;
|
|
|
}
|
|
|
+
|
|
|
+ img{
|
|
|
+ width: auto;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|