<!--packageA//pages/hongBao/hongBao.wxml-->
<wxs module="filter" src="../../../utils/filter.wxs"></wxs>
<view class="hongBao-container">
	<!-- <view class="white fs26">由美得得美妆商城发起抢红包</view> -->
	<view class="btn-container">
		<image src="{{url + 'miniapp/images/redmoney/redbag_pro.png'}}" class="btn" mode="aspectFit"></image>
		<view class="amount">￥{{filter.show_default(myRed.redmoney, '0.00')}}</view>
	</view>
	<view class="list-container">
		<!-- <view class="countdown-txt">获奖名单</view> -->
		<image src="{{url + 'miniapp/images/redmoney/listit.png'}}" class="list-img" mode=""></image>
		<view class="list">
			<view class="list-item" wx:for="{{list.pageData}}">
				<view class="flex ai-center">
					<view class="avatar-container">
						<image src="{{item.userimg}}" class="avatar"></image>
					</view>
					<view>
						<view>{{item.vipname}}</view>
						<view class="xc-ash fs24 pdt20">{{filter.format_time(item.addtime, 1)}}</view>
					</view>
				</view>
				<view class="co-red">￥{{item.redmoney}}</view>
			</view>
			<nodata nodataContainer="txt-center" wx:if="{{list.pageData.length == 0}}"></nodata>
			<!-- <view class="list-item">
				<view class="flex ai-center">
					<view class="avatar-container">
						<image src="../../images/wx2.png" class="avatar"></image>
					</view>
					<view>
						<view>good</view>
						<view class="xc-ash fs24 pdt20">2020-12-12 18:00:00</view>
					</view>
				</view>
				<view class="co-red">￥100.00</view>
			</view> -->
			<!-- <view class="countdown-item">50天</view>
			<view class="countdown-item">9时</view>
			<view class="countdown-item">23分</view>
			<view class="countdown-item">43秒</view> -->
		</view>
	</view>
	<view class="nodata" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">- 没有更多了 -</view>
	<!-- <view class="no-more txt-center" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">- 没有更多了 -</view> -->
</view>

<nav_box></nav_box>

<!-- 弹窗 -->
<!-- <view class="popup-container">
	<view class="popup">
		<image src="{{url + 'miniapp/images/redmoney/hbtit.png'}}" mode="aspectFit"></image>
		<view class="amount-container">
			<view class="amount">0.53</view>
			<view class="btn-receive">
				<image src="{{url + 'miniapp/images/redmoney/srhb.png'}}" class="btn-img"></image>
			</view>
		</view>
	</view>
</view> -->

<!-- 弹窗 -->
<!-- <view class="popup-container">
	<view class="popup">
		<image src="{{url + 'miniapp/images/redmoney/hbtit2.png'}}" mode="aspectFit"></image>
			<view class="none">来晚了，红包已抢空~</view>
			<view class="see">看看大家的手气 ></view>
	</view>
</view> -->
