diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
index 171fab38..e195013b 100644
--- a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
+++ b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
@@ -58,11 +58,11 @@
渐变角度:
updateGradient({ rotate: value })"
/>
@@ -333,4 +333,7 @@ export default defineComponent({
height: 3px;
margin-top: 1px;
}
+.slider {
+ flex: 3;
+}
\ No newline at end of file
diff --git a/src/views/Editor/Toolbar/SlideDesignPanel.vue b/src/views/Editor/Toolbar/SlideDesignPanel.vue
index 435521f4..ad11f397 100644
--- a/src/views/Editor/Toolbar/SlideDesignPanel.vue
+++ b/src/views/Editor/Toolbar/SlideDesignPanel.vue
@@ -83,11 +83,11 @@
渐变角度:
updateBackground({ gradientRotate: value })"
/>
@@ -459,4 +459,7 @@ export default defineComponent({
margin-top: 5px;
}
}
+.slider {
+ flex: 3;
+}
\ No newline at end of file
diff --git a/src/views/Editor/Toolbar/common/ElementShadow.vue b/src/views/Editor/Toolbar/common/ElementShadow.vue
index 6494af3d..eff4e90a 100644
--- a/src/views/Editor/Toolbar/common/ElementShadow.vue
+++ b/src/views/Editor/Toolbar/common/ElementShadow.vue
@@ -10,34 +10,34 @@
水平阴影:
updateShadow({ h: value })"
- style="flex: 3;"
+ @change="value => updateShadow({ h: value })"
/>
垂直阴影:
updateShadow({ v: value })"
- style="flex: 3;"
+ @change="value => updateShadow({ v: value })"
/>
模糊距离:
updateShadow({ blur: value })"
- style="flex: 3;"
+ @change="value => updateShadow({ blur: value })"
/>
@@ -124,4 +124,7 @@ export default defineComponent({
.switch-wrapper {
text-align: right;
}
+.slider {
+ flex: 3;
+}
\ No newline at end of file