uview-plus 3.1.47 → 3.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +2 -0
- package/libs/css/flex.scss +30 -30
- package/package.json +1 -1
package/changelog.md
CHANGED
package/libs/css/flex.scss
CHANGED
|
@@ -85,40 +85,40 @@
|
|
|
85
85
|
|
|
86
86
|
// 自动伸缩
|
|
87
87
|
.u-flex-fill {
|
|
88
|
-
flex: 1 1 auto
|
|
88
|
+
flex: 1 1 auto;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
// 边界自动伸缩
|
|
92
92
|
.u-margin-top-auto,
|
|
93
93
|
.u-m-t-auto {
|
|
94
|
-
margin-top: auto !important
|
|
94
|
+
margin-top: auto !important;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.u-margin-right-auto,
|
|
98
98
|
.u-m-r-auto {
|
|
99
|
-
margin-right: auto !important
|
|
99
|
+
margin-right: auto !important;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.u-margin-bottom-auto,
|
|
103
103
|
.u-m-b-auto {
|
|
104
|
-
margin-bottom: auto !important
|
|
104
|
+
margin-bottom: auto !important;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.u-margin-left-auto,
|
|
108
108
|
.u-m-l-auto {
|
|
109
|
-
margin-left: auto !important
|
|
109
|
+
margin-left: auto !important;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.u-margin-center-auto,
|
|
113
113
|
.u-m-c-auto {
|
|
114
114
|
margin-left: auto !important;
|
|
115
|
-
margin-right: auto !important
|
|
115
|
+
margin-right: auto !important;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.u-margin-middle-auto,
|
|
119
119
|
.u-m-m-auto {
|
|
120
120
|
margin-top: auto !important;
|
|
121
|
-
margin-bottom: auto !important
|
|
121
|
+
margin-bottom: auto !important;
|
|
122
122
|
}
|
|
123
123
|
/* #endif */
|
|
124
124
|
|
|
@@ -134,54 +134,54 @@
|
|
|
134
134
|
|
|
135
135
|
// 主轴起点对齐
|
|
136
136
|
.u-flex-start {
|
|
137
|
-
justify-content: flex-start
|
|
137
|
+
justify-content: flex-start;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// 主轴中间对齐
|
|
141
141
|
.u-flex-center {
|
|
142
|
-
justify-content: center
|
|
142
|
+
justify-content: center;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
// 主轴终点对齐
|
|
146
146
|
.u-flex-end {
|
|
147
|
-
justify-content: flex-end
|
|
147
|
+
justify-content: flex-end;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
// 主轴等比间距
|
|
151
151
|
.u-flex-between {
|
|
152
|
-
justify-content: space-between
|
|
152
|
+
justify-content: space-between;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// 主轴均分间距
|
|
156
156
|
.u-flex-around {
|
|
157
|
-
justify-content: space-around
|
|
157
|
+
justify-content: space-around;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
// 交叉轴起点对齐
|
|
161
161
|
.u-flex-items-start {
|
|
162
|
-
align-items: flex-start
|
|
162
|
+
align-items: flex-start;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
// 交叉轴中间对齐
|
|
166
166
|
.u-flex-items-center {
|
|
167
|
-
align-items: center
|
|
167
|
+
align-items: center;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
// 交叉轴终点对齐
|
|
171
171
|
.u-flex-items-end {
|
|
172
|
-
align-items: flex-end
|
|
172
|
+
align-items: flex-end;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
// 交叉轴第一行文字基线对齐
|
|
176
176
|
.u-flex-items-baseline {
|
|
177
177
|
/* #ifndef APP-NVUE */
|
|
178
|
-
align-items: baseline
|
|
178
|
+
align-items: baseline;
|
|
179
179
|
/* #endif */
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
// 交叉轴方向拉伸对齐
|
|
183
183
|
.u-flex-items-stretch {
|
|
184
|
-
align-items: stretch
|
|
184
|
+
align-items: stretch;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
|
|
@@ -189,54 +189,54 @@
|
|
|
189
189
|
|
|
190
190
|
// 子元素交叉轴起点对齐
|
|
191
191
|
.u-flex-self-start {
|
|
192
|
-
align-self: flex-start
|
|
192
|
+
align-self: flex-start;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
// 子元素交叉轴居中对齐
|
|
196
196
|
.u-flex-self-center {
|
|
197
|
-
align-self: center
|
|
197
|
+
align-self: center;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// 子元素交叉轴终点对齐
|
|
201
201
|
.u-flex-self-end {
|
|
202
|
-
align-self: flex-end
|
|
202
|
+
align-self: flex-end;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
// 子元素交叉轴第一行文字基线对齐
|
|
206
206
|
.u-flex-self-baseline {
|
|
207
|
-
align-self: baseline
|
|
207
|
+
align-self: baseline;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
// 子元素交叉轴方向拉伸对齐
|
|
211
211
|
.u-flex-self-stretch {
|
|
212
|
-
align-self: stretch
|
|
212
|
+
align-self: stretch;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
// 多轴交叉时的对齐方式
|
|
216
216
|
|
|
217
217
|
// 起点对齐
|
|
218
218
|
.u-flex-content-start {
|
|
219
|
-
align-content: flex-start
|
|
219
|
+
align-content: flex-start;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
// 居中对齐
|
|
223
223
|
.u-flex-content-center {
|
|
224
|
-
align-content: center
|
|
224
|
+
align-content: center;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
// 终点对齐
|
|
228
228
|
.u-flex-content-end {
|
|
229
|
-
align-content: flex-end
|
|
229
|
+
align-content: flex-end;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
// 两端对齐
|
|
233
233
|
.u-flex-content-between {
|
|
234
|
-
align-content: space-between
|
|
234
|
+
align-content: space-between;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
// 均分间距
|
|
238
238
|
.u-flex-content-around {
|
|
239
|
-
align-content: space-around
|
|
239
|
+
align-content: space-around;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
// 全部居中对齐
|
|
@@ -244,17 +244,17 @@
|
|
|
244
244
|
justify-content: center;
|
|
245
245
|
align-items: center;
|
|
246
246
|
align-self: center;
|
|
247
|
-
align-content: center
|
|
247
|
+
align-content: center;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
// 是否可以放大
|
|
251
251
|
.u-flex-grow {
|
|
252
|
-
flex-grow: 1
|
|
252
|
+
flex-grow: 1;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
// 是否可以缩小
|
|
256
256
|
.u-flex-shrink {
|
|
257
|
-
flex-shrink: 1
|
|
257
|
+
flex-shrink: 1;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
// 定义内外边距,历遍1-80
|