<view class="activity">
  <view class="activity-img">
    <swiper indicator-dots="false" autoplay="true" >
      <swiper-item class="swiper-item" wx:for="{{dataMap.activityImageArray}}" wx:for-index="idx" wx:for-item="item" wx:key="activityImageArray">
        <image src="{{activityUrl}}/route/file/downloadfile/true/{{item}}"></image>
      </swiper-item>
    </swiper>
  </view>
  <view class="activity-info">
    <view class="activity-title">{{dataMap.activityTitle}}</view>
    <view class="activity-text">
      <view class="left-title">
        <image src="../../images/people.png"></image>
        <text>活动人数：</text>
      </view>
      <view class="right-content">{{dataMap.activityUserNum }}</view>
    </view>
    <view class="activity-text">
      <view class="left-title">
        <image src="../../images/time.png"></image>
        <text>活动时间：</text>
      </view>
      <view class="right-content">{{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}</view>
    </view>
    <view class="activity-text">
      <view class="left-title">
        <image src="../../images/address.png"></image>
        <text>活动地址：</text>
      </view>
      <view class="right-content">{{dataMap.activityAddress }}</view>
    </view>
  </view>
</view>
<view class="personal">
  <view class="title">填写信息</view>
  <view class="personal-info">
    <view class="info-box">
      手机号：
      <input placeholder="请输入手机号" model:value="{{phone}}"></input>
    </view>
    <view class="info-box">
      验证码：
      <input placeholder="请输入验证码" model:value="{{code}}"></input>
      <view class="get-code" bindtap="getCode" wx:if="{{!gotCode}}">获取验证码</view>
      <view class="got-code" wx:if="{{gotCode}}">{{restTime}}</view>
    </view>
    <view class="info-box">
      姓　名：
      <input placeholder="请输入姓名" model:value="{{name}}"></input>
    </view>
    <view class="info-box">
      身份证：
      <input placeholder="请输入身份证号码" model:value="{{idCard}}"></input>
    </view>
  </view>
</view>
<view class="sign-box">
  <view class="sign-btn" bindtap="commit">立即报名</view>
</view>