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
135
136
137
138
139
140
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rrpx 0;
box-sizing: border-box;
}
.kg-text-title {
font-size: 32rpx;
font-weight: bold;
}
.kg-text-normal-gray {
font-size: 33rpx;
color: rgb(78, 78, 78);
}
.kg-text-normal-dark {
font-size: 32rpx;
color: black;
}
.kg-separater {
background-color: #f2f6f9;
height: 20rpx;
width: auto;
}
.kg-operate-btn-bg {
bottom: 0rpx;
/* background-color: red; */
height: 136rpx;
width: 100vh;
display: flex;
align-items: center;
}
.kg-operate-btn {
width: calc(100vw - 160rpx);
margin-left: 80rpx;
background-color: #f9aa76;
color: white;
font-size: 36rpx;
}
.kg-btn-no-border::after {
border: none;
}
.kg-section-header {
display: flex;
flex-direction: row;
height: 60rpx;
align-items: center;
justify-content: space-between;
}
.kg-quantity-cell {
/* height: 120rpx; */
width: auto;
border-radius: 6rpx;
box-shadow: 0rpx 0rpx 8rpx 8rpx #f2f6f9;
padding: 30rpx 20rpx;
margin-bottom: 20rpx;
display: flex;
flex-direction: column;
}
/* 横向对齐布局样式 两边对齐 */
.kg-flex-row {
justify-content: space-between;
display: flex;
flex-direction: row;
align-items: center;
}
/* 纵向对齐布局样式 默认对齐方式*/
.kg-flex-column {
display: flex;
flex-direction: column;
justify-content: space-between;
/* 使这个样式可以拉伸 */
/* flex-grow: 1;
margin-left: 16rpx;
height: 120rpx; */
}
.kg-border {
border: 2rpx solid rgb(190, 190, 190);
border-radius: 6rpx;
}
.eat_category_btn {
display: flex;
align-items: center;
justify-content: center;
border: 2rpx solid rgb(190, 190, 190);
border-radius: 6rpx;
width: calc((100vw - 40rpx - 92rpx) / 3);
margin-right: 40rpx;
margin-bottom: 20rpx;
height: 70rpx;
line-height: 70rpx;
color: rgb(190, 190, 190);
font-size: 16px;
}
.eat_category_btn.selected {
border-color: #f9aa76;
color: #f9aa76;
}
/* 首页顶部 */
.kg-home-header {
height: 180rpx;
margin-left: 32rpx;
margin-right: 32rpx;
}
/* 用户图片 */
.kg-user-icon {
height: 120rpx;
width: 120rpx;
border-radius: 60rpx;
/* background-color: blueviolet; */
}
/* 性别图标 */
.kg-sex-icon {
height: 35rpx;
width: 30rpx;
margin-left: 8rpx;
}