浏览代码

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

lrf 2 月之前
父节点
当前提交
d9b7f9815b
共有 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="24" class="dateInfo">
+              <el-col :span="24" class="years"> --{{ dayjs(item.date).format('YYYY') }}-- </el-col>
               <el-col :span="24" class="days">
                 {{ dayjs(item.date).format('MM-DD') }}
               </el-col>
-              <el-col :span="24" class="years"> --{{ dayjs(item.date).format('YYYY') }}-- </el-col>
             </el-col>
           </el-col>
           <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';
         .list {
           display: flex;
-          margin: 0 0 10px 0;
+          margin: 0 0 5px 0;
 
           .imgs {
             .images {