category.wxss
1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
@import "./genderSwitcher.wxss";
/* category.wxss */
page{
height:100%
}
.left-view {
width: 27%;
height: 100%;
background-color: #f5f7f6;
float:left;
padding-top: 88rpx;
}
.category-item {
width: 100%;
height: 120rpx;
}
.item-left {
float: left;
width: 8rpx;
background-color: black;
height: 100%;
display: none;
}
.selected .item-left {
display: block;
}
.category-item .item-name {
height: 100%;
font-size: 28rpx;
font-family: PingFang SC;
color: #cacbca;
text-align: center;
line-height: 120rpx;
}
.selected .item-name{
background-color: white;
color: black !important;
padding-right: 8rpx;
font-size: 30rpx !important;
}
.divide-line {
height: 2rpx;
background-color: white;
}
.right-view {
width:73%;
height: 100%;
float:right;
font-size: 26rpx;
font-family: PingFang SC;
padding-top: 88rpx;
}
.category-block {
width:100%;
float:left;
}
.category-block-header {
width:100%;
height: 60rpx;
text-align: center;
line-height: 80rpx;
}
.category-item-block {
width: 154rpx;
height: 194rpx;
background-color: #f5f7f6;
margin-left:22rpx;
margin-top:20rpx;
float:left;
text-align: center;
}
.category-item-img {
width: 126rpx;
height: 170rpx;
}
.category-item-name {
width: 154rpx;
margin-top: -20rpx;
text-align: center;
font-size: 22rpx;
color: #444444;
}
.category-item-more {
width: 100%;
height: 100%;
text-align: center;
vertical-align: middle;
font-family: 'Helvetica Bold';
font-size: 24rpx;
color: #444444;
padding-top: 51%;
}
.brand-item-block {
width: 156rpx;
height: 140rpx;
margin-left:22rpx;
margin-top:20rpx;
float:left;
text-align: center;
}
.brand-item-img {
width: 156rpx;
height: 64rpx;
padding-top: 18rpx;
padding-bottom: 18rpx;
}
.brand-item-name {
width: 156rpx;
height: 40rpx;
text-align: center;
font-size: 22rpx;
color: #B0B0B0;
}