Commit 803e006a4c822cbabe0f8013b89aa412be698b12
1 parent
10315c7c
这个页面要放在美导小程序
Showing
4 changed files
with
0 additions
and
577 deletions
packageA/pages/addCustomer/addCustomer.js deleted
1 | -// packageA//pages/quan/quan.js | |
2 | -Page({ | |
3 | - | |
4 | - /** | |
5 | - * 页面的初始数据 | |
6 | - */ | |
7 | - data: { | |
8 | - | |
9 | - }, | |
10 | - | |
11 | - /** | |
12 | - * 生命周期函数--监听页面加载 | |
13 | - */ | |
14 | - onLoad: function (options) { | |
15 | - | |
16 | - }, | |
17 | - | |
18 | - /** | |
19 | - * 生命周期函数--监听页面初次渲染完成 | |
20 | - */ | |
21 | - onReady: function () { | |
22 | - | |
23 | - }, | |
24 | - | |
25 | - /** | |
26 | - * 生命周期函数--监听页面显示 | |
27 | - */ | |
28 | - onShow: function () { | |
29 | - | |
30 | - }, | |
31 | - | |
32 | - /** | |
33 | - * 生命周期函数--监听页面隐藏 | |
34 | - */ | |
35 | - onHide: function () { | |
36 | - | |
37 | - }, | |
38 | - | |
39 | - /** | |
40 | - * 生命周期函数--监听页面卸载 | |
41 | - */ | |
42 | - onUnload: function () { | |
43 | - | |
44 | - }, | |
45 | - | |
46 | - /** | |
47 | - * 页面相关事件处理函数--监听用户下拉动作 | |
48 | - */ | |
49 | - onPullDownRefresh: function () { | |
50 | - | |
51 | - }, | |
52 | - | |
53 | - /** | |
54 | - * 页面上拉触底事件的处理函数 | |
55 | - */ | |
56 | - onReachBottom: function () { | |
57 | - | |
58 | - }, | |
59 | - | |
60 | - /** | |
61 | - * 用户点击右上角分享 | |
62 | - */ | |
63 | - onShareAppMessage: function () { | |
64 | - | |
65 | - } | |
66 | -}) | |
67 | 0 | \ No newline at end of file |
packageA/pages/addCustomer/addCustomer.json deleted
packageA/pages/addCustomer/addCustomer.wxml deleted
1 | -<view class="container"> | |
2 | - <view class="panel t-c"> | |
3 | - <view class="avatar"></view> | |
4 | - <view class="nickname">微信昵称</view> | |
5 | - <view class="gray">hello,我是您的专属顾问</view> | |
6 | - <view class="gray">扫描下方二维码,加我微信吧~</view> | |
7 | - <view class="qrcode"></view> | |
8 | - </view> | |
9 | - <view class="flex bottom t-c gray pdv10"> | |
10 | - <view class="w50"> | |
11 | - <image src="../../images/wx.png" class="wx"></image> | |
12 | - <view class="fs26">发给客户</view> | |
13 | - </view> | |
14 | - <view class="w50 save"> | |
15 | - <text class="iconfont icon-save"></text> | |
16 | - <view class="fs26 mgt12">保存图片</view> | |
17 | - </view> | |
18 | - </view> | |
19 | -</view> | |
20 | 0 | \ No newline at end of file |
packageA/pages/addCustomer/addCustomer.wxss deleted
1 | -/* packageA//pages/goods_share/goods_share.wxss */ | |
2 | -.red { | |
3 | - color: #FE6867; | |
4 | -} | |
5 | -.gray { | |
6 | - color: #7b7b7b; | |
7 | -} | |
8 | -.w25 { | |
9 | - width: 25%; | |
10 | -} | |
11 | -.w50 { | |
12 | - width: 50%; | |
13 | -} | |
14 | -.w164 { | |
15 | - width: 164rpx; | |
16 | -} | |
17 | -.bold { | |
18 | - font-weight: bold; | |
19 | -} | |
20 | -.mgt12 { | |
21 | - margin-top: 12rpx; | |
22 | -} | |
23 | -page, | |
24 | -.container { | |
25 | - /* background-color: #f2f2f2; */ | |
26 | - height: 100%; | |
27 | - background-color: pink; | |
28 | -} | |
29 | -.container { | |
30 | - /* background-color: white; */ | |
31 | - /* position: fixed; | |
32 | - width: 100%; | |
33 | - bottom: 0; */ | |
34 | - box-sizing: border-box; | |
35 | - padding: 160rpx 40rpx 0; | |
36 | - background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%); | |
37 | - /* padding-bottom: 128rpx; */ | |
38 | -} | |
39 | -.search-container { | |
40 | - display: flex; | |
41 | - padding: 26rpx 20rpx; | |
42 | - border-bottom: 2rpx solid #f8f8f8; | |
43 | -} | |
44 | -.input-container { | |
45 | - flex: 1; | |
46 | - border-radius: 6rpx 0 0 6rpx; | |
47 | - overflow: hidden; | |
48 | -} | |
49 | -.search { | |
50 | - background-color: #f0f0f0; | |
51 | - padding: 10rpx 20rpx; | |
52 | - font-size: 28rpx; | |
53 | -} | |
54 | -.btn-search { | |
55 | - background-color: #FE6867; | |
56 | - color: white; | |
57 | - padding: 0 30rpx; | |
58 | - display: flex; | |
59 | - align-items: center; | |
60 | - border-radius: 0 6rpx 6rpx 0; | |
61 | -} | |
62 | -.title { | |
63 | - display: flex; | |
64 | - font-size: 30rpx; | |
65 | - border-bottom: 2rpx solid #f8f8f8; | |
66 | -} | |
67 | -.title .iconfont { | |
68 | - color: #ccc; | |
69 | - font-size: 16rpx; | |
70 | - margin-left: 8rpx; | |
71 | -} | |
72 | -.title-item { | |
73 | - width: 25%; | |
74 | - box-sizing: border-box; | |
75 | - text-align: center; | |
76 | - padding: 20rpx; | |
77 | - position: relative; | |
78 | -} | |
79 | -.title-item.active { | |
80 | - color: #FE6867; | |
81 | - font-weight: bold; | |
82 | -} | |
83 | -.title-item.active:after { | |
84 | - content:''; | |
85 | - position: absolute; | |
86 | - width: 50%; | |
87 | - height: 4rpx; | |
88 | - background-color: #FE6867; | |
89 | - left: 0; | |
90 | - right: 0; | |
91 | - bottom: 0; | |
92 | - margin: 0 auto; | |
93 | -} | |
94 | -.list-container { | |
95 | - height: calc(100% - 118rpx); | |
96 | -} | |
97 | -.list { | |
98 | - box-sizing: border-box; | |
99 | - height: calc(100% - 82rpx); | |
100 | - background-color: #f2f2f2; | |
101 | - /* padding-bottom: 102rpx; */ | |
102 | -} | |
103 | -.list.active1 { | |
104 | - height: calc(100% - 82rpx - 78rpx); | |
105 | - padding-bottom: 0; | |
106 | -} | |
107 | -.list.active2 { | |
108 | - padding-bottom: 0; | |
109 | -} | |
110 | -.list-item { | |
111 | - display: flex; | |
112 | - padding: 20rpx; | |
113 | - border-bottom: 2rpx solid #f8f8f8; | |
114 | - background-color: white; | |
115 | -} | |
116 | -.img-container { | |
117 | - background-color: #f0f0f0; | |
118 | - width: 280rpx; | |
119 | - height: 248rpx; | |
120 | - display: flex; | |
121 | - align-items: center; | |
122 | - justify-content: center; | |
123 | - position: relative; | |
124 | -} | |
125 | -.img-container:after { | |
126 | - font-family: iconfont; | |
127 | - content: '\e8c1'; | |
128 | - color: #bbb; | |
129 | - font-size: 80rpx; | |
130 | -} | |
131 | - | |
132 | - | |
133 | -.img-container.live:before { | |
134 | - content: '\e664'; | |
135 | -} | |
136 | -.img-container.coming:before { | |
137 | - content: '\e608'; | |
138 | -} | |
139 | -.img-container.playback:before { | |
140 | - content: '\e603'; | |
141 | -} | |
142 | -.img-container.live:before, | |
143 | -.img-container.coming:before, | |
144 | -.img-container.playback:before { | |
145 | - font-family: iconfont; | |
146 | - background-color: #FE6867; | |
147 | - color: white; | |
148 | - width: 50rpx; | |
149 | - height: 50rpx; | |
150 | - line-height: 50rpx; | |
151 | - text-align: center; | |
152 | - border-radius: 50%; | |
153 | - position: absolute; | |
154 | - left: 10rpx; | |
155 | - top: 10rpx; | |
156 | -} | |
157 | -.details { | |
158 | - flex: 1; | |
159 | - padding-left: 20rpx; | |
160 | -} | |
161 | -.btn-share { | |
162 | - box-sizing: border-box; | |
163 | - display: inline-block; | |
164 | - background-color: #FE6867; | |
165 | - color: white; | |
166 | - padding: 8rpx 30rpx; | |
167 | - border-radius: 6rpx; | |
168 | - text-align: center; | |
169 | -} | |
170 | -.pdt10 { | |
171 | - padding-top: 10rpx; | |
172 | -} | |
173 | -.pdt14 { | |
174 | - padding-top: 14rpx; | |
175 | -} | |
176 | -.pdtb6 { | |
177 | - padding-top: 6rpx; | |
178 | - padding-bottom: 6rpx; | |
179 | -} | |
180 | -.pdtb8 { | |
181 | - padding-top: 8rpx; | |
182 | - padding-bottom: 8rpx; | |
183 | -} | |
184 | -.pdl20 { | |
185 | - padding-left: 104rpx; | |
186 | -} | |
187 | - | |
188 | - | |
189 | -.no-more { | |
190 | - line-height: 3; | |
191 | - color: #ccc; | |
192 | - /* background-color: #f2f2f2; */ | |
193 | -} | |
194 | -.nodata { | |
195 | - text-align: center; | |
196 | - background-color: #f2f2f2; | |
197 | -} | |
198 | -.progress-container { | |
199 | - width: 55%; | |
200 | - padding-right: 10rpx; | |
201 | - position: relative; | |
202 | - text-align: center; | |
203 | -} | |
204 | -.retail { | |
205 | - color: #7b7b7b; | |
206 | - text-decoration: line-through; | |
207 | - font-size: 22rpx; | |
208 | - padding-left: 20rpx; | |
209 | -} | |
210 | -.name { | |
211 | - height: 76rpx; | |
212 | - overflow: hidden; | |
213 | -} | |
214 | - | |
215 | -.percent { | |
216 | - position: absolute; | |
217 | - top: 0; | |
218 | - bottom: 0; | |
219 | - left: 0; | |
220 | - right: 0; | |
221 | - margin: auto; | |
222 | - color: white; | |
223 | -} | |
224 | -.tabbar { | |
225 | - position: fixed; | |
226 | - width: 100%; | |
227 | - bottom: 0; | |
228 | - background-color: white; | |
229 | -} | |
230 | -.tabbar:after { | |
231 | - position: absolute; | |
232 | - content: ''; | |
233 | - width: 2rpx; | |
234 | - height: 50%; | |
235 | - top: 0; | |
236 | - bottom: 0; | |
237 | - left: 0; | |
238 | - right: 0; | |
239 | - margin: auto; | |
240 | - background-color: #f0f0f0; | |
241 | -} | |
242 | -.tabbar-item { | |
243 | - width: 50%; | |
244 | - text-align: center; | |
245 | - padding-top: 30rpx; | |
246 | - padding-bottom: 30rpx; | |
247 | -} | |
248 | -.tabbar-item .iconfont { | |
249 | - margin-right: 10rpx; | |
250 | -} | |
251 | -.tabbar-item.active { | |
252 | - color: #FE6867; | |
253 | -} | |
254 | - | |
255 | - | |
256 | -.group-type, | |
257 | -.group-num { | |
258 | - position: relative; | |
259 | - font-size: 22rpx; | |
260 | -} | |
261 | -.group-type:before, | |
262 | -.group-num:before { | |
263 | - font-family: iconfont; | |
264 | -} | |
265 | -.group-type:before { | |
266 | - content: '\e66a'; | |
267 | - color: white; | |
268 | - background-color: #FE6867; | |
269 | - position: absolute; | |
270 | - left: 0; | |
271 | - top: 0; | |
272 | - bottom: 0; | |
273 | - padding-left: 6rpx; | |
274 | - padding-right: 10rpx; | |
275 | - line-height: 30rpx; | |
276 | -} | |
277 | -.group-num:before { | |
278 | - padding-right: 6rpx; | |
279 | -} | |
280 | -.group-num:before { | |
281 | - content: '\e694'; | |
282 | - position: relative; | |
283 | -} | |
284 | -.group-num { | |
285 | - color: white; | |
286 | - background-color: #FE6867; | |
287 | - border-radius: 34rpx; | |
288 | - padding-left: 10rpx; | |
289 | - padding-right: 10rpx; | |
290 | - margin-right: 14rpx; | |
291 | -} | |
292 | -.group-type { | |
293 | - color: #FE6867; | |
294 | - border: 2rpx solid #FE6867; | |
295 | - padding-left: 42rpx; | |
296 | - padding-right: 4rpx; | |
297 | - border-radius: 6rpx; | |
298 | -} | |
299 | - | |
300 | -.badge { | |
301 | - color: white; | |
302 | - padding: 0 20rpx; | |
303 | - border-radius: 6rpx; | |
304 | - background-color: #FE6867; | |
305 | - margin-right: 10rpx; | |
306 | -} | |
307 | - | |
308 | -.subTab-title { | |
309 | - text-align: center; | |
310 | - justify-content: center; | |
311 | - align-items: center; | |
312 | - font-size: 28rpx; | |
313 | -} | |
314 | -.subTab-list { | |
315 | - padding: 20rpx; | |
316 | -} | |
317 | -.subTab-titleItem { | |
318 | - box-sizing: border-box; | |
319 | - width: calc(100% / 3); | |
320 | - padding: 20rpx 40rpx; | |
321 | - background-color: white; | |
322 | - border-right: 2rpx solid #f8f8f8; | |
323 | -} | |
324 | -.subTab-titleItem:last-child { | |
325 | - border-right: none; | |
326 | -} | |
327 | -.subTab-titleItem.active { | |
328 | - background-color: #FE6867; | |
329 | - color: white; | |
330 | -} | |
331 | -.subTab-item { | |
332 | - padding: 20rpx; | |
333 | - border-bottom: 2rpx solid #f8f8f8; | |
334 | - background-color: white; | |
335 | - border-radius: 8rpx; | |
336 | - box-shadow: 0 8px 12px #e7e9eb; | |
337 | -} | |
338 | -.subTab-item ~ .subTab-item { | |
339 | - margin-top: 20rpx; | |
340 | -} | |
341 | -.pdv10 { | |
342 | - padding-top: 10rpx; | |
343 | - padding-bottom: 10rpx; | |
344 | -} | |
345 | -.pdv20 { | |
346 | - padding-top: 20rpx; | |
347 | - padding-bottom: 20rpx; | |
348 | -} | |
349 | -.pdb10 { | |
350 | - padding-bottom: 10rpx; | |
351 | -} | |
352 | -.pdb20 { | |
353 | - padding-bottom: 20rpx; | |
354 | -} | |
355 | -.bdr-b { | |
356 | - border-bottom: 2rpx solid #f8f8f8; | |
357 | -} | |
358 | -.dash-b { | |
359 | - border-bottom: 2rpx dashed #ddd; | |
360 | -} | |
361 | -.btn-container { | |
362 | - display: flex; | |
363 | - align-items: flex-end; | |
364 | - font-size: 26rpx; | |
365 | -} | |
366 | - | |
367 | - | |
368 | -/* .popup-container { | |
369 | - content:''; | |
370 | - position: fixed; | |
371 | - top: 0; | |
372 | - bottom: 0; | |
373 | - left: 0; | |
374 | - right: 0; | |
375 | - z-index: 3; | |
376 | - background-color: rgba(0,0,0,.6); | |
377 | - display: flex; | |
378 | - align-items: center; | |
379 | - justify-content: center; | |
380 | -} | |
381 | -.popup { | |
382 | - width: 90%; | |
383 | -} | |
384 | -.popup-content { | |
385 | - box-sizing: border-box; | |
386 | - width: 100%; | |
387 | - background-color: white; | |
388 | - padding: 0 20rpx; | |
389 | - border-radius: 10rpx; | |
390 | - max-height: 1038rpx; | |
391 | -} | |
392 | -.icon-close { | |
393 | - font-size: 60rpx; | |
394 | - color: white; | |
395 | -} | |
396 | -.popup-btn { | |
397 | - padding-top: 30rpx; | |
398 | -} | |
399 | - | |
400 | -.popup-title { | |
401 | - /* font-size: 28rpx; */ | |
402 | - /* font-weight: bold; | |
403 | - padding: 20rpx 0; | |
404 | -} | |
405 | -.popup-title2 { */ | |
406 | - /* padding: 10rpx 0; */ | |
407 | - /* padding-bottom: 8rpx; | |
408 | -} | |
409 | -.popup-title3 { | |
410 | - padding-left: 34rpx; | |
411 | - font-size: 30rpx; | |
412 | -} | |
413 | -.popup-list { | |
414 | - max-height: 602rpx; | |
415 | - overflow-y: auto; | |
416 | -} | |
417 | - | |
418 | - | |
419 | -radio .wx-radio-input { | |
420 | - width: 28rpx; | |
421 | - height: 28rpx; | |
422 | -} | |
423 | - | |
424 | - | |
425 | -radio .wx-radio-input.wx-radio-input-checked { | |
426 | - background-color: #FE6867; | |
427 | - border-color: #FE6867; | |
428 | -} | |
429 | -radio .wx-radio-input.wx-radio-input-checked::before{ | |
430 | - color: white; | |
431 | -} | |
432 | - | |
433 | -.popup-content.active { | |
434 | - max-height: 982rpx; | |
435 | - overflow: auto; | |
436 | -} */ | |
437 | - | |
438 | -.panel { | |
439 | - box-sizing: border-box; | |
440 | - background-color: white; | |
441 | - height: 100%; | |
442 | - border-radius: 16rpx; | |
443 | - position: relative; | |
444 | - padding-top: 140rpx; | |
445 | - box-shadow: 0 8px 12px #ccc; | |
446 | -} | |
447 | -.avatar { | |
448 | - width: 220rpx; | |
449 | - height: 220rpx; | |
450 | - border-radius: 50%; | |
451 | - background-color: skyblue; | |
452 | - position: absolute; | |
453 | - top: -100rpx; | |
454 | - left: 0; | |
455 | - right: 0; | |
456 | - margin: 0 auto; | |
457 | -} | |
458 | -.nickname { | |
459 | - padding-bottom: 60rpx; | |
460 | -} | |
461 | -.bottom { | |
462 | - background-color: white; | |
463 | - border-top: 2rpx solid #f0f0f0; | |
464 | - /* box-shadow: 0 -6px 8px #e7e9eb; */ | |
465 | - width: 100%; | |
466 | - position: fixed; | |
467 | - left: 0; | |
468 | - bottom: 0; | |
469 | -} | |
470 | -.wx { | |
471 | - width: 60rpx; | |
472 | - height: 60rpx; | |
473 | -} | |
474 | -.save { | |
475 | - box-sizing: border-box; | |
476 | - padding-top: 6rpx; | |
477 | -} | |
478 | -.icon-save { | |
479 | - font-size: 50rpx; | |
480 | -} | |
481 | -.qrcode { | |
482 | - width: 480rpx; | |
483 | - height: 480rpx; | |
484 | - background-color: red; | |
485 | - margin: 60rpx auto 0; | |
486 | -} | |
487 | - | |
488 | - |