正在显示
10 个修改的文件
包含
175 行增加
和
2 行删除
| @@ -36,6 +36,8 @@ | @@ -36,6 +36,8 @@ | ||
| 36 | "pages/main/finalpay/donationDetail/donationDetail", | 36 | "pages/main/finalpay/donationDetail/donationDetail", |
| 37 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", | 37 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", |
| 38 | 38 | ||
| 39 | + "pages/main/rewardpoint/home", | ||
| 40 | + | ||
| 39 | "pages/login/login", | 41 | "pages/login/login", |
| 40 | "pages/main/advancepayment/adPayDetails/adPayDetails", | 42 | "pages/main/advancepayment/adPayDetails/adPayDetails", |
| 41 | "pages/main/verify/verify_info", | 43 | "pages/main/verify/verify_info", |
images/reward_point.png
0 → 100644
4.6 KB
images/reward_point_bg.png
0 → 100644
11.1 KB
| @@ -108,7 +108,11 @@ Page({ | @@ -108,7 +108,11 @@ Page({ | ||
| 108 | // url: '../finalpayment/home', | 108 | // url: '../finalpayment/home', |
| 109 | url:'../finalpay/home', | 109 | url:'../finalpay/home', |
| 110 | }) | 110 | }) |
| 111 | - } | 111 | + } else if (skip_type == "5") { |
| 112 | + wx.navigateTo({ | ||
| 113 | + url: '../rewardpoint/home', | ||
| 114 | + }) | ||
| 115 | + } | ||
| 112 | } | 116 | } |
| 113 | } | 117 | } |
| 114 | }) | 118 | }) |
| @@ -168,6 +172,13 @@ Page({ | @@ -168,6 +172,13 @@ Page({ | ||
| 168 | this.checkUserInfo("4") | 172 | this.checkUserInfo("4") |
| 169 | }, | 173 | }, |
| 170 | 174 | ||
| 175 | + /** | ||
| 176 | + * 政策积分奖励 | ||
| 177 | + */ | ||
| 178 | + goRewardPoint:function(){ | ||
| 179 | + this.checkUserInfo("5") | ||
| 180 | + }, | ||
| 181 | + | ||
| 171 | gochat: function() { | 182 | gochat: function() { |
| 172 | wx.navigateTo({ | 183 | wx.navigateTo({ |
| 173 | url: '../smartchat/chat', | 184 | url: '../smartchat/chat', |
| @@ -46,6 +46,16 @@ | @@ -46,6 +46,16 @@ | ||
| 46 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 46 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
| 47 | </view> | 47 | </view> |
| 48 | 48 | ||
| 49 | + <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goRewardPoint'> | ||
| 50 | + <image class="icon_wrap" src="/images/reward_point.png"></image> | ||
| 51 | + <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | ||
| 52 | + <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | ||
| 53 | + <text style='font-size: 36rpx;color: #000;font-weight:bold;'>政策积分奖励</text> | ||
| 54 | + <text style='font-size:28rpx;color: #999;margin-top:6rpx'>享受政策积分奖励</text> | ||
| 55 | + </view> | ||
| 56 | + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | ||
| 57 | + </view> | ||
| 58 | + | ||
| 49 | <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> | 59 | <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> |
| 50 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> | 60 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> |
| 51 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 61 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
pages/main/rewardpoint/home.js
0 → 100644
| 1 | +// pages/main/rewardpoint/home.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 | + * 提现 | ||
| 41 | + */ | ||
| 42 | + cashout:function(){}, | ||
| 43 | + | ||
| 44 | + /** | ||
| 45 | + * 兑换 | ||
| 46 | + */ | ||
| 47 | + goexchange:function(){}, | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Lifecycle function--Called when page unload | ||
| 51 | + */ | ||
| 52 | + onUnload: function () { | ||
| 53 | + | ||
| 54 | + }, | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Page event handler function--Called when user drop down | ||
| 58 | + */ | ||
| 59 | + onPullDownRefresh: function () { | ||
| 60 | + | ||
| 61 | + }, | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Called when page reach bottom | ||
| 65 | + */ | ||
| 66 | + onReachBottom: function () { | ||
| 67 | + | ||
| 68 | + }, | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * Called when user click on the top right corner to share | ||
| 72 | + */ | ||
| 73 | + onShareAppMessage: function () { | ||
| 74 | + | ||
| 75 | + } | ||
| 76 | +}) |
pages/main/rewardpoint/home.json
0 → 100644
pages/main/rewardpoint/home.wxml
0 → 100644
| 1 | +<view class= 'page'> | ||
| 2 | + | ||
| 3 | +<view style="position:relative"> | ||
| 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> | ||
| 7 | +</view> | ||
| 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> | ||
| 11 | + <view class="text_gray_32">积分明细</view> | ||
| 12 | +</view> | ||
| 13 | + | ||
| 14 | +<view wx:if="true" wx:for="{'',''}" style="background:#fff;width:100%;height:140rpx"> | ||
| 15 | + <view style='background:#f5f5f5;height:2rpx;'></view> | ||
| 16 | + <view style="margin:26rpx 40rpx"> | ||
| 17 | + <view style="float:left;display:flex;flex-direction:column;"> | ||
| 18 | + <text style="font-size:32rpx;color:#333">政策奖励</text> | ||
| 19 | + <text style="font-size:24rpx;color:#999;margin-top:10rpx">08月02日 10:21</text> | ||
| 20 | + </view> | ||
| 21 | + <view style="float:right;display:flex;flex-direction:column;"> | ||
| 22 | + <text style="font-size:36rpx;color: #FA9414;">+100.00</text> | ||
| 23 | + <text style="font-size:24rpx;color:#999;margin-top:10rpx">余额 200.37</text> | ||
| 24 | + </view> | ||
| 25 | + </view> | ||
| 26 | + | ||
| 27 | +</view> | ||
| 28 | + | ||
| 29 | +<view class="view_bottom" > | ||
| 30 | + <button class="btn_white_radius" style="margin:20rpx" bindtap='cashout'> 提现</button> | ||
| 31 | + <button class="btn_blue_radius" style="margin:20rpx 20rpx 20rpx 0" bindtap='goexchange'> 兑换</button> | ||
| 32 | + </view> | ||
| 33 | +</view> |
pages/main/rewardpoint/home.wxss
0 → 100644
| 1 | +/* pages/main/rewardpoint/home.wxss */ | ||
| 2 | +.page { | ||
| 3 | + background-color: #fcfcfc; | ||
| 4 | +} | ||
| 5 | + | ||
| 6 | +.text_gray_32 { | ||
| 7 | + font-size: 32rpx; | ||
| 8 | + color: #333; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | + | ||
| 12 | +.view_bottom { | ||
| 13 | + background: #fff; | ||
| 14 | + width: 100%; | ||
| 15 | + position: fixed; | ||
| 16 | + bottom: 0; | ||
| 17 | + display: flex; | ||
| 18 | + flex-direction: row; | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | +.btn_blue_radius { | ||
| 22 | + background: #357aeb; | ||
| 23 | + border-radius: 5px; | ||
| 24 | + flex: 1; | ||
| 25 | + color: #fff; | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +.btn_white_radius { | ||
| 29 | + flex: 1; | ||
| 30 | + height: 42px; | ||
| 31 | + background: #FFFFFF; | ||
| 32 | + border-radius: 5px; | ||
| 33 | + border: 1px solid #EEEEEE; | ||
| 34 | + color: #666666; | ||
| 35 | +} |
| @@ -21,7 +21,8 @@ | @@ -21,7 +21,8 @@ | ||
| 21 | "disablePlugins": [], | 21 | "disablePlugins": [], |
| 22 | "outputPath": "" | 22 | "outputPath": "" |
| 23 | }, | 23 | }, |
| 24 | - "useCompilerModule": true, | 24 | + "useIsolateContext": true, |
| 25 | + "useCompilerModule": false, | ||
| 25 | "userConfirmedUseCompilerModuleSwitch": false | 26 | "userConfirmedUseCompilerModuleSwitch": false |
| 26 | }, | 27 | }, |
| 27 | "compileType": "miniprogram", | 28 | "compileType": "miniprogram", |
请
注册
或
登录
后发表评论