<!--pages/member/earningList/earningList.wxml-->
<view class="earning_list">
	<view class="list_box">
		<view class="ul tab">
			<view class="li">订单编号</view>
			<view class="li">金额</view>
			<view class="li">领取</view>
		</view>
		<view class="list">
			<view class="ul item" wx:for="{{earningList}}"  wx:key="index">
				<view class="li">{{item.order_sn}}</view>
				<view class="li">{{item.amount}}</view>
				<view class="li">
					<van-button type="primary" size="mini" data-id="{{item.id}}" bind:click="getAdvertising">领取</van-button>
				</view>
			</view>
		</view>
	</view>
</view>
<van-popup show="{{show1}}" custom-style="width:100%;height:100%;" overlay="{{false}}">
	<view class="bg_img">
		<image class="adv_img" src="{{adv_thumb}}" mode='widthFix' />
		<view class="bg_color">
			<view class="receive">
				<view class="ul text">
					<view class="li">已成功领取{{plugin_text}}</view>
					<view class="li">{{income}}</view>
					<view class="li">已存入{{reward_type?reward_type:'收入'}}</view>
				</view>
				<view class="btn">
					<van-button type="primary" bind:click="toAdvertising">我知道了</van-button>
				</view>
			</view>
		</view>
	</view>
</van-popup>
<shopfoot></shopfoot>
