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
| .tab-barv {
| width: 100vw;
| height: 90vh;
| border-bottom: 5px solid rgb(245, 11, 22);
| }
|
| .tab-bar {
| position: fixed;
| bottom: 0;
| left: 0;
| right: 0;
| height: 8vh;
| display: flex;
| align-items: center;
| /* padding-bottom: env(safe-area-inset-bottom); */
| z-index: 999;
| }
|
| .tab-bar-border {
| background-color: rgba(0, 0, 0, 0.33);
| position: absolute;
| left: 0;
| top: 0;
| width: 100vw;
| height: 1px;
| transform: scaleY(0.5);
| z-index: 9999;
| }
|
| .tab-bar-item {
| flex: 1;
| text-align: center;
| display: flex;
| justify-content: center;
| align-items: center;
| flex-direction: column;
| }
|
| .tab-bar-item image {
| width: 27px;
| height: 27px;
| display: block;
| }
|
| .tab-bar-item view {
| font-size: 10px;
| }
|
| .tab-bar-item-btn {
| flex: 1;
| text-align: center;
| display: flex;
| justify-content: center;
| align-items: center;
| flex-direction: column;
| color: #333;
| line-height: 1.2;
| overflow: hidden;
| white-space: nowrap;
| pointer-events: auto;
| font-family: -apple-system;
| }
|
| .tab-bar-item-btn::after {
| background: #fff;
| flex: 1;
| text-align: center;
| display: flex;
| justify-content: center;
| align-items: center;
| flex-direction: column;
| color: #333;
| line-height: 1.2;
| overflow: hidden;
| white-space: nowrap;
| pointer-events: auto;
| font-family: -apple-system;
| background: #fff;
| border: 0;
| margin: 0;
| padding: 0;
| }
|
| .tab-bar-item-image {
| width: 27px;
| height: 27px;
| display: block;
| line-height: 1.2;
| overflow: hidden;
| pointer-events: auto;
| }
|
| .tab-bar-item-text {
| font-size: 10px;
| display: block;
| line-height: 1.2;
| overflow: hidden;
| white-space: nowrap;
| pointer-events: auto;
| font-family: -apple-system;
| }
|
| /*红点提示*/
|
| .dot {
| position: relative;
| z-index: 2;
| top: -20px;
| background: #f00;
| border-radius: 10rpx;
| left: 30rpx;
| border: 6rpx solid #f00;
| }
|
| .number{
| position: relative;
| z-index: 2;
| top: -20px;
| background: #f00;
| border-radius: 15rpx;
| left: 30rpx;
| color: #fff;
| font-size:5rpx;
| width: 20rpx;
| height:20rpx;
| line-height: 20rpx;
| }
|
|