Jelajahi Sumber

小部分样式优化,h5主题修改为‘知会学堂’

yellowtaotao 3 tahun lalu
induk
melakukan
2762904e00

File diff ditekan karena terlalu besar
+ 188 - 109
package-lock.json


+ 1 - 1
public/index.html

@@ -20,7 +20,7 @@
   <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
   <link rel="icon" type="image/x-icon" href="favicon.ico" />
   <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
-  <title>京臻学堂</title>
+  <title>知会学堂</title>
 </head>
 
 <body>

+ 1 - 1
src/common/permission.js

@@ -10,7 +10,7 @@ NProgress.configure({ showSpinner: false });
 router.beforeEach(async (to, from, next) => {
   let title = "";
   const isCorrect = document.title.includes("test");
-  title = isCorrect ? document.title : "京臻学堂";
+  title = isCorrect ? document.title : "知会学堂";
   document.title = title;
   NProgress.start();
   next();

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

@@ -2,7 +2,7 @@
   <div class="home-box">
     <van-nav-bar
       v-if="env !== 'pro'"
-      title="京臻学堂"
+      title="知会学堂"
       left-text
       right-text
       bind:click-left
@@ -107,7 +107,7 @@ export default {
     // 设置蓝信navigator
     setLanXinNavigator() {
       lx.ui.setNavigationBarTitle({
-        title: "京臻学堂"
+        title: "知会学堂"
       });
     },
     // 初始化

+ 9 - 9
src/views/home/learn/page-learn-child.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="contentBody" v-if="learnChildList.length>0">
+  <div class="contentBody" v-if="learnChildList.length > 0">
     <van-pull-refresh v-model="isLoading" @refresh="onRefresh">
       <van-tabs
         :active="active"
@@ -15,7 +15,7 @@
           :title-style="titleStyle"
         >
           <div class="contentLoading" v-if="contentLoading">
-            <van-loading  type="spinner" vertical >加载中...</van-loading>
+            <van-loading type="spinner" vertical>加载中...</van-loading>
           </div>
           <van-list
             v-else
@@ -80,7 +80,7 @@
                   <div class="contentItemDescriptionTime">
                     {{
                       formateDatesFun(contentItem.createdTime) ||
-                      contentItem.createdTime
+                        contentItem.createdTime
                     }}
                   </div>
                   <div class="contentItemDescriptionStudyNeedTime">
@@ -246,12 +246,12 @@ export default {
 @import "~@/styles/mixin";
 .contentBody {
   background-color: #fff;
-   .contentLoading {
+  .contentLoading {
     height: 10vh;
     display: flex;
     justify-content: center;
     align-items: center;
-   }
+  }
   .contentItemDiv {
     width: 100%;
     .contentItemTitle {
@@ -265,13 +265,13 @@ export default {
       align-items: center;
       .contentItemTitle {
         text-align: left;
-        font-size: 0.65rem;
+        font-size: 0.8rem;
         color: #000;
         white-space: nowrap;
         text-overflow: ellipsis;
         overflow: hidden;
         word-wrap: break-word;
-        white-space: pre-wrap;
+        // white-space: pre-wrap;
         display: -webkit-box;
         -webkit-box-orient: ho;
         -webkit-line-clamp: 10;
@@ -307,14 +307,14 @@ export default {
             margin-right: 0.25rem;
           }
           span {
-            font-size: 0.65rem;
+            font-size: 0.8rem;
             font-weight: bold;
             color: #000;
             white-space: nowrap;
             text-overflow: ellipsis;
             overflow: hidden;
             word-wrap: break-word;
-            white-space: pre-wrap;
+            // white-space: pre-wrap;
           }
         }
         .contentVideoDK {

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

@@ -679,7 +679,7 @@ export default {
         padding: 0 0.5rem;
         display: flex;
         align-items: center;
-        background-color: #d9d9d9;
+        background-color: #f6f6f8;
         border-radius: 4px;
         span {
           margin-left: 0.5rem;

+ 5 - 5
src/views/home/learn/page-learn-recommend.vue

@@ -74,7 +74,7 @@
               <div class="contentItemDescriptionTime">
                 {{
                   formateDatesFun(contentItem.createdTime) ||
-                  contentItem.createdTime
+                    contentItem.createdTime
                 }}
               </div>
               <div class="contentItemDescriptionStudyNeedTime">
@@ -224,13 +224,13 @@ export default {
       align-items: center;
       .contentItemTitle {
         text-align: left;
-        font-size: 0.65rem;
+        font-size: 0.8rem;
         color: #000;
         white-space: nowrap;
         text-overflow: ellipsis;
         overflow: hidden;
         word-wrap: break-word;
-        white-space: pre-wrap;
+        // white-space: pre-wrap;
         display: -webkit-box;
         -webkit-box-orient: ho;
         -webkit-line-clamp: 10;
@@ -260,14 +260,14 @@ export default {
             margin-right: 0.25rem;
           }
           span {
-            font-size: 0.65rem;
+            font-size: 0.8rem;
             font-weight: bold;
             color: #000;
             white-space: nowrap;
             text-overflow: ellipsis;
             overflow: hidden;
             word-wrap: break-word;
-            white-space: pre-wrap;
+            // white-space: pre-wrap;
           }
         }
         .contentVideoDK {

+ 7 - 2
src/views/home/person/collection.vue

@@ -1,6 +1,11 @@
 <template>
   <div class="contentBody">
-    <van-nav-bar v-if="env!=='pro'" title="收藏" left-arrow @click-left="onClickLeft" />
+    <van-nav-bar
+      v-if="env !== 'pro'"
+      title="收藏"
+      left-arrow
+      @click-left="onClickLeft"
+    />
     <van-list
       v-model="loading"
       :finished="finished"
@@ -103,7 +108,7 @@ export default {
   background-color: #fff;
   .contentItemDiv {
     .contentItemTitle {
-      font-size: 0.65rem;
+      font-size: 0.8rem;
       font-weight: bold;
     }
     .contentItemDescription {

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini