viewOption.vue
1.02 KB
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="view-option">
<div class="menu-info">
<span class="info" v-if="activeRoute.meta">
{{ titleCase(activeRoute.meta.title.toLowerCase()) }}
</span>
</div>
</div>
</template>
<script>
import { mapGetters } from "vuex";
export default {
name: "view-option",
props: {
activeRoute: {
type: Object,
default: null,
},
},
data() {
return {
optionData: {},
};
},
computed: {
...mapGetters(["deliveryNo"]),
},
created() {
// console.log(this.activeRoute, "activeRoute");
},
};
</script>
<style lang="scss" scoped>
@import "~@/assets/styles/variables.scss";
.view-option {
width: 100%;
height: 50px;
line-height: 40px;
font-size: 0.88rem;
border-bottom: 1px solid $fedexBorder;
background-color: #fff;
z-index: 999;
}
.menu-info {
height: 50px;
line-height: 50px;
font-size: 0.88rem;
border-bottom: 1px solid $fedexBorder;
background-color: #fff;
margin-left: 230px;
.info {
font-weight: 600;
}
}
</style>