12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <template>
- <div class="main1">
- <div class="main-top2">
- <div class="FengXianDIV1">
- <span class="pr15 pl15" style="font-weight: bold">{{ title }}</span>
- </div>
- <div class="GeneralSelectDiv1">
- <ul class="productsuse inlineblock vm"></ul>
- </div>
- <div class="clearboth"></div>
- </div>
- </div>
- </template>
- <script>
- import { mapGetters, mapState } from 'vuex'
- export default {
- data() {
- return {
-
- title: undefined,
-
-
-
- docList: [],
-
-
-
- currentMenu: {},
-
- type: undefined,
-
-
-
- routeId: undefined,
-
-
- }
- },
- computed: {
- ...mapState(['settings']),
- ...mapGetters(['sidebarRouters', 'sidebar'])
- },
- watch: {
-
- $route: {
- handler: function (route) {
- this.routeId = route.query.id
- this.init(this.routeId)
- },
-
- immediate: true
-
- }
- },
- methods: {
-
- init(routeId) {
-
- console.log(this.sidebarRouters)
- },
- },
- }
- </script>
- <style>
- .main1 {
- min-height: calc(100vh - 73px);
- padding: 10px 10px 0 10px;
- box-shadow: #dac488 0px 0px 14px inset;
-
-
- background-color: #000;
- }
- .main-top2 {
- position: relative;
- height: 60px;
- border-bottom: 2px solid #ffeb9c;
- width: 100%;
- }
- .FengXianDIV1 {
- height: 60px;
- line-height: 60px;
- text-align: center;
- border-top-left-radius: 6px;
- border-top-right-radius: 6px;
- background-color: #ffeb9c;
- min-width: 150px;
- float: left;
- }
- </style>
|