|
|
|
<!--pages/wallet/wallet.wxml-->
|
|
|
|
<view class="body" wx:if="{{remind}}">
|
|
|
|
<view class='zong'>
|
|
|
|
<view class="spinner">
|
|
|
|
<view class="spinner-container container1">
|
|
|
|
<view class="circle1"></view>
|
|
|
|
<view class="circle2"></view>
|
|
|
|
<view class="circle3"></view>
|
|
|
|
<view class="circle4"></view>
|
|
|
|
</view>
|
|
|
|
<view class="spinner-container container2">
|
|
|
|
<view class="circle1"></view>
|
|
|
|
<view class="circle2"></view>
|
|
|
|
<view class="circle3"></view>
|
|
|
|
<view class="circle4"></view>
|
|
|
|
</view>
|
|
|
|
<view class="spinner-container container3">
|
|
|
|
<view class="circle1"></view>
|
|
|
|
<view class="circle2"></view>
|
|
|
|
<view class="circle3"></view>
|
|
|
|
<view class="circle4"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 加载页面结束 -->
|
|
|
|
<block wx:else>
|
|
|
|
<view class="page">
|
|
|
|
<view class="sc mt10">
|
|
|
|
<view class="df_1 df">
|
|
|
|
<text class="qb_02">{{user.user_money}}</text>
|
|
|
|
<text class="qb_01">账户余额({{user.unit}})</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="use_detail" style="width: 100%;margin: 0 auto;position: relative;height:55%;">
|
|
|
|
<view class="swiper-tab">
|
|
|
|
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">交易明细</view>
|
|
|
|
<!-- <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">充值明细</view>
|
|
|
|
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">提现明细</view> -->
|
|
|
|
</view>
|
|
|
|
<swiper current="{{currentTab}}" class="swiper-box" duration="300" style="position:relative;" bindchange="bindChange">
|
|
|
|
<swiper-item>
|
|
|
|
<scroll-view scroll-y="true">
|
|
|
|
<view class="search_no" wx:if="{{!list.length}}">
|
|
|
|
<text>暂时还没交易记录/(ㄒoㄒ)/~~</text>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key">
|
|
|
|
<view class='jf_obtain'>
|
|
|
|
<view class="left">
|
|
|
|
<!-- 1:充值4:余额消费 5:退款7:佣金 8:管理佣金 11:系统扣款14:系统充值28 售后(仅退款)29 售后(退货退款)30 会员返现 -->
|
|
|
|
<view class='obtain_bt' wx:if="{{item.type==1}}">充值</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==4}}">余额消费</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==5}}">退款</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==7}}">佣金</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==8}}">管理佣金</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==11}}">系统扣款</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==14}}">系统充值</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==28}}">售后(仅退款</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==29}}">售后(退货退款)</view>
|
|
|
|
<view class='obtain_bt' wx:elif="{{item.type==30}}">会员返现</view>
|
|
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:if="{{item.type==4}}">-{{item.money}}</view>
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:elif="{{item.type==11}}">-{{item.money}}</view>
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:else>+{{item.money}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</swiper-item>
|
|
|
|
<!-- <swiper-item >
|
|
|
|
<scroll-view scroll-y="true">
|
|
|
|
<view class="search_no" wx:if="{{!list.length}}">
|
|
|
|
<text>暂时还没充值记录/(ㄒoㄒ)/~~</text>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key">
|
|
|
|
<view class='jf_obtain'>
|
|
|
|
<view class="left">
|
|
|
|
<view class='obtain_bt'>{{item.type}}</view>
|
|
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:20rpx;'>+{{item.money}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</swiper-item>
|
|
|
|
<swiper-item>
|
|
|
|
<scroll-view scroll-y="true">
|
|
|
|
<view class="search_no" wx:if="{{!list.length}}">
|
|
|
|
<text>暂时还没提现记录/(ㄒoㄒ)/~~</text>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key">
|
|
|
|
<view class='jf_obtain'>
|
|
|
|
<view class="left">
|
|
|
|
<view class='obtain_bt'>{{item.type}}</view>
|
|
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view>
|
|
|
|
</view>
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:20rpx;'>-{{item.money}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</swiper-item> -->
|
|
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="dibu" style='background-color:{{bgcolor}};'>
|
|
|
|
<navigator class="dibu_1" url="../user/recharge">
|
|
|
|
<view>
|
|
|
|
<span class="dibu_t">充值</span>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
<view>
|
|
|
|
<text class="dibu_3">|</text>
|
|
|
|
</view>
|
|
|
|
<navigator class="dibu_2" url="../user/withdrawals">
|
|
|
|
<view>
|
|
|
|
<span class="dibu_t">提现</span>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
<view>
|
|
|
|
<text class="dibu_3">|</text>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
</view>
|
|
|
|
</block>
|