<!--packageE/questionnaire/history/history.wxml-->
<view class="history">
	<!-- <view class="topTxt" style="padding-top:{{statusBarHeight}}rpx">
		<van-icon name="arrow-left" catchtap="back"></van-icon>
		历史记录
	</view> -->
	<view class="topTxt" style="padding-top:{{statusBarHeight}}rpx;position: fixed;top: 0;width:100%;background:#ffffff;">
		<van-icon name="arrow-left" catchtap="back"></van-icon>
		历史记录
	</view>
	<view class="topTxt" style="padding-top:{{statusBarHeight}}rpx;height:40rpx">
	</view>
	<block wx:for="{{list}}" wx:key="index">
		<view class="list">
			<view class="top">
				<view class="topleft">得分 <text>{{item.score}}</text><text>分</text></view>
				<view class="topRight"><text>奖励积分</text> <text>+{{item.integral}}</text></view>
			</view>
			<view class="centre">{{item.has_one_questionnaire.title}}</view>
			<view class="btom">
				<view class="btime">{{item.created_at}}</view>
				<view class="detail" catchtap="godetail" data-item="{{item}}">查看详情</view>
			</view>
		</view>
	</block>
	<yz_blank wx:if="{{list.length <= 0}}"></yz_blank>
</view>