城阳pc工作端前端代码
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.

85 lines
1.3 KiB

3 years ago
<template>
<div>
<div class="m-bread">
<div class="g-line">
<div class="line-left"></div>
<div class="line-right"></div>
</div>
<div class="g-bread">
<el-breadcrumb :separator="separator">
<el-breadcrumb-item v-for="item in breadList"
:key="item.path"
:to="{ path: item.path }">
{{ item.meta.title }}
</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div class="g-line">
<div class="line-left"></div>
<div class="line-right"></div>
</div>
</div>
</div>
</template>
<script>
import ScreenLoading from "./loading";
import { mapGetters } from 'vuex'
export default {
name: "table",
components: {
ScreenLoading,
},
props: {
//分隔符
separator: {
type: String,
default: '/'
},
//面包屑列表
breadList: {
type: Array,
default: () => {
return [];
},
},
},
data () {
return {
pageSize: 10,
pageNo: 1,
};
},
watch: {},
computed: {
...mapGetters(['clientHeight', 'iframeHeight'])
},
mounted () { },
created () { },
methods: {
},
};
</script>
<style
lang="scss"
src="@/assets/scss/dataBoard/bread.scss"
scoped
></style>
<style lang="scss" scoped>
</style>