<!--pages/member/ClockPunchRecord/ClockPunchRecord.wxml-->
<view class="clockinrecord">
	<view class="record">
		<view class="record-content">
			<view class="h3">我的战绩</view>
			<view class="record-data">
				<view class="data_box">
					<view class="span data">{{payAmount}}</view>
					<view class="span amount">累计投入({{language['元']}})</view>
				</view>
				<view class="span data_box">
					<view class="span data">{{rewardAmount}}</view>
					<view class="span amount">累计赚取({{language['元']}})</view>
				</view>
				<view class="data_box">
					<view class="span data">{{clockNum}}</view>
					<view class="span amount">累计打卡(天)</view>
				</view>
			</view>
		</view>
		<view class="record-detail" wx:if="{{recordDetailShow}}">
			<view class="h3">战绩明细</view>
			<view wx:for="{{recordDetail}}" class="record-detail-list"  wx:key="index">
				<view class="span time">{{item.created_at}}</view>
				<view class="span state">{{item.clock_in_status_name}}</view>
				<view class="span amount">{{item.has_one_reward?item.has_one_reward.amount:''}}</view>
			</view>
		</view>
	</view>
</view>
