正在显示
12 个修改的文件
包含
207 行增加
和
13 行删除
@@ -37,6 +37,8 @@ | @@ -37,6 +37,8 @@ | ||
37 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", | 37 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", |
38 | 38 | ||
39 | "pages/main/rewardpoint/home", | 39 | "pages/main/rewardpoint/home", |
40 | + "pages/main/rewardpoint/cashout/cashout", | ||
41 | + "pages/main/rewardpoint/exchange/exchange", | ||
40 | 42 | ||
41 | "pages/login/login", | 43 | "pages/login/login", |
42 | "pages/main/advancepayment/adPayDetails/adPayDetails", | 44 | "pages/main/advancepayment/adPayDetails/adPayDetails", |
pages/main/rewardpoint/cashout/cashout.js
0 → 100644
1 | +// pages/main/rewardpoint/cashout/cashout.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * Lifecycle function--Called when page load | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + | ||
18 | + /** | ||
19 | + * Lifecycle function--Called when page is initially rendered | ||
20 | + */ | ||
21 | + onReady: function () { | ||
22 | + | ||
23 | + }, | ||
24 | + | ||
25 | + /** | ||
26 | + * Lifecycle function--Called when page show | ||
27 | + */ | ||
28 | + onShow: function () { | ||
29 | + | ||
30 | + }, | ||
31 | + | ||
32 | + /** | ||
33 | + * Lifecycle function--Called when page hide | ||
34 | + */ | ||
35 | + onHide: function () { | ||
36 | + | ||
37 | + }, | ||
38 | + | ||
39 | + /** | ||
40 | + * Lifecycle function--Called when page unload | ||
41 | + */ | ||
42 | + onUnload: function () { | ||
43 | + | ||
44 | + }, | ||
45 | + | ||
46 | + /** | ||
47 | + * Page event handler function--Called when user drop down | ||
48 | + */ | ||
49 | + onPullDownRefresh: function () { | ||
50 | + | ||
51 | + }, | ||
52 | + | ||
53 | + /** | ||
54 | + * Called when page reach bottom | ||
55 | + */ | ||
56 | + onReachBottom: function () { | ||
57 | + | ||
58 | + }, | ||
59 | + | ||
60 | + /** | ||
61 | + * Called when user click on the top right corner to share | ||
62 | + */ | ||
63 | + onShareAppMessage: function () { | ||
64 | + | ||
65 | + } | ||
66 | +}) |
pages/main/rewardpoint/cashout/cashout.json
0 → 100644
pages/main/rewardpoint/cashout/cashout.wxml
0 → 100644
1 | +<view style="background:#f5f5f5;width:100%;height:1600rpx"> | ||
2 | + | ||
3 | + <view class='card_rectangle_bg_row' style='padding:30rpx;flex-direction:column'> | ||
4 | + <view style="flex-direction:row;padding-top:14rpx"> | ||
5 | + <text style="font-size:28rpx;color:#333">到账银行卡:</text> | ||
6 | + <view style="float:right"> | ||
7 | + <image src="/images/reward_point.png" style="width:64rpx;height:64rpx"></image> | ||
8 | + <view style="font-size:30rpx;color:#333;line-height:64rpx">招商银行(9214)</view> | ||
9 | + <image src="/images/arrow_right.png" style="width:64rpx;height:64rpx"></image> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | + <view style="width:100%;float:right;margin-right:60rpx;font-size:28rpx;color:#333">2小时内到账</view> | ||
13 | + <view style="font-size:28rpx;color:#999;line-height:96rpx">提现金额</view> | ||
14 | + <view></view> | ||
15 | + </view> | ||
16 | + <view class="view_bottom"> | ||
17 | + <button wx:if="{true}" class="btn_white_radius" style="margin:20rpx" bindtap='cashout'> 提现</button> | ||
18 | + <button wx:else class="btn_blue_radius" style="margin:20rpx" bindtap='goexchange'> 提现</button> | ||
19 | + </view> | ||
20 | +</view> |
pages/main/rewardpoint/cashout/cashout.wxss
0 → 100644
1 | +/* pages/main/rewardpoint/cashout/cashout.wxss */ | ||
2 | +.view_bottom { | ||
3 | + background: #fff; | ||
4 | + width: 100%; | ||
5 | + position: fixed; | ||
6 | + bottom: 0; | ||
7 | + display: flex; | ||
8 | + flex-direction: row; | ||
9 | +} | ||
10 | + | ||
11 | +.btn_blue_radius { | ||
12 | + background: #357aeb; | ||
13 | + border-radius: 5px; | ||
14 | + flex: 1; | ||
15 | + color: #fff; | ||
16 | +} | ||
17 | + | ||
18 | +.btn_white_radius { | ||
19 | + flex: 1; | ||
20 | + height: 42px; | ||
21 | + background: #FFFFFF; | ||
22 | + border-radius: 5px; | ||
23 | + border: 1px solid #EEEEEE; | ||
24 | + color: #666666; | ||
25 | +} |
pages/main/rewardpoint/exchange/exchange.js
0 → 100644
1 | +// pages/main/rewardpoint/exchange/exchange.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * Lifecycle function--Called when page load | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + | ||
18 | + /** | ||
19 | + * Lifecycle function--Called when page is initially rendered | ||
20 | + */ | ||
21 | + onReady: function () { | ||
22 | + | ||
23 | + }, | ||
24 | + | ||
25 | + /** | ||
26 | + * Lifecycle function--Called when page show | ||
27 | + */ | ||
28 | + onShow: function () { | ||
29 | + | ||
30 | + }, | ||
31 | + | ||
32 | + /** | ||
33 | + * Lifecycle function--Called when page hide | ||
34 | + */ | ||
35 | + onHide: function () { | ||
36 | + | ||
37 | + }, | ||
38 | + | ||
39 | + /** | ||
40 | + * Lifecycle function--Called when page unload | ||
41 | + */ | ||
42 | + onUnload: function () { | ||
43 | + | ||
44 | + }, | ||
45 | + | ||
46 | + /** | ||
47 | + * Page event handler function--Called when user drop down | ||
48 | + */ | ||
49 | + onPullDownRefresh: function () { | ||
50 | + | ||
51 | + }, | ||
52 | + | ||
53 | + /** | ||
54 | + * Called when page reach bottom | ||
55 | + */ | ||
56 | + onReachBottom: function () { | ||
57 | + | ||
58 | + }, | ||
59 | + | ||
60 | + /** | ||
61 | + * Called when user click on the top right corner to share | ||
62 | + */ | ||
63 | + onShareAppMessage: function () { | ||
64 | + | ||
65 | + } | ||
66 | +}) |
1 | +/* pages/main/rewardpoint/exchange/exchange.wxss */ |
@@ -39,12 +39,20 @@ Page({ | @@ -39,12 +39,20 @@ Page({ | ||
39 | /** | 39 | /** |
40 | * 提现 | 40 | * 提现 |
41 | */ | 41 | */ |
42 | - cashout:function(){}, | 42 | + cashout:function(){ |
43 | + wx.navigateTo({ | ||
44 | + url: 'cashout/cashout', | ||
45 | + }) | ||
46 | + }, | ||
43 | 47 | ||
44 | /** | 48 | /** |
45 | * 兑换 | 49 | * 兑换 |
46 | */ | 50 | */ |
47 | - goexchange:function(){}, | 51 | + goexchange:function(){ |
52 | + wx.navigateTo({ | ||
53 | + url: 'exchange/exchange', | ||
54 | + }) | ||
55 | + }, | ||
48 | 56 | ||
49 | /** | 57 | /** |
50 | * Lifecycle function--Called when page unload | 58 | * Lifecycle function--Called when page unload |
1 | -<view class= 'page'> | 1 | +<view style="background:#f5f5f5;width:100%;height:100%;margin-bottom:140rpx"> |
2 | 2 | ||
3 | -<view style="position:relative"> | 3 | +<view style="position:relative;height: 240rpx;"> |
4 | <image src="/images/reward_point_bg.png" style="width:100%;height:240rpx"></image> | 4 | <image src="/images/reward_point_bg.png" style="width:100%;height:240rpx"></image> |
5 | - <text style="font-size:80rpx;color:#fff;text-align:center;position:absolute;left:0;right:0;top:50rpx">39190.89</text> | ||
6 | - <text style="font-size:26rpx;color:#fff;text-align:center;position:absolute;left:0;right:0;bottom:50rpx">我的积分</text> | 5 | + <text style="font-size:72rpx;color:#fff;text-align:center;position:absolute;left:0;right:0;top:50rpx;">39190.89</text> |
6 | + <text style="font-size:26rpx;color:#fff;text-align:center;position:absolute;left:0;right:0;top:180rpx">我的积分</text> | ||
7 | </view> | 7 | </view> |
8 | 8 | ||
9 | -<view style="padding:26rpx;background:#fff;display:flex;flex-direction:row"> | ||
10 | - <view style="background:#357aeb;width: 8rpx;height: 46rpx;margin-right:10rpx"></view> | 9 | +<view style="background:#fff;display:flex;flex-direction:row;padding:26rpx;"> |
10 | + <view style="background:#357aeb;width: 8rpx;height: 46rpx;margin-right:10rpx;"></view> | ||
11 | <view class="text_gray_32">积分明细</view> | 11 | <view class="text_gray_32">积分明细</view> |
12 | </view> | 12 | </view> |
13 | 13 | ||
14 | -<view wx:if="true" wx:for="{'',''}" style="background:#fff;width:100%;height:140rpx"> | 14 | +<view wx:if="{true}" wx:for="{'',''}" style="background:#fff;width:100%;height:140rpx"> |
15 | <view style='background:#f5f5f5;height:2rpx;'></view> | 15 | <view style='background:#f5f5f5;height:2rpx;'></view> |
16 | <view style="margin:26rpx 40rpx"> | 16 | <view style="margin:26rpx 40rpx"> |
17 | <view style="float:left;display:flex;flex-direction:column;"> | 17 | <view style="float:left;display:flex;flex-direction:column;"> |
@@ -23,7 +23,6 @@ | @@ -23,7 +23,6 @@ | ||
23 | <text style="font-size:24rpx;color:#999;margin-top:10rpx">余额 200.37</text> | 23 | <text style="font-size:24rpx;color:#999;margin-top:10rpx">余额 200.37</text> |
24 | </view> | 24 | </view> |
25 | </view> | 25 | </view> |
26 | - | ||
27 | </view> | 26 | </view> |
28 | 27 | ||
29 | <view class="view_bottom" > | 28 | <view class="view_bottom" > |
请
注册
或
登录
后发表评论