reviewWordsDetail.wxml 2.3 KB
<!--pages/MemorizingWords/reviewWordsDetail/reviewWordsDetail.wxml-->
<view class='null_box'></view>
<view class='content_box'>
  <view wx:if='{{page==0}}'>
    <view class='title_box'>
      <text>共有错词:</text>
      <text class='num'> {{listdata.total_error}}</text>
      <text>个</text>
    </view>
    <view>
      <view class='label_box' >
        <view class='label_item' wx:for='{{listdata.list}}' wx:key id='{{item[0]}}' bindtap='gowordsDetail_review'>{{item[1]}}</view>
      </view>
    </view>
  </view>
  <block wx:elif='{{page==1}}'>
    <view>
      <view class='title title2'>请选择某时间内背的单词</view>
      <view class='picker_box'>
        <view class='date_box'>
        <view class='picker_title'>开始时间</view>
            <view class="picker">
              {{starttime}}
            </view>
          <scroll-view class='starbox' bindscrolltolower='loaddate' scroll-y="true">
              <view class="starcell {{item.state?'starcellactivite':''}}" wx:for='{{pushdate}}' wx:key  bindtap='setstarcell' data-index='{{index}}'>{{item.dataday}}</view>
          </scroll-view>
        </view>
        <view class='words_box'>
        <view class='picker_title'>截止时间</view>
            <view class="picker">
              {{endtime}}
            </view>
          <view class='starbox'>
           <scroll-view class='starbox' bindscrolltolower='loaddate1'  scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true" >
              <view class="starcell {{item.state?'starcellactivite':''}}" wx:for='{{pushdate1}}' wx:key  bindtap='setstarcell1' data-index='{{index}}' data-timestamp='{{item.timestamp}}' id="{{'date'+item.dataday}}">{{item.dataday}}</view>
          </scroll-view></view>
        </view>
      </view>
    </view>
    <view class='bottom_btn' bindtap='confirmWords'>确定</view>
  </block>
</view>

<view class='mask_box' wx:if='{{moudel}}' bindtap='setmoudel_no'>
  <view class='popup_box' catchtap='voidfun'>
    <view class='popup_title'>共需复习单词数</view>
    <view class='days'>{{Recitewords}}</view>
    <view class='btn_box'>
      <view class='popup_btn' catchtap='gowordsDetail_review'>开始复习</view>
      <view class='popup_btn btn2' catchtap='setmoudel_no'>重新选择</view>
    </view>
  </view>
</view>