newPunch.wxml 2.88 KB
<!--pages/index/rank/rank.wxml-->
<view class="punch_detail">
  <view class="title_card">
    <van-cell-group>
      <van-field value="{{ form.biaoti }}" placeholder="请输入标题" border="{{ false }}" bind:change="onfieldChange" />
    </van-cell-group>
    <view class="grey_line"></view>
    <view class="box_card">
      <van-cell-group>
        <van-field value="{{ form.message }}" type="textarea" placeholder="请输入" autosize border="{{ false }}" />
      </van-cell-group>
    </view>
    <view class="tip_card">
      <view class="tip_item">
        <image class="pic" src="/img/answer/tp1.png" alt="" />
      </view>
      <view class="tip_item">
        <image class="pic" src="/img/answer/sp1.png" alt="" />
      </view>
      <view class="tip_item">
        <image class="pic" src="/img/answer/yp1.png" alt="" />
      </view>
    </view>
  </view>
  <view class="white_card">
    <view class="bold_font">需要提交数据</view>
    <view>
      <van-switch checked="{{ form.checked }}" size='20' bind:change="onChange" />
    </view>
  </view>
  <view class="grey_line"></view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="统计单位" is-link label="请选择统计单位" border="{{ false }}" />
    </van-cell-group>
  </view>
  <view class="white_card">
    <view>允许补卡</view>
    <view>
      <van-switch checked="{{ form.checked }}" size='20' bind:change="onChange" />
    </view>
  </view>
  <view class="sm_grey_font">
    开启后,在打卡周期内,学生家长可对未打卡的任务进行补卡。
  </view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="开始时间" value='时间' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="打卡周期" value='90天' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="打卡频次" value='每天' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>

  <view class="clearance"></view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="打卡提醒" value='18:00' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="缺卡打卡提醒" value='缺卡三天及以上' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>

  <view class="sm_grey_font">
    学生如缺卡达到一定条件,将会提醒家长
  </view>
  <view class="white_card_nopadding">
    <van-cell-group>
      <van-cell title="提交时必须包含" value='图片' is-link  border="{{ false }}" />
    </van-cell-group>
  </view>

  <view class="clearance"></view>
  <view class="btn">
    <van-button type="info" round block>创建打卡</van-button>
  </view>
</view>