Commit 6ba16ffaf6fe67467c927677fa2006a0e56c3a3f
1 parent
3bc7c6ed
好友助力得好礼代码调整
Showing
4 changed files
with
137 additions
and
143 deletions
pages/user/assistance/task_assistance.js
... | ... | @@ -59,8 +59,10 @@ Page({ |
59 | 59 | * 生命周期函数--监听页面加载 |
60 | 60 | */ |
61 | 61 | onLoad: function(options) { |
62 | - var help_id = options.help_id; | |
63 | 62 | var th = this; |
63 | + var help_id = options.help_id; | |
64 | + var nav_b = th.selectComponent("#nav_b"); //组件的id | |
65 | + nav_b.set_name("助力", "/pages/user/assistance/assistance"); | |
64 | 66 | th.setData({ |
65 | 67 | help_id: help_id |
66 | 68 | }); |
... | ... | @@ -179,7 +181,6 @@ Page({ |
179 | 181 | }); |
180 | 182 | var task_number = data_aissa[0].giftQty - data_aissa[0].useGiftQty; |
181 | 183 | var taskid = data_aissa[0].id; |
182 | - console.log("参考", data_aissa); | |
183 | 184 | th.setData({ |
184 | 185 | aitem: data_aissa, |
185 | 186 | task_number: task_number, |
... | ... | @@ -248,7 +249,7 @@ Page({ |
248 | 249 | is_bc_show:1 |
249 | 250 | }) |
250 | 251 | }else{ |
251 | - getApp().showWarning("暂无更多内容", 0); | |
252 | + getApp().showWarning("暂无更多内容", 0,th); | |
252 | 253 | } |
253 | 254 | |
254 | 255 | th.setData({ |
... | ... | @@ -265,15 +266,13 @@ Page({ |
265 | 266 | }, |
266 | 267 | // 领取礼包 |
267 | 268 | get_libao: function(e) { |
268 | - var libao_id = e.currentTarget.dataset.libaoid; | |
269 | - var completeid = e.currentTarget.dataset.completeid; | |
270 | - console.log("礼包id", libao_id); | |
271 | - getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1 + "&completeid=" + completeid); | |
269 | + var libao_id = e.currentTarget.dataset.libaoid;//礼包id | |
270 | + getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1); | |
272 | 271 | }, |
273 | 272 | //查看礼包id |
274 | - select_libao: function() { | |
275 | - var libao_id = e.currentTarget.dataset.libaoid; | |
276 | - getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 0); | |
273 | + select_libao: function(e) { | |
274 | + var orderSn = e.currentTarget.dataset.orderSn; | |
275 | + getApp().goto("/pages/user/assistance/giftpacklist?orderSn=" + orderSn); | |
277 | 276 | }, |
278 | 277 | |
279 | 278 | //划动的时候监听 |
... | ... | @@ -283,8 +282,6 @@ Page({ |
283 | 282 | var aitem = this.data.aitem; |
284 | 283 | var task_number = aitem[ind].giftQty - aitem[ind].useGiftQty; |
285 | 284 | var task_id = aitem[ind].id; |
286 | - console.log("划动的任务总数", task_number, "任务所有的参数", aitem, | |
287 | - "任务id", task_id); | |
288 | 285 | th.setData({ |
289 | 286 | sw_index: ind, |
290 | 287 | task_number: task_number, |
... | ... | @@ -304,7 +301,6 @@ Page({ |
304 | 301 | var th = this; |
305 | 302 | var nav_b = th.selectComponent("#nav_b"); //组件的id |
306 | 303 | nav_b.close_box(); |
307 | - nav_b.set_name("助力", "/pages/user/assistance/assistance"); | |
308 | 304 | }, |
309 | 305 | // 获取会员的参与的任务列表 我的任务 |
310 | 306 | user_task_list: function(e) { |
... | ... | @@ -340,6 +336,7 @@ Page({ |
340 | 336 | rw_page: rw_page, |
341 | 337 | is_show: 1 |
342 | 338 | }) |
339 | + getApp().my_warnning(); | |
343 | 340 | getApp().showWarning("暂无更多内容", 0); |
344 | 341 | }else{ |
345 | 342 | var rw_page = th.data.rw_page + 1; |
... | ... | @@ -389,7 +386,6 @@ Page({ |
389 | 386 | storeId: os.stoid, |
390 | 387 | }, |
391 | 388 | success: function(su) { |
392 | - console.log(su.data.code, "获取助力活动参与的人数", su.data) | |
393 | 389 | if (su.data.code == 0) { |
394 | 390 | var usercount = su.data.data.countAll; |
395 | 391 | |
... | ... | @@ -413,7 +409,6 @@ Page({ |
413 | 409 | swiperError: swiperError |
414 | 410 | }) |
415 | 411 | if (swiperError >= 3) { //在开关被触发3次以上 |
416 | - console.error(this.data.swiperError) | |
417 | 412 | this.setData({ |
418 | 413 | sw_index: this.data.preIndex |
419 | 414 | }); //,重置current为正确索引 |
... | ... | @@ -504,7 +499,6 @@ Page({ |
504 | 499 | |
505 | 500 | // var o = endTimeList[i]; |
506 | 501 | var endTime = th.data.endDate; |
507 | - console.log("结束时间5555555", endTime); | |
508 | 502 | // if (o.status == 0) endTime = o.start_time |
509 | 503 | |
510 | 504 | var obj = null; |
... | ... | @@ -590,90 +584,75 @@ Page({ |
590 | 584 | wx.getImageInfo({ |
591 | 585 | src: iurl + images[0], |
592 | 586 | success: function(res) { |
593 | - console.log(res + i); | |
594 | 587 | //res.path是网络图片的本地地址 |
595 | 588 | images[0] = res.path; |
596 | 589 | }, |
597 | 590 | fail: function(res) { |
598 | - console.log(res.toString() + "" + i); | |
599 | 591 | } |
600 | 592 | }); |
601 | 593 | wx.getImageInfo({ |
602 | 594 | src: iurl + images[1], |
603 | 595 | success: function(res) { |
604 | - console.log(res + i); | |
605 | 596 | //res.path是网络图片的本地地址 |
606 | 597 | images[1] = res.path; |
607 | 598 | }, |
608 | 599 | fail: function(res) { |
609 | - console.log(res.toString() + "" + i); | |
610 | 600 | } |
611 | 601 | }); |
612 | 602 | wx.getImageInfo({ |
613 | 603 | src: iurl + images[2], |
614 | 604 | success: function(res) { |
615 | - console.log(res + i); | |
616 | 605 | //res.path是网络图片的本地地址 |
617 | 606 | images[2] = res.path; |
618 | 607 | }, |
619 | 608 | fail: function(res) { |
620 | - console.log(res.toString() + "" + i); | |
609 | + | |
621 | 610 | } |
622 | 611 | }); |
623 | 612 | wx.getImageInfo({ |
624 | 613 | src: iurl + images[3], |
625 | 614 | success: function(res) { |
626 | - console.log(res + i); | |
627 | 615 | //res.path是网络图片的本地地址 |
628 | 616 | images[3] = res.path; |
629 | 617 | }, |
630 | 618 | fail: function(res) { |
631 | - console.log(res.toString() + "" + i); | |
632 | 619 | } |
633 | 620 | }); |
634 | 621 | wx.getImageInfo({ |
635 | 622 | src: iurl + images[4], |
636 | 623 | success: function(res) { |
637 | - console.log(res + i); | |
638 | 624 | //res.path是网络图片的本地地址 |
639 | 625 | images[4] = res.path; |
640 | 626 | }, |
641 | 627 | fail: function(res) { |
642 | - console.log(res.toString() + "" + i); | |
643 | 628 | } |
644 | 629 | }); |
645 | 630 | wx.getImageInfo({ |
646 | 631 | src: iurl + images[5], |
647 | 632 | success: function(res) { |
648 | - console.log(res + i); | |
649 | 633 | //res.path是网络图片的本地地址 |
650 | 634 | images[5] = res.path; |
651 | 635 | }, |
652 | 636 | fail: function(res) { |
653 | - console.log(res.toString() + "" + i); | |
654 | 637 | } |
655 | 638 | }); |
656 | 639 | wx.getImageInfo({ |
657 | 640 | src: iurl + images[6], |
658 | 641 | success: function(res) { |
659 | - console.log(res + i); | |
660 | 642 | //res.path是网络图片的本地地址 |
661 | 643 | images[6] = res.path; |
662 | 644 | }, |
663 | 645 | fail: function(res) { |
664 | - console.log(res.toString() + "" + i); | |
665 | 646 | } |
666 | 647 | }); |
667 | 648 | |
668 | 649 | wx.getImageInfo({ |
669 | 650 | src: iurl + images[7], |
670 | 651 | success: function(res) { |
671 | - console.log(res + i); | |
672 | 652 | //res.path是网络图片的本地地址 |
673 | 653 | images[7] = res.path; |
674 | 654 | }, |
675 | 655 | fail: function(res) { |
676 | - console.log(res.toString() + "" + i); | |
677 | 656 | } |
678 | 657 | }) |
679 | 658 | th.setData({ |
... | ... | @@ -734,7 +713,6 @@ Page({ |
734 | 713 | ctx.drawImage(images[2], 65 * unit, 445 * unit, 320 * unit, 12 * unit); |
735 | 714 | ctx.drawImage(images[3], 65 * unit, 445 * unit, 320 * unit * c, 12 * unit); |
736 | 715 | // var dynamic = th.data.dynamic; //助力的微信头像 |
737 | - // console.log(dynamic[0].headPic + "动态图片显示"); | |
738 | 716 | for (var i = 0; i < 6; i++) { |
739 | 717 | if (i < 0) { |
740 | 718 | // ctx.beginPath(); |
... | ... | @@ -960,7 +938,6 @@ Page({ |
960 | 938 | var th = this; |
961 | 939 | var images = th.data.dynamic; |
962 | 940 | if (images[0] != null && images[0] != "" && images[0] != undefined) { |
963 | - console.log(images[0].headPic + "就将计就计"); | |
964 | 941 | wx.getImageInfo({ |
965 | 942 | src: images[0].headPic, |
966 | 943 | success: function(res) { | ... | ... |
pages/user/assistance/task_assistance.json
pages/user/assistance/task_assistance.wxml
1 | - <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | |
2 | -<view class="top-back" style="background-image: url({{iurl}}/miniapp/images/friendhelp/lumi.png)"> | |
1 | +<wxs module="filter" src="../../../utils/filter.wxs"></wxs> | |
2 | +<view class="top-back" style="background-image: url({{iurl}}/miniapp/images/friendhelp/lumi.png)" bindtap="close"> | |
3 | 3 | <!-- 助力活动头部 --> |
4 | 4 | <view class="top-frame"> |
5 | - <view class="top-title white fs36 t-c"> | |
6 | - {{aitem[sw_index].helpTaskName}} | |
5 | + <view class="flex-center"> | |
6 | + <view class="top-title white fs36 t-c ellipsis-1"> | |
7 | + {{aitem[sw_index].helpTaskName}} | |
8 | + </view> | |
7 | 9 | </view> |
8 | 10 | <view class="activity-data t-c fs28 white"> |
9 | - 活动剩余时间:<text class='tui-conutdown-box'> {{aitem[0].djs.day}}</text>:<text class='tui-conutdown-box'>{{aitem[0].djs.hou}}</text>:<text class='tui-conutdown-box'>{{aitem[0].djs.min}}</text>:<text class='tui-conutdown-box tui-countdown-bg'>{{aitem[0].djs.sec}}</text> | |
10 | - </view> | |
11 | + 活动剩余时间: | |
12 | + <text class='tui-conutdown-box'> {{aitem[0].djs.day}}</text>: | |
13 | + <text class='tui-conutdown-box'>{{aitem[0].djs.hou}}</text>: | |
14 | + <text class='tui-conutdown-box'>{{aitem[0].djs.min}}</text>: | |
15 | + <text class='tui-conutdown-box tui-countdown-bg'>{{aitem[0].djs.sec}}</text> | |
16 | + </view> | |
11 | 17 | </view> |
12 | 18 | <!-- 图片的轮播图 --> |
13 | 19 | <view class="xc-specific-more-frame flex-center"> |
... | ... | @@ -16,10 +22,10 @@ |
16 | 22 | </view> |
17 | 23 | <swiper bindanimationfinish="changeGoodsSwip" current="{{sw_index}}" style='width:82.7%; height:100%' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> |
18 | 24 | <swiper-item class="rel" wx:for="{{aitem}}" wx:for-item="aitem" wx:for-index="pidx"> |
19 | - | |
25 | + | |
20 | 26 | <image class="xc-center-img" bindtap="libao_details" src="{{iurl+aitem.giftBagUrl}}"></image> |
21 | - <view class="abs select_details fs26 white">礼包详情</view> | |
22 | - | |
27 | + <view class="abs select_details fs26 white">礼包详情</view> | |
28 | + | |
23 | 29 | </swiper-item> |
24 | 30 | </swiper> |
25 | 31 | |
... | ... | @@ -28,25 +34,25 @@ |
28 | 34 | </view> |
29 | 35 | </view> |
30 | 36 | <view class="plan-frame flex ai-center" wx:if="{{is_user_task}}"> |
31 | - <view class="plan_num rel"> | |
32 | - <view class="is_plam abs" style="width:{{(is_user_task.zlHelpNum/is_user_task.helpNum)*100}}%"></view> | |
33 | - </view> | |
34 | - | |
37 | + <view class="plan_num rel"> | |
38 | + <view class="is_plam abs" style="width:{{(is_user_task.zlHelpNum/is_user_task.helpNum)*100}}%"></view> | |
39 | + </view> | |
40 | + | |
41 | + | |
42 | + <text class="white fs24">{{is_user_task.zlHelpNum}}/{{is_user_task.helpNum}}</text> | |
35 | 43 | |
36 | - <text class="white fs24">{{is_user_task.zlHelpNum}}/{{is_user_task.helpNum}}</text> | |
37 | - | |
38 | 44 | </view> |
39 | 45 | <view class="task-number fs28 white t-c "> |
40 | 46 | 今天剩余可领{{task_number}}个任务 |
41 | 47 | </view> |
42 | 48 | |
43 | - <view wx:if="{{is_user_task==null}}" class="task_clike fs40 t-c flex-center"data-taskid="{{taskid}}" bindtap="add_onlicke"> | |
49 | + <view wx:if="{{is_user_task==null}}" class="task_clike fs40 t-c flex-center" data-taskid="{{taskid}}" bindtap="add_onlicke"> | |
44 | 50 | 就选它了 |
45 | 51 | </view> |
46 | - <view wx:if="{{is_user_task!=null}}" class="task_clike fs40 t-c flex-center" bindtap="save_share"> | |
47 | - 好友拆一拆 | |
52 | + <view wx:if="{{is_user_task!=null}}" class="task_clike fs40 t-c flex-center" bindtap="save_share"> | |
53 | + 好友拆一拆 | |
48 | 54 | </view> |
49 | - <!-- <view wx:if="{{is_user_task!=null}}" class="task_clike fs40 t-c flex-center"data-taskid="{{is_user_task.id}}" bindtap="test"> | |
55 | + <!-- <view wx:if="{{is_user_task!=null}}" class="task_clike fs40 t-c flex-center"data-taskid="{{is_user_task.id}}" bindtap="test"> | |
50 | 56 | 测试专用 |
51 | 57 | </view> --> |
52 | 58 | |
... | ... | @@ -67,66 +73,65 @@ |
67 | 73 | </view> |
68 | 74 | |
69 | 75 | <view class="white"> |
70 | - | |
76 | + | |
71 | 77 | <view class="items" wx:if="{{is_task==0}}"> |
72 | - | |
73 | - <view class="item fs26 flex-vertical-between padding" wx:for="{{user_task_list}}"wx:key="*this"> | |
78 | + | |
79 | + <view class="item fs26 flex-vertical-between padding" wx:for="{{user_task_list}}" wx:key="*this"> | |
74 | 80 | <view class="flex-center width"> |
75 | 81 | <view class="ellipsis-1">{{item.helpTaskName}} |
76 | 82 | </view> |
77 | 83 | </view> |
78 | 84 | <view class="flex-center width state"> |
79 | 85 | <view class="ellipsis-1"> |
80 | - <text wx:if="{{item.status==0}}">{{item.zlHelpNum}}/{{item.helpNum}}</text> | |
81 | - <text wx:if="{{item.status==2}}"bindtap="select_libao" data-libaoid="{{item.order_sn}}">查看礼包</text> | |
82 | - <text wx:if="{{item.status==1}}"bindtap="get_libao"data-orderid="{{item.ordersn}}" data-libaoid="{{item.helpListGiftBagId}}" | |
83 | - data-completeid="{{item.id}}">领取礼包 </text> | |
86 | + <text wx:if="{{item.status==0}}">{{item.zlHelpNum}}/{{item.helpNum}}</text> | |
87 | + <text wx:if="{{item.status==2}}" bindtap="select_libao" data-orderSn="{{item.orderSn}}">查看礼包</text> | |
88 | + <text wx:if="{{item.status==1}}" bindtap="get_libao" data-libaoid="{{item.helpListGiftBagId}}">领取礼包 </text> | |
84 | 89 | </view> |
85 | 90 | </view> |
86 | 91 | |
87 | 92 | </view> |
88 | 93 | |
89 | 94 | <view class="fs30" wx:if="{{user_task_list==null || user_task_list==''}}"> |
90 | - <view class="flex-center nothing white"> | |
91 | - <view>暂无任务记录</view> | |
92 | - </view> | |
93 | - </view> | |
95 | + <view class="flex-center nothing white"> | |
96 | + <view>暂无任务记录</view> | |
97 | + </view> | |
98 | + </view> | |
94 | 99 | </view> |
95 | 100 | |
96 | - | |
101 | + | |
97 | 102 | </view> |
98 | - | |
103 | + | |
99 | 104 | |
100 | 105 | <view class="items" wx:if="{{is_task==1}}"> |
101 | - <block wx:if="{{ dismantle!=null|| dismantle!=''}}"> | |
106 | + <block wx:if="{{ dismantle!=null|| dismantle!=''}}"> | |
102 | 107 | |
103 | 108 | |
104 | - <view class="item fs26 flex flex-vertical-between padding" wx:for="{{dismantle}}"wx:for-index="idx"> | |
105 | - | |
106 | - <view class="flex white" style="justify-content: space-around; width: 90%;margin:auto"> | |
107 | - <image class="circle user_img" src="{{item.headPic}}"></image> | |
108 | - <view class="ellipsis-1">{{item.nickName}} | |
109 | - </view> | |
110 | - <view class="ellipsis-1">{{filter.format_time(item.zltime)}} | |
109 | + <view class="item fs26 flex flex-vertical-between padding" wx:for="{{dismantle}}" wx:for-index="idx"> | |
110 | + | |
111 | + <view class="flex white" style="justify-content: space-around; width: 90%;margin:auto"> | |
112 | + <image class="circle user_img" src="{{item.headPic}}"></image> | |
113 | + <view class="ellipsis-1">{{item.nickName}} | |
114 | + </view> | |
115 | + <view class="ellipsis-1">{{filter.format_time(item.zltime)}} | |
116 | + </view> | |
111 | 117 | </view> |
112 | 118 | </view> |
113 | - </view> | |
114 | 119 | |
115 | - <view class="flex-center fs32" wx:if="{{is_bc_show==1}}"> | |
116 | - <view class="line"></view> | |
117 | - <view class="load white" bindtap="dismantle_record">点击加载更多</view> | |
118 | - <view class="line"></view> | |
119 | - </view> | |
120 | - </block> | |
121 | - | |
122 | - <view class="fs30" wx:if="{{dismantle==null|| dismantle==''}}"> | |
123 | - <view class="flex-center nothing white"> | |
124 | - <view>暂无任务记录</view> | |
120 | + <view class="flex-center fs32" wx:if="{{is_bc_show==1}}"> | |
121 | + <view class="line"></view> | |
122 | + <view class="load white" bindtap="dismantle_record">点击加载更多</view> | |
123 | + <view class="line"></view> | |
124 | + </view> | |
125 | + </block> | |
126 | + | |
127 | + <view class="fs30" wx:if="{{dismantle==null|| dismantle==''}}"> | |
128 | + <view class="flex-center nothing white"> | |
129 | + <view>暂无任务记录</view> | |
130 | + </view> | |
125 | 131 | </view> |
132 | + | |
126 | 133 | </view> |
127 | - | |
128 | - </view> | |
129 | - | |
134 | + | |
130 | 135 | |
131 | 136 | </view> |
132 | 137 | <!-- 加载更多 --> |
... | ... | @@ -145,14 +150,14 @@ |
145 | 150 | |
146 | 151 | |
147 | 152 | <!--********** 钱巧玲 --> |
148 | -<view wx:if="{{is_share}}" > | |
153 | +<view wx:if="{{is_share}}"> | |
149 | 154 | |
150 | 155 | <view class="dust"></view> |
151 | 156 | <view class="canvas" style="width:100%;"> |
152 | 157 | <view class="flex-center"> |
153 | 158 | <canvas canvas-id="share_id" style="width:600rpx;height:1000rpx;" bindtap="preview"></canvas> |
154 | 159 | </view> |
155 | - <view class="closes flex-center"> | |
160 | + <view class="closes flex-center"> | |
156 | 161 | <image class="close" src="{{iurl}}/miniapp/images/plus/Close.png" bindtap="close_share"></image> |
157 | 162 | </view> |
158 | 163 | </view> | ... | ... |
pages/user/assistance/task_assistance.wxss
1 | -page{ | |
1 | +page { | |
2 | 2 | background: #d01119; |
3 | 3 | width: 100%; |
4 | - height: 100% | |
5 | - | |
4 | + height: 100%; | |
6 | 5 | } |
7 | -.top-back{ | |
6 | + | |
7 | +.top-back { | |
8 | 8 | width: 100%; |
9 | 9 | height: 60%; |
10 | - background-repead:no-repead; | |
11 | - background-size:100% 100%; | |
12 | - | |
10 | + background-repead: no-repead; | |
11 | + background-size: 100% 100%; | |
13 | 12 | } |
14 | -.top-frame{ | |
13 | + | |
14 | +.top-frame { | |
15 | 15 | width: 100%; |
16 | 16 | height: auto; |
17 | - padding-top: 50rpx | |
17 | + padding-top: 50rpx; | |
18 | 18 | } |
19 | -.top-title{ | |
20 | - letter-spacing:10rpx | |
19 | + | |
20 | +.top-title { | |
21 | + letter-spacing: 10rpx; | |
22 | + width: 300rpx; | |
21 | 23 | } |
22 | -.activity-data{ | |
24 | + | |
25 | +.activity-data { | |
23 | 26 | padding-top: 10rpx; |
24 | 27 | letter-spacing: 10rpx; |
25 | - | |
26 | 28 | } |
27 | -.xc-specific-more-frame{ | |
29 | + | |
30 | +.xc-specific-more-frame { | |
28 | 31 | width: 100%; |
29 | 32 | height: 40%; |
30 | - | |
31 | 33 | margin-top: 20rpx; |
32 | 34 | } |
33 | -.task-number{ | |
34 | - margin-top: 50rpx | |
35 | + | |
36 | +.task-number { | |
37 | + margin-top: 50rpx; | |
35 | 38 | } |
36 | -.task_clike{ | |
39 | + | |
40 | +.task_clike { | |
37 | 41 | margin: auto; |
38 | 42 | width: 60%; |
39 | 43 | height: 65rpx; |
40 | 44 | border-radius: 50rpx; |
41 | 45 | margin-top: 20rpx; |
42 | 46 | background: #fbda0e; |
43 | - color:#d01119; | |
47 | + color: #d01119; | |
44 | 48 | line-height: 65rpx; |
45 | 49 | letter-spacing: 5rpx; |
46 | - box-shadow: 0rpx 7rpx 0rpx 0rpx rgb(245, 119, 6); | |
50 | + box-shadow: 0rpx 7rpx 0rpx 0rpx rgb(245, 119, 6); | |
47 | 51 | } |
48 | -/* 底部列表样式 */ | |
49 | 52 | |
53 | +/* 底部列表样式 */ | |
50 | 54 | |
51 | 55 | .head { |
52 | 56 | border-bottom: 4rpx solid rgb(253, 193, 7); |
... | ... | @@ -73,7 +77,7 @@ page{ |
73 | 77 | } |
74 | 78 | |
75 | 79 | .unfinished { |
76 | - width:35rpx; | |
80 | + width: 35rpx; | |
77 | 81 | height: 35rpx; |
78 | 82 | margin-right: 10rpx; |
79 | 83 | } |
... | ... | @@ -110,27 +114,31 @@ page{ |
110 | 114 | .receive { |
111 | 115 | padding-bottom: 50rpx; |
112 | 116 | } |
113 | -.xc-center-img{ | |
117 | + | |
118 | +.xc-center-img { | |
114 | 119 | width: 100%; |
115 | - height: 100% | |
120 | + height: 100%; | |
116 | 121 | } |
117 | 122 | |
118 | -.xc-left{ | |
123 | +.xc-left { | |
119 | 124 | width: 40rpx; |
120 | 125 | height: 40rpx; |
121 | 126 | } |
122 | -.bcolor { | |
123 | -border-color: #fff; | |
124 | 127 | |
128 | +.bcolor { | |
129 | + border-color: #fff; | |
125 | 130 | } |
126 | -.xc-right{ | |
131 | + | |
132 | +.xc-right { | |
127 | 133 | width: 40rpx; |
128 | 134 | height: 40rpx; |
129 | 135 | } |
130 | -.user_img{ | |
136 | + | |
137 | +.user_img { | |
131 | 138 | width: 50rpx; |
132 | - height: 50rpx; | |
139 | + height: 50rpx; | |
133 | 140 | } |
141 | + | |
134 | 142 | .dust { |
135 | 143 | position: fixed; |
136 | 144 | width: 100%; |
... | ... | @@ -140,40 +148,43 @@ border-color: #fff; |
140 | 148 | } |
141 | 149 | |
142 | 150 | .closes { |
143 | - margin-top: 20rpx; | |
151 | + margin-top: 20rpx; | |
144 | 152 | } |
145 | 153 | |
146 | 154 | .canvas { |
147 | 155 | position: fixed; |
148 | 156 | z-index: 11; |
149 | 157 | width: 100%; |
150 | - top:20rpx; | |
158 | + top: 20rpx; | |
151 | 159 | } |
152 | 160 | |
153 | 161 | .close { |
154 | 162 | width: 70rpx; |
155 | 163 | height: 70rpx; |
156 | 164 | } |
157 | -.plan-frame{ | |
158 | - width: 86%; | |
159 | - margin: auto; | |
165 | + | |
166 | +.plan-frame { | |
167 | + width: 86%; | |
168 | + margin: auto; | |
160 | 169 | margin-top: 50rpx; |
161 | - | |
162 | 170 | } |
163 | -.plan-frame .plan_num{ | |
164 | - width: 90%; | |
165 | - background: #ffe7ab; | |
166 | - border-radius: 20rpx; | |
167 | - height: 22rpx; | |
171 | + | |
172 | +.plan-frame .plan_num { | |
173 | + width: 90%; | |
174 | + background: #ffe7ab; | |
175 | + border-radius: 20rpx; | |
176 | + height: 22rpx; | |
168 | 177 | margin-right: 10rpx; |
169 | 178 | } |
170 | -.is_plam{ | |
171 | - border-radius: 20rpx; | |
179 | + | |
180 | +.is_plam { | |
181 | + border-radius: 20rpx; | |
172 | 182 | background: #fcc001; |
173 | - height: 100%; | |
174 | - top: 0rpx; | |
175 | - left: 0rpx; | |
183 | + height: 100%; | |
184 | + top: 0rpx; | |
185 | + left: 0rpx; | |
176 | 186 | } |
187 | + | |
177 | 188 | .dust { |
178 | 189 | position: fixed; |
179 | 190 | width: 100%; |
... | ... | @@ -183,26 +194,28 @@ border-color: #fff; |
183 | 194 | } |
184 | 195 | |
185 | 196 | .closes { |
186 | - margin-top: 20rpx; | |
197 | + margin-top: 20rpx; | |
187 | 198 | } |
188 | 199 | |
189 | 200 | .canvas { |
190 | 201 | position: fixed; |
191 | 202 | z-index: 20; |
192 | 203 | width: 100%; |
193 | - top:20rpx; | |
204 | + top: 20rpx; | |
194 | 205 | } |
195 | 206 | |
196 | 207 | .close { |
197 | 208 | width: 70rpx; |
198 | 209 | height: 70rpx; |
199 | 210 | } |
200 | -.select_details{ | |
211 | + | |
212 | +.select_details { | |
201 | 213 | width: 100%; |
202 | 214 | height: 50rpx; |
203 | 215 | line-height: 50rpx; |
204 | 216 | text-align: center; |
205 | - background: #000; | |
206 | - opacity:0.6; filter: alpha(opacity=60); | |
217 | + background: #000; | |
218 | + opacity: 0.6; | |
219 | + filter: alpha(opacity=60); | |
207 | 220 | bottom: 0rpx; |
208 | -} | |
209 | 221 | \ No newline at end of file |
222 | +} | ... | ... |