|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
<!-- 首页 -->
|
|
|
- <div class="block">
|
|
|
+ <!-- <div class="block">
|
|
|
<el-carousel
|
|
|
height="400px"
|
|
|
trigger="click"
|
|
@@ -13,12 +13,17 @@
|
|
|
<img :src="item.bannerUrl" alt="" width="100%" height="100%" />
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
+ </div> -->
|
|
|
+ <div class="welcome">
|
|
|
+ <div class="text">
|
|
|
+ <span> 欢迎访问马边彝族自治县自来水有限责任公司官网</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="announce banxin">
|
|
|
<div class="announceL">
|
|
|
<div class="box">
|
|
|
- <img src="./images/map.png" alt="" width="420px" height="260px" />
|
|
|
+ <img src="./images/map.png" alt="" width="100%" height="320px" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="announceR">
|
|
@@ -148,13 +153,16 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getCurrentPage(0, 0);
|
|
|
- getCurrentPage({ moduleType: 1, moduleFunction: 2, isRelease: 1 }).then(
|
|
|
- (res) => {
|
|
|
- if (res.code === 1) {
|
|
|
- this.records1 = res.result.records;
|
|
|
- }
|
|
|
+ getCurrentPage({
|
|
|
+ moduleType: 1,
|
|
|
+ moduleFunction: 2,
|
|
|
+ isRelease: 1,
|
|
|
+ size: 5,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code === 1) {
|
|
|
+ this.records1 = res.result.records;
|
|
|
}
|
|
|
- );
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取数据
|
|
@@ -163,6 +171,7 @@ export default {
|
|
|
moduleType: moduleType,
|
|
|
moduleFunction: moduleFunction,
|
|
|
isRelease: 1,
|
|
|
+ size: 7,
|
|
|
};
|
|
|
getCurrentPage(data).then((res) => {
|
|
|
if (res.code === 1) {
|
|
@@ -234,6 +243,20 @@ export default {
|
|
|
background: #e4f1fb;
|
|
|
|
|
|
// margin: 90px 0 180px;
|
|
|
+ .welcome {
|
|
|
+ background-color: #005fb6;
|
|
|
+ width: 100%;
|
|
|
+ height: 46px;
|
|
|
+ .text {
|
|
|
+ margin: 0 auto;
|
|
|
+ width: 1200px;
|
|
|
+ span {
|
|
|
+ color: #fff;
|
|
|
+ line-height: 46px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.announce {
|
|
|
display: flex;
|
|
@@ -245,14 +268,15 @@ export default {
|
|
|
}
|
|
|
.announceL {
|
|
|
width: 50%;
|
|
|
- height: 264px;
|
|
|
+ height: 320px;
|
|
|
}
|
|
|
.announceR {
|
|
|
width: 50%;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 18px;
|
|
|
margin-left: 30px;
|
|
|
+ overflow: hidden;
|
|
|
p {
|
|
|
- margin: 0;
|
|
|
+ margin: 26px 0 0;
|
|
|
height: 50px;
|
|
|
line-height: 50px;
|
|
|
.iconfont {
|
|
@@ -270,7 +294,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.el-tabs .el-tab-pane {
|
|
|
- padding: 14px;
|
|
|
+ padding: 14px 14px 14px 0;
|
|
|
}
|
|
|
/deep/.el-tabs__item {
|
|
|
font-size: 16px;
|
|
@@ -282,17 +306,18 @@ export default {
|
|
|
// }
|
|
|
.outLink {
|
|
|
font-size: 18px;
|
|
|
- height: 110px;
|
|
|
- width: 910px;
|
|
|
+ height: 120px;
|
|
|
+ width: 1210px;
|
|
|
text-align: center;
|
|
|
margin: 20px auto;
|
|
|
background: url("./images/outlink.png") no-repeat;
|
|
|
background-size: cover;
|
|
|
color: #fff;
|
|
|
+ overflow: hidden;
|
|
|
p {
|
|
|
height: 60px;
|
|
|
line-height: 60px;
|
|
|
- margin: 0;
|
|
|
+ margin: 5px 0 0;
|
|
|
}
|
|
|
span {
|
|
|
padding: 6px 12px;
|
|
@@ -356,7 +381,7 @@ span {
|
|
|
li {
|
|
|
height: 30px;
|
|
|
line-height: 30px;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 16px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
@@ -408,6 +433,6 @@ span {
|
|
|
}
|
|
|
}
|
|
|
.banxin {
|
|
|
- width: 900px;
|
|
|
+ width: 1200px;
|
|
|
}
|
|
|
</style>
|