This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/pages/category/index.wxss
2020-04-25 22:59:04 +08:00

157 lines
2.3 KiB
Plaintext

/* 搜索框 */
.index-search-box {
background: #fff;
padding: 13rpx 13rpx 18rpx 13rpx;
}
.index-search {
border-bottom: 0;
background: #fff;
border-radius: 50rpx;
overflow: hidden;
position: relative;
font-size: 28rpx;
color: #999;
box-sizing: border-box;
height: 64rpx;
line-height: 64rpx;
}
/* 通用 */
page {
background: #fff;
}
.cate-content {
background: #fff;
}
.cate-wrapper {
padding: 0 20rpx 20rpx 20rpx;
box-sizing: border-box;
}
/* 一级分类(大图) 10 */
.cate_style__10 .cate-item {
margin-bottom: 18rpx;
}
.cate_style__10 .cate-item:last-child {
margin-bottom: 0;
}
.cate_style__10 .cate-item image {
display: block;
width: 100%;
height: auto;
}
/* 一级分类(小图) 11 */
.cate_style__11 .cate-item {
float: left;
padding: 25rpx;
width: 33.3333%;
text-align: center;
box-sizing: border-box;
}
.cate_style__11 .cate-item image {
/* height: 208.656rpx; */
width: 100%;
display: block;
}
.cate_style__11 .cate-item image {
/* height: 208.656rpx; */
display: block;
width: 100%;
margin-bottom: 10rpx;
}
.cate_style__11 .cate-item text {
display: block;
color: #555;
}
/* 二级分类 20 */
.cate-content {
width: 100%;
}
.cate-left {
flex-direction: column;
display: flex;
width: 200rpx;
color: #444;
height: 100%;
background: #f8f8f8;
}
.cate-right {
display: flex;
flex-direction: column;
width: 550rpx;
height: 100%;
overflow: hidden;
}
.cate-right-cont {
width: 100%;
display: flex;
flex-flow: row wrap;
align-content: flex-start;
padding-top: 26rpx;
}
.type-nav {
position: relative;
height: 90rpx;
line-height: 90rpx;
text-align: center;
z-index: 10;
display: block;
font-size: 26rpx;
}
.type-nav.selected {
background: #fff;
color: #ff495e;
border-right: none;
font-size: 28rpx;
}
.cate-cont-box {
margin-bottom: 30rpx;
padding-bottom: 10rpx;
background: #fff;
overflow: hidden;
}
.cate-cont-box .cate-img {
padding: 13rpx 10rpx 4rpx 10rpx;
}
.cate-cont-box .cate-img image {
width: 100%;
height: 150rpx;
}
.cate-cont-box text {
text-align: center;
display: block;
font-size: 26rpx;
padding-bottom: 14rpx;
color: #444;
padding: 0 15rpx 30rpx 15rpx;
}
.cate-two-box {
width: 100%;
padding: 0 10px;
}