1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<template>
<div class="d-page d-flex flex-column">
<title-bar title="企业时光轴" @clickLef="onClick">
<van-icon slot="left" name="cross" size="24" />
</title-bar>
<div class="information-container h-scroller flex-1-dhc">
<van-index-bar highlight-color="#F79400" :index-list="indexList">
<van-index-anchor index="2018">
<sub-title>2018</sub-title>
<van-step>
<li slot="active-icon"></li>
<li slot="inactive-icon"></li>
<li slot="finish-icon"></li>
</van-step>
</van-index-anchor>
<EnterpriseTimeline></EnterpriseTimeline>
<van-index-anchor index="2019">
<sub-title>2019</sub-title>
</van-index-anchor>
<EnterpriseTimeline></EnterpriseTimeline>
</van-index-bar>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import TitleBar from "@/components/general/TitleBar.vue";
import EnterpriseTimeline from "@/views/customer-mgt/EnterpriseTimeline.vue";
/**
* @Description:企业时光轴
* @author pd
* @date 2021-11-06 16:41:00
*/
@Component({
name: "CompanyTimeLine",
components: { TitleBar, EnterpriseTimeline },
})
export default class CompanyTimeLine extends Vue {
pageTitle = ""; // 页面标题
indexList = ["2018", "2019"];
onClick() {
console.log(111111);
}
mounted() {
this.pageTitle = this.$route.meta?.name;
console.log(111);
}
activated() {}
}
</script>
<style scoped>
span {
color: #999999;
font-size: 16px;
}
.area {
}
</style>