Commit edea8ab3 by 孙美琪

首页相关修改3

parent 501636b8
......@@ -254,10 +254,10 @@ function handleCarousel(url) {
<style scoped lang="scss">
.new-model {
//background-image: url("@/assets/images/indexImg/bg-1.png");
//background-size: 100% 100%; /* 背景图片覆盖整个元素区域 */
//background-position: 100% 100%; /* 背景图片居中 */
//background-repeat: repeat-x; /* 背景图片不重复 */
background-image: url("@/assets/images/indexImg/bg-1.png");
background-size: cover; /* 背景图片覆盖整个元素区域 */
background-position: center; /* 背景图片居中 */
background-repeat: no-repeat; /* 背景图片不重复 */
background-color: #b6b8bf;
padding-bottom: 90px;
margin-bottom: 0;
......@@ -396,6 +396,9 @@ function handleCarousel(url) {
.app-container {
padding: 0;
flex-grow: 1;
flex-shrink: 1;
position: relative;
}
.home {
......@@ -417,10 +420,10 @@ function handleCarousel(url) {
.block {
//width: 1280px;
//background-image: url("@/assets/images/indexImg/bg-1.png");
//background-size: 100% 100%;
//background-repeat: repeat-y;
background: #b6b8bf;
background-image: url("@/assets/images/indexImg/bg-1.png");
background-size: cover; /* 背景图片覆盖整个元素区域 */
background-position: center; /* 背景图片居中 */
background-repeat: no-repeat; /* 背景图片不重复 */
margin: 0 auto;
z-index: 4 !important;
padding-bottom: 60px;
......
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 sign in to comment