xiejiebiao 2 лет назад
Родитель
Сommit
84b64a7330
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      src/pages/person-center/my-bank/bank-detailCopy/index.vue

+ 6 - 6
src/pages/person-center/my-bank/bank-detailCopy/index.vue

@@ -51,7 +51,7 @@
                       </div>
                       <div class="line"></div>
                       <div>
-                        <p v-if="tab.examInfo">{{ tab.examInfo ? (tab.examInfo.totalNum - tab.examInfo.doNum) : '-' }}
+                        <p>{{ tab.examInfo ? (tab.examInfo.totalNum - tab.examInfo.doNum) : '-' }}
                         </p>
                         <p>剩余提数</p>
                       </div>
@@ -516,8 +516,7 @@ export default {
     getExamType(id) {
       return new Promise((resolve, reject) => {
         this.$request.exampapergoodsExamPaper(id).then((res) => {
-          let data = [{ paperId: 110, paperName: "随机练习" }]
-          this.newList = [{ paperId: 0, paperName: "全部" }, ...res.data, ...data];
+          this.newList = [{ paperId: 0, paperName: "全部" }, ...res.data];
           // if (parseInt(this.activeName) > 0) {
           //   this.tabChange({ name: this.activeName });
           // }
@@ -1034,9 +1033,10 @@ export default {
               cursor: pointer;
             }
 
-            .is-complete {
-              background: #D1D1D6;
-            }
+          }
+
+          .is-complete {
+            background: #D1D1D6 !important;
           }
         }