|
@@ -1,148 +1,154 @@
|
|
|
<template>
|
|
|
- <el-row class="popularWill">
|
|
|
- <el-col :span="24" class="top">
|
|
|
- <dividerIndex :info="{ title: '民意征集', enTitle: 'PUBLIC OPINION COLLECTION' }" />
|
|
|
+ <el-row class="popularWill">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <dividerIndex :info="{ title: '民意征集', enTitle: 'PUBLIC OPINION COLLECTION' }" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="bottom">
|
|
|
+ <el-col
|
|
|
+ :span="8"
|
|
|
+ class="list animate__animated animate__backInLeft"
|
|
|
+ v-for="item in list"
|
|
|
+ :key="item"
|
|
|
+ >
|
|
|
+ <template v-if="item.type == '1'">
|
|
|
+ <el-col :span="24" class="img">
|
|
|
+ <el-image class="images" :src="item.url"></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ {{ item.title }}
|
|
|
</el-col>
|
|
|
- <el-col :span="24" class="bottom">
|
|
|
- <el-col :span="8" class="list animate__animated animate__backInLeft" v-for="item in list" :key="item">
|
|
|
- <template v-if="item.type == '1'">
|
|
|
- <el-col :span="24" class="img">
|
|
|
- <el-image class="images" :src="item.url"></el-image>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" class="title">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="brief">
|
|
|
- {{ item.brief }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </template>
|
|
|
- <template v-else-if="item.type == '2'">
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" class="title">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="brief">
|
|
|
- {{ item.brief }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="img img2">
|
|
|
- <el-image class="images" :src="item.url"></el-image>
|
|
|
- </el-col>
|
|
|
- </template>
|
|
|
- <template v-else-if="item.type == '3'">
|
|
|
- <el-col :span="24" class="img">
|
|
|
- <el-image class="images" :src="item.url"></el-image>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" class="title">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="brief">
|
|
|
- {{ item.brief }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </template>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="24" class="brief">
|
|
|
+ {{ item.brief }}
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
+ </el-col>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="item.type == '2'">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ {{ item.title }}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="brief">
|
|
|
+ {{ item.brief }}
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="img img2">
|
|
|
+ <el-image class="images" :src="item.url"></el-image>
|
|
|
+ </el-col>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="item.type == '3'">
|
|
|
+ <el-col :span="24" class="img">
|
|
|
+ <el-image class="images" :src="item.url"></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ {{ item.title }}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="brief">
|
|
|
+ {{ item.brief }}
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </template>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
defineOptions({ name: 'popularWill' })
|
|
|
|
|
|
// 基础
|
|
|
-import { ref } from 'vue';
|
|
|
+import { ref } from 'vue'
|
|
|
import dividerIndex from '../../components/windows/dividerIndex.vue'
|
|
|
/* 列表 */
|
|
|
const list = ref([
|
|
|
- {
|
|
|
- type: '1',
|
|
|
- title: '热点回应',
|
|
|
- brief: '供水服务政策法规是为了加强城市供水管理,发展城市供水事业,保障城市生活、生产和其他建设用水而制定的。它包括与制水、供水、排水有关的,由国家、省、地方及行业主管部门发布的法律、法规及政策。',
|
|
|
- url: 'my1.png'
|
|
|
- },
|
|
|
- {
|
|
|
- type: '2',
|
|
|
- title: '服务咨询',
|
|
|
- brief: '自来水是最基本的民生资源,关系到千家万户,关系到城市发展。为什么停水?水质怎么保障?这些问题受到广泛的关注。那么在自来水的生产供应过程中,都有什么您十分关切的问题呢?水务集团在此进行回应。',
|
|
|
- url: 'my2.png'
|
|
|
- },
|
|
|
- {
|
|
|
- type: '3',
|
|
|
- title: '满意度调查',
|
|
|
- brief: '水投集团满意度调查是为了了解客户对水投集团提供的服务的满意程度而进行的一项调查。通过该调查,我们希望收集客户对水投集团的服务质量、响应速度、沟通效果等方面的意见和反馈,以便进一步改进和优化我们的服务。',
|
|
|
- url: 'my3.png'
|
|
|
- }
|
|
|
+ {
|
|
|
+ type: '1',
|
|
|
+ title: '热点回应',
|
|
|
+ brief:
|
|
|
+ '供水服务政策法规是为了加强城市供水管理,发展城市供水事业,保障城市生活、生产和其他建设用水而制定的。它包括与制水、供水、排水有关的,由国家、省、地方及行业主管部门发布的法律、法规及政策。',
|
|
|
+ url: 'my1.png',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: '2',
|
|
|
+ title: '服务咨询',
|
|
|
+ brief:
|
|
|
+ '自来水是最基本的民生资源,关系到千家万户,关系到城市发展。为什么停水?水质怎么保障?这些问题受到广泛的关注。那么在自来水的生产供应过程中,都有什么您十分关切的问题呢?水务集团在此进行回应。',
|
|
|
+ url: 'my2.png',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: '3',
|
|
|
+ title: '满意度调查',
|
|
|
+ brief:
|
|
|
+ '水投集团满意度调查是为了了解客户对水投集团提供的服务的满意程度而进行的一项调查。通过该调查,我们希望收集客户对水投集团的服务质量、响应速度、沟通效果等方面的意见和反馈,以便进一步改进和优化我们的服务。',
|
|
|
+ url: 'my3.png',
|
|
|
+ },
|
|
|
])
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.popularWill {
|
|
|
- .top {
|
|
|
- text-align: center;
|
|
|
- margin: 0 0 20px 0;
|
|
|
- }
|
|
|
+ .top {
|
|
|
+ text-align: center;
|
|
|
+ margin: 0 0 20px 0;
|
|
|
+ }
|
|
|
|
|
|
- .bottom {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-around;
|
|
|
- gap: 10px;
|
|
|
+ .bottom {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-around;
|
|
|
+ gap: 10px;
|
|
|
|
|
|
+ .list {
|
|
|
+ max-width: 32%;
|
|
|
+ border-radius: 5px;
|
|
|
+ /* 灰 */
|
|
|
+ box-shadow: 2px 4px 20px 0px rgba(169, 169, 169, 0.25);
|
|
|
+ background: rgb(255, 255, 255);
|
|
|
|
|
|
- .list {
|
|
|
- max-width: 32%;
|
|
|
- border-radius: 5px;
|
|
|
- box-shadow: 0 0 4px #cccccc;
|
|
|
- background-color: #ffffff;
|
|
|
-
|
|
|
- .img {
|
|
|
-
|
|
|
- .images {
|
|
|
- width: 100%;
|
|
|
- height: 270px;
|
|
|
- border-radius: 5px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .img2 {
|
|
|
- position: relative;
|
|
|
- top: 5px;
|
|
|
- }
|
|
|
+ .img {
|
|
|
+ .images {
|
|
|
+ width: 100%;
|
|
|
+ height: 270px;
|
|
|
+ border-radius: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
+ .img2 {
|
|
|
+ position: relative;
|
|
|
+ top: 5px;
|
|
|
+ }
|
|
|
|
|
|
- .info {
|
|
|
- padding: 10px;
|
|
|
+ .info {
|
|
|
+ padding: 20px;
|
|
|
|
|
|
- .title {
|
|
|
- color: rgb(25, 25, 26);
|
|
|
- // font-family: '黑体';
|
|
|
- font-size: 24px;
|
|
|
- font-weight: 500;
|
|
|
- line-height: 32px;
|
|
|
- letter-spacing: 2px;
|
|
|
- margin: 0 0 16px 0;
|
|
|
- }
|
|
|
+ .title {
|
|
|
+ color: rgb(25, 25, 26);
|
|
|
+ // font-family: '黑体';
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 500;
|
|
|
+ line-height: 32px;
|
|
|
+ letter-spacing: 2px;
|
|
|
+ margin: 0 0 15px 0;
|
|
|
+ }
|
|
|
|
|
|
- .brief {
|
|
|
- color: rgb(102, 102, 102);
|
|
|
- // font-family: '黑体';
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 400;
|
|
|
- line-height: 30px;
|
|
|
- letter-spacing: 0px;
|
|
|
+ .brief {
|
|
|
+ color: rgb(102, 102, 102);
|
|
|
+ // font-family: '黑体';
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 30px;
|
|
|
+ letter-spacing: 0px;
|
|
|
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- -webkit-line-clamp: 5;
|
|
|
- word-break: break-all;
|
|
|
- display: -webkit-box;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 5;
|
|
|
+ word-break: break-all;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|