From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 11:46:57 +0800 Subject: [PATCH] 项目初始化 --- components/tabs/Tabs.vue | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/components/tabs/Tabs.vue b/components/tabs/Tabs.vue new file mode 100644 index 0000000..077db9e --- /dev/null +++ b/components/tabs/Tabs.vue @@ -0,0 +1,21 @@ +<template> + <u-tabs :activeStyle="activeStyle" :list="tabs" @change="(tab) => $emit('change', tab)"></u-tabs> +</template> + +<script> +export default { + props: { + tabs: Array + }, + data () { + return { + activeStyle: { + color: '#303133', + fontSize: '20px', + fontWeight: 'bold', + transform: 'scale(1.05)' + } + } + } +} +</script> \ No newline at end of file -- Gitblit v1.9.3