2022-11-27 23:54:26 +08:00

110 lines
1.4 KiB
Plaintext

/**index.wxss**/
@box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
image {
width: 100%;
height: 100%;
}
.box-border-radius {
border-radius: 10px;
overflow: hidden;
}
.content-bg {
background: linear-gradient(to bottom, #F96352, #fff);
height: 120px;
width: 100%;
left: 0;
top: 0;
position: absolute;
}
.content-wrapper {
position: relative;
z-index: 2;
width: 90vw;
margin: auto;
padding: 10px 0;
}
// swiper
.top-swiper {
.box-border-radius;
}
.swiper-item {
height: 150px;
}
.index-act-1 {
width: 100%;
height: 110px;
.box-border-radius;
box-shadow: @box-shadow;
margin: 20px 0;
}
.recommend-wrapper,
.hot-wrapper {
margin: 20px 0;
}
.hot-title {
font-weight: bold;
font-size: 16px;
margin-bottom: 10px;
}
// panel
.panel {
.box-border-radius;
box-shadow: @box-shadow;
.panel-title {
font-weight: bold;
font-size: 16px;
padding: 20px 20px 0;
}
.panel-body {
padding: 20px;
}
}
.goods-list-row {
display: flex;
overflow: hidden;
.goods-item {
flex: 1;
min-width: 20%;
margin-right: 10px;
text-align: center;
&:last-child {
margin-right: 0px;
}
}
.image {
width: 100%;
aspect-ratio: 1/1;
}
.title {
word-break: break-all;
font-size: 12px;
line-height: 16px;
height: 32px;
overflow: hidden;
}
.price{
color: #f00;
margin-top: 5px;
}
}
.displex-flex {
display: flex;
}