<!--packageH/o2o/storeConsumeStore/storeConsumeStore.wxml-->
<view class="ConsumeStore">

  <view class="top">
    <image src="{{base_data.avatar}}"></image>
    <view class="name">{{base_data.nickname}}</view>
  </view>
  <view class="grandTotal">累计金额 <view style="color: #f15353;margin-left:15rpx;">￥{{base_data.amount}}</view>
  </view>
  <view style="width: 749rpx;height: 20rpx;background-color: #ebebeb;"></view>
  <van-tabs active="{{ active }}" title-inactive-color="#ee2e2b" title-active-color="#ee2e2b">
    <van-tab title="收入明细"></van-tab>
  </van-tabs>
  <view class="list">
    <view class="lis" wx:for="{{page_list}}" wx:key="index" wx:if="{{ page_list.length > 0 }}">
      <view class="left">
        <view class="user">会员ID：{{item.uid}}</view>
        <view class="cardName">{{item.card_name}}</view>
      </view>
      <view class="right">
        <view class="price">￥{{item.amount}}</view>
        <view class="time">{{item.created_at}}</view>
      </view>
    </view>
    <view wx:if="{{ page_list.length == 0 }}" style="color: #999;text-align: center;padding: 60rpx 0;">暂无更多~</view>
  </view>
</view>