123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <div>
- <div class="el-tab">
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane label="报表配置" name="tableConfig"></el-tab-pane>
- <el-tab-pane label="报告配置" name="reportConfig"></el-tab-pane>
- <el-tab-pane label="基础信息" name="basicInfo"></el-tab-pane>
- </el-tabs>
- </div>
- <test></test>
- </div>
- </template>
- <script >
- import test from './reportConfig'
- export default {
- components: { test },
- data() {
- return {
- activeName: 'basicInfo',
- }
- },
- methods: {
- }
- };
- </script>
- <style lang="less" scoped>
- .el-tab {
- position: absolute;
- left: 218px;
- right: 16px;
- top: 77px;
- height: 51px;
- line-height: 20px;
- background-color: rgba(255, 255, 255, 1);
- text-align: center;
- box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
- /deep/.el-tabs__nav {
- left: 25px;
- }
- /deep/.el-tabs__nav-wrap::after {
- height: 0;
- }
- }
- </style>
|