Commit ee9b8519 authored by 张伯涛's avatar 张伯涛

平面图宽高修改

parent 12209a99
<template>
<div style="height: 100%;">
<div style="height: 98%;">
<div class="super-flow-demo1">
<!-- 最外层,加滚轮监听函数 -->
......@@ -943,7 +943,7 @@ export default {
/* 让宽度跟父元素(外面的大框相关) */
width: 100%;
height: 100%;
overflow: hidden;
overflow: auto;
background-color: #bbb;
margin: 10px;
}
......@@ -951,8 +951,8 @@ export default {
.flow-container {
float: left;
position: absolute;
width: 100%;
height: 100%;
width: 1920px;
height: 1080px;
overflow: hidden;
/* background: url("./R-C.jpg") no-repeat center / cover ; */
background: no-repeat center / cover ;
......
......@@ -986,7 +986,7 @@ export default {
<style>
<style scoped lang="scss">
/* .shelf {
text-align: center;
width: 100%;
......@@ -1019,13 +1019,12 @@ export default {
</style>
<style>
<style scoped lang="scss">
/* 外侧盒子 */
.super-flow-demo1 {
position: relative;
margin-top: 20px;
width: 100%;
height: 800px;
height: 750px;
background-color: #f5f5f5;
}
.watchModeButton {
......@@ -1059,7 +1058,7 @@ export default {
/* 让宽度跟父元素(外面的大框相关) */
width: calc(100% - 220px);
height: 100%;
overflow: hidden;
overflow: auto;
background-color: #bbb;
margin: 10px;
}
......@@ -1067,9 +1066,8 @@ export default {
.flow-container {
float: left;
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
width: 1920px;
height: 1080px;
background-size: cover; /* 拉伸并填充整个div */
background-repeat: no-repeat; /* 不重复 */
/* background-image: url('https://pic35.photophoto.cn/20150511/0034034892281415_b.jpg'); */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment