马宇豪
2023-12-14 afdca5cb7b8d5c735ab70926e4f5853d904991c6
src/views/components/notice.vue
@@ -4,7 +4,7 @@
      <div class="list">
        <div v-for="item in state.dataList" @click="openDetails('通知公告',item.id)">
          <div>
            <div><img :src="articlePng"></div>
            <div><img src="src/assets/images/article.png"></div>
            <div>{{item.title}}</div>
          </div>
          <span>
@@ -31,7 +31,6 @@
import { getNotice } from '@/api/home/homePage'
import useUserStore from '@/store/modules/user'
import {ElMessage} from "element-plus";
import articlePng from "@/assets/images/article.png";
const emit = defineEmits(['openDetails'])
const route = useRoute()
const router = useRouter()
@@ -96,7 +95,7 @@
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 160px;
  margin-top: 150px;
  .main-content{
    width: 1200px;
@@ -109,12 +108,12 @@
    .list{
      padding: 15px 0;
      height: calc(100vh - 330px);
      height: calc(100vh - 280px);
      overflow-y: auto;
      &>div{
        display: flex;
        padding: 10px;
        padding: 8px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px dashed #ebeef5;
@@ -162,7 +161,7 @@
    .pag-container{
      width: 100%;
      height: 80px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: right;