68 lines
1.2 KiB
SCSS
68 lines
1.2 KiB
SCSS
page {
|
|
// IOS安全区域
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.good-class {
|
|
margin-top: 10px;
|
|
|
|
.nut-tabs {
|
|
height: 100vh;
|
|
border-top: #fff 10px solid;
|
|
}
|
|
}
|
|
|
|
.list {
|
|
.item {
|
|
display: flex;
|
|
margin-bottom: 10px;
|
|
|
|
image {
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.right {
|
|
flex: 1;
|
|
margin-left: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
// text-align: right;
|
|
|
|
.stock {
|
|
margin-top: 10px;
|
|
color: #8f8f8f;
|
|
}
|
|
|
|
.name {
|
|
// height: 20px;
|
|
font-size: 28px;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.bom {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
//margin-top: 10px;
|
|
|
|
.price {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: #ff0000;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 1;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|