mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-02-23 06:37:01 +00:00
tabs优化
This commit is contained in:
@@ -43,6 +43,7 @@ const removeHistoryTab = path => {
|
||||
<el-tabs
|
||||
v-bind="$attrs"
|
||||
v-model="currentTabValue"
|
||||
class="common-tabs"
|
||||
type="card"
|
||||
:closable="tabsViewStore.historyTabs.length>1"
|
||||
@tab-change="selectHistoryTab"
|
||||
@@ -57,5 +58,10 @@ const removeHistoryTab = path => {
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.common-tabs > .el-tabs__content {
|
||||
padding: 32px;
|
||||
color: #6b778c;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user