2023-02-12 19:42:12 +08:00
|
|
|
/* pages/shop/shopcat.wxss */
|
|
|
|
page {
|
2023-02-13 17:59:45 +08:00
|
|
|
height: 100%;
|
|
|
|
background: #f6f6f6;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.container-box {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.container-box .left {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 35%;
|
|
|
|
height: 100%;
|
|
|
|
margin-top: 10rpx;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-item-default {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 20rpx 0rpx 20rpx 2rpx;
|
|
|
|
width: 100%;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.category-item-active {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 20rpx 0rpx 20rpx 2rpx;
|
|
|
|
background: white;
|
|
|
|
width: 100%;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-one-name {
|
2023-02-13 17:59:45 +08:00
|
|
|
margin-left: 20rpx;
|
|
|
|
padding: 10rpx 0rpx;
|
|
|
|
flex: 1;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.line {
|
2023-02-13 17:59:45 +08:00
|
|
|
background: #e70101;
|
|
|
|
width: 10rpx;
|
|
|
|
height: 60rpx;
|
|
|
|
align-self: center;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.container-box .right {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 65%;
|
|
|
|
position: absolute;
|
|
|
|
left: 35%;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-card {
|
2023-02-13 17:59:45 +08:00
|
|
|
margin: 10rpx 10rpx 10rpx 0rpx;
|
|
|
|
border-radius: 20rpx;
|
|
|
|
min-height: 300rpx;
|
|
|
|
background-color: white;
|
|
|
|
box-shadow: 5rpx 5rpx 5rpx 5rpx rgba(0, 0, 0, 0, 1);
|
|
|
|
padding: 10rpx;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-two-name {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 20rpx 5rpx;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-thrid-box {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-thrid-item {
|
2023-02-13 17:59:45 +08:00
|
|
|
width: 30%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 30rpx;
|
|
|
|
margin: 10rpx 0rpx;
|
|
|
|
text-align: center;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-thrid-item image {
|
2023-02-13 17:59:45 +08:00
|
|
|
width: 82rpx;
|
|
|
|
height: 82rpx;
|
|
|
|
margin-bottom: 15rpx;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-empty {
|
2023-02-13 17:59:45 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
align-self: center;
|
|
|
|
font-size: 30rpx;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-empty image {
|
2023-02-13 17:59:45 +08:00
|
|
|
width: 96rpx;
|
|
|
|
height: 66rpx;
|
2023-02-14 18:02:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.car-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 30rpx;
|
|
|
|
right: 50rpx;
|
|
|
|
width: 100rpx;
|
|
|
|
height: 100rpx;
|
|
|
|
background: linear-gradient(to right bottom, rgb(243, 209, 55), rgb(245, 170, 9) 70px);
|
|
|
|
border-radius: 50%;
|
|
|
|
padding: 10rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.car-box image {
|
|
|
|
width: 48rpx;
|
|
|
|
height: 48rpx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.car-box text {
|
|
|
|
font-size: 25rpx;
|
|
|
|
color: #9f1512;
|
2023-02-12 19:42:12 +08:00
|
|
|
}
|