|
|
@ -2,16 +2,8 @@
|
|
|
|
<div class="containerbody">
|
|
|
|
<div class="containerbody">
|
|
|
|
<!-- 目录 -->
|
|
|
|
<!-- 目录 -->
|
|
|
|
<div class="containerhead">
|
|
|
|
<div class="containerhead">
|
|
|
|
<el-menu
|
|
|
|
<el-menu :default-active="activeSection" mode="horizontal" @select="scrollToSection" class="custom-menu">
|
|
|
|
:default-active="activeSection"
|
|
|
|
<el-menu-item v-for="(item, index) in sections" :key="index" :index="item.id" class="custom-menu-item">
|
|
|
|
mode="horizontal"
|
|
|
|
|
|
|
|
@select="scrollToSection"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-menu-item
|
|
|
|
|
|
|
|
v-for="(item, index) in sections"
|
|
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
|
|
:index="item.id"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{{ item.label }}
|
|
|
|
{{ item.label }}
|
|
|
|
</el-menu-item>
|
|
|
|
</el-menu-item>
|
|
|
|
</el-menu>
|
|
|
|
</el-menu>
|
|
|
@ -30,16 +22,18 @@
|
|
|
|
<Companyenter id="companyenter"></Companyenter>
|
|
|
|
<Companyenter id="companyenter"></Companyenter>
|
|
|
|
<!-- 项目画像 -->
|
|
|
|
<!-- 项目画像 -->
|
|
|
|
<Projectpicture id="projectpicture"></Projectpicture>
|
|
|
|
<Projectpicture id="projectpicture"></Projectpicture>
|
|
|
|
|
|
|
|
<!-- 项目图例 -->
|
|
|
|
|
|
|
|
<Projectpicturetwo id="projectpicturetwo"></Projectpicturetwo>
|
|
|
|
<!-- 项目巡礼 -->
|
|
|
|
<!-- 项目巡礼 -->
|
|
|
|
<Projectgift id="projectgift"></Projectgift>
|
|
|
|
<Projectgift id="projectgift"></Projectgift>
|
|
|
|
<!-- 现场实况 -->
|
|
|
|
<!-- 现场实况 -->
|
|
|
|
<Liver id="liver"></Liver>
|
|
|
|
<Liver id="liver"></Liver>
|
|
|
|
<!-- 项目备忘录 -->
|
|
|
|
<!-- 项目备忘录 -->
|
|
|
|
<Memo id="memo"></Memo>
|
|
|
|
<Memo id="memo"></Memo>
|
|
|
|
|
|
|
|
<!-- 其他信息 -->
|
|
|
|
<el-backtop
|
|
|
|
<Memo id="others"></Memo>
|
|
|
|
target="body">
|
|
|
|
<!-- 返回顶部 -->
|
|
|
|
</el-backtop>
|
|
|
|
<!-- <el-backtop target=".backtop"></el-backtop> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -54,6 +48,7 @@ import Months from '../../components/ProjectDetails/Months.vue';
|
|
|
|
import Programme from '../../components/ProjectDetails/Programme.vue';
|
|
|
|
import Programme from '../../components/ProjectDetails/Programme.vue';
|
|
|
|
import Projectgift from '../../components/ProjectDetails/Projectgift.vue';
|
|
|
|
import Projectgift from '../../components/ProjectDetails/Projectgift.vue';
|
|
|
|
import Projectpicture from '../../components/ProjectDetails/Projectpicture.vue';
|
|
|
|
import Projectpicture from '../../components/ProjectDetails/Projectpicture.vue';
|
|
|
|
|
|
|
|
import Projectpicturetwo from '../../components/ProjectDetails/Projectpicturetwo.vue';
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -66,7 +61,8 @@ export default {
|
|
|
|
Months,
|
|
|
|
Months,
|
|
|
|
Programme,
|
|
|
|
Programme,
|
|
|
|
Projectgift,
|
|
|
|
Projectgift,
|
|
|
|
Projectpicture
|
|
|
|
Projectpicture,
|
|
|
|
|
|
|
|
Projectpicturetwo
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -79,9 +75,11 @@ export default {
|
|
|
|
{ id: 'months', label: '月度进展信息' },
|
|
|
|
{ id: 'months', label: '月度进展信息' },
|
|
|
|
{ id: 'companyenter', label: '企业入驻信息' },
|
|
|
|
{ id: 'companyenter', label: '企业入驻信息' },
|
|
|
|
{ id: 'projectpicture', label: '项目画像' },
|
|
|
|
{ id: 'projectpicture', label: '项目画像' },
|
|
|
|
|
|
|
|
{ id: 'projectpicturetwo', label: '项目图例' },
|
|
|
|
{ id: 'projectgift', label: '项目巡礼' },
|
|
|
|
{ id: 'projectgift', label: '项目巡礼' },
|
|
|
|
{ id: 'liver', label: '现场实况' },
|
|
|
|
{ id: 'liver', label: '现场实况' },
|
|
|
|
{ id: 'memo', label: '项目备忘录' }
|
|
|
|
{ id: 'memo', label: '项目备忘录' },
|
|
|
|
|
|
|
|
{ id: 'others', label: '其他信息' }
|
|
|
|
]
|
|
|
|
]
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -102,10 +100,11 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
<style scoped>
|
|
|
|
.containerbody {
|
|
|
|
.containerbody {
|
|
|
|
|
|
|
|
height: auto;
|
|
|
|
padding: .3rem .5rem;
|
|
|
|
padding: .3rem .5rem;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2rem;
|
|
|
|
gap: 1rem;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -119,4 +118,42 @@ export default {
|
|
|
|
box-shadow: 0rem 0.13rem 0.63rem 0rem rgba(177, 177, 177, 0.1);
|
|
|
|
box-shadow: 0rem 0.13rem 0.63rem 0rem rgba(177, 177, 177, 0.1);
|
|
|
|
border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
|
|
|
|
border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.custom-menu {
|
|
|
|
|
|
|
|
margin: 1rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.custom-menu-item {
|
|
|
|
|
|
|
|
color: #3D424C;
|
|
|
|
|
|
|
|
width: 7.25rem;
|
|
|
|
|
|
|
|
height: 2rem;
|
|
|
|
|
|
|
|
background: #F4F7FE;
|
|
|
|
|
|
|
|
border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 高亮 */
|
|
|
|
|
|
|
|
.custom-menu-item.is-active {
|
|
|
|
|
|
|
|
background-color: #2B62F1;
|
|
|
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 悬停 */
|
|
|
|
|
|
|
|
.custom-menu-item:hover {
|
|
|
|
|
|
|
|
background-color: #2B62F1;
|
|
|
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 默认的下划线 */
|
|
|
|
|
|
|
|
.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,
|
|
|
|
|
|
|
|
.el-menu--horizontal .el-menu-item:not(.is-disabled):hover {
|
|
|
|
|
|
|
|
background-color: #2B62F1;
|
|
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|