chore: 首次纳入版本控制(审查前基线,v1.2.0)
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<view class="wrap">
|
||||
<view class="card" wx:if="{{item}}">
|
||||
<view class="card-title">这道题</view>
|
||||
<view class="stem">{{item.stem}}</view>
|
||||
<view class="muted">连对两次了。讲清楚这一遍,它就从队列里毕业。</view>
|
||||
</view>
|
||||
|
||||
<view class="pick">
|
||||
<view
|
||||
class="chip {{channel === item.k ? 'on' : ''}}"
|
||||
wx:for="{{channels}}"
|
||||
wx:key="k"
|
||||
data-k="{{item.k}}"
|
||||
bindtap="pickChannel"
|
||||
>{{item.name}}</view>
|
||||
</view>
|
||||
|
||||
<view class="tip" wx:for="{{channels}}" wx:key="k" wx:if="{{item.k === channel}}">{{item.tip}}</view>
|
||||
|
||||
<view class="box">
|
||||
<textarea
|
||||
class="ta"
|
||||
placeholder="{{ph}}"
|
||||
value="{{text}}"
|
||||
bindinput="onInput"
|
||||
maxlength="300"
|
||||
auto-height
|
||||
/>
|
||||
<view class="count">{{text.length}} / 300</view>
|
||||
</view>
|
||||
|
||||
<button class="btn" bindtap="onSubmit" disabled="{{submitting}}">
|
||||
{{submitting ? "判中…" : "说完了"}}
|
||||
</button>
|
||||
|
||||
<view class="result" wx:if="{{result}}">
|
||||
<view class="rh {{result.passed ? 'ok' : 'no'}}">{{result.passed ? "通过,毕业" : "还差一点"}}</view>
|
||||
<view class="rd" wx:if="{{result.missing}}">缺的是:{{result.missing}}</view>
|
||||
<view class="rd" wx:if="{{result.detail}}">{{result.detail}}</view>
|
||||
<view class="rs">现在状态:<text class="tag {{result.status}}">{{result.status_zh}}</text></view>
|
||||
<button class="btn" style="margin-top:16px" bindtap="{{result.passed ? 'onBack' : 'onRetry'}}">
|
||||
{{result.passed ? "回今天" : "再说一遍"}}
|
||||
</button>
|
||||
</view>
|
||||
|
||||
<view class="foot">7 天内可以讲 3 次,讲不过会回到队列,明天再做一次。</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user