diff --git a/src/components/DiyEditor/components/mobile/NavigationBar/index.vue b/src/components/DiyEditor/components/mobile/NavigationBar/index.vue index c684aee71..54ad820a2 100644 --- a/src/components/DiyEditor/components/mobile/NavigationBar/index.vue +++ b/src/components/DiyEditor/components/mobile/NavigationBar/index.vue @@ -28,10 +28,13 @@ const props = defineProps<{ property: NavigationBarProperty }>() // 背景 const bgStyle = computed(() => { - const background = + let background = props.property.bgType === 'img' && props.property.bgImg ? `url(${props.property.bgImg}) no-repeat top center / 100% 100%` : props.property.bgColor + if (!background && props.property.styleType === 'inner') { + background = 'transparent' + } return { background } }) // 单元格列表 diff --git a/src/components/DiyEditor/index.vue b/src/components/DiyEditor/index.vue index 700d32bd5..6bf64a7a3 100644 --- a/src/components/DiyEditor/index.vue +++ b/src/components/DiyEditor/index.vue @@ -34,20 +34,6 @@
- -
- - - - -
- + +
+ + + + +
+