Explorar o código

首页字体放大1

JXDS18FUJT %!s(int64=2) %!d(string=hai) anos
pai
achega
63e84bc62c

+ 5 - 2
src/App.vue

@@ -48,7 +48,7 @@ export default {
 };
 </script>
 
-<style lang="less">
+<style lang="scss">
 /* #ifdef MP-TOUTIAO */
 
 /* #endif  */
@@ -64,7 +64,7 @@ export default {
 //     "Microsoft Yahei", sans-serif;
 // }
 page {
-  font-family:-apple-system,Arial,"Helvetica Neue", Helvetica, "PingFang SC",
+  font-family: -apple-system, Arial, "Helvetica Neue", Helvetica, "PingFang SC",
     "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHei", "WenQuanYi Micro Hei",
     sans-serif;
 }
@@ -89,4 +89,7 @@ html {
   height: 100%;
   background-color: rgba(0, 0, 0, 0.65);
 }
+.uni-app-fontsize-paragraph{
+  font-size: $uni-app-fontsize-paragraph;
+}
 </style>

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 646 - 271
src/components/m-do-topic/m-do-topic.vue


+ 11 - 3
src/otherPages/classifyArea/index.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="cell-box">
     <van-cell
+      title-class="uni-app-fontsize-paragraph"
       class="cell"
       :title="
         item.placeIssueName ||
@@ -25,7 +26,7 @@
         <div class="icon">{{ index + 1 }}</div>
       </template>
     </van-cell>
-    <div style="height:40rpx;width: 750rpx;"></div>
+    <div style="height: 40rpx; width: 750rpx"></div>
     <m-classify-tip :content="classifyTip"></m-classify-tip>
   </div>
 </template>
@@ -36,7 +37,9 @@ import utils from "@/utils/index";
 export default {
   data() {
     return {
-      classifyTip:['地方题库,如有个别地区增加【地方题库】,请选择该区域的【地方题库】+【必学题】学习,如果没有无需学习地方题库'],
+      classifyTip: [
+        "地方题库,如有个别地区增加【地方题库】,请选择该区域的【地方题库】+【必学题】学习,如果没有无需学习地方题库",
+      ],
       classData: [],
       query: {},
     };
@@ -63,7 +66,7 @@ export default {
       api.exam
         .studentQuestionInfoSelectDfQuestionInfo(this.query)
         .then((res) => {
-           res.data.shift()
+          res.data.shift();
           this.classData = res.data;
         });
     },
@@ -88,15 +91,20 @@ export default {
 </script>
 
 <style lang="scss" scoped>
+.uni-app-fontsize-paragraph{
+  font-size: $uni-app-fontsize-paragraph;
+}
 .cell-box {
   display: flex;
   padding: 30rpx 30rpx;
   flex-wrap: wrap;
   justify-content: space-between;
+
   .cell {
     width: 334rpx;
     margin-bottom: 30rpx;
     box-shadow: 0rpx 0rpx 10rpx rgba(124, 129, 136, 0.2);
+    font-size: $uni-app-fontsize-paragraph;
   }
   .icon {
     width: 40rpx;

+ 1 - 0
src/otherPages/classifyChoose/index.vue

@@ -7,6 +7,7 @@
       }"
     >
       <van-cell
+        title-class="uni-app-fontsize-paragraph"
         class="cell"
         :title="
           item.excellIssueName ||

+ 1 - 0
src/otherPages/classifyKind/index.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="cell-box">
     <van-cell
+    title-class="uni-app-fontsize-paragraph"
       class="cell"
       :title="
         item.placeIssueName ||

+ 9 - 6
src/otherPages/classifyOrder/index.vue

@@ -3,6 +3,7 @@
     <div class="cell-box">
       <view v-for="(item, index) in classData" :key="index">
         <van-cell
+          title-class="uni-app-fontsize-paragraph"
           value-class="custom-right-cell"
           class="cell"
           :title="
@@ -16,7 +17,7 @@
         >
           <div class="select">
             <div
-              class="select-item0"
+              class="select-item0 uni-app-fontsize-paragraph"
               @click="
                 () => {
                   goExercise({
@@ -35,7 +36,7 @@
                   });
                 }
               "
-              class="select-item1"
+              class="select-item1 uni-app-fontsize-paragraph"
             >
               单项测试
             </div>
@@ -124,7 +125,7 @@ export default {
 }
 .cell-box {
   display: flex;
-  padding: 10rpx 30rpx;
+  padding: 10rpx 0rpx;
   flex-wrap: wrap;
   justify-content: space-between;
   > view {
@@ -142,21 +143,23 @@ export default {
     display: flex;
     flex-direction: row;
     color: white;
-    flex: 1.2;
+   
 
     .select-item0 {
       padding: 0 18rpx;
       background: #498ef5;
       margin-right: 20rpx;
       border-radius: 8rpx;
-      font-size: 24rpx;
+      white-space: nowrap;
+      font-size: 30rpx;
     }
 
     .select-item1 {
       padding: 0 18rpx;
       background: #06bd5e;
-      font-size: 24rpx;
+      white-space: nowrap;
       border-radius: 8rpx;
+      font-size: 30rpx;
     }
   }
   .icon {

+ 1 - 0
src/pages/carVideo/components/tabCenter.vue

@@ -108,6 +108,7 @@ export default {
     align-items: center;
     left: 0;
     top: 0;
+    font-size: $uni-app-fontsize-paragraph;
   }
 }
 </style>

+ 3 - 3
src/pages/carVideo/components/tabLeft.vue

@@ -85,11 +85,11 @@ export default {
 
 <style lang="scss" scoped>
 .left {
-  width: 150rpx;
+  width: 160rpx;
   margin-top: 50rpx;
-  font-size: 26rpx;
+  font-size: $uni-app-fontsize-paragraph;
   .left-item {
-    width: 150rpx;
+    width: 100%;
     display: flex;
     justify-content: center;
     flex-direction: column;

+ 4 - 3
src/pages/carVideo/components/tabRight.vue

@@ -79,11 +79,12 @@ export default {
 
 <style lang="scss" scoped>
 .right {
-  width: 150rpx;
+  width: 160rpx;
   margin-top: 50rpx;
-  font-size: 26rpx;
+  font-size: $uni-app-fontsize-paragraph;
   .right-item {
-    width: 150rpx;
+    white-space: nowrap;
+    width: 100%;
     display: flex;
     justify-content: center;
     flex-direction: column;

+ 2 - 2
src/pages/carVideo/index.vue

@@ -712,12 +712,12 @@ swiper-item {
 
     .carType-typeName {
       color: #333;
-      font-size: 26rpx;
+      font-size: $uni-app-fontsize-paragraph;
     }
 
     .carType-title {
       color: #333;
-      font-size: 26rpx;
+      font-size:$uni-app-fontsize-paragraph;
     }
   }
 }

+ 6 - 1
src/uni.scss

@@ -73,4 +73,9 @@ $uni-font-size-title:40rpx;
 $uni-color-subtitle: #555555; // 二级标题颜色
 $uni-font-size-subtitle:36rpx;
 $uni-color-paragraph: #3F536E; // 文章段落颜色
-$uni-font-size-paragraph:30rpx;
+$uni-font-size-paragraph:30rpx;
+
+// app字体相关
+$uni-app-fontsize-paragraph:36rpx; //普通段落文字
+$uni-app-fontsize-topic:48rpx; //题干文字
+$uni-app-fontsize-topicIcon:48rpx; //题干文字

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio