index.less
2.26 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
.nav-bar-box {
position: fixed;
top: 0;
left: 0;
right: 0;
height: calc(
88px + constant(safe-area-inset-top)
); /* 直接扩展高度,因为padding-bottom是内边距 */
height: calc(88px + env(safe-area-inset-top)); /* 直接扩展高度 */
padding-top: constant(safe-area-inset-top); /*兼容 iOS<11.2 */
padding-top: env(safe-area-inset-top); /* 兼容iOS>= 11.2*/
background: #fff;
z-index: 98;
.adm-nav-bar {
height: 88px;
padding: 0 12px;
.adm-nav-bar-left {
.adm-nav-bar-back {
padding: 0;
.back-icon {
display: block;
width: 48px;
height: 48px;
background: url('./back_icon_b.png') center center no-repeat;
background-size: cover;
&.white {
background: url('./back_icon_w.png') center center no-repeat;
background-size: cover;
}
}
.custom-icon {
width: 16px;
height: 16px;
font-size: 16px;
}
}
}
.adm-nav-bar-title {
font-size: 32px;
color: #242835;
text-align: center;
font-weight: 600;
}
.adm-nav-bar-right {
}
}
}
.sx-fixed-back {
position: fixed;
right: 15px;
bottom: 210px;
z-index: 999; // 不被其它dom覆盖
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
.icon-fixed-back {
width: 22px;
height: 22px;
}
}
.sx-left-bottom {
position: fixed;
width: 214px;
height: 214px;
left: -107px;
bottom: -107px;
border-radius: 50%;
z-index: 999;
text-align: right;
&_wrap {
display: inline-block;
margin: 40px 53px 0 0;
text-align: center;
//border: 1px solid red;
&__icon {
width: 18px;
height: 18px;
color: #fff;
}
&__text {
color: #fff;
}
}
&_wrapFocus {
.sx-left-bottom_wrap__icon,
.sx-left-bottom_wrap__text {
color: #3499ff;
}
}
}
.sx-left-center {
position: fixed;
width: 24px;
height: 52px;
bottom: 120px;
border-radius: 0 52px 52px 0;
background: rgba(52, 153, 255, 0.1);
z-index: 999;
text-align: right;
&_wrap {
display: inline-block;
color: #3a9cfe;
margin: 15px 10px 0 0;
transform: scale(1.4);
}
}