/* pages/shop/shopcat.wxss */ page { height: 100%; background: #f6f6f6; } .container-box { display: flex; flex-direction: row; width: 100%; height: 100%; } .container-box .left { display: flex; flex-direction: column; width: 35%; height: 100%; margin-top: 10rpx; position: fixed; top: 0; left: 0; } .category-item-default { display: flex; flex-direction: row; padding: 20rpx 0rpx 20rpx 2rpx; width: 100%; } .category-item-active { display: flex; flex-direction: row; padding: 20rpx 0rpx 20rpx 2rpx; background: white; width: 100%; } .category-one-name { margin-left: 20rpx; padding: 10rpx 0rpx; flex: 1; } .line { background: #e70101; width: 10rpx; height: 60rpx; align-self: center; } .container-box .right { display: flex; flex-direction: column; width: 65%; position: absolute; left: 35%; } .category-card { 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; } .category-two-name { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 20rpx 5rpx; } .category-thrid-box { display: flex; flex-direction: row; margin-top: 20rpx; justify-content: flex-start; align-items: center; flex-wrap: wrap; } .category-thrid-item { width: 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 30rpx; margin: 10rpx 0rpx; text-align: center; } .category-thrid-item image { width: 82rpx; height: 82rpx; margin-bottom: 15rpx; } .category-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; align-self: center; font-size: 30rpx; } .category-empty image { width: 96rpx; height: 66rpx; } .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; }