提交 da890cccc3b2bfe1b038f9b073a86e3d6fa345b1

作者 wangyu
1 个父辈 c0636520

完成积分明细页面

... ... @@ -41,6 +41,7 @@
41 41 "pages/main/rewardpoint/exchange/exchange",
42 42 "pages/main/rewardpoint/bindcard/bindcard",
43 43 "pages/main/rewardpoint/setpaypwd/setpaypwd",
  44 + "pages/main/rewardpoint/pointdetail/pointdetail",
44 45
45 46 "pages/login/login",
46 47 "pages/main/advancepayment/adPayDetails/adPayDetails",
... ...
... ... @@ -7,8 +7,8 @@ Page({
7 7 data: {
8 8 taxpercent:25,//暂时固定为25%
9 9 showModal:false,
10   - hasBind:false,
11   - hasPayPwd:false,
  10 + hasBind:true,
  11 + hasPayPwd:true,
12 12 rightNum:false,
13 13 cashNum:6989.88,
14 14 inputNum:"",
... ... @@ -183,6 +183,12 @@ Page({
183 183 if (e.detail.value.length === 6) {
184 184 // 通知用户输入数字达到6位数可以发送接口校验密码是否正确
185 185 this.triggerEvent('initData', e.detail.value)
  186 + this.setData({
  187 + showModal:false
  188 + })
  189 + wx.navigateTo({
  190 + url: '../pointdetail/pointdetail',
  191 + })
186 192 }
187 193 },
188 194
... ...
  1 +// pages/main/rewardpoint/pointdetail/pointdetail.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 + goBack:function(){
  33 + wx.navigateBack({
  34 + delta: 1,
  35 + })
  36 + },
  37 +
  38 + /**
  39 + * Lifecycle function--Called when page hide
  40 + */
  41 + onHide: function () {
  42 +
  43 + },
  44 +
  45 + /**
  46 + * Lifecycle function--Called when page unload
  47 + */
  48 + onUnload: function () {
  49 +
  50 + },
  51 +
  52 + /**
  53 + * Page event handler function--Called when user drop down
  54 + */
  55 + onPullDownRefresh: function () {
  56 +
  57 + },
  58 +
  59 + /**
  60 + * Called when page reach bottom
  61 + */
  62 + onReachBottom: function () {
  63 +
  64 + },
  65 +
  66 + /**
  67 + * Called when user click on the top right corner to share
  68 + */
  69 + onShareAppMessage: function () {
  70 +
  71 + }
  72 +})
\ No newline at end of file
... ...
  1 +{
  2 + "navigationBarTitleText": "积分提现"
  3 +}
\ No newline at end of file
... ...
  1 +<view>
  2 + <view wx:if="{{true}}" style="background:#fff;padding:40rpx;flex-direction: row;display: flex;">
  3 + <view style="width:100rpx;align-items: center;display: flex;flex-direction: column;">
  4 + <image src="/images/handled.png" style="width:40rpx;height:40rpx"></image>
  5 + <view style="width:4rpx;height:160rpx;background:#9ABCF5"></view>
  6 + <image src="/images/finishing.png" style="width:60rpx;height:60rpx"></image>
  7 + <view style="width:4rpx;height:80rpx;background:#9ABCF5"></view>
  8 + <view style="width:4rpx;height:80rpx;background:#e5e5e5"></view>
  9 + <view class="gray_dot"></view>
  10 + </view>
  11 + <view style="display: flex;flex-direction: column;">
  12 + <text class="text_black_34">发起提现申请</text>
  13 + <text style="color:#357aeb;font-size:34rpx;margin-top:160rpx">处理中</text>
  14 + <text style="color:#999;font-size:28rpx;">预计 10.18 22:23 前到账</text>
  15 + <text class="text_black_34" style="margin-top: 100rpx;">到账成功</text>
  16 + </view>
  17 + </view>
  18 +
  19 + <view wx:else style="background:#fff;padding:40rpx;flex-direction: row;display: flex;">
  20 + <view style="width:100rpx;align-items: center;display: flex;flex-direction: column;">
  21 + <image src="/images/handled.png" style="width:40rpx;height:40rpx"></image>
  22 + <view style="width:4rpx;height:160rpx;background:#9ABCF5"></view>
  23 + <image src="/images/handling.png" style="width:40rpx;height:40rpx"></image>
  24 + <view style="width:4rpx;height:160rpx;background:#9ABCF5"></view>
  25 + <image src="/images/finished.png" style="width:60rpx;height:60rpx"></image>
  26 + </view>
  27 + <view style="display: flex;flex-direction: column;">
  28 + <text class="text_black_34">发起提现申请</text>
  29 + <text class="text_black_34" style="margin-top:150rpx">处理中</text>
  30 + <text style="color:#999;font-size:28rpx;">预计 10.18 22:23 前到账</text>
  31 + <text style="color:#357aeb;font-size:34rpx;margin-top: 120rpx;">到账成功</text>
  32 + </view>
  33 + </view>
  34 +
  35 + <view style="background:#fff;padding: 30rpx;">
  36 + <view style="width:100%;height:1rpx;background:#e5e5e5"></view>
  37 + <view >
  38 + <text style="font-size:30rpx;color:#999;line-height: 80rpx;">提现金额</text>
  39 + <text style="font-size:34rpx;color:#333;line-height: 80rpx;float: right;">300.00</text>
  40 + </view>
  41 + <view >
  42 + <text style="font-size:30rpx;color:#999;line-height: 80rpx;">到账银行卡</text>
  43 + <text style="font-size:34rpx;color:#333;line-height: 80rpx;float: right;">招商银行 (尾号3776)</text>
  44 + </view>
  45 + <view >
  46 + <text style="font-size:30rpx;color:#999;line-height: 80rpx;">宝贝核销信息</text>
  47 + <text style="font-size:34rpx;color:#333;line-height: 80rpx;float: right;">¥75.00</text>
  48 + </view>
  49 + </view>
  50 +
  51 + <view class="view_bottom">
  52 + <button class="btn_white_radius" style="margin:20rpx" bindtap='goBack'> 完成</button>
  53 + </view>
  54 +</view>
\ No newline at end of file
... ...
  1 +/* pages/main/rewardpoint/pointdetail/pointdetail.wxss */
  2 +page {
  3 + background-color: #f5f5f5;
  4 +}
  5 +
  6 +.text_black_34{
  7 + font-size: 34rpx;
  8 + color:#333;
  9 +font-family: PingFangSC-Regular, PingFang SC;
  10 +}
  11 +
  12 +.gray_dot {
  13 + width: 16rpx;
  14 + height: 16rpx;
  15 + background-color: #e5e5e5;
  16 + border-radius: 50%;
  17 +}
  18 +
  19 +.btn_white_radius {
  20 + flex: 1;
  21 + height: 42px;
  22 + background: #FFFFFF;
  23 + border-radius: 5px;
  24 + border: 1px solid #EEEEEE;
  25 + color: #666;
  26 +}
  27 +
  28 +.view_bottom {
  29 + background: #fff;
  30 + width: 100%;
  31 + position: fixed;
  32 + bottom: 0;
  33 + flex-direction: row;
  34 +}
\ No newline at end of file
... ...
注册登录 后发表评论