|
@@ -4,12 +4,14 @@
|
|
|
<!-- <view style="text-align:center;">
|
|
|
<van-count-down :time="time"></van-count-down>
|
|
|
</view> -->
|
|
|
- <view class="divider"></view>
|
|
|
+
|
|
|
<m-do-topic
|
|
|
+ :bottomFunc="['previous', 'next', 'score','explain','selectCatalogue']"
|
|
|
+ :midFunc="['collect','readQuestion','readQuestionAndAnswer','skill']"
|
|
|
:trueNum.sync="trueNum"
|
|
|
:falseNum.sync="falseNum"
|
|
|
:query="query"
|
|
|
- :problemListIndex="problemListIndex"
|
|
|
+ :problemListIndex.sync="problemListIndex"
|
|
|
></m-do-topic>
|
|
|
<!-- <view class="function-list">
|
|
|
<div class="function-item">
|
|
@@ -24,133 +26,7 @@
|
|
|
<span>读题</span>
|
|
|
</div>
|
|
|
</view> -->
|
|
|
- <explainJs
|
|
|
- @close="
|
|
|
- () => {
|
|
|
- explainJsVisible = false;
|
|
|
- }
|
|
|
- "
|
|
|
- :explainJs="problemList[problemListIndex].explainJs"
|
|
|
- :explainjsmp3="problemList[problemListIndex].explainjsmp3"
|
|
|
- :show="explainJsVisible"
|
|
|
- ></explainJs>
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
- <van-tabbar height="20px">
|
|
|
- <van-tabbar-item @click="goBeforeTopics"
|
|
|
- ><van-icon
|
|
|
- slot="icon"
|
|
|
- custom-style="transform: rotate(90deg);"
|
|
|
- custom-class="last-subject"
|
|
|
- name="down"
|
|
|
- size="18px"
|
|
|
- />上一题
|
|
|
- </van-tabbar-item>
|
|
|
- <van-tabbar-item>
|
|
|
- <icon slot="icon" class="icon-box-img" type="success" size="18px"></icon
|
|
|
- >{{ trueNum }}</van-tabbar-item
|
|
|
- >
|
|
|
- <van-tabbar-item
|
|
|
- ><icon
|
|
|
- slot="icon"
|
|
|
- class="icon-box-img"
|
|
|
- type="cancel"
|
|
|
- size="18px"
|
|
|
- ></icon>
|
|
|
- {{ falseNum }}
|
|
|
- </van-tabbar-item>
|
|
|
- <van-tabbar-item
|
|
|
- ><van-icon slot="icon" size="18px" name="description" />{{
|
|
|
- problemListIndex + 1
|
|
|
- }}/{{ problemListTotal }}
|
|
|
- </van-tabbar-item>
|
|
|
- <van-tabbar-item
|
|
|
- @click="
|
|
|
- () => {
|
|
|
- explainJsVisible = true;
|
|
|
- }
|
|
|
- "
|
|
|
- ><icon slot="icon" type="warn" size="18px" />解释
|
|
|
- </van-tabbar-item>
|
|
|
- <van-tabbar-item @click="goNextTopics"
|
|
|
- ><van-icon
|
|
|
- slot="icon"
|
|
|
- custom-style="transform: rotate(-90deg);"
|
|
|
- custom-class="last-subject"
|
|
|
- name="down"
|
|
|
- size="18px"
|
|
|
- />下一题
|
|
|
- </van-tabbar-item>
|
|
|
- </van-tabbar>
|
|
|
- <!-- #endif -->
|
|
|
- <!-- #ifdef MP-TOUTIAO -->
|
|
|
- <tabbar height="45px">
|
|
|
- <view class="h-full tabbar-item">
|
|
|
- <view @click="goBeforeTopics">
|
|
|
- <van-icon
|
|
|
- slot="icon"
|
|
|
- custom-style="transform: rotate(90deg);"
|
|
|
- custom-class="last-subject"
|
|
|
- name="down"
|
|
|
- size="18px"
|
|
|
- />
|
|
|
- <view style="width: 100%"> 上一题 </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="h-full tabbar-item">
|
|
|
- <view class="tabbar-item">
|
|
|
- <icon
|
|
|
- class="icon-box-img"
|
|
|
- color="#06c05f"
|
|
|
- type="success"
|
|
|
- size="18px"
|
|
|
- ></icon
|
|
|
- ><view style="width: 100%; color: #06c05f">{{ trueNum }}</view>
|
|
|
- </view>
|
|
|
- <view style="margin-left: 15rpx" class="tabbar-item">
|
|
|
- <icon class="icon-box-img" type="clear" size="18px"></icon>
|
|
|
- <view style="width: 100%; color: red">{{ falseNum }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view
|
|
|
- @click="
|
|
|
- () => {
|
|
|
- selectProblemListVisible = true;
|
|
|
- }
|
|
|
- "
|
|
|
- class="h-full tabbar-item"
|
|
|
- >
|
|
|
- <van-icon size="18px" name="description" /><view style="width: 100%"
|
|
|
- >{{ problemListIndex + 1 }}/{{ problemListTotal }}</view
|
|
|
- >
|
|
|
- </view>
|
|
|
|
|
|
- <view
|
|
|
- @click="
|
|
|
- () => {
|
|
|
- explainJsVisible = true;
|
|
|
- }
|
|
|
- "
|
|
|
- class="h-full tabbar-item"
|
|
|
- >
|
|
|
- <icon type="warn" size="18" /><view
|
|
|
- style="width: 100%; text-align: center"
|
|
|
- >解释</view
|
|
|
- >
|
|
|
- </view>
|
|
|
-
|
|
|
- <view @click="goNextTopics" class="h-full tabbar-item">
|
|
|
- <van-icon
|
|
|
- slot="icon"
|
|
|
- custom-style="transform: rotate(-90deg);"
|
|
|
- custom-class="last-subject"
|
|
|
- name="down"
|
|
|
- size="18px"
|
|
|
- />
|
|
|
- <view style="width: 100%"> 下一题 </view>
|
|
|
- </view>
|
|
|
- </tabbar>
|
|
|
- <!-- #endif -->
|
|
|
<van-overlay
|
|
|
@click-overlay="
|
|
|
() => {
|