This commit is contained in:
XinWei 2024-08-15 09:43:42 +08:00
commit 829259d0f6
2 changed files with 971 additions and 917 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,274 +1,294 @@
<template> <template>
<div> <div>
<div class="page_ban"> <div class="page_ban">
<div class="img compbg"></div> <div class="img compbg"></div>
<div class="content"> <div class="content">
<div class="page_nav"> <div class="page_nav">
<div class="name"> <div class="name">
<a style="padding: 0;" href="/project">工程资讯</a> <a href="javascript:;">工程详情</a> <a style="padding: 0;" href="/project">工程资讯</a> <a href="javascript:;">工程详情</a>
</div> </div>
<div class="list" style="bottom:-15px"> <div class="list" style="bottom:-15px">
<el-tabs v-model="activeName" > <el-tabs v-model="activeName">
<el-tab-pane label="工程详情" name="first"></el-tab-pane> <el-tab-pane label="工程详情" name="first"></el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="Wrapper news_d"> <div class="Wrapper news_d">
<div style="display: flex;width: 95%;justify-content: space-between;"> <div style="display: flex;width: 95%;justify-content: space-between;">
<div style="width: 30%;background-color:rgb(228,235,241);"> <div style="width: 30%;background-color:rgb(228,235,241);">
<div style="width: 100%;padding-left: 30%;box-sizing: border-box;"> <div style="width: 100%;padding-left: 30%;box-sizing: border-box;">
<div class="z_xq_cont_top_lt">工程简介</div> <div class="z_xq_cont_top_lt">工程简介</div>
<div class="z_xq_cont_top_ls"></div> <div class="z_xq_cont_top_ls"></div>
<!-- <div class="z_xq_cont_top_lc"><img src="https://www.fygroup.cn//skin/images/xqjt.png"></div> --> <!-- <div class="z_xq_cont_top_lc"><img src="https://www.fygroup.cn//skin/images/xqjt.png"></div> -->
<div class="z_xq_cont_top_lx"> <div class="z_xq_cont_top_lx">
<div class="jzmssj">{{area}} <span class="dwi"></span></div> <div class="jzmssj">{{area}} <span class="dwi"></span></div>
<div class="jzmsms">工程建筑面积</div> <div class="jzmsms">工程建筑面积</div>
</div> </div>
<div class="z_xq_cont_top_lx"> <div class="z_xq_cont_top_lx">
<div class="jzmssj">{{ height }} <span class="dwi">M</span></div> <div class="jzmssj">{{ height }} <span class="dwi">M</span></div>
<div class="jzmsms">建筑高度</div> <div class="jzmsms">建筑高度</div>
</div> </div>
</div> </div>
</div> </div>
<div style="width: 70%;"> <div style="width: 70%;">
<div class="content ql-editor" style="text-align: center;"> <div class="content ql-editor" style="text-align: center;">
<div class="name">{{ name }}</div> <div class="name">{{ name }}</div>
<div class="top-box"> <div class="top-box">
<!-- <div class="date">{{time}}</div> --> <!-- <div class="date">{{time}}</div> -->
</div> </div>
<div class="divider"></div> <div class="divider"></div>
<div class="cont" v-html="content"></div> <div class="cont" v-html="content"></div>
</div> </div>
<div class="con"> <div class="con">
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { projectdetail } from '@/api'; import {
export default{ projectdetail
data(){ } from '@/api';
return{ export default {
name:'', data() {
content:'', return {
time:'', name: '',
area:'', content: '',
height:'' time: '',
} area: '',
}, height: ''
methods:{ }
},
methods: {
}, },
mounted(){ mounted() {
projectdetail(this.$route.query).then((res)=>{ projectdetail(this.$route.query).then((res) => {
this.content=res.data.particulars this.content = res.data.particulars
this.name=res.data.name this.name = res.data.name
this.time=res.data.completeTime this.time = res.data.completeTime
this.area=res.data.area this.area = res.data.area
this.height=res.data.height this.height = res.data.height
}) })
}, },
} }
</script> </script>
<style scoped> <style scoped>
.divider { .divider {
width: 100%; width: 100%;
height: 3px; height: 3px;
background-color: #0059a7; background-color: #0059a7;
position: static; position: static;
margin-bottom: 28px; margin-bottom: 28px;
} }
.name {
font-size: 30px; .name {
color: #0007a9; font-size: 30px;
color: rgba(0, 7, 169, .8); color: #0007a9;
line-height: 36px; color: rgba(0, 7, 169, .8);
} line-height: 36px;
.news_d { }
padding: 60px 0 90px;
overflow: hidden; .news_d {
} padding: 60px 0 0px;
.Wrapper { overflow: hidden;
position: relative; }
background-color: #fff;
z-index: 100; .Wrapper {
} position: relative;
/* .news_d .name { background-color: #fff;
z-index: 100;
}
/* .news_d .name {
font-size: 30px; font-size: 30px;
color: #0007a9; color: #0007a9;
color: rgba(0, 7, 169, .8); color: rgba(0, 7, 169, .8);
line-height: 36px; line-height: 36px;
} */ } */
::v-deep .el-tabs__item { ::v-deep .el-tabs__item {
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
border: none; border: none;
} }
::v-deep .el-tabs__nav-wrap::after { ::v-deep .el-tabs__nav-wrap::after {
background-color: transparent; background-color: transparent;
} }
.news_d .con p {
font-size: 14.5px; .news_d .con p {
color: #8e8e95; font-size: 14.5px;
line-height: 26px; color: #8e8e95;
margin-bottom: 26px; line-height: 26px;
text-align: justify; margin-bottom: 26px;
} text-align: justify;
}
.compbg { .compbg {
background-image: url('../assets/images/banner.png'); background-image: url('../assets/images/banner.png');
} }
.page_ban { .page_ban {
height: 404px; height: 404px;
position: relative; position: relative;
text-align: center; text-align: center;
z-index: 101; z-index: 101;
} }
.page_ban .img { .page_ban .img {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-size: cover; background-size: cover;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
z-index: -1; z-index: -1;
} }
.top-box{
margin: 16px 0 30px;
}
.date{
font-size: 26px; .top-box {
color: #dfd4c3; margin: 16px 0 30px;
line-height: 1; }
bottom: 20px; .date {
padding: 0 30px;
width: 100%;
}
.page_ban .content {
position: relative;
height: 100%;
}
.content {
width: 86%;
margin: 0 auto;
}
.page_nav { font-size: 26px;
width: 100%; color: #dfd4c3;
position: absolute; line-height: 1;
left: 0;
bottom: 0;
}
div,
li {
box-sizing: border-box;
}
.page_nav .name { bottom: 20px;
float: left; padding: 0 30px;
} width: 100%;
}
.page_nav .list { .page_ban .content {
position: relative; position: relative;
float: right; height: 100%;
margin-right: -35px; }
}
.page_nav a { .content {
float: left; width: 86%;
line-height: 76px; margin: 0 auto;
position: relative; }
font-size: 14.5px;
color: white; .page_nav {
font-weight: bold; width: 100%;
text-decoration: none; position: absolute;
} left: 0;
bottom: 0;
}
.page_nav .name a { div,
padding-left: 30px; li {
/* background: url() no-repeat left 30px; */ box-sizing: border-box;
} }
.page_nav .list { .page_nav .name {
position: relative; float: left;
float: right; }
margin-right: -35px;
}
.page_nav .list a { .page_nav .list {
color: #e7dfd2; position: relative;
color: rgba(231, 223, 210, .7); float: right;
margin-right: 35px; margin-right: -35px;
} }
.page_nav a { .page_nav a {
float: left; float: left;
line-height: 76px; line-height: 76px;
position: relative; position: relative;
font-size: 14.5px; font-size: 14.5px;
color: rgba(255, 255, 255, 0.8); color: white;
font-weight: bold; font-weight: bold;
} text-decoration: none;
.z_xq_cont_top_lt { }
font-size: 25px;
color: #000000;
margin-top: 55px;
font-weight: bold;
}
.z_xq_cont_top_ls {
font-size: 20px;
color: #263d8f;
margin: 20px 0;
}
.z_xq_cont_top_lc {
overflow: hidden;
}
.z_xq_cont_top_lc img {
-webkit-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
border: 0;
}
.z_xq_cont_top_lx {
height: 88px;
border-left: 1px solid #CCCCCC;
padding-left: 10px;
margin-top: 50px;
}
.z_xq_cont_top_lx .jzmssj {
font-size: 46px;
color: #263d8f;
font-weight: 100;
line-height: 52px;
}
.z_xq_cont_top_lx .jzmssj .dwi {
font-size: 14px;
color: #666666;
}
.cont{
width: 70%;
margin: 0 auto;
}
.cont >>> img{
max-width:500px;
}
.page_nav .name a {
padding-left: 30px;
/* background: url() no-repeat left 30px; */
}
.page_nav .list {
position: relative;
float: right;
margin-right: -35px;
}
.page_nav .list a {
color: #e7dfd2;
color: rgba(231, 223, 210, .7);
margin-right: 35px;
}
.page_nav a {
float: left;
line-height: 76px;
position: relative;
font-size: 14.5px;
color: rgba(255, 255, 255, 0.8);
font-weight: bold;
}
.z_xq_cont_top_lt {
font-size: 25px;
color: #000000;
margin-top: 55px;
font-weight: bold;
}
.z_xq_cont_top_ls {
font-size: 20px;
color: #263d8f;
margin: 20px 0;
}
.z_xq_cont_top_lc {
overflow: hidden;
}
.z_xq_cont_top_lc img {
-webkit-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
border: 0;
}
.z_xq_cont_top_lx {
height: 88px;
border-left: 1px solid #CCCCCC;
padding-left: 10px;
margin-top: 50px;
}
.z_xq_cont_top_lx .jzmssj {
font-size: 46px;
color: #263d8f;
font-weight: 100;
line-height: 52px;
}
.z_xq_cont_top_lx .jzmssj .dwi {
font-size: 14px;
color: #666666;
}
.cont {
display: flex;
width: 100%;
}
.cont>>>img {
width: 100%;
}
</style> </style>