diff --git a/src/components/DiyEditor/components/mobile/NavigationBar/index.vue b/src/components/DiyEditor/components/mobile/NavigationBar/index.vue index c684aee71651a543857a77599805259c87fb11bb..54ad820a25fe96e8db810ce7786786e414411704 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 700d32bd50321fdc24770ef241bd42718930e0e2..6bf64a7a3f874a5e0dd6e850e8db60665739da92 100644 --- a/src/components/DiyEditor/index.vue +++ b/src/components/DiyEditor/index.vue @@ -34,20 +34,6 @@
- -
- - - - -
- + +
+ + + + +
+