JXDS18FUJT 2 роки тому
батько
коміт
b6a1baa829

+ 1 - 1
src/api/modules/json.js

@@ -2,7 +2,7 @@ import request from '../request'
 const json = {
     markdown(name) {
         return request({
-            url: `https://jpcj-h5.zzxcx.net/markdown/${name}.json`,
+            url: `/markdown/${name}.json`,
             method: 'get'
         })
 

+ 37 - 7
src/otherPages/classifyChoose/index.vue

@@ -30,7 +30,35 @@
         "
       >
         <template #icon>
-          <div class="icon-blue">{{ index + 1 }}</div>
+          <div class="icon-red">{{ index + 1 }}</div>
+        </template>
+      </van-cell>
+
+      <van-cell
+        title-class="uni-app-fontsize-paragraph"
+        class="cell"
+        :title="
+          item.excellIssueName ||
+          item.placeIssueName ||
+          item.classIssueName ||
+          item.sequeIssueName
+        "
+        is-link
+        center
+        v-for="(item, index) in classDataSpecial"
+        :key="index"
+        :border="false"
+        @click="
+          () => {
+            goExercise({
+              excellIssueName: item.excellIssueName,
+              sort: 2,
+            });
+          }
+        "
+      >
+        <template #icon>
+          <div class="icon-red">{{ '新' }}</div>
         </template>
       </van-cell>
       <!-- <van-cell
@@ -85,6 +113,7 @@
           <div class="icon-red">{{ index + 1 }}</div>
         </template>
       </van-cell>
+    
     </div>
     <div style="height: 40rpx; width: 750rpx"></div>
     <m-classify-tip :content="classifyTip"></m-classify-tip>
@@ -103,6 +132,7 @@ export default {
         "模拟考试能连续5次以上达到96分左右,即可参加考试",
         "如果模拟考试达不到要求,请把右边的选学题也学习一遍",
       ],
+      classDataSpecial:[],
       classDataRight: [],
       classDataLeft: [],
       query: {
@@ -159,10 +189,10 @@ export default {
             api.exam
               .studentQuestionInfoSelectJxQuestionInfo({
                 ...this.query,
-                excellIssueName: "新",
+                excellIssueName: "新",
               })
               .then((res) => {
-                this.classDataLeft = [...this.classDataLeft, ...res.data];
+                this.classDataSpecial = [...res.data];
               });
           });
       }
@@ -217,8 +247,8 @@ export default {
   align-content: flex-start;
   align-items: flex-start;
   flex-wrap: wrap;
-  flex-direction: column;
-
+  flex-direction: row;
+  justify-content: space-between;
   box-sizing: border-box;
 
   .cell {
@@ -241,8 +271,8 @@ export default {
     margin-right: 10rpx;
   }
   .icon-red {
-    width: 40rpx;
-    height: 40rpx;
+    width: 50rpx;
+    height: 50rpx;
     background: red;
     border-radius: 50%;
     font-weight: 500;

+ 8 - 5
src/pages/carVideo/index.vue

@@ -73,11 +73,12 @@
     </view>
     <!-- #ifdef MP-WEIXIN -->
     <view class="tab">
-      <van-tabs animated class="custom-tabs" :active="active" id="tabs" @change="changeSubject" :sticky="true">
-        <van-tab v-if="xcx_video_open" title="教学视频">
+      <van-tabs   animated class="custom-tabs " :active="active" id="tabs"
+        @change="changeSubject" :sticky="true">
+        <van-tab class="uni-app-fontsize-paragraph" v-if="xcx_video_open" title="教学视频">
           <subjectVideoSelect></subjectVideoSelect>
         </van-tab>
-        <van-tab title="科目一">
+        <van-tab title-style="font-size:36rpx" tab-class="uni-app-fontsize-paragraph" title="科目一">
           <view class="tab-container">
             <tab-left :subject="1" :query="tabQuery" :leftList="leftList1"></tab-left>
             <tab-center :subject="1" :query="tabQuery" :centerList="centerList1"></tab-center>
@@ -108,7 +109,7 @@
             ></branch-two>
           </view>
         </van-tab> -->
-        <van-tab title="科目四">
+        <van-tab title-style="font-size:36rpx" class="uni-app-fontsize-paragraph" title="科目四">
           <view class="tab-container">
             <tab-left :query="tabQuery" :subject="4" :leftList="leftList4"></tab-left>
             <tab-center :query="tabQuery" :subject="4" :centerList="centerList4"></tab-center>
@@ -717,7 +718,7 @@ swiper-item {
 
     .carType-title {
       color: #333;
-      font-size:$uni-app-fontsize-paragraph;
+      font-size: $uni-app-fontsize-paragraph;
     }
   }
 }
@@ -747,6 +748,7 @@ swiper-item {
   margin: 0 auto;
   display: inline-block;
   padding: 0 30rpx;
+  font-size: $uni-app-fontsize-paragraph;
 
   #tabs {
     overflow-y: scroll;
@@ -789,3 +791,4 @@ swiper-item {
   }
 }
 </style>
+