Showing
2 changed files
with
358 additions
and
0 deletions
public/scss/index.css
0 → 100644
1 | +@charset "utf-8"; | ||
2 | + | ||
3 | +/* base */ | ||
4 | +@import "me/index"; | ||
5 | +@import "layout/reset"; | ||
6 | +@import "layout/common"; | ||
7 | +@import "layout/loading"; | ||
8 | +@import "layout/swiper"; | ||
9 | +@import "layout/header"; | ||
10 | +@import "layout/footer"; | ||
11 | +@import "layout/utils"; | ||
12 | + | ||
13 | +/* component */ | ||
14 | +@import "layout/modal"; | ||
15 | + | ||
16 | +/* module */ | ||
17 | + | ||
18 | +/* page */ | ||
19 | +@import "layout/form"; | ||
20 | +@import "common/index"; | ||
21 | +@import "channel/index"; | ||
22 | +@import "product/index"; | ||
23 | +@import "activity/index"; | ||
24 | +@import "activity/invite"; | ||
25 | +@import "passport/index"; | ||
26 | +@import "guang/index"; | ||
27 | +@import "cart/index"; | ||
28 | +@import "home/index"; | ||
29 | +@import "me/index"; |
public/scss/me/_suggest.css
0 → 100644
1 | +.yoho-suggest-page { | ||
2 | + width: 100%; | ||
3 | + height: auto; | ||
4 | + | ||
5 | + /* 意见反馈头部 */ | ||
6 | + .suggest-header { | ||
7 | + text-align: center; | ||
8 | + color: #fff; | ||
9 | + font-size: 26px; | ||
10 | + line-height: 46px; | ||
11 | + overflow: hidden; | ||
12 | + padding-bottom: 20px; | ||
13 | + background-image: linear-gradient(#383838, #505050); | ||
14 | + | ||
15 | + &:before { | ||
16 | + content: ""; | ||
17 | + display: block; | ||
18 | + background: url("/me/suggest/suggest-logo.png"); | ||
19 | + width: 104px; | ||
20 | + height: 35px; | ||
21 | + margin: 10px auto 15px; | ||
22 | + } | ||
23 | + } | ||
24 | + | ||
25 | + /* 意见反馈主体 */ | ||
26 | + .suggest-content { | ||
27 | + border-top: 1px solid #e0e0e0; | ||
28 | + } | ||
29 | + | ||
30 | + .suggest-item { | ||
31 | + width: 100%; | ||
32 | + color: #444; | ||
33 | + border-top: 1px solid #e0e0e0; | ||
34 | + border-bottom: 30px solid #f0f0f0; | ||
35 | + overflow: hidden; | ||
36 | + | ||
37 | + .suggest-item-img { | ||
38 | + width: 100%; | ||
39 | + overflow: hidden; | ||
40 | + > img { | ||
41 | + margin: 0 auto; | ||
42 | + display: block; | ||
43 | + max-width: 100%; | ||
44 | + } | ||
45 | + } | ||
46 | + | ||
47 | + > h2 { | ||
48 | + font-size: 38px; | ||
49 | + margin: 30px 0 31px; | ||
50 | + padding: 0 35px; | ||
51 | + } | ||
52 | + | ||
53 | + > p { | ||
54 | + font-size: 26px; | ||
55 | + line-height: 48px; | ||
56 | + padding: 0 35px; | ||
57 | + } | ||
58 | + } | ||
59 | + | ||
60 | + .suggest-type { | ||
61 | + margin-top: 29px - 11px; | ||
62 | + height: 88px; | ||
63 | + line-height: 88px; | ||
64 | + border-top: 1px solid #e0e0e0; | ||
65 | + border-bottom: 1px solid #e0e0e0; | ||
66 | + color: #b0b0b0; | ||
67 | + font-size: 26px; | ||
68 | + display: none; | ||
69 | + text-align: center; | ||
70 | + | ||
71 | + > .active { | ||
72 | + color: #444; | ||
73 | + } | ||
74 | + | ||
75 | + &.show { | ||
76 | + display: block; | ||
77 | + } | ||
78 | + } | ||
79 | + | ||
80 | + .suggest-active { | ||
81 | + > div { | ||
82 | + width: 50%; | ||
83 | + height: 100%; | ||
84 | + float: left; | ||
85 | + text-align: left; | ||
86 | + padding-left: 128px; | ||
87 | + box-sizing: border-box; | ||
88 | + } | ||
89 | + | ||
90 | + > div:nth-last-of-type(1) { | ||
91 | + padding-left: 0; | ||
92 | + padding-right: 128px; | ||
93 | + text-align: right; | ||
94 | + float: right; | ||
95 | + | ||
96 | + > span { | ||
97 | + | ||
98 | + display: inline-block; | ||
99 | + height: 100%; | ||
100 | + overflow: hidden; | ||
101 | + | ||
102 | + &:nth-of-type(1) { | ||
103 | + transform: rotate(180deg); | ||
104 | + } | ||
105 | + } | ||
106 | + } | ||
107 | + } | ||
108 | + | ||
109 | + .suggest-bad { | ||
110 | + > div { | ||
111 | + > span { | ||
112 | + display: inline-block; | ||
113 | + height: 100%; | ||
114 | + overflow: hidden; | ||
115 | + | ||
116 | + &:nth-of-type(1) { | ||
117 | + transform: rotate(180deg); | ||
118 | + } | ||
119 | + } | ||
120 | + } | ||
121 | + } | ||
122 | + | ||
123 | + /* 发表意见 */ | ||
124 | + .create-new-suggest { | ||
125 | + display: block; | ||
126 | + width: 100%; | ||
127 | + height: 150px; | ||
128 | + line-height: 88px; | ||
129 | + text-align: center; | ||
130 | + font-size: 30px; | ||
131 | + border-top: 30px solid #f0f0f0; | ||
132 | + border-bottom: 30px solid #f0f0f0; | ||
133 | + position: relative; | ||
134 | + | ||
135 | + .list-item { | ||
136 | + padding: 0 35px; | ||
137 | + } | ||
138 | + .new-right { | ||
139 | + float: right; | ||
140 | + margin-left: 40px; | ||
141 | + color: #e0e0e0; | ||
142 | + } | ||
143 | + | ||
144 | + a { | ||
145 | + color: #444; | ||
146 | + display: inline-block; | ||
147 | + } | ||
148 | + | ||
149 | + } | ||
150 | +} | ||
151 | + | ||
152 | +/* 提交页面 */ | ||
153 | +.yoho-suggest-sub-page { | ||
154 | + width: 100%; | ||
155 | + background: #f0f0f0; | ||
156 | + | ||
157 | + .suggest-sub-form { | ||
158 | + background: #fff; | ||
159 | + width: 100%; | ||
160 | + | ||
161 | + #suggest-textarea { | ||
162 | + box-sizing: border-box; | ||
163 | + width: 100%; | ||
164 | + max-width: 100%; | ||
165 | + min-width: 100%; | ||
166 | + height: 255px; | ||
167 | + max-height: 255px; | ||
168 | + min-height: 255px; | ||
169 | + padding: 30px; | ||
170 | + font-size: 26px; | ||
171 | + line-height: 48px; | ||
172 | + color: #000; | ||
173 | + display: block; | ||
174 | + background: #fff; | ||
175 | + border: none; | ||
176 | + outline: none; | ||
177 | + resize: none; | ||
178 | + } | ||
179 | + } | ||
180 | + | ||
181 | + .img-form { | ||
182 | + padding: 0 30px; | ||
183 | + padding-top: 40px; | ||
184 | + overflow: hidden; | ||
185 | + | ||
186 | + .upload-img-list { | ||
187 | + float: left; | ||
188 | + | ||
189 | + > li { | ||
190 | + display: block; | ||
191 | + width: 130px; | ||
192 | + height: 130px; | ||
193 | + float: left; | ||
194 | + margin-right: 30px; | ||
195 | + background: resolve("common/loading.gif") center center no-repeat; | ||
196 | + background-size: 50%; | ||
197 | + position: relative; | ||
198 | + | ||
199 | + > img { | ||
200 | + display: block; | ||
201 | + width: 100%; | ||
202 | + height: 100%; | ||
203 | + overflow: hidden; | ||
204 | + } | ||
205 | + | ||
206 | + > span { | ||
207 | + display: block; | ||
208 | + background: url("/me/suggest/sub_del.png"); | ||
209 | + width: 42px; | ||
210 | + height: 42px; | ||
211 | + | ||
212 | + position: absolute; | ||
213 | + top: -21px; | ||
214 | + right: -21px; | ||
215 | + | ||
216 | + } | ||
217 | + } | ||
218 | + } | ||
219 | + | ||
220 | + .img-add { | ||
221 | + display: block; | ||
222 | + width: 130px; | ||
223 | + height: 130px; | ||
224 | + border: 1px dashed #e0e0e0; | ||
225 | + position: relative; | ||
226 | + text-indent: -1000px; | ||
227 | + float: left; | ||
228 | + | ||
229 | + &:after { | ||
230 | + content: ""; | ||
231 | + display: block; | ||
232 | + background: url("/me/suggest/suggest-add.png"); | ||
233 | + width: 72px; | ||
234 | + height: 72px; | ||
235 | + | ||
236 | + position: absolute; | ||
237 | + top: 50%; | ||
238 | + left: 50%; | ||
239 | + margin-top: -36px; | ||
240 | + margin-left: -36px; | ||
241 | + } | ||
242 | + | ||
243 | + input[type="file"] { | ||
244 | + position: absolute; | ||
245 | + opacity: 0.2; | ||
246 | + border: none; | ||
247 | + outline: none; | ||
248 | + display: block; | ||
249 | + | ||
250 | + width: 130px; | ||
251 | + height: 130px; | ||
252 | + | ||
253 | + top: 0; | ||
254 | + left: 0; | ||
255 | + } | ||
256 | + } | ||
257 | + } | ||
258 | +} | ||
259 | + | ||
260 | +/* dialog */ | ||
261 | +.dialog-wrapper { | ||
262 | + background: hsla(0, 0%, 0%, 0.5); | ||
263 | + position: fixed; | ||
264 | + top: 0; | ||
265 | + right: 0; | ||
266 | + bottom: 0; | ||
267 | + left: 0; | ||
268 | + display: none; | ||
269 | + | ||
270 | + .dialog-box { | ||
271 | + width: 540px; | ||
272 | + border-radius: 20px; | ||
273 | + background: hsla(100, 100%, 100%, 0.8); | ||
274 | + position: absolute; | ||
275 | + left: 50%; | ||
276 | + margin-left: -270px; | ||
277 | + font-size: 30px; | ||
278 | + text-align: center; | ||
279 | + color: #000; | ||
280 | + } | ||
281 | + | ||
282 | + .dialog-content { | ||
283 | + padding: 60px 30px; | ||
284 | + } | ||
285 | + | ||
286 | + .dialog-header { | ||
287 | + padding: 50px 0 40px; | ||
288 | + font-size: 34px; | ||
289 | + text-align: center; | ||
290 | + font-weight: bold; | ||
291 | + } | ||
292 | + | ||
293 | + .dialog-footer { | ||
294 | + height: 88px; | ||
295 | + line-height: 88px; | ||
296 | + | ||
297 | + > span { | ||
298 | + display: block; | ||
299 | + width: 50%; | ||
300 | + height: 100%; | ||
301 | + float: left; | ||
302 | + box-sizing: border-box; | ||
303 | + | ||
304 | + &:nth-last-of-type(1) { | ||
305 | + border-left: 1px solid #ccc; | ||
306 | + border-radius: 0 0 10px 10px; | ||
307 | + color: #e01; | ||
308 | + } | ||
309 | + } | ||
310 | + | ||
311 | + > span:active { | ||
312 | + background-color: #ccc; | ||
313 | + } | ||
314 | + } | ||
315 | + | ||
316 | + /*边框在物理机上1px变粗*/ | ||
317 | + .dialog-footer::before { | ||
318 | + content: ""; | ||
319 | + position: absolute; | ||
320 | + left: 0; | ||
321 | + width: 200%; | ||
322 | + height: 0; | ||
323 | + border-top: 1px solid #cccccc; | ||
324 | + transform-origin: left top; | ||
325 | + transform: scale3d(0.5,0.5,0.5); | ||
326 | + -webkit-transform: scale3d(0.5,0.5,0.5); /* Chrome, Safari, Opera */ | ||
327 | + -ms-transform: scale3d(0.5,0.5,0.5); /* IE 9 */ | ||
328 | + } | ||
329 | +} |
-
Please register or login to post a comment