-
ShadcnDivider - 液态玻璃效果
-
+
ShadcnTable - 液态玻璃效果
+
-
-
-
基础分割线
-
-
-
-
带文字分割线
-
-
-
-
-
虚线样式
-
-
-
+
@@ -41,7 +29,26 @@
\ No newline at end of file
+
+const columns = [
+ { label: 'Name', key: 'name', width: 150 },
+ { label: 'Email', key: 'email', width: 200 },
+ { label: 'Role', key: 'role', width: 120 },
+ { label: 'Status', key: 'status', width: 100 },
+ { label: 'Action', key: 'action', width: 150 }
+]
+
+const tableData = [
+ { name: 'John Doe', email: 'john@example.com', role: 'Admin', status: 'Active', action: 'Edit' },
+ { name: 'Jane Smith', email: 'jane@example.com', role: 'User', status: 'Active', action: 'Edit' },
+ { name: 'Bob Johnson', email: 'bob@example.com', role: 'User', status: 'Inactive', action: 'Edit' },
+ { name: 'Alice Williams', email: 'alice@example.com', role: 'Manager', status: 'Active', action: 'Edit' },
+ { name: 'Charlie Brown', email: 'charlie@example.com', role: 'User', status: 'Active', action: 'Edit' },
+ { name: 'David Lee', email: 'david@example.com', role: 'Admin', status: 'Inactive', action: 'Edit' },
+ { name: 'Emma Davis', email: 'emma@example.com', role: 'User', status: 'Active', action: 'Edit' },
+ { name: 'Frank Miller', email: 'frank@example.com', role: 'Manager', status: 'Active', action: 'Edit' }
+]
+
diff --git a/src/ui/drawer/ShadcnDrawer.vue b/src/ui/drawer/ShadcnDrawer.vue
index b49e5adc..6463dd27 100644
--- a/src/ui/drawer/ShadcnDrawer.vue
+++ b/src/ui/drawer/ShadcnDrawer.vue
@@ -4,7 +4,7 @@
leave-active-class="transition-opacity duration-300 ease-in-out"
leave-to-class="opacity-0">
-
+
- {{ title }}
+ {{ title }}
@@ -56,12 +66,12 @@
-
@@ -84,13 +94,15 @@ const props = withDefaults(defineProps<{
width?: string | number
height?: string | number
dark?: boolean
+ glass?: boolean
}>(), {
closable: true,
maskClosable: false,
position: 'right',
width: 300,
height: 300,
- dark: false
+ dark: false,
+ glass: false
})
const isVisible = ref(props.modelValue)
diff --git a/src/ui/footer/ShadcnGlobalFooter.vue b/src/ui/footer/ShadcnGlobalFooter.vue
index 65d2afdb..2f1d077c 100644
--- a/src/ui/footer/ShadcnGlobalFooter.vue
+++ b/src/ui/footer/ShadcnGlobalFooter.vue
@@ -1,5 +1,10 @@
-