2022-01-06 13:45:51 +08:00
|
|
|
<template>
|
2022-01-06 15:37:44 +08:00
|
|
|
<ContentBox class="go-content-layers go-boderbox" :showTop="false">
|
|
|
|
<n-tabs size="small" type="segment">
|
|
|
|
<n-tab-pane name="chap1" display-directive="show:lazy">
|
|
|
|
<template #tab>
|
|
|
|
<n-space>
|
|
|
|
<span>配置项</span>
|
|
|
|
<n-icon size="16" class="icon-position">
|
|
|
|
<CubeIcon />
|
|
|
|
</n-icon>
|
|
|
|
</n-space>
|
|
|
|
</template>
|
|
|
|
1
|
|
|
|
</n-tab-pane>
|
|
|
|
<n-tab-pane name="chap2" display-directive="show:lazy">
|
|
|
|
<template #tab>
|
|
|
|
<n-space>
|
|
|
|
<span>后端数据</span>
|
|
|
|
<n-icon size="16" class="icon-position">
|
|
|
|
<FlashIcon />
|
|
|
|
</n-icon>
|
|
|
|
</n-space>
|
|
|
|
</template>
|
|
|
|
2
|
|
|
|
</n-tab-pane>
|
|
|
|
</n-tabs>
|
|
|
|
</ContentBox>
|
2022-01-06 13:45:51 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { reactive } from 'vue'
|
|
|
|
import { renderIcon } from '@/utils'
|
|
|
|
import { icon } from '@/plugins'
|
2022-01-06 15:37:44 +08:00
|
|
|
import { ContentBox } from '../ContentBox/index'
|
|
|
|
|
|
|
|
const { CubeIcon, FlashIcon } = icon.ionicons5
|
2022-01-06 13:45:51 +08:00
|
|
|
</script>
|
2022-01-06 15:37:44 +08:00
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
$wight: 400px;
|
|
|
|
@include go(content-layers) {
|
|
|
|
width: $wight;
|
|
|
|
padding: 10px;
|
|
|
|
.icon-position {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2022-01-06 13:45:51 +08:00
|
|
|
</style>
|