main
许宏杰 5 months ago
parent 685b052268
commit cf42ecab38

@ -26,11 +26,10 @@ export default {
methods: {}, methods: {},
created() {}, created() {},
mounted() { mounted() {
console.log(window.innerWidth);
autofit.init({ autofit.init({
// designHeight: 1792, designHeight: window.innerHeight,
// designWidth: 6656, designWidth: window.innerWidth,
designHeight: 1080,
designWidth: 1920,
renderDom: "#app", renderDom: "#app",
resize: true, resize: true,
}); });

@ -285,6 +285,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
width: 100%;
overflow: hidden; overflow: hidden;
} }
.video-title { .video-title {

@ -153,7 +153,7 @@ export default {
const screenWidth = window.innerWidth; const screenWidth = window.innerWidth;
if (screenWidth > 3000) { if (screenWidth > 3000) {
this.btnStyle = { this.btnStyle = {
left: `32.5%`, left: `32%`,
}; };
} else { } else {
this.btnStyle = { this.btnStyle = {

@ -467,7 +467,7 @@ export default {
} }
} }
.video-list { .video-list {
width: 35%; width: 30%;
position: absolute; position: absolute;
bottom: 30px; bottom: 30px;
left: 50%; left: 50%;

@ -82,7 +82,6 @@ export default {
}, },
created() { created() {
const screenWidth = window.innerWidth; const screenWidth = window.innerWidth;
if (screenWidth > 3000) { if (screenWidth > 3000) {
this.options.scene.center = { this.options.scene.center = {
lat: 28.990656, lat: 28.990656,

Loading…
Cancel
Save