@@ -61,4 +68,28 @@ const pr_event = (val: number | undefined) => {
form.value.margin = 0;
emit('update:value', form);
};
+//#region 展开收起
+const icon_data = reactive({
+ name: 'unified',
+ title: '统一'
+});
+const icon_event = (name: string) => {
+ if (name == 'unified') {
+ icon_data.name = 'alone';
+ icon_data.title = '独个';
+ } else {
+ icon_data.name = 'unified';
+ icon_data.title = '统一';
+ }
+}
+//#endregion
+
+
diff --git a/src/components/base/padding/index.vue b/src/components/base/padding/index.vue
index 2eafa172..08180049 100644
--- a/src/components/base/padding/index.vue
+++ b/src/components/base/padding/index.vue
@@ -1,7 +1,14 @@
-
-
-
+
+
+
@@ -61,4 +68,27 @@ const pr_event = (val: number | undefined) => {
form.value.padding = 0;
emit('update:value', form);
};
+//#region 展开收起
+const icon_data = reactive({
+ name: 'unified',
+ title: '统一'
+});
+const icon_event = (name: string) => {
+ if (name == 'unified') {
+ icon_data.name = 'alone';
+ icon_data.title = '独个';
+ } else {
+ icon_data.name = 'unified';
+ icon_data.title = '统一';
+ }
+}
+//#endregion
+
diff --git a/src/components/base/radius/index.vue b/src/components/base/radius/index.vue
index 6dfa592d..fac2353e 100644
--- a/src/components/base/radius/index.vue
+++ b/src/components/base/radius/index.vue
@@ -1,8 +1,15 @@
-
-
-
+
+
+
@@ -78,9 +85,30 @@ const rbr_event = (val: number | undefined) => {
form.value.radius = 0;
emit('update:value', form.value);
};
+//#region 展开收起
+const icon_data = reactive({
+ name: 'unified',
+ title: '统一'
+});
+const icon_event = (name: string) => {
+ if (name == 'unified') {
+ icon_data.name = 'alone';
+ icon_data.title = '独个';
+ } else {
+ icon_data.name = 'unified';
+ icon_data.title = '统一';
+ }
+}
+//#endregion