@ -26,11 +26,10 @@ export default {
methods: {},
created() {},
mounted() {
console.log(window.innerWidth);
autofit.init({
// designHeight: 1792,
// designWidth: 6656,
designHeight: 1080,
designWidth: 1920,
designHeight: window.innerHeight,
designWidth: window.innerWidth,
renderDom: "#app",
resize: true,
});
@ -285,6 +285,7 @@ export default {
<style lang="scss" scoped>
.container {
width: 100%;
overflow: hidden;
}
.video-title {
@ -153,7 +153,7 @@ export default {
const screenWidth = window.innerWidth;
if (screenWidth > 3000) {
this.btnStyle = {
left: `32.5%`,
left: `32%`,
};
} else {
@ -467,7 +467,7 @@ export default {
.video-list {
width: 35%;
width: 30%;
position: absolute;
bottom: 30px;
left: 50%;
@ -82,7 +82,6 @@ export default {
},
created() {
this.options.scene.center = {
lat: 28.990656,