zs 2 月之前
父節點
當前提交
bb347d3880
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/win/newsParts/listIndex.vue
  2. 1 1
      src/views/winParts/newsIndex.vue

+ 1 - 1
src/views/win/newsParts/listIndex.vue

@@ -22,10 +22,10 @@
         >
         >
           <el-col :span="3" class="date">
           <el-col :span="3" class="date">
             <el-col :span="24" class="dateInfo">
             <el-col :span="24" class="dateInfo">
+              <el-col :span="24" class="years"> --{{ dayjs(item.date).format('YYYY') }}-- </el-col>
               <el-col :span="24" class="days">
               <el-col :span="24" class="days">
                 {{ dayjs(item.date).format('MM-DD') }}
                 {{ dayjs(item.date).format('MM-DD') }}
               </el-col>
               </el-col>
-              <el-col :span="24" class="years"> --{{ dayjs(item.date).format('YYYY') }}-- </el-col>
             </el-col>
             </el-col>
           </el-col>
           </el-col>
           <el-col :span="14" class="mess">
           <el-col :span="14" class="mess">

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

@@ -228,7 +228,7 @@ const toDetail = (data: any) => {
         font-family: 'PingFangSC-Regular';
         font-family: 'PingFangSC-Regular';
         .list {
         .list {
           display: flex;
           display: flex;
-          margin: 0 0 10px 0;
+          margin: 0 0 5px 0;
 
 
           .imgs {
           .imgs {
             .images {
             .images {