applet.miniprograms/pages/index/index.wxss

221 lines
3.8 KiB
Plaintext

/**index.wxss**/
image{
width: 100%;
height: 100%;
}
.container{
width: 100vw;
height:100vh;
position:relative;
}
/* 搜索 */
.searchBox{
width:100vw;
height:9vw;
position:absolute;
top:0;
left:0;
z-index: 3;
background:#fff;
padding:3vw 0;
}
.search{
width: 92vw;
height: 9vw;
background-color: #fff;
border-radius: 1.33vw;
display: flex;
line-height: 9vw;
justify-content: center;
align-content: center;
font-size: 3.2vw;
color: #999999;
/* margin-bottom:2.53vw; */
margin-left:4vw;
box-shadow: 0px 0px 4px 0px
rgba(0, 0, 0, 0.3);
}
.search .img{
width: 3.87vw;
height: 3.87vw;
margin-right: 1vw;
padding-top:0.5vw;
}
/* logo */
.logoBox{
width: 100%;
height:100vh;
position: absolute;
top:0;
left:0;
z-index: 2;
overflow-y: hidden;
}
.logoBox .bg{
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.logoBox .logo{
width: 34.7vw;
height: 4vw;
/* margin-bottom: 28.53vw; */
position:absolute;
z-index: 5;
top:20vw;
left:0;
right:0;
margin:auto;
}
.logoBox .content{
width: 100%;
height: 100%;
position: absolute;
z-index: 3;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logoBox .buyH,.logoBox .searchH,.logoBox .ershouH{
width: 59.73vw;
height: 14.67vw;
/* border-radius: 8.02vw; */
display: flex;
justify-content: center;
/* align-items: center; */
line-height:14.67vw;
font-size: 4.8vw;
color: #fefefe;
/* font-weight: bold; */
position:relative;
}
.logoBox .searchH{
margin-bottom: 5vw;
}
.logoBox .buyH{
color:#333;
margin-bottom: 5vw;
}
.logoBox .buyH .bg,.logoBox .searchH .bg,.logoBox .ershouH .bg{
width: 59.73vw;
height: 16.13vw;
position: absolute;
z-index: -1;
}
.logoBox .buyH .img{
width: 6vw;
height: 5.87vw;
margin-right: 2.4vw;
padding-top:1vw;
}
.logoBox .searchH .img{
width: 6.4vw;
height: 6.4vw;
margin-right: 2.4vw;
padding-top:1vw;
}
.logoBox .ershouH .img{
width: 6.4vw;
height: 6.4vw;
margin-right: 5.4vw;
padding-top:1.6vw;
}
/* 可售 在售 */
.sell{
width: 92vw;
padding:6.67vw 4vw 0;
display: flex;
justify-content: space-between;
position:absolute;
left:0;
bottom:12vw;
z-index: 3;
}
.sell-item{
width: 44.67vw;
height: 27.2vw;
position: relative;
}
.sell-item .bg{
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.sell-item .text{
width: 36.67vw;
height: 100%;
padding:0 6vw;
position: absolute;
z-index: 3;
color: #fdc200;
display: flex;
flex-direction: column;
justify-content: center;
font-size: 8vw;
/* font-weight: bold; */
}
.sell-item .text .label{
font-size: 3.5vw;
font-weight: normal;
color:#fff;
}
/* 弹出活动 */
.van-popup{
overflow-y: visible!important;
background-color:transparent!important;
}
.con{
width: 81.2vw;
height: 126.67vw;
/* background: #ffffff; */
margin-bottom: 4.13vw;
border-radius: 2vw;
position:relative;
}
/* 活动轮播图 */
swiper{
width: 81.2vw;
height: 126.67vw;
border-radius: 2vw;
overflow: hidden;
}
.swiper-box .wx-swiper-dot{
width:20px;
height:20px;
}
.activeName{
width:100%;
text-align: center;
font-size: 7.73vw;
color: #ffffff;
padding-top:7.87vw;
margin-bottom:10vw;
}
.titleName{
width:100%;
text-align:center;
font-size: 4.8vw;
color: #191919;
margin-bottom:2vw;
}
.con .time{
width:100%;
text-align: center;
font-size: 3.47vw;
color: #191919;
}
.close{
width: 30px;
height: 30px;
position:absolute;
z-index:100;
top:2vw;
right:2vw;
}
/* .logo image{
width: 100%;
height: auto;
} */