|
@@ -1,188 +1,198 @@
|
|
|
<template>
|
|
|
- <el-row class="main animate__animated animate__backInLeft">
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" class="top">
|
|
|
- <dividerIndex :info="{ title: '资质荣誉', enTitle: 'Qualification and Honor' }" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="infoList">
|
|
|
- <el-col :span="2" class="imgs">
|
|
|
- <el-image class="images" :src="left1" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="20" class="center">
|
|
|
- <el-col :span="24" class="center1">
|
|
|
- <el-col :span="8" class="list" v-for="(item, index) in list1" :key="index">
|
|
|
- <el-col :span="24" class="imgs">
|
|
|
- <el-image class="images" :src="item.url" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="title">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="center2">
|
|
|
- <el-col :span="6" class="list" v-for="(item, index) in list2" :key="index">
|
|
|
- <el-col :span="24" class="imgs">
|
|
|
- <el-image class="images" :src="item.url" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="title">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="imgs imgs1">
|
|
|
- <el-image class="images" :src="right1" />
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
+ <el-row class="main animate__animated animate__backInLeft">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <dividerIndex :info="{ title: '资质荣誉', enTitle: 'Qualification and Honor' }" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="infoList">
|
|
|
+ <el-col :span="2" class="imgs">
|
|
|
+ <el-image class="images" :src="left1" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="20" class="center">
|
|
|
+ <el-col :span="24" class="center1">
|
|
|
+ <el-col :span="8" class="list" v-for="(item, index) in list1" :key="index" @click="toOpen(item)">
|
|
|
+ <el-col :span="24" class="imgs">
|
|
|
+ <el-image class="images" :src="item.url" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ {{ item.title }}
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="center2">
|
|
|
+ <el-col
|
|
|
+ :span="6"
|
|
|
+ class="list"
|
|
|
+ v-for="(item, index) in list2"
|
|
|
+ :key="index"
|
|
|
+ @click="toOpen(item)"
|
|
|
+ >
|
|
|
+ <el-col :span="24" class="imgs">
|
|
|
+ <el-image class="images" :src="item.url" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ {{ item.title }}
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" class="imgs imgs1">
|
|
|
+ <el-image class="images" :src="right1" />
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
// 基础
|
|
|
import { ref } from 'vue'
|
|
|
import dividerIndex from '../../../components/windows/dividerIndex.vue'
|
|
|
-
|
|
|
+import { get } from 'lodash-es';
|
|
|
|
|
|
const left1 = ref('inwater2.png')
|
|
|
const right1 = ref('inwater3.png')
|
|
|
|
|
|
const list1 = ref([
|
|
|
- {
|
|
|
- title: '客服中心',
|
|
|
- url: 'inwater6.png'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '水务集团',
|
|
|
- url: 'inwater7.png'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '朝阳分公司',
|
|
|
- url: 'inwater8.png'
|
|
|
- }
|
|
|
+ {
|
|
|
+ title: '客服中心',
|
|
|
+ url: 'inwater6.png',
|
|
|
+ path: '/inwaterDetail?tag=1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '水务集团',
|
|
|
+ url: 'inwater7.png',
|
|
|
+ path: '/inwaterDetail?tag=2',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '朝阳分公司',
|
|
|
+ url: 'inwater8.png',
|
|
|
+ path: '/inwaterDetail?tag=3',
|
|
|
+ },
|
|
|
])
|
|
|
const list2 = ref([
|
|
|
- {
|
|
|
- title: '信息中心',
|
|
|
- url: 'inwater9.png'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '党委工作部',
|
|
|
- url: 'inwater10.png'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '第一净水厂',
|
|
|
- url: 'inwater11.png'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '第二净水厂',
|
|
|
- url: 'inwater12.png'
|
|
|
- }
|
|
|
+ {
|
|
|
+ title: '信息中心',
|
|
|
+ url: 'inwater9.png',
|
|
|
+ path: '/inwaterDetail?tag=4',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '党委工作部',
|
|
|
+ url: 'inwater10.png',
|
|
|
+ path: '/inwaterDetail?tag=5',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '第一净水厂',
|
|
|
+ url: 'inwater11.png',
|
|
|
+ path: '/inwaterDetail?tag=6',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '第二净水厂',
|
|
|
+ url: 'inwater12.png',
|
|
|
+ path: '/inwaterDetail?tag=7',
|
|
|
+ },
|
|
|
])
|
|
|
|
|
|
+const toOpen = (data: any) => {
|
|
|
+ const path = get(data, 'path')
|
|
|
+ window.open(`/${import.meta.env.VITE_BASE_URL}${path}`)
|
|
|
+}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.main {
|
|
|
- .top {
|
|
|
- padding: 0 17%;
|
|
|
- margin: 40px 0;
|
|
|
+ .top {
|
|
|
+ padding: 0 17%;
|
|
|
+ margin: 40px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .infoList {
|
|
|
+ padding: 0 10%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .imgs {
|
|
|
+ .images {
|
|
|
+ width: 100%;
|
|
|
+ height: 380px;
|
|
|
}
|
|
|
-
|
|
|
- .infoList {
|
|
|
- padding: 0 10%;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .imgs {
|
|
|
-
|
|
|
- .images {
|
|
|
- width: 100%;
|
|
|
- height: 380px;
|
|
|
- }
|
|
|
+ }
|
|
|
+
|
|
|
+ .center {
|
|
|
+ .center1 {
|
|
|
+ display: flex;
|
|
|
+ padding: 0 15%;
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+
|
|
|
+ .list {
|
|
|
+ background-image: url('/inwater4.png');
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ text-align: center;
|
|
|
+ position: relative;
|
|
|
+ height: 40vh;
|
|
|
+
|
|
|
+ .imgs {
|
|
|
+ .images {
|
|
|
+ position: absolute;
|
|
|
+ left: 33.5px;
|
|
|
+ top: 25px;
|
|
|
+ width: 77%;
|
|
|
+ height: 34vh;
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 40px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
+ font-family: '黑体';
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 32px;
|
|
|
+ letter-spacing: 2px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- .center {
|
|
|
- .center1 {
|
|
|
- display: flex;
|
|
|
- padding: 0 15%;
|
|
|
- margin: 0 0 20px 0;
|
|
|
-
|
|
|
- .list {
|
|
|
- background-image: url('/inwater4.png');
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
- text-align: center;
|
|
|
- position: relative;
|
|
|
- height: 40vh;
|
|
|
-
|
|
|
- .imgs {
|
|
|
- .images {
|
|
|
- position: absolute;
|
|
|
- left: 33.5px;
|
|
|
- top: 25px;
|
|
|
- width: 77%;
|
|
|
- height: 34vh;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- .title {
|
|
|
- position: absolute;
|
|
|
- bottom: 40px;
|
|
|
- width: 100%;
|
|
|
- text-align: center;
|
|
|
- color: rgb(255, 255, 255);
|
|
|
- font-family: '黑体';
|
|
|
- font-size: 24px;
|
|
|
- font-weight: 700;
|
|
|
- line-height: 32px;
|
|
|
- letter-spacing: 2px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .center2 {
|
|
|
- display: flex;
|
|
|
-
|
|
|
- .list {
|
|
|
- background-image: url('/inwater5.png');
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
- text-align: center;
|
|
|
- position: relative;
|
|
|
- height: 25vh;
|
|
|
-
|
|
|
- .imgs {
|
|
|
- .images {
|
|
|
- position: absolute;
|
|
|
- left: 37px;
|
|
|
- top: 15px;
|
|
|
- width: 77%;
|
|
|
- height: 21.2vh;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- .title {
|
|
|
- position: absolute;
|
|
|
- bottom: 30px;
|
|
|
- width: 100%;
|
|
|
- text-align: center;
|
|
|
- color: rgb(255, 255, 255);
|
|
|
- font-family: '黑体';
|
|
|
- font-size: 24px;
|
|
|
- font-weight: 700;
|
|
|
- line-height: 32px;
|
|
|
- letter-spacing: 2px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ .center2 {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .list {
|
|
|
+ background-image: url('/inwater5.png');
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ text-align: center;
|
|
|
+ position: relative;
|
|
|
+ height: 25vh;
|
|
|
+
|
|
|
+ .imgs {
|
|
|
+ .images {
|
|
|
+ position: absolute;
|
|
|
+ left: 37px;
|
|
|
+ top: 15px;
|
|
|
+ width: 77%;
|
|
|
+ height: 21.2vh;
|
|
|
}
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 30px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
+ font-family: '黑体';
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 32px;
|
|
|
+ letter-spacing: 2px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|