<view class='page'><include src='/components/common/common'></include><include src='/components/header/header'></include><view class='body after-navber'><block wx:if='{{ (join || success) }}'><view class='join-bg'><block wx:if='{{success}}'><view class='success'><view class='content'><image class='banner' src='../image/submit.png'></image><view class='banner-text'>恭喜您</view><image class='success-tip' src='../image/success.png'></image><view>成功提交步数</view><view>奖金将于24点结算后自动发放</view><view class='tip'>奖金可至“我的{{(store.option.step.currency_name?store.option.step.currency_name:"活力币")}}”查看</view><button bindtap='success' class='success-btn'>我知道了</button></view></view></block><block wx:if='{{join}}'><view class='join-success'><image class='join-img' src='../image/participation.png'></image><image bindtap='close' class='join-close' src='../image/pond-details.png'></image><view>报名成功，记得{{open_date}}来参加哦</view><button class='invite' openType='share'>邀请好友</button></view></block></view></block><view class='bg'><image src='{{(store.option.step.activity_pic?store.option.step.activity_pic:__wxapp_img.step.dare_bg.url)}}'></image></view><view class='icon'><form bindsubmit='_formIdSubmit' data-type='navigate' data-url='../log/log' reportSubmit='true'><button formType='submit' id='_formIdSubmit'><image src='../image/log.png'></image></button></form><form bindsubmit='_formIdSubmit' data-type='navigate' data-url='../rules/rules?rules=activity_rule' reportSubmit='true'><button formType='submit' id='_formIdSubmit'><image src='../image/rule.png'></image></button></form></view><block wx:if='{{space == false}}'><view class='dare'><block wx:for='{{activity_data}}' wx:for-item='item' wx:for-index='index' wx:key='{{activity}}'><view class='join'><view class='join-title'><view class='title-left'>{{item.open_date}}期</view><block wx:if='{{item.date !== time}}'><view class='msg'>已有{{(item.people_num?item.people_num:0)}}人报名</view></block><block wx:if='{{ (item.date == time && item.log.length == 0) }}'><view class='not'>未参赛</view></block><block wx:if='{{ (item.date == time && item.log.length > 0) }}'><view class='already'>已参赛</view></block></view><view class='activity-name'>{{item.name}}</view><block wx:if='{{ (item.date == time && item.log.length == 0) }}'><view class='activity-step'>目标{{item.step_num}}步</view></block><block wx:if='{{ (item.date == time && item.log.length > 0) }}'><view class='join-info'><view class='target'>目标                        <text>{{item.step_num}}</text>步，已完成                        <text>{{step}}</text>步</view><block wx:if='{{item.log_status != 2}}'><view>请于今日24点前，更新并提交步数</view></block><block wx:if='{{item.log_status == 2}}'><view>奖金将于24点后结算自动发放</view></block><block wx:if='{{item.log_status != 2}}'><button bindtap='submit' class='submit' data-id='{{item.id}}' data-step='{{item.step_num}}'>提交成绩</button></block><block wx:if='{{item.log_status == 2}}'><button class='submit-end'>已提交成绩</button></block></view></block><block wx:if='{{item.date == time}}'><view class='dare-item'><view class='item'><view class='total'>{{(item.currency_num?item.currency_num:0)}}</view><view>奖金池总额</view></view><view class='item'><view class='total'>{{(item.award_num?item.award_num:0)}}</view><view>达标人数</view></view></view></block><block wx:if='{{item.date !== time}}'><view><view class='money'>{{(item.currency_num?item.currency_num:0)}}</view><view>奖金池总额</view><view class='info'>参与满                        <text>{{item.step_num}}</text>步起平分奖池金额</view><block wx:if='{{item.log.length == 0}}'><form bindsubmit='_formIdSubmit' class='join-btn' data-type='navigate' data-url='../join/join?id={{item.id}}' reportSubmit='true'><button formType='submit' id='_formIdSubmit'><button class='join-btn'>参与比赛</button></button></form></block><block wx:if='{{item.log.length > 0}}'><button class='finish-btn' openType='share'>已参赛,邀请好友</button></block></view></block></view></block><block wx:if='{{ad}}'><view class='temp'></view></block><block wx:if='{{loading}}'><view class='loading'>正在加载中...</view></block><block wx:if='{{ad}}'><view class='temp'><block wx:if='{{unit_id}}'><ad binderror='adError' unitId='{{unit_id}}'></ad></block></view></block></view></block><block wx:if='{{space == true}}'><view class='space'><image src='../image/none.png'></image><view>暂无挑战赛哦</view><block wx:if='{{ad}}'><view class='temp' style='margin-top:120rpx;'><block wx:if='{{unit_id}}'><ad binderror='adError' unitId='{{unit_id}}'></ad></block></view></block></view></block><view class='ad'><block wx:if='{{unit_id}}'><ad binderror='adError' unitId='{{unit_id}}'></ad></block></view><block wx:if='{{authorize == false}}'><view class='over-screen'><view class='window'>为确保您的正常使用，请完善授权操作</view><view bindtap='openSetting' class='get-setting'>确认</view></view></block></view><include src='/components/footer/footer'></include></view>