You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
184 lines
3.8 KiB
184 lines
3.8 KiB
<template>
|
|
<div class="left-wai-box">
|
|
|
|
<div class="left-box rightleft">
|
|
<div class="left-bg">
|
|
<div class="bgt"></div>
|
|
</div>
|
|
<div class="activity-left-box">
|
|
<div class="activity-tab">
|
|
<el-tabs v-model="activeName" @tab-click="handleClick" :stretch="true">
|
|
<el-tab-pane label="预案查看" name="first" />
|
|
<el-tab-pane label="活动历史档案" name="second" />
|
|
<el-tab-pane label="活动纪要" name="third" />
|
|
</el-tabs>
|
|
</div>
|
|
<div class="activity-info">
|
|
<div class="activity-items" v-for="item in 6" @click="lookMapHu">
|
|
<div>重大活动预案</div>
|
|
<i class="el-icon-arrow-right"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Maphuodongxxiangdialog ref="Maphuodongxxiangdialog"></Maphuodongxxiangdialog>
|
|
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import Maphuodongxxiangdialog from "@/views/components/Maphuodongxxiangdialog/index.vue"
|
|
|
|
export default {
|
|
components: { Maphuodongxxiangdialog },
|
|
|
|
name: 'mapLeftContent',
|
|
data() {
|
|
return {
|
|
activeName: "first",
|
|
tableOne: [
|
|
{
|
|
|
|
}
|
|
],
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
handleClick(e) {
|
|
if (this.activeName == "first") {
|
|
} else if (this.activeName == "second") {
|
|
} else if (this.activeName == "third") {
|
|
}
|
|
},
|
|
lookMapHu(){
|
|
this.$refs.Maphuodongxxiangdialog.open("person")
|
|
|
|
}
|
|
},
|
|
mounted() {
|
|
},
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.left-wai-box {
|
|
position: absolute;
|
|
height: 100%;
|
|
top: 0px;
|
|
left: 0px;
|
|
}
|
|
|
|
.left-box {
|
|
height: 100%;
|
|
|
|
|
|
|
|
.left-list-title {
|
|
height: 100%;
|
|
|
|
.Echarts {
|
|
height: 40%;
|
|
width: 100%;
|
|
}
|
|
|
|
.EchartsTop {}
|
|
|
|
.EchartsTopTow {}
|
|
}
|
|
|
|
.activity-left-box {
|
|
padding: 10px 20px;
|
|
height: 100%;
|
|
|
|
::v-deep .el-tabs {
|
|
.el-tabs__header {
|
|
margin: 0;
|
|
|
|
.el-tabs__nav {
|
|
width: 100%;
|
|
}
|
|
|
|
// 默认字体
|
|
.el-tabs__item {
|
|
color: #ffffff;
|
|
font-family: 'Source Han Sans CN--Bold';
|
|
font-size: 20px;
|
|
}
|
|
|
|
// 选中字体
|
|
.el-tabs__item.is-active {
|
|
color: #1890ff; //选中
|
|
opacity: 1;
|
|
font-family: 'Source Han Sans CN--Bold';
|
|
font-size: 20px;
|
|
|
|
|
|
}
|
|
|
|
// 去除下划线
|
|
.el-tabs__nav-wrap::after {
|
|
position: static !important;
|
|
}
|
|
|
|
// 修改下划线颜色
|
|
.el-tabs__active-bar {
|
|
background-color: #1890ff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.activity-info {
|
|
margin: 20px 0px;
|
|
// display: grid;
|
|
// grid-template-columns: 1fr;
|
|
// row-gap: 10px;
|
|
height: calc(100% - 80px);
|
|
overflow: scroll;
|
|
|
|
.activity-items {
|
|
padding: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-radius: 5px;
|
|
background-color: #2d609c;
|
|
height: 60px;
|
|
margin-bottom: 20px;
|
|
cursor: pointer;
|
|
|
|
div {
|
|
color: #fff;
|
|
font-family: 'Source Han Sans CN--Bold';
|
|
font-size: 16px;
|
|
}
|
|
|
|
i {
|
|
color: #fff;
|
|
|
|
font-size: 25px;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
.activity-info::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.activity-info::-webkit-scrollbar {
|
|
-webkit-appearance: none;
|
|
width: 6px;
|
|
height: 3px;
|
|
}
|
|
|
|
.activity-info::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
background: rgba(7, 127, 255, 0.5);
|
|
transition: color 0.2s ease;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
</style> |