materialPage.sass
2.57 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/* packageStudy/pages/sceneMarket/materialPage/materialPage.wxss */
.video-detail,
.img-detail {
width: 100vw;
height: 100vh;
}
.flex {
display: flex;
align-items: center;
}
.right-content {
display: flex;
flex-direction: column;
height: 100vh;
padding-top: 24rpx;
.detail-item {
margin: 0 32rpx;
.item-title {
font-weight: 500;
font-size: 40rpx;
color: #333333;
line-height: 56rpx;
margin-bottom: 8rpx;
}
.sub-item-title {
font-size: 32rpx;
line-height: 48rpx;
}
.arc {
width: 8rpx;
height: 8rpx;
border-radius: 100%;
background: #333;
margin: 0 16rpx;
flex-shrink: 0;
}
.item-content {
color: #333333;
font-size: 28rpx;
line-height: 44rpx;
margin-bottom: 24rpx;
word-wrap: break-word;
}
.picture {
width: 686rpx;
margin: 0 auto 24rpx;
min-height: 100rpx;
}
.item-img {
display: block;
width: 100%;
}
}
.content-end {
width: 100%;
text-align: center;
color: #999;
text-align: center;
padding: 64rpx 0;
font-size: 24rpx;
margin-top: auto;
}
}
.fixed-menu-btn {
flex-direction: column;
justify-content: center;
position: fixed;
bottom: 506rpx;
right: 36rpx;
width: 128rpx;
height: 128rpx;
border-radius: 24rpx;
opacity: 1;
border: 4rpx solid #ffffff;
background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
box-shadow: 0 8rpx 32rpx 0 #3d4e6633;
z-index: 9;
color: #2C66F7;
font-size: 24rpx;
transition: all .25s;
.icon {
width: 58rpx;
height: 58rpx;
margin-bottom: 8rpx;
}
.arrow {
width: 32rpx;
height: 32rpx;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%) rotate(180deg);
}
}
.hide-btn {
right: -96rpx;
}
.material-menu-box {
height: 73vh;
.material-menu-box-title {
height: 110rpx;
box-shadow: inset 0 -1rpx 0 0 #e8e8ea;
color: #292d33;
font-size: 32rpx;
font-weight: 500;
justify-content: center;
}
.material-menu-content {
overflow-y: scroll;
height: calc(100% - 110rpx);
.item {
padding: 0 32rpx;
color: #333333;
&:first-of-type{
.name{
&:first-of-type{
border-top: none;
}
}
}
.name,.sub-name{
border-top: 2rpx solid #eff0f2;
}
.name {
font-size: 30rpx;
padding: 28rpx 0;
font-weight: 500;
}
.sub-name{
font-size: 28rpx;
padding: 28rpx 0 28rpx 40rpx;
}
}
}
}