Browse Source

demo展示版本

aaa 3 years ago
parent
commit
b4028e66ff

+ 1 - 1
src/views/home/answer/page-answer-recruit-result.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-exam-item-result-box">
-    <!-- <van-nav-bar title="答题" left-arrow @click-left="handleBackFun" /> -->
+    <van-nav-bar title="答题" left-arrow @click-left="handleBackFun" />
     <div class="exam-item-result-div">
       <div class="exam-item-result-title">本次答对题目数</div>
       <div class="exam-item-result-grade">{{ grades }}</div>

+ 1 - 1
src/views/home/answer/page-answer-recruit.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-exam-question-box">
-    <!-- <van-nav-bar title="答题" left-arrow @click-left="handleBackFun" /> -->
+    <van-nav-bar title="答题" left-arrow @click-left="handleBackFun" />
     <!-- 题目卡片 -->
     <div class="exam-question-div">
       <div v-if="examQuestionList.length > 0" class="exam-question-card">

+ 5 - 0
src/views/home/answer/page-answer-special.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="contentBody">
+    <van-nav-bar title="专项答题" left-arrow @click-left="handleBackFun" />
     <van-list
       v-model="loading"
       :finished="finished"
@@ -93,6 +94,10 @@ export default {
     },
     onLoad() {
       this.getSpecialAnswerList();
+    },
+    // 操作:返回
+    handleBackFun() {
+      this.$router.back();
     }
   }
 };

+ 5 - 0
src/views/home/answer/page-answer-week.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="contentBody">
+    <van-nav-bar title="每周答题" left-arrow @click-left="handleBackFun" />
     <van-list
       v-model="loading"
       :finished="finished"
@@ -93,6 +94,10 @@ export default {
     },
     onLoad() {
       this.getWeekAnswerList();
+    },
+    // 操作:返回
+    handleBackFun() {
+      this.$router.back();
     }
   }
 

+ 1 - 1
src/views/home/answer/through/through-question-doing.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-through-question-box">
-    <!-- <van-nav-bar title="闯关答题" left-arrow @click-left="handleBackFun" /> -->
+    <van-nav-bar title="闯关答题" left-arrow @click-left="handleBackFun" />
     <!-- 题目卡片 -->
     <div v-if="answerThroughNumber" class="through-question-div">
       <div class="through-question-card">

+ 1 - 1
src/views/home/answer/through/through-question-end.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-through-question-item-result-box">
-    <!-- <van-nav-bar title="闯关答题" /> -->
+    <van-nav-bar title="闯关答题" />
     <div class="through-question-item-result-div">
       <div
         v-if="answerThroughNumber < 5"

+ 1 - 1
src/views/home/answer/through/through-question-start.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="through-question-start-box">
-    <!-- <van-nav-bar title="答题闯关" /> -->
+    <van-nav-bar title="答题闯关" />
     <div class="through-question-start-body">
       <div class="through-question-item-detial-div">
         <div class="through-question-item-detial">

+ 1 - 1
src/views/home/exam/page-exam-item-detail.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-exam-item-detial-box">
-    <!-- <van-nav-bar title="考试详情" /> -->
+    <van-nav-bar title="考试详情" />
     <div class="page-exam-item-detial-body">
       <div class="exam-item-detial-div">
         <div class="exam-item-detial">

+ 1 - 1
src/views/home/exam/page-exam-item-doing.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-exam-question-box">
-    <!-- <van-nav-bar title="考试" /> -->
+    <van-nav-bar title="考试" />
     <!-- 倒计时 -->
     <div v-if="isInited" class="exam-question-countdown">
       <span>剩余考试时间:{{ timeDiff }}</span>

+ 1 - 1
src/views/home/exam/page-exam-item-result.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-exam-item-result-box">
-    <!-- <van-nav-bar title="考试" /> -->
+    <van-nav-bar title="考试" />
     <div class="exam-item-result-div">
       <div class="exam-item-result-title">本次考试成绩</div>
       <div class="exam-item-result-grade">{{ grades }}</div>

+ 2 - 2
src/views/home/index.vue

@@ -1,13 +1,13 @@
 <template>
   <div class="home-box">
-    <!-- <van-nav-bar
+    <van-nav-bar
       title="京铁学堂"
       left-text=""
       right-text=""
       bind:click-left=""
       bind:click-right=""
     >
-    </van-nav-bar> -->
+    </van-nav-bar>
     <div v-show="activeTabName === 0" class="dropdown-div">
     </div>
     <transition name="tab" mode="out-in">

+ 1 - 1
src/views/home/learn/page-learn-content.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="page-learn-content-box" @scroll="handleCommentScroll($event)">
-    <!-- <van-nav-bar title="学习" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="学习" left-arrow @click-left="onClickLeft" />
     <div v-if="!isReadable" class="learn-content-rest-time">已学完</div>
     <div v-else class="learn-content-rest-time">
       剩余学习时间: {{ getTimeHoursMinuteSecondsFun(seconds) }}

+ 1 - 1
src/views/home/person/collection.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="contentBody">
-    <!-- <van-nav-bar title="收藏" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="收藏" left-arrow @click-left="onClickLeft" />
     <van-list
       v-model="loading"
       :finished="finished"

+ 1 - 1
src/views/home/person/exam-history.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="exam-history-box">
-    <!-- <van-nav-bar title="考试" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="考试" left-arrow @click-left="onClickLeft" />
     <div class="exam-history-div">
       <div class="exam-history-grades-div">
         <div class="exam-history-name-description">考试积分</div>

+ 1 - 1
src/views/home/person/exam-point-rule.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="learn-point-rule-box">
-    <!-- <van-nav-bar title="积分说明" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="积分说明" left-arrow @click-left="onClickLeft" />
     <div>
       <div class="learn-point-rule-top">积分规则如下:</div>
       <div

+ 1 - 1
src/views/home/person/learn-point-rule.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="learn-point-rule-box">
-    <!-- <van-nav-bar title="积分说明" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="积分说明" left-arrow @click-left="onClickLeft" />
     <div>
       <div class="learn-point-rule-top">积分规则如下:</div>
       <div

+ 1 - 1
src/views/home/person/rank.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="contentBody">
-    <!-- <van-nav-bar title="排行榜" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="排行榜" left-arrow @click-left="onClickLeft" />
     <van-tabs :active="active" @click="rootChange">
       <!-- 根目录 -->
       <van-tab

+ 1 - 1
src/views/home/person/user-manual.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="user-manual-box">
-    <!-- <van-nav-bar title="学习积分" left-arrow @click-left="onClickLeft" /> -->
+    <van-nav-bar title="学习积分" left-arrow @click-left="onClickLeft" />
     <div class="user-manual-div">
       <div class="user-manual-grades-div">
         <div class="user-manual-name-description">学习积分</div>