From 55bf797dcc730b37bc691ebab2b51ff9db8ed245 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周二, 06 5月 2025 17:37:23 +0800
Subject: [PATCH] 修改代码样式

---
 HIAWms/web/src/components/BaseContent/BaseContent.tsx |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/HIAWms/web/src/components/BaseContent/BaseContent.tsx b/HIAWms/web/src/components/BaseContent/BaseContent.tsx
new file mode 100644
index 0000000..401a431
--- /dev/null
+++ b/HIAWms/web/src/components/BaseContent/BaseContent.tsx
@@ -0,0 +1,28 @@
+import { defineComponent } from 'vue'
+import styles from './BaseContent.module.scss'
+import Icon from '../Icon/Icon'
+export default defineComponent({
+  name: '绯荤粺閰嶇疆绛塁ontent',
+  props: {
+    title: {
+      type: String,
+      default: '鏍囬',
+    },
+    icon: {
+      type: String,
+      default: '',
+    },
+  },
+  setup(props, { slots }) {
+    return () => (
+      <div class={styles.container}>
+        <div class={styles.header}>
+          <Icon width={22} height={22} icon={props.icon} />
+          <div class={styles.title}>{props.title}</div>
+        </div>
+        <div class={styles.content}>{slots.default?.()}</div>
+        <footer class={styles.footer}>{slots.footer?.()}</footer>
+      </div>
+    )
+  },
+})

--
Gitblit v1.9.3