69 lines
2.8 KiB
Plaintext
69 lines
2.8 KiB
Plaintext
<view class="wrap">
|
||
<view class="top">
|
||
<view>
|
||
<view class="hey">{{child.nickname || ""}},今天这几道</view>
|
||
<view class="day">{{date}} · 每天 {{cap}} 道,做完就结束</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- ① 今日 -->
|
||
<view class="card main" wx:if="{{items.length}}">
|
||
<view class="mainhead">
|
||
<text class="big">{{items.length}}</text>
|
||
<text class="unit">道 · 约 {{minutes}} 分钟</text>
|
||
</view>
|
||
<view class="qlist">
|
||
<view class="q" wx:for="{{preview}}" wx:key="id">
|
||
<text class="qidx">{{index + 1}}</text>
|
||
<text class="qstem">{{item.stem}}</text>
|
||
<text class="tag {{item.status}}">{{item.status_zh}}</text>
|
||
</view>
|
||
<view class="more" wx:if="{{rest > 0}}">还有 {{rest}} 道在工作台里</view>
|
||
</view>
|
||
<button class="btn" bindtap="onWorkbench">去工作台做题</button>
|
||
<view class="rule">{{rule}}</view>
|
||
</view>
|
||
|
||
<view class="card empty" wx:elif="{{!loading}}">
|
||
<view class="emptyh">今天没有到期的题</view>
|
||
<view class="muted">明天再来,或者现在去拍一张今天做错的作业。</view>
|
||
<button class="btn ghost" style="margin-top:14px" bindtap="onQueue">去排题</button>
|
||
</view>
|
||
|
||
<!-- ② 提醒 -->
|
||
<view class="card todo" wx:if="{{toExplain.length}}" bindtap="onWorkbench">
|
||
<view class="todo-l">
|
||
<view class="card-title">还有 {{toExplain.length}} 道要讲一遍</view>
|
||
<view class="muted">连对两次不算毕业,讲清楚才算</view>
|
||
</view>
|
||
<view class="arrow">›</view>
|
||
</view>
|
||
|
||
<!-- ③ 本周 -->
|
||
<view class="card week" bindtap="onWorkbench">
|
||
<view class="card-title">这周</view>
|
||
<view class="wk">
|
||
<view class="wkc"><text class="wkn">{{week.graduated}}</text><text class="wkl">道毕业</text></view>
|
||
<view class="wkc"><text class="wkn">{{week.days}}</text><text class="wkl">天做过</text></view>
|
||
<view class="wkc"><text class="wkn">{{week.rate}}%</text><text class="wkl">消灭率</text></view>
|
||
</view>
|
||
<view class="muted" style="margin-top:8px">{{week.line || "周日会在工作台生成一张能打印的纸。"}}</view>
|
||
</view>
|
||
|
||
<!-- ④ 说明 -->
|
||
<view class="card note">
|
||
<view class="card-title">这个手机版只做两件事</view>
|
||
<view class="muted">拍照录题 · 到点提醒。做题、讲一遍、看解析、打那张纸,都在电脑或平板的工作台上。</view>
|
||
<view class="row">
|
||
<view class="mini" bindtap="onQueue">
|
||
<view class="mini-h">拍一张</view>
|
||
<view class="mini-s">整页拍或手输</view>
|
||
</view>
|
||
<view class="mini" bindtap="onWorkbench">
|
||
<view class="mini-h">工作台</view>
|
||
<view class="mini-s">在电脑上做题</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|