Browse Source

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

yellowtaotao 3 years ago
parent
commit
2762904e00

File diff suppressed because it is too large
+ 188 - 109
package-lock.json


+ 1 - 1
public/index.html

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

+ 1 - 1
src/common/permission.js

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

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

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

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

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

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

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

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

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

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

@@ -1,6 +1,11 @@
 <template>
 <template>
   <div class="contentBody">
   <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
     <van-list
       v-model="loading"
       v-model="loading"
       :finished="finished"
       :finished="finished"
@@ -103,7 +108,7 @@ export default {
   background-color: #fff;
   background-color: #fff;
   .contentItemDiv {
   .contentItemDiv {
     .contentItemTitle {
     .contentItemTitle {
-      font-size: 0.65rem;
+      font-size: 0.8rem;
       font-weight: bold;
       font-weight: bold;
     }
     }
     .contentItemDescription {
     .contentItemDescription {

Some files were not shown because too many files changed in this diff