Houjie
2025-04-11 1bf977929dd324f3ac64b70debd8a79443c54392
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<template>
    <view>
        <cu-custom bgColor="bg-gradual-pink" :isBack="true"><block slot="backText">返回</block><block slot="content">操作条</block></cu-custom>
        <view class="cu-bar bg-white margin-top">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>底部操作条</text>
            </view>
        </view>
        <view class="box">
            <view class="cu-bar tabbar bg-white">
                <view class="action">
                    <view class="cuIcon-cu-image">
                        <image src="/static/tabbar/basics_cur.png"></image>
                    </view>
                    <view class="text-green">元素</view>
                </view>
                <view class="action">
                    <view class="cuIcon-cu-image">
                        <image src="/static/tabbar/component.png"></image>
                    </view>
                    <view class="text-gray">组件</view>
                </view>
                <view class="action">
                    <view class="cuIcon-cu-image">
                        <image src="/static/tabbar/plugin.png"></image>
                        <view class="cu-tag badge">99</view>
                    </view>
                    <view class="text-gray">扩展</view>
                </view>
                <view class="action">
                    <view class="cuIcon-cu-image">
                        <image src="/static/tabbar/about.png"></image>
                        <view class="cu-tag badge"></view>
                    </view>
                    <view class="text-gray">关于</view>
                </view>
            </view>
            <view class="cu-bar tabbar margin-bottom-xl bg-black">
                <view class="action text-orange">
                    <view class="cuIcon-homefill"></view> 首页
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-similar"></view> 分类
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-recharge"></view>
                    积分
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-my">
                        <view class="cu-tag badge"></view>
                    </view>
                    我的
                </view>
            </view>
            <view class="cu-bar tabbar margin-bottom-xl bg-white">
                <view class="action text-green">
                    <view class="cuIcon-homefill"></view> 首页
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-similar"></view> 分类
                </view>
                <view class="action text-gray add-action">
                    <button class="cu-btn cuIcon-add bg-green shadow"></button>
                    发布
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-my">
                        <view class="cu-tag badge"></view>
                    </view>
                    我的
                </view>
            </view>
            <view class="cu-bar tabbar bg-black">
                <view class="action text-green">
                    <view class="cuIcon-homefill"></view> 首页
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-similar"></view> 分类
                </view>
                <view class="action text-gray add-action">
                    <button class="cu-btn cuIcon-add bg-green shadow"></button>
                    发布
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="action text-gray">
                    <view class="cuIcon-my">
                        <view class="cu-tag badge"></view>
                    </view>
                    我的
                </view>
            </view>
 
            <view class="cu-bar bg-white tabbar border shop">
                <button class="action" open-type="contact">
                    <view class="cuIcon-service text-green">
                        <view class="cu-tag badge"></view>
                    </view>
                    客服
                </button>
                <view class="action text-orange">
                    <view class="cuIcon-favorfill"></view> 已收藏
                </view>
                <view class="action">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="bg-red submit">立即订购</view>
            </view>
 
            <view class="cu-bar bg-white tabbar border shop">
                <button class="action" open-type="contact">
                    <view class="cuIcon-service text-green">
                        <view class="cu-tag badge"></view>
                    </view>
                    客服
                </button>
                <view class="action">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="bg-orange submit">加入购物车</view>
                <view class="bg-red submit">立即订购</view>
            </view>
 
            <view class="cu-bar bg-white tabbar border shop">
                <button class="action" open-type="contact">
                    <view class="cuIcon-service text-green">
                        <view class="cu-tag badge"></view>
                    </view>
                    客服
                </button>
                <view class="action">
                    <view class=" cuIcon-shop"></view> 店铺
                </view>
                <view class="action">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="btn-group">
                    <button class="cu-btn bg-red round shadow-blur">立即订购</button>
                </view>
            </view>
            <view class="cu-bar bg-white tabbar border shop">
                <button class="action" open-type="contact">
                    <view class="cuIcon-service text-green">
                        <view class="cu-tag badge"></view>
                    </view> 客服
                </button>
                <view class="action">
                    <view class="cuIcon-cart">
                        <view class="cu-tag badge">99</view>
                    </view>
                    购物车
                </view>
                <view class="btn-group">
                    <button class="cu-btn bg-orange round shadow-blur">加入购物车</button>
                    <button class="cu-btn bg-red round shadow-blur">立即订购</button>
                </view>
            </view>
        </view>
 
        <view class="cu-bar bg-white">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>标题操作条</text>
            </view>
        </view>
        <view class="box" v-if="false">
            <view class="cu-bar justify-center bg-white">
                <view class="action border-title">
                    <text class="text-xl text-bold">关于我们</text>
                    <text class="bg-grey" style="width:2rem"></text>
                    <!-- 底部样式 last-child选择器-->
                </view>
            </view>
            <view class="cu-bar justify-center bg-white">
                <view class="action border-title">
                    <text class="text-xl text-bold text-blue">关于我们</text>
                    <text class="bg-gradual-blue" style="width:3rem"></text>
                </view>
            </view>
            <view class="cu-bar justify-center bg-white">
                <view class="action sub-title">
                    <text class="text-xl text-bold text-green">关于我们</text>
                    <text class="bg-green" style="width:2rem"></text>
                    <!-- last-child选择器-->
                </view>
            </view>
            <view class="cu-bar justify-center bg-white">
                <view class="action sub-title">
                    <text class="text-xl text-bold text-blue">关于我们</text>
                    <text class="text-ABC text-blue">about</text>
                    <!-- last-child选择器-->
                </view>
            </view>
        </view>
        <view class="box">
            <view class="cu-bar bg-white">
                <view class="action border-title">
                    <text class="text-xl text-bold">关于我们</text>
                    <text class="bg-grey" style="width:2rem"></text>
                    <!-- 底部样式 last-child选择器-->
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action border-title">
                    <text class="text-xl text-bold text-blue">关于我们</text>
                    <text class="bg-gradual-blue" style="width:3rem"></text>
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action sub-title">
                    <text class="text-xl text-bold text-green">关于我们</text>
                    <text class="bg-green"></text>
                    <!-- last-child选择器-->
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action sub-title">
                    <text class="text-xl text-bold text-blue">关于我们</text>
                    <text class="text-ABC text-blue">about</text>
                    <!-- last-child选择器-->
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action title-style-3">
                    <text class="text-xl text-bold">关于我们</text>
                    <text class="text-Abc text-gray self-end margin-left-sm">about</text>
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action">
                    <text class="cuIcon-title text-green"></text>
                    <text class="text-xl text-bold">关于我们</text>
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action">
                    <text class="cuIcon-titles text-green"></text>
                    <text class="text-xl text-bold">关于我们</text>
                </view>
            </view>
        </view>
 
        <view class="cu-bar bg-white">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>顶部操作条</text>
            </view>
        </view>
        <view class="box">
            <view class="cu-bar bg-white">
                <view class="action">
                    <text class="cuIcon-back text-gray"></text> 返回
                </view>
                <view class="content text-bold">
                    操作条
                </view>
            </view>
            <view class="cu-bar bg-white">
                <view class="action">
                    <text class="cuIcon-homefill text-gray"></text> 首页
                </view>
                <view class="content text-bold">
                    鲜亮的高饱和色彩,专注视觉的小程序组件库
                </view>
                <view class="action">
                    <text class="cuIcon-cardboardfill text-grey"></text>
                    <text class="cuIcon-recordfill text-red"></text>
                </view>
            </view>
            <view class="cu-bar bg-blue">
                <view class="action">
                    <text class="cuIcon-close"></text> 关闭
                </view>
                <view class="content text-bold">
                    海蓝
                </view>
            </view>
            <view class="cu-bar bg-black search">
                <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
                <view class="content">
                    ColorUI
                </view>
                <view class="action">
                    <text class="cuIcon-more"></text>
                </view>
            </view>
        </view>
 
 
        <view class="cu-bar bg-white">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>搜索操作条</text>
            </view>
        </view>
        <view class="box">
            <view class="cu-bar search bg-white">
                <view class="search-form round">
                    <text class="cuIcon-search"></text>
                    <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text" placeholder="搜索图片、文章、视频" confirm-type="search"></input>
                </view>
                <view class="action">
                    <button class="cu-btn bg-green shadow-blur round">搜索</button>
                </view>
            </view>
            <view class="cu-bar search bg-white">
                <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big11010.jpg"></view>
                <view class="search-form round">
                    <text class="cuIcon-search"></text>
                    <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text" placeholder="搜索图片、文章、视频" confirm-type="search"></input>
                </view>
                <view class="action">
                    <text>广州</text>
                    <text class="cuIcon-triangledownfill"></text>
                </view>
            </view>
            <view class="cu-bar bg-red search">
                <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big114004.jpg);"></view>
                <view class="search-form radius">
                    <text class="cuIcon-search"></text>
                    <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text" placeholder="搜索图片、文章、视频" confirm-type="search"></input>
                </view>
                <view class="action">
                    <text>广州</text>
                    <text class="cuIcon-triangledownfill"></text>
                </view>
            </view>
            <view class="cu-bar bg-cyan search">
                <view class="search-form radius">
                    <text class="cuIcon-search"></text>
                    <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text" placeholder="搜索图片、文章、视频" confirm-type="search"></input>
                </view>
                <view class="action">
                    <text class="cuIcon-close"></text>
                    <text>取消</text>
                </view>
            </view>
        </view>
 
        <view class="cu-bar bg-white">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>操作条按钮组</text>
            </view>
        </view>
 
        <view class="box">
            <view class="cu-bar btn-group">
                <button class="cu-btn bg-green shadow-blur round lg">保存</button>
            </view>
            <view class="cu-bar btn-group">
                <button class="cu-btn bg-green shadow-blur">保存</button>
                <button class="cu-btn text-green line-green shadow">上传</button>
            </view>
            <view class="cu-bar btn-group">
                <button class="cu-btn bg-green shadow-blur round">保存</button>
                <button class="cu-btn bg-blue shadow-blur round">提交</button>
            </view>
        </view>
 
 
        <view class="cu-bar bg-white">
            <view class="action">
                <text class="cuIcon-title text-green"></text>
                <text>输入操作条</text>
            </view>
        </view>
        <view class="box">
            <view class="cu-bar input">
                <view class="action">
                    <text class="cuIcon-sound text-grey"></text>
                </view>
                <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" class="solid-bottom" :focus="false" maxlength="300" cursor-spacing="10"></input>
                <view class="action">
                    <text class="cuIcon-emojifill text-grey"></text>
                </view>
                <button class="cu-btn bg-green shadow-blur">发送</button>
            </view>
 
            <view class="cu-bar input">
                <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
                <view class="action">
                    <text class="cuIcon-roundaddfill text-grey"></text>
                </view>
                <input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" class="solid-bottom" maxlength="300" cursor-spacing="10"></input>
                <view class="action">
                    <text class="cuIcon-emojifill text-grey"></text>
                </view>
                <button class="cu-btn bg-green shadow-blur">发送</button>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                InputBottom: 0
            };
        },
        methods: {
            InputFocus(e) {
                this.InputBottom = e.detail.height
            },
            InputBlur(e) {
                this.InputBottom = 0
            }
        }
    }
</script>
 
<style>
    .box {
        margin: 20upx 0;
    }
 
    .box view.cu-bar {
        margin-top: 20upx;
    }
</style>