mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-15 11:34:06 +08:00
29 lines
647 B
Vue
29 lines
647 B
Vue
<template>
|
|
<el-tabs type="border-card" class="demo-tabs">
|
|
<el-tab-pane>
|
|
<template #label>
|
|
<span>
|
|
<el-icon><calendar /></el-icon>Route
|
|
</span>
|
|
</template>
|
|
Route
|
|
</el-tab-pane>
|
|
<el-tab-pane label="Config">Config</el-tab-pane>
|
|
<el-tab-pane label="Role">Role</el-tab-pane>
|
|
<el-tab-pane label="Task">Task</el-tab-pane>
|
|
</el-tabs>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { Calendar } from '@element-plus/icons-vue'
|
|
</script>
|
|
<style>
|
|
.demo-tabs > .el-tabs__content {
|
|
padding: 32px;
|
|
background-color: #f4f5f7;
|
|
color: #6b778c;
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
}
|
|
</style>
|