123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <template>
- <el-row class="main animate__animated animate__backInRight">
- <el-col :span="24" class="info">
- <el-col :span="24" class="top">
- <dividerIndex :info="{ title: '企业信息', enTitle: 'Information' }" />
- </el-col>
- <el-col :span="24" class="infoList">
- <el-col
- :span="6"
- class="list"
- v-for="(item, index) in list"
- :key="index"
- @click="toOpen(item.to)"
- >
- <el-col :span="24" class="imgs">
- <el-image class="images" :src="item.url"></el-image>
- </el-col>
- <el-col :span="24" class="title">{{ item.title }}</el-col>
- </el-col>
- </el-col>
- </el-col>
- </el-row>
- </template>
- <script setup lang="ts">
- // 基础
- import { ref } from 'vue'
- import dividerIndex from '../../../components/windows/dividerIndex.vue'
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- const list = ref<any[]>([
- {
- url: 'commess1.png',
- title: '机构设置',
- to: '/messDetail?tag=1&type=info',
- },
- {
- url: 'commess2.png',
- title: '政策法规',
- to: '/newsIndex?tag=2',
- },
- {
- url: 'commess3.png',
- title: '排水公司信息公开',
- to: '/messDetail?tag=3&type=info',
- },
- {
- url: 'commess4.png',
- title: '水厂环境信息公开',
- to: '/messDetail?tag=4&type=info',
- },
- {
- url: 'commess5.png',
- title: '行业自律',
- to: '/messDetail?tag=5&type=info',
- },
- {
- url: 'commess6.png',
- title: '长春水务集团2018年政府信息公开',
- to: '/messDetail?tag=6&type=info',
- },
- {
- url: 'commess7.png',
- title: '长春水务集团2019年工作',
- to: '/messDetail?tag=7&type=info',
- },
- {
- url: 'commess8.png',
- title: '智慧水务(互联网+供水服务)',
- to: '/messDetail?tag=8&type=info',
- },
- ])
- const toOpen = (path: string) => {
- window.open(`${path}`)
- }
- </script>
- <style scoped lang="scss">
- .main {
- padding: 0 17%;
- .top {
- margin: 40px 0;
- }
- .infoList {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- gap: 27px;
- .list {
- max-width: 22.3%;
- border-radius: 0px 0px 4px 4px;
- /* 灰 */
- box-shadow: 2px 4px 20px 0px rgba(169, 169, 169, 0.25);
- background: rgb(255, 255, 255);
- .imgs {
- border-radius: 5px;
- .images {
- border-radius: 5px;
- }
- }
- .title {
- padding: 5px 0;
- text-align: center;
- color: rgb(25, 25, 26);
- // font-family: '黑体';
- font-size: 18px;
- font-weight: 500;
- line-height: 29px;
- letter-spacing: 0px;
- }
- }
- }
- }
- </style>
|