小程序:tab 由「排题」改「拍题」,换相机图标,文案同步

This commit is contained in:
dev
2026-11-22 21:12:29 +08:00
parent aa068cef6f
commit c4f5df3343
11 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -70,7 +70,7 @@ Page({
wx.navigateTo({ url: "/pages/wb/wb" });
},
/** 排题是 tab,必须用 switchTab */
/** 拍题是 tab,必须用 switchTab */
onQueue() {
wx.switchTab({ url: "/pages/queue/queue" });
},
@@ -80,3 +80,4 @@ Page({
wx.stopPullDownRefresh();
},
});
+2 -1
View File
@@ -27,7 +27,7 @@
<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>
<button class="btn ghost" style="margin-top:14px" bindtap="onQueue">去拍题</button>
</view>
<!-- ② 提醒 -->
@@ -66,3 +66,4 @@
</view>
</view>
</view>
+2 -1
View File
@@ -1,4 +1,5 @@
{
"navigationBarTitleText": "排题",
"navigationBarTitleText": "拍题",
"enablePullDownRefresh": false
}
+3 -2
View File
@@ -75,17 +75,18 @@
<!-- ④ 题单预览:排完就地显示今天的量 -->
<view class="card queue" wx:if="{{queue.n > 0}}">
<view class="card-title">排好了</view>
<view class="card-title">今天的题单</view>
<view class="qbig">
<text class="qnum">{{queue.n}}</text>
<text class="qunit">道 · 约 {{queue.minutes}} 分钟</text>
</view>
<view class="muted">按遗忘曲线排的,错的多的先做。做完这两件事就结束:连对两次、讲一遍。</view>
<button class="btn" style="margin-top:12px" bindtap="onWorkbench">去工作台做题</button>
<view class="muted small" style="margin-top:8px">手机上只排题,做题在电脑或平板上——题目和解析要横着看。</view>
<view class="muted small" style="margin-top:8px">手机上拍题,做题在电脑或平板上——题目和解析要横着看。</view>
</view>
<view class="note">
{{mode === "photo" ? "识别用的是本机的 Windows 中文 OCR(不联网、不上传第三方)。算式的答案会自己算出来;应用题、看拼音写词这类没有标准答案的,标成「你自己判」。" : "手输适合几种情况:卷子已经扔了、老师口头报的题、错题想马上记一道。题干抄关键词就行,不用一字不差。"}}
</view>
</view>