| | |
| | | <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> |
| | |
| | | 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() |
| | |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | margin-top: 160px; |
| | | margin-top: 150px; |
| | | |
| | | .main-content{ |
| | | width: 1200px; |
| | |
| | | |
| | | .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; |
| | |
| | | |
| | | .pag-container{ |
| | | width: 100%; |
| | | height: 80px; |
| | | height: 60px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: right; |