Commit d5c32925 by wangzhihui

积分中心、积分明细、积分钱包

1 parent c458bf74
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
"pages/integral/index/index", "pages/integral/index/index",
"pages/integral/withdrawal/withdrawal", "pages/integral/withdrawal/withdrawal",
"pages/bankAccount/add/add", "pages/bankAccount/add/add",
"pages/bankAccount/list/list" "pages/bankAccount/list/list",
"pages/integral/withdrawalNote/withdrawalNote"
] ]
}, },
{ {
......
...@@ -6,6 +6,7 @@ page { ...@@ -6,6 +6,7 @@ page {
font-size: 28rpx; font-size: 28rpx;
--themeColor: #FC5B32; --themeColor: #FC5B32;
--btnColor: #FC8A32; --btnColor: #FC8A32;
--fontColor:#7E4C15;
--borderRadius: 8rpx; --borderRadius: 8rpx;
--margin: 32rpx; --margin: 32rpx;
/* 兼容 IOS<11.2 先constant再env */ /* 兼容 IOS<11.2 先constant再env */
......
// packageIndex/pages/integral/index/noOpen/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
navStyle : "background-color: transparent;",
listNav:[
{
icon:'wallet',
text:'积分钱包'
},
{
icon:'account',
text:'收款账户'
}
],
havoNOData:[
{
text:'累计收益积分',
value:9505.50
},
{
text:'累计提现积分',
value:9505.50
},
{
text:'累计兑换积分',
value:9505.50
}
],
},
/**
* 组件的方法列表
*/
methods: {
navbarReady(e) {
let {
height
} = e.detail
this.setData({
navHeight: height
})
},
back() {
wx.p.router.back()
},
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
/* packageIndex/pages/integral/index/noOpen/index.wxss */
/* packageIndex/pages/integral/index/index.wxss */
.integral-have-no-container {
.flex {
display: flex;
align-items: center;
}
.navigation {
width: 750rpx;
height: 474rpx;
background-size: 100%;
background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/bg.png');
.bar-text {
font-weight: 500;
font-size: 34rpx;
color: #0A0D14;
text-align: center;
}
.back {
width: 40rpx;
height: 40rpx;
position: absolute;
left: 32rpx;
top: 50%;
transform: translateY(-50%);
z-index: 8;
}
}
.layout {
position: relative;
padding: 24rpx 0;
.have-no-open {
margin: 0 20rpx;
.type-list {
display: flex;
align-items: center;
.item {
height: 48rpx;
background: #ffffffb3;
border-radius: 24rpx;
padding: 10rpx 20rpx;
font-weight: 400;
font-size: 24rpx;
color: #AC7B46;
margin-right: 16rpx;
display: flex;
align-items: center;
box-sizing: border-box;
.icon {
width: 24rpx;
height: 26rpx;
margin-right: 8px;
;
}
}
}
.have-integral {
position: relative;
width: 710rpx;
height: 230.82rpx;
background-size: 100%;
background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/it-bg.png');
box-shadow: 0 6rpx 16rpx 0 #ccc5b95c;
border-radius: 16rpx;
margin-top: 18rpx;
padding: 32rpx 24rpx 31rpx 40rpx;
box-sizing: border-box;
.my-integral {
.title {
font-weight: 500;
font-size: 26rpx;
color: #7E4C15;
margin-bottom: 16rpx;
}
.integral {
display: flex;
align-items: flex-end;
.gold {
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
}
.number {
font-weight: 600;
font-size: 72rpx;
color: #7E4C15;
line-height: 80rpx;
color: #7E4C15;
}
}
}
.note-btn {
position: absolute;
font-weight: 400;
font-size: 24rpx;
color: #7E4C15;
right: 24rpx;
.right {
width: 24rpx;
height: 24rpx;
margin-left: 8rpx;
}
}
.withdraw {
position: absolute;
width: 172rpx;
height: 56rpx;
background-image: linear-gradient(179deg, #FFFFFF 0%, #FFF2D6 100%);
box-shadow: 0 2rpx 6rpx 0 #f6b14880, 0 4rpx 16rpx 0 #ff9a4480;
border-radius: 28rpx;
right: 24rpx;
top: 24rpx;
font-size: 24rpx;
color: #B7742A;
padding-left: 20rpx;
box-sizing: border-box;
&-icon {
width: 24.5rpx;
height: 24.5rpx;
margin-right: 8rpx;
}
}
}
.content {
box-shadow: 0 4rpx 12rpx 0 #00000017;
border-radius: 20rpx;
border-radius: 20rpx;
padding: 48rpx 40rpx 32rpx;
box-sizing: border-box;
margin-top: -16px;
background: #FFFFFF;
.c-item {
flex: 1;
margin: 0 33.5rpx;
.value {
font-weight: 600;
font-size: 40rpx;
color: #333333;
}
.text {
font-size: 24rpx;
color: #888888;
line-height: 36rpx;
}
}
.c-item ::after {
width: 2px;
height: 60rpx;
background-color: #F2F2F2;
}
}
}
}
}
\ No newline at end of file \ No newline at end of file
<!--packageIndex/pages/integral/index/noOpen/index.wxml-->
<!--packageIndex/pages/integral/index/index.wxml-->
<!--积分中心 -->
<view class="integral-have-no-container">
<!-- 导航栏 -->
<view class="navigation">
<navigation-bar bindnavbarReady="navbarReady" custom="{{true}}" navStyle="{{navStyle}}" page-title="积分中心">
<view class="nav-wrap">
<view class="back" bindtap="back">
<glsx-image webp src="/integral/back.png" class="icon"></glsx-image>
</view>
<view class="bar-text">积分中心</view>
</view>
</navigation-bar>
</view>
<block wx:if="{{navHeight}}">
<view class="layout" style="top:{{navHeight}}px; margin-top:-474rpx">
<!-- 未开通 -->
<view class="have-no-open">
<view class="type-list">
<view wx:for="{{listNav}}" class="item">
<glsx-image webp src="/integral/{{item.icon}}.png" class="icon"></glsx-image>
<view>{{item.text}}</view>
</view>
</view>
<view class="have-integral">
<view class="my-integral">
<view class="title">我的积分</view>
<view class="integral">
<glsx-image webp src="/integral/logo.png" class="gold"></glsx-image>
<view class="number --fontColor">1680</view>
</view>
</view>
<view class="flex note-btn --fontColor">提现记录 <glsx-image webp src="/integral/right.png" class="right"></glsx-image>
</view>
<view class="flex withdraw">
<glsx-image webp src="/integral/withdraw.png" class="withdraw-icon"></glsx-image>
我要提现
</view>
</view>
<view class="accumulative-content">
<view class="content flex">
<view wx:for="{{havoNOData}}" wx:key="index" wx:for-item="i" class="c-item">
<view class="value">{{i.value}}</view>
<view class="text">{{i.text}}</view>
</view>
</view>
</view>
</view>
</view>
</block>
</view>
// packageIndex/pages/integral/index/open/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
navStyle: "background-color: transparent;",
guideList:[
{
value:3,
text:'银行卡',
rightIcon:'right'
},
{
text:'积分转赠',
leftIcon:'given'
},
{
text:'提现记录',
leftIcon:'clock'
}
],
havoData:[
{
text:'累计收益',
value:9505.50
},
{
text:'累计提现',
value:9505.50
},
{
text:'累计兑换',
value:9505.50
},
{
text:'累计转赠',
value:9505.50
}
],
},
/**
* 组件的方法列表
*/
methods: {
navbarReady(e) {
let {
height
} = e.detail
this.setData({
navHeight: height
})
},
back() {
wx.p.router.back()
},
}
})
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
.integral-have-container {
.flex {
display: flex;
align-items: center;
}
.navigation {
width: 750rpx;
height: 674rpx;
background-size: 100%;
background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/have-bg.png');
.bar-text {
font-weight: 500;
font-size: 34rpx;
color: #0A0D14;
text-align: center;
}
.back {
width: 40rpx;
height: 40rpx;
position: absolute;
left: 32rpx;
top: 50%;
transform: translateY(-50%);
z-index: 8;
}
}
.layout {
position: relative;
padding: 24rpx 0;
.have-open {
margin: 0 44rpx 36rpx 54rpx;
.my-integral {
margin-bottom: 36rpx;
}
.title {
font-weight: 400;
font-size: 26rpx;
color: #7E4C15;
margin-bottom: 16rpx;
.gold {
width: 36rpx;
height: 36rpx;
margin-right: 8rpx;
}
}
.integral {
font-weight: 600;
font-size: 72rpx;
color: #7E4C15;
line-height: 80rpx;
}
.withdraw {
position: absolute;
width: 172rpx;
height: 56rpx;
background-image: linear-gradient(179deg, #FFFFFF 0%, #FFF2D6 100%);
box-shadow: 0 2rpx 6rpx 0 #f6b14880, 0 4rpx 16rpx 0 #ff9a4480;
border-radius: 28rpx;
right: 44rpx;
top: 24rpx;
font-size: 24rpx;
color: #B7742A;
padding-left: 20rpx;
box-sizing: border-box;
&-icon {
width: 24.5rpx;
height: 24.5rpx;
margin-right: 8rpx;
}
}
.guide-wrap {
.guide {
flex: 1;
.value {
font-weight: 500;
font-size: 28rpx;
color: #7E4C15;
}
.left {
width: 28rpx;
height: 28rpx;
}
.right {
width: 24rpx;
height: 24rpx;
}
.text {
font-size: 24rpx;
color: #7E4C15;
margin: 0 8rpx;
white-space: nowrap;
}
.line {
width: 2rpx;
height: 20rpx;
background: #7e4c1559;
margin: 0 60rpx;
}
}
}
.accumulative-content {
margin: 32rpx -24rpx 0 -34rpx;
height: 148rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
border-radius: 24rpx;
padding:0 32rpx;
.c-item {
flex: 1;
.value{
color: #333333;
font-size: 36rpx;
font-weight: 600;
}
.text{
font-weight: 400;
font-size: 24rpx;
color: #888888;
margin-top:6rpx;
}
}
}
}
}
}
\ No newline at end of file \ No newline at end of file
<!--packageIndex/pages/integral/index/open/index.wxml-->
<view class="integral-have-container">
<!-- 导航栏 -->
<view class="navigation">
<navigation-bar bindnavbarReady="navbarReady" custom="{{true}}" navStyle="{{navStyle}}" page-title="积分中心">
<view class="nav-wrap">
<view class="back" bindtap="back">
<glsx-image webp src="/integral/back.png" class="icon"></glsx-image>
</view>
<view class="bar-text">积分中心</view>
</view>
</navigation-bar>
</view>
<block wx:if="{{navHeight}}">
<view class="layout" style="top:{{navHeight}}px;margin-top:-674rpx">
<!-- 已开通 -->
<view class="have-open">
<view class="my-integral">
<view class="title --fontColor flex">
<glsx-image webp src="/integral/logo.png" class="gold"></glsx-image>宋慧的总积分
</view>
<view class="integral">
1680
</view>
</view>
<view class="flex withdraw">
<glsx-image webp src="/integral/withdraw.png" class="withdraw-icon"></glsx-image>
我要提现
</view>
<view class="guide-wrap flex">
<view wx:for="{{guideList}}" class="guide flex" wx:for-item="g" wx:key="index">
<view class="value" wx:if="{{g.value}}">{{g.value}}</view>
<glsx-image webp src="/integral/{{g.leftIcon}}.png" class="left" wx:if="{{g.leftIcon}}"></glsx-image>
<view class="text">{{g.text}}</view>
<glsx-image webp src="/integral/{{g.rightIcon}}.png" class="right" wx:if="{{g.rightIcon}}"></glsx-image>
<view class="line" wx-if="{{index!=2}}"></view>
</view>
</view>
<view class="accumulative-content flex">
<view wx:for="{{havoData}}" wx:key="index" wx:for-item="i" class="c-item">
<view class="value">{{i.value}}</view>
<view class="text">{{i.text}}</view>
</view>
</view>
</view>
</view>
</block>
</view>
\ No newline at end of file \ No newline at end of file
...@@ -7,7 +7,20 @@ Page({ ...@@ -7,7 +7,20 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
navStyle : "background-color: transparent;" open:false,
listData: [{
id: 2104467,
infoName: "积分兑换",
rewardScore: 5,
type: -1,
updatedTime: "2025-07-10 14:31"
}, {
id: 2104354,
infoName: "积分收益",
rewardScore: 5,
type: 0,
updatedTime: "2025-06-20 17:07",
}]
}, },
/** /**
...@@ -17,14 +30,12 @@ Page({ ...@@ -17,14 +30,12 @@ Page({
}, },
navbarReady(e) { navbarReady(e) {
// let { let {
// height height
// } = e.detail; } = e.detail
// this.setData({ this.setData({
// user_box_style: `padding-top:${height + 10}px`, navHeight: height
// count_box_style: `padding-top:${height}px`, })
// });
navBarHeight = e.detail.height
}, },
back() { back() {
wx.p.router.back() wx.p.router.back()
......
{ {
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": {} "usingComponents": {
"have-open":"./components/open",
"have-no-ope":"./components/noOpen"
}
} }
\ No newline at end of file \ No newline at end of file
/* packageIndex/pages/integral/index/index.wxss */ /* packageIndex/pages/integral/index/index.wxss */
.integral-container { .integral-container {
position: fixed; .flex {
top: 0; display: flex;
left: 0; align-items: center;
z-index: 2; }
.navigation { .list_widget {
width: 750rpx; // margin-top: 674rpx;
height: 474rpx; background: #FFFFFF;
background-size: 100%; border: 2rpx solid #FFFFFF;
background-repeat: no-repeat; border-radius: 24rpx;
background-image:url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/bg.png'); padding: 32rpx 28rpx;
.bar-text { margin: 142rpx 20rpx 0;
box-sizing: border-box;
.title_wrap {
font-weight: 500; font-weight: 500;
font-size: 34rpx; font-size: 34rpx;
color: #0A0D14; color: #0A0D14;
text-align: center; text-align: center;
} }
} }
.list_data_widget {
box-sizing: border-box;
.element {
width: 100%;
border-bottom: 2rpx solid #f2f2f2;
padding: 28rpx 0;
position: relative;
.title {
font-weight: 500;
font-size: 28rpx;
color: #292D33;
line-height: 44rpx;
display: flex;
align-items: center;
}
.date {
font-weight: 400;
font-size: 24rpx;
color: #8F959E;
line-height: 36rpx;
margin-top: 8rpx;
}
.price {
position: absolute;
right: 0;
top: 50%;
transform: translate(0, -50%);
color: #FB8A32;
font-size: 40rpx;
display: flex;
align-items: center;
.mini {
font-size: 32rpx;
}
}
.blackColor {
color: #333333;
}
.right-icon {
width: 32rpx;
height: 32rpx;
margin-left:4rpx;
}
.tip {
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 44rpx;
margin-right: 12rpx;
}
}
.no_more_tip {
margin-top: 40rpx;
font-weight: 400;
font-size: 24rpx;
color: #BEBEBE;
line-height: 36rpx;
text-align: center;
}
}
}
.bgF{
background-color: #fff;
}
.bgt{
margin: 114rpx 20rpx 0!important;
} }
\ No newline at end of file \ No newline at end of file
<!--packageIndex/pages/integral/index/index.wxml--> <!--packageIndex/pages/integral/index/index.wxml-->
<!--积分中心 --> <!--积分中心 -->
<view class="integral-container"> <view class="integral-container {{!open?'bgF':''}}">
<!-- 导航栏 --> <have-no-ope></have-no-ope>
<view class="navigation"> <!-- <have-open></have-open> -->
<navigation-bar bindnavbarReady="navbarReady" custom="{{true}}" navStyle="{{navStyle}}" page-title="积分中心"> <view class="list_widget {{open?'bgt':''}}">
<view class="nav-wrap"> <view class="title_wrap">
<view class="back text-center y-center" bindtap="back"> 收益明细
<glsx-image webp src="integral/back.png" class="icon"></glsx-image>
</view> </view>
<view class="bar-text">积分中心</view> <view class="list_data_widget">
<block wx:for="{{listData}}" wx:key="index">
<view class="element" bind:tap="handleDetail" data-id="{{item.id}}">
<view class="title">{{item.infoName}} <view class="right-icon-box">
</view>
</view>
<view class="date">{{item.updatedTime}}</view>
<view class="price {{item.type==0?'':'blackColor'}}">
<text wx:if="{{item.infoName==='积分商品售后'}}" class="tip">退还</text>
<text class="mini">{{item.type==0?'+':'-'}}</text>
<text>{{item.rewardScore}}</text>
<glsx-image mode="widthFix" class="right-arrow" src="/integral/arrow.png" />
</view>
</view>
</block>
<view wx:if="{{listData.length}}" class="no_more_tip">没有更多啦</view>
<view wx:else class="no_more_tip">暂无收益明细</view>
</view> </view>
</navigation-bar>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
// import MineApi from '~/api/mineApi/index'
Page({
data: {
STATUSICON: ['waiteing', 'comlpete', 'fail', 'ht'],
STATUSTEXT:['处理中','提现成功','提现成功','后台核销'],
listData: [],
isNoResult: false
},
toastError(e){
const {
reason
} = e.currentTarget.dataset
// wx.$api.showToast(reason);
wx.showModal({
title: '',
content:String(reason) ,
showCancel: false,
confirmText: '我知道了',
confirmColor: '#1B233D',
success(res) {
}
})
},
onLoad(options) {
// MineApi.getWithdrawalListApi().then(res => {
// if (res && res.length) {
let res=[ {
"id" : 16118,
"wechatAvatarUrl" : null,
"wechatNickName" : null,
"withdrawalScore" : 50995.46,
"withdrawalTime" : "2025-08-15 09:48",
"successTime" : null,
"status" : 4,
"type" : 3,
"bankUserName" : "望周知",
"bankName" : "中国邮政储蓄银行",
"bankNumber" : "6555555555555555555",
"bankPhone" : "18955555555",
"idCardNo" : "341181199508252222",
"exportStatus" : 0,
"failReason" : null,
"source" : 1
},{"id" : 16067,
"wechatAvatarUrl" : null,
"wechatNickName" : null,
"withdrawalScore" : 32.00,
"withdrawalTime" : "2024-11-08 17:17",
"successTime" : "2024-11-08 17:25",
"status" : 3,
"type" : 3,
"bankUserName" : "姚孝章",
"bankName" : "招商银行",
"bankNumber" : "6214830050900165",
"bankPhone" : "13650810420",
"idCardNo" : "440582199609153643",
"exportStatus" : 0,
"failReason" : null,
"source" : 1
}, {
"id" : 16066,
"wechatAvatarUrl" : null,
"wechatNickName" : null,
"withdrawalScore" : 30.50,
"withdrawalTime" : "2024-11-08 15:55",
"successTime" : null,
"status" : 2,
"type" : 3,
"bankUserName" : "姚孝章",
"bankName" : "招商银行",
"bankNumber" : "6214830050900165",
"bankPhone" : "13650810420",
"idCardNo" : "440582199609153643",
"exportStatus" : 0,
"failReason" : null,
"source" : 1
} ]
console.log(2222)
res.map(item => {
if (item.status == 3) {
item.iconType = 1
} else if (item.status == 4) {
item.iconType = 2
} else {
item.iconType = 0
}
if (item.type == 2) {
item.iconType = 3
}
if(item.type == 3 && item.bankNumber ){
item.bankNumber = item.bankNumber.replace(/^(?:\d+)(.{4})$/, '**** **** **** $1')
}
return item
})
// }
let flag = res.length ? false : true
this.setData({
listData: res || [],
isNoResult: flag
})
// })
}
})
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {
},
"navigationBarTitleText":"兑换记录"
}
\ No newline at end of file \ No newline at end of file
/* packageIndex/pages/integral/withdrawalNote/withdrawalNote.wxss */
page {
background: #F7F8FA;
}
.container {
padding: 40rpx 0;
}
.title_widget {
margin-bottom: 38rpx;
.text_1 {
font-weight: 600;
font-size: 36rpx;
color: #1B233D;
padding-left: 32rpx;
}
.marlf8 {
margin: 0 8rpx;
}
.text_2 {
font-weight: 400;
font-size: 28rpx;
color: #2D2D33;
}
}
.list {
margin: 24rpx 32rpx;
.element {
width: 686rpx;
height: 288rpx;
background: #FFFFFF;
border-radius: 16rpx;
box-sizing: border-box;
padding: 32rpx 32rpx 24rpx 32rpx;
margin-bottom: 24rpx;
position: relative;
.bank-info {
font-weight: 400;
font-size: 28rpx;
color: #0A0D14;
}
.status {
background: #FFFFFF;
border-radius: 18rpx;
padding: 2rpx 12rpx;
font-size: 22rpx;
font-weight: 400;
border-radius: 18rpx;
position: absolute;
right:32rpx;
top:32rpx;
}
.waiteing{
color: #FA9E14;
border: 1.6rpx solid #FDB757;
}
.comlpete{
color: #28C792;
border: 1.6rpx solid #28C792;
}
.fail{
color: #F75454;
border: 1.6rpx solid #F75454;
}
.ht{
color: #FA9E14;
border: 1.6rpx solid #FDB757;
}
.countText {
font-weight: 500;
font-size: 48rpx;
color: #0A0D14;
line-height: 58rpx;
margin-top: 12rpx;
margin-bottom: 32rpx;
.type {
font-weight: 400;
font-size: 26rpx;
color: #666666;
line-height: 40rpx;
margin-left: auto;
}
.failReason {
line-height: 32rpx;
color: #F56C50;
width: 260rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
text-align: right;
}
}
.line {
height: 2rpx;
background: #E6E6E6;
border-radius: 12rpx;
}
.date_wrap {
margin-top: 15rpx;
box-sizing: border-box;
padding-right: 32rpx;
.dateText {
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 32rpx;
}
}
}
}
.error-icon {
width: 24rpx;
height: 56rpx;
margin-left: 4rpx;
}
\ No newline at end of file \ No newline at end of file
<!-- 提现记录 -->
<view class="container isFullSucreen">
<view wx:if="{{!isNoResult}}" class="list">
<block wx:for="{{listData}}" wx:key="index">
<view class="element">
<view class="status {{STATUSICON[item.iconType]}}">{{STATUSTEXT[item.iconType]}}</view>
<block wx:if="{{item.type == 3}}">
<view class="bank-info">
<view class="name">
{{item.bankName || ''}}({{item.bankUserName|| ''}})
</view>
<view class="card-no">
{{item.bankNumber|| ''}}
</view>
</view>
</block>
<view class="countText flex">
-{{item.withdrawalScore}}
<block wx:if="{{item.status == 4&&item.failReason}}">
<view class="type flex"><view class="failReason">{{item.failReason}} </view> <glsx-image mode="widthFix" class="error-icon" bind:tap="toastError" data-reason="{{item.failReason}}" src="store-assistant/error-icon.png" /></view>
</block>
<block wx:else>
<view wx:if="{{item.type == -1}}" class="type">
消耗积分
</view>
<view wx:else class="type">
{{item.type == 3 ?'银行卡':item.type == 1?'零钱':'微信'}}兑换
</view>
</block>
</view>
<view class="line"></view>
<view class="date_wrap flex_scb">
<view class="dateText">{{item.type == -1 ?'兑换':'申请'}}时间:{{item.withdrawalTime || ''}}</view>
<view wx:if="{{item.successTime}}" class="dateText">完成时间:{{item.successTime || ''}}</view>
</view>
</view>
</block>
</view>
<!-- <van-empty wx:if="{{isNoResult}}" description="暂无兑换记录" /> -->
</view>
\ No newline at end of file \ No newline at end of file
...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "提现记录",
"pathName": "packageIndex/pages/integral/withdrawalNote/withdrawalNote",
"query": "",
"launchMode": "default",
"scene": null
} }
] ]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!