overView.scss
3.15 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* packageStoreAssistant/sopJourney/pages/overView/overView.wxss */
.overView {
&::before {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 400rpx;
z-index: -1;
content: '';
background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant/marketing/bg.png') no-repeat;
background-size: cover;
}
&::after {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 2792rpx;
background-image: linear-gradient(180deg, #F0F5FF 0%, #EDF3FF 100%);
z-index: -2;
content: '';
}
.tab-box {
position: sticky;
top: 0;
left: 0;
z-index: 2;
display: flex;
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
background-color: #FFF;
.tab-scroll {
height: 100%;
height: 88rpx;
}
.tab_element {
display: inline-block;
width: 176rpx;
position: relative;
padding: 20rpx 0;
box-sizing: border-box;
.inner {
width: 100%;
display: flex;
flex-flow: column;
align-items: center;
font-size: 30rpx;
color: #1B233D;
text-align: center;
}
.active {
font-weight: 600;
font-size: 32rpx;
}
.line {
width: 48rpx;
height: 8rpx;
background: #708CFF;
border-radius: 3px 3px 0 0;
transform: scale(1);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
}
}
.list-box {
height: calc(100vh - 112rpx);
padding: 24rpx;
box-sizing: border-box;
.title {
font-weight: 600;
font-size: 32rpx;
color: #1B233D;
margin-bottom: 16rpx;
}
.list-item {
height: auto;
background-color: #fff;
display: flex;
margin-bottom: 16rpx;
border-radius: 16rpx;
padding: 24rpx 32rpx;
box-sizing: border-box;
.icon {
width: 96rpx;
height: 96rpx;
border-radius: 16rpx;
margin-right: 24rpx;
}
.text {
width:500rpx;
.content {
font-size: 32rpx;
color: #1B233D;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 48rpx;
}
.intro {
font-size: 24rpx;
color: #9299AD;
line-height: 32rpx;
margin-top:8rpx;
}
}
}
// .safe-area {
// display: block;
// width: 100%;
// height: 0;
// opacity: 0;
// }
}
}
.list-nothing {
padding: 30rpx 0;
}