|
@ -26,120 +26,83 @@ |
|
|
<!-- 加载页面结束 --> |
|
|
<!-- 加载页面结束 --> |
|
|
<block wx:else> |
|
|
<block wx:else> |
|
|
<view class="page"> |
|
|
<view class="page"> |
|
|
<view class="sc mt10" style='background-color:{{ bgcolor }};'> |
|
|
<view class="sc mt10"> |
|
|
<view class="df_1 df"> |
|
|
<view class="df_1 df"> |
|
|
<text class="qb_02">{{user.money}}</text> |
|
|
<text class="qb_02">{{user.user_money}}</text> |
|
|
<text class="qb_01">账户余额({{user.unit}})</text> |
|
|
<text class="qb_01">账户余额({{user.unit}})</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="use_detail" style="width: 100%;margin: 0 auto;position: relative;height:55%;"> |
|
|
<view class="use_detail" style="width: 100%;margin: 0 auto;position: relative;height:55%;"> |
|
|
<view class="swiper-tab"> |
|
|
<view class="swiper-tab"> |
|
|
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">交易明细</view> |
|
|
<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==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">充值明细</view> |
|
|
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">提现明细</view> |
|
|
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">提现明细</view> --> |
|
|
</view> |
|
|
</view> |
|
|
<swiper current="{{currentTab}}" class="swiper-box" duration="300" style="position:relative;" bindchange="bindChange"> |
|
|
<swiper current="{{currentTab}}" class="swiper-box" duration="300" style="position:relative;" bindchange="bindChange"> |
|
|
<swiper-item> |
|
|
<swiper-item> |
|
|
|
|
|
<scroll-view scroll-y="true"> |
|
|
<view class="search_no" style='padding-top:60px' wx:if="{{list_3.length < 1}}"> |
|
|
<view class="search_no" wx:if="{{!list.length}}"> |
|
|
<view class="font_14" style='padding-bottom:2%;'><image class="scimg" src="/images/search_no.png"></image></view> |
|
|
<text>暂时还没交易记录/(ㄒoㄒ)/~~</text> |
|
|
<text>暂时还没入账记录/(ㄒoㄒ)/~~</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key"> |
|
|
<view class='obtain_box'> |
|
|
<view class='jf_obtain'> |
|
|
<scroll-view scroll-y="true" style='height:100%;overflow:auto;padding-bottom:45px;'> |
|
|
<view class="left"> |
|
|
<view class='jf_obtain' wx:for="{{list_3}}"> |
|
|
<!-- 1:充值4:余额消费 5:退款7:佣金 8:管理佣金 11:系统扣款14:系统充值28 售后(仅退款)29 售后(退货退款)30 会员返现 --> |
|
|
<view class='obtain_bt_3'> |
|
|
<view class='obtain_bt' wx:if="{{item.type==1}}">充值</view> |
|
|
<view style='color: #999;font-size: 30rpx;'>{{item.time}}</view> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==4}}">余额消费</view> |
|
|
</view> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==5}}">退款</view> |
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 2 || item.type == 4 || item.type == 6 || item.type == 11 || item.type == 12 || item.type == 21 }}"> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==7}}">佣金</view> |
|
|
-{{item.money}} |
|
|
<view class='obtain_bt' wx:elif="{{item.type==8}}">管理佣金</view> |
|
|
<text class='my_money' wx:if="{{item.type == 4}}">(消费)</text> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==11}}">系统扣款</view> |
|
|
<text class='my_money' wx:if="{{item.type == 6}}">(红包)</text> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==14}}">系统充值</view> |
|
|
<text class='my_money' wx:if="{{item.type == 11}}">(系统扣款)</text> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==28}}">售后(仅退款</view> |
|
|
<text class='my_money' wx:if="{{item.type == 12}}">(转好友)</text> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==29}}">售后(退货退款)</view> |
|
|
<text class='my_money' wx:if="{{item.type == 21}}">(提现成功)</text> |
|
|
<view class='obtain_bt' wx:elif="{{item.type==30}}">会员返现</view> |
|
|
</view> |
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view> |
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 1 || item.type == 5 || item.type == 13 || item.type == 7|| item.type == 14 || item.type == 22 || item.type == 23 || item.type == 24}}"> |
|
|
</view> |
|
|
+{{item.money}} |
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:if="{{item.type==4}}">-{{item.money}}</view> |
|
|
<text class='my_money' wx:if="{{item.type == 1}}">(充值)</text> |
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:elif="{{item.type==11}}">-{{item.money}}</view> |
|
|
<text class='my_money' wx:if="{{item.type == 5}}">(退款)</text> |
|
|
<view class='obtain_bt' style='position:absolute;right:40rpx;' wx:else>+{{item.money}}</view> |
|
|
<text class='my_money' wx:if="{{item.type == 7}}">(返佣)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 13}}">(转入)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 14}}">(系统充值)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 22}}">(提现失败)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 23}}">(取消订单)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 24}}">(分享)</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
|
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
<swiper-item > |
|
|
<!-- <swiper-item > |
|
|
<view class="search_no" style='padding-top:60px' wx:if="{{list_1.length < 1}}"> |
|
|
<scroll-view scroll-y="true"> |
|
|
<view class="font_14" style='padding-bottom:2%;'><image class="scimg" src="/images/search_no.png"></image></view> |
|
|
<view class="search_no" wx:if="{{!list.length}}"> |
|
|
<text>暂时还没消费记录/(ㄒoㄒ)/~~</text> |
|
|
<text>暂时还没充值记录/(ㄒoㄒ)/~~</text> |
|
|
</view> |
|
|
|
|
|
<view class='obtain_box'> |
|
|
|
|
|
<scroll-view scroll-y="true" style='height:100%;overflow:auto;padding-bottom:45px;'> |
|
|
|
|
|
<view class='jf_obtain' style='color:#777;' wx:for="{{list_1}}"> |
|
|
|
|
|
<view class='obtain_bt_3'> |
|
|
|
|
|
<view style='color: #999;font-size: 30rpx;'>{{item.time}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 2 || item.type == 4 || item.type == 6 || item.type == 11 || item.type == 12 || item.type == 21 }}"> |
|
|
|
|
|
-{{item.money}} |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 4}}">(消费)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 6}}">(红包)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 11}}">(系统扣款)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 12}}">(转好友)</text> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 1 || item.type == 5 || item.type == 13 || item.type == 7|| item.type == 14 || item.type == 22 || item.type == 23 || item.type == 24}}"> |
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key"> |
|
|
+{{item.money}} |
|
|
<view class='jf_obtain'> |
|
|
<text class='my_money' wx:if="{{item.type == 1}}">(充值)</text> |
|
|
<view class="left"> |
|
|
<text class='my_money' wx:if="{{item.type == 5}}">(退款)</text> |
|
|
<view class='obtain_bt'>{{item.type}}</view> |
|
|
<text class='my_money' wx:if="{{item.type == 7}}">(返佣)</text> |
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view> |
|
|
<text class='my_money' wx:if="{{item.type == 13}}">(转入)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 14}}">(系统充值)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 23}}">(取消订单)</text> |
|
|
|
|
|
<text class='my_money' wx:if="{{item.type == 24}}">(分享)</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class='obtain_bt' style='position:absolute;right:20rpx;'>+{{item.money}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
</scroll-view> |
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
<swiper-item> |
|
|
<swiper-item> |
|
|
<view class="search_no" style='padding-top:50px;' wx:if="{{list_2.length < 1}}"> |
|
|
<scroll-view scroll-y="true"> |
|
|
<view class="font_14" style='padding-bottom:2%;'><image class="scimg" src="/images/search_no.png"></image></view> |
|
|
<view class="search_no" wx:if="{{!list.length}}"> |
|
|
<text>暂时还没提现记录/(ㄒoㄒ)/~~</text> |
|
|
<text>暂时还没提现记录/(ㄒoㄒ)/~~</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class='obtain_box'> |
|
|
<view class='obtain_box' wx:for="{{list}}" wx:key="key"> |
|
|
<scroll-view scroll-y="true" style="height:100%;overflow:auto;padding-bottom:45px;"> |
|
|
<view class='jf_obtain'> |
|
|
<view class='jf_obtain' style='color:#777;' wx:for="{{list_2}}"> |
|
|
<view class="left"> |
|
|
<view class='obtain_bt_3'> |
|
|
<view class='obtain_bt'>{{item.type}}</view> |
|
|
<!-- <view style='color:#333;'>{{item.user_name}} --> |
|
|
<view class='obtain_bt' style='color:#777;font-size:24rpx;'>{{item.add_date}}</view> |
|
|
<view style='color: #999;font-size: 30rpx;'>{{item.time}}</view> |
|
|
|
|
|
<!-- </view> --> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 21}}"> |
|
|
<view class='obtain_bt' style='position:absolute;right:20rpx;'>-{{item.money}}</view> |
|
|
-{{item.money}} |
|
|
|
|
|
<text class='my_money' >(成功)</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 22}}"> |
|
|
|
|
|
+{{item.money}} |
|
|
|
|
|
<text class='my_money' >(失败)</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class='obtain_bt_2' wx:if="{{item.type == 2}}"> |
|
|
|
|
|
-{{item.money}} |
|
|
|
|
|
<text class='my_money' >(申请)</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</swiper-item> --> |
|
|
</swiper-item> |
|
|
|
|
|
</swiper> |
|
|
</swiper> |
|
|
</view> |
|
|
</view> |
|
|
<view class="dibu" style='background-color:{{bgcolor}};'> |
|
|
<!-- <view class="dibu" style='background-color:{{bgcolor}};'> |
|
|
<navigator class="dibu_1" url="../user/recharge"> |
|
|
<navigator class="dibu_1" url="../user/recharge"> |
|
|
<view> |
|
|
<view> |
|
|
<span class="dibu_t">充值</span> |
|
|
<span class="dibu_t">充值</span> |
|
@ -156,6 +119,6 @@ |
|
|
<view> |
|
|
<view> |
|
|
<text class="dibu_3">|</text> |
|
|
<text class="dibu_3">|</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
</block> |
|
|
</block> |