|
@@ -16,17 +16,17 @@
|
|
|
<div class="header-flow">占位</div>
|
|
<div class="header-flow">占位</div>
|
|
|
|
|
|
|
|
<div class="header-tabs">
|
|
<div class="header-tabs">
|
|
|
- <tabs :tabs="tabs" :tab-active-key="tabActiveKey" @change="handleChangeTabActiveKey">
|
|
|
|
|
|
|
+ <bs-tabs :tabs="tabs" :tab-active-key="tabActiveKey" @change="handleChangeTabActiveKey">
|
|
|
<template v-for="tab in tabs" #[tab.slotName]>
|
|
<template v-for="tab in tabs" #[tab.slotName]>
|
|
|
<slot :name="tab.slotName"></slot>
|
|
<slot :name="tab.slotName"></slot>
|
|
|
</template>
|
|
</template>
|
|
|
- </tabs>
|
|
|
|
|
|
|
+ </bs-tabs>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
- import Tabs from './tabs/index.vue';
|
|
|
|
|
|
|
+ import { BsTabs } from '/@/components/BsUi/index.js';
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
sceneType: {
|
|
sceneType: {
|
|
|
required: false,
|
|
required: false,
|
|
@@ -88,7 +88,8 @@
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
:deep(.ant-tabs-nav-wrap) {
|
|
:deep(.ant-tabs-nav-wrap) {
|
|
|
- padding: 0 20px;
|
|
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ padding: 0 30px;
|
|
|
}
|
|
}
|
|
|
:deep(.ant-tabs-nav) {
|
|
:deep(.ant-tabs-nav) {
|
|
|
margin: 0 0 10px 0;
|
|
margin: 0 0 10px 0;
|