完善功能

This commit is contained in:
2025-05-09 02:34:59 +08:00
parent c02e0c67ea
commit 0b55863ba3
6 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@
<u-line color="#EEE" direction="col" length="60"/> <u-line color="#EEE" direction="col" length="60"/>
</view> </view>
<view> <view>
<navigator hover-class="none" url="/pages/recharge/balance" class="row"> <navigator hover-class="none" url="/pages/recharge/record" class="row">
<u-image :src="cloudPath + 'img/icon_my_wallet_record.png'" width="56" height="56"></u-image> <u-image :src="cloudPath + 'img/icon_my_wallet_record.png'" width="56" height="56"></u-image>
<text class="u-m-l-18 nr">充值记录</text> <text class="u-m-l-18 nr">充值记录</text>
</navigator> </navigator>

View File

@ -49,7 +49,7 @@
data data
}) => { }) => {
if (page.num == 1) this.list = []; if (page.num == 1) this.list = [];
const curPageData = data.lists const curPageData = data.list
const curPageLen = curPageData.length const curPageLen = curPageData.length
const hasNext = !!data.more const hasNext = !!data.more
this.list = this.list.concat(curPageData) this.list = this.list.concat(curPageData)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<view class="wallet"><view class="bg"></view><view class="block"><view class="bg-white balance u-m-l-16 u-m-r-16 br24 column-center"><view>账户余额(元)</view><view class="u-m-t-14 bold-600 xxl">{{"¥ "+wallet.user_money}}</view></view><view class="bg-white wallet-btn u-m-t-24 u-m-l-16 u-m-r-16 row-between br24"><view><navigator class="row" hover-class="none" url="/pages/recharge/balance"><u-image vue-id="9557a05a-1" src="{{cloudPath+'img/icon_my_wallet.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值</text></navigator></view><view><u-line vue-id="9557a05a-2" color="#EEE" direction="col" length="60" bind:__l="__l"></u-line></view><view><navigator class="row" hover-class="none" url="/pages/recharge/balance"><u-image vue-id="9557a05a-3" src="{{cloudPath+'img/icon_my_wallet_record.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值记录</text></navigator></view></view><view class="list bg-white br16 u-p-32" style="height:962rpx;"><view class="lg">钱包明细</view><scroll-view style="height:880rpx;" scroll-y="true" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" data-event-opts="{{[['refresherrefresh',[['refreshCallback',['$event']]]],['scrolltolower',[['upCallback',['$event']]]]]}}" bindrefresherrefresh="__e" bindscrolltolower="__e"><view class="u-m-t-16"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-m-b-16"><view class="nr row-between"><view>{{item.source_type}}</view><view class="deduct">{{item.change_amount}}</view></view><view class="date xs u-m-t-16">{{item.change_amount}}</view></view></block></view><loading-footer vue-id="9557a05a-4" status="{{loadingStatus}}" bind:__l="__l"></loading-footer></scroll-view></view></view></view> <view class="wallet"><view class="bg"></view><view class="block"><view class="bg-white balance u-m-l-16 u-m-r-16 br24 column-center"><view>账户余额(元)</view><view class="u-m-t-14 bold-600 xxl">{{"¥ "+wallet.user_money}}</view></view><view class="bg-white wallet-btn u-m-t-24 u-m-l-16 u-m-r-16 row-between br24"><view><navigator class="row" hover-class="none" url="/pages/recharge/balance"><u-image vue-id="9557a05a-1" src="{{cloudPath+'img/icon_my_wallet.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值</text></navigator></view><view><u-line vue-id="9557a05a-2" color="#EEE" direction="col" length="60" bind:__l="__l"></u-line></view><view><navigator class="row" hover-class="none" url="/pages/recharge/record"><u-image vue-id="9557a05a-3" src="{{cloudPath+'img/icon_my_wallet_record.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值记录</text></navigator></view></view><view class="list bg-white br16 u-p-32" style="height:962rpx;"><view class="lg">钱包明细</view><scroll-view style="height:880rpx;" scroll-y="true" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" data-event-opts="{{[['refresherrefresh',[['refreshCallback',['$event']]]],['scrolltolower',[['upCallback',['$event']]]]]}}" bindrefresherrefresh="__e" bindscrolltolower="__e"><view class="u-m-t-16"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-m-b-16"><view class="nr row-between"><view>{{item.source_type}}</view><view class="deduct">{{item.change_amount}}</view></view><view class="date xs u-m-t-16">{{item.change_amount}}</view></view></block></view><loading-footer vue-id="9557a05a-4" status="{{loadingStatus}}" bind:__l="__l"></loading-footer></scroll-view></view></view></view>

View File

@ -194,7 +194,7 @@ var _default = {
}).then(function (_ref) { }).then(function (_ref) {
var data = _ref.data; var data = _ref.data;
if (page.num == 1) _this.list = []; if (page.num == 1) _this.list = [];
var curPageData = data.lists; var curPageData = data.list;
var curPageLen = curPageData.length; var curPageLen = curPageData.length;
var hasNext = !!data.more; var hasNext = !!data.more;
_this.list = _this.list.concat(curPageData); _this.list = _this.list.concat(curPageData);