Browse Source

Merge branch 'master' of http://git.cc-lotus.info/shuiTou/web

lrf 2 months ago
parent
commit
8042a25b6e

+ 1 - 1
src/components/windows/dividerIndex.vue

@@ -60,7 +60,7 @@ const info = defineModel('info', {
             .enTitle {
                   color: rgb(73, 108, 138);
                   font-family: 'OPPO Sans';
-                  font-size: 20px;
+                  font-size: 16px;
                   font-weight: 400;
                   line-height: 26px;
                   letter-spacing: 2px;

+ 8 - 2
src/views/win/newsParts/listIndex.vue

@@ -23,7 +23,7 @@
           <el-col :span="3" class="date">
             <el-col :span="24" class="dateInfo">
               <el-col :span="24" class="days">
-                {{ dayjs(item.date).format('DD-MM') }}
+                {{ dayjs(item.date).format('MM-DD') }}
               </el-col>
               <el-col :span="24" class="years"> --{{ dayjs(item.date).format('YYYY') }}-- </el-col>
             </el-col>
@@ -236,12 +236,18 @@ onMounted(() => {
             line-height: 35px;
             letter-spacing: 0px;
             margin: 0 0 30px 0;
+            overflow: hidden;
+            text-overflow: ellipsis;
+            -webkit-line-clamp: 1;
+            word-break: break-all;
+            display: -webkit-box;
+            -webkit-box-orient: vertical;
           }
 
           .brief {
             color: rgb(102, 102, 102);
             // font-family: '黑体';
-            font-size: 18px;
+            font-size: 16px;
             font-weight: 400;
             line-height: 32px;
             letter-spacing: 0px;

+ 1 - 1
src/views/winParts/newsIndex.vue

@@ -253,7 +253,7 @@ const toDetail = (data: any) => {
             .brief {
               color: rgb(102, 102, 102);
               // font-family: '黑体';
-              font-size: 20px;
+              font-size: 16px;
               font-weight: 400;
               line-height: 29px;
               /* 设置为弹性盒模型 */