<!--pages/luckDraw/index.wxml-->
<page-wrap id="Page">

   <!-- 活动列表 -->
   <view class="_list">
       <view class="_item" wx:for="{{activityList}}" wx:key="index" data-id="{{item.id}}" catchtap="toDetail">
            <view class="_figure">
               <image mode="aspectFill" src="{{item.fullActivityFigure}}" />
            </view>
            <view class="_info">
                <view class="_base_info">
                    <view class="_title">{{item.activityTitle}}</view>
                    <view class="_subtitle">{{item.activitySubtitle}}</view>
                    <view class="_time" wx:if="{{item.timeType == 1}}">
                    长期 <text class="_sub_time">每天{{item.dayBeginTime}}-{{item.dayEndTime}}</text>
                    </view>
                    <block wx:else>
                        <view class="_time">{{item._beginTime}}-{{item._endTime}}</view>
                        <view class="_time">
                            <text class="_sub_time">每天{{item.dayBeginTime}}-{{item.dayEndTime}}</text>
                        </view>
                    </block>
                    
                </view>
                <view class="_status">
                    <view wx:if="{{item.status==1||item.status==4||item.status==5}}" class="_status_btn _status{{item.status}}">
                        <view class="_dtext">即将开始</view>
                        <view class="_dtime">{{item.countDownTime}}</view>
                    </view>
                    <view class="_status_btn _status{{item.status}}" wx:else>{{item.statusText}}</view>
                </view>
            </view>
       </view>

       <view class="_no_result" wx:if="{{noResult}}">———— 暂无抽奖活动|敬请期待 ————</view>
       <view class="_no_more" wx:if="{{noMore}}">———— 更多活动 | 敬请期待 ————</view>

   </view>

</page-wrap>