Skip to content

Commit 80355f3

Browse files
committed
营销:优化商城装修组件
1 parent 33162a1 commit 80355f3

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/components/AppLinkInput/AppLinkSelectDialog.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
:key="appLinkIndex"
3030
:content="appLink.path"
3131
placement="bottom"
32+
:show-after="300"
3233
>
3334
<el-button
3435
class="m-b-8px m-r-8px m-l-0px!"

src/components/AppLinkInput/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const emit = defineEmits<{
3737
'update:modelValue': [link: string]
3838
}>()
3939
watch(
40-
() => appLink,
40+
() => appLink.value,
4141
() => emit('update:modelValue', appLink.value)
4242
)
4343
</script>

src/components/DiyEditor/components/mobile/MenuSwiper/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<!-- 标题 -->
2929
<span
3030
v-if="property.layout === 'iconText'"
31-
class="text-14px"
31+
class="text-12px"
3232
:style="{
3333
color: item.titleColor,
3434
height: `${TITLE_HEIGHT}px`,
@@ -51,7 +51,7 @@ const props = defineProps<{ property: MenuSwiperProperty }>()
5151
// 标题的高度
5252
const TITLE_HEIGHT = 20
5353
// 图标的高度
54-
const ICON_SIZE = 50
54+
const ICON_SIZE = 42
5555
// 垂直间距:一行上下的间距
5656
const SPACE_Y = 16
5757

src/components/DiyEditor/components/mobile/MenuSwiper/property.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</el-form-item>
2424

2525
<el-card header="菜单设置" class="property-group" shadow="never">
26-
<Draggable v-model="formData.list" :empty-item="cloneDeep(EMPTY_MENU_SWIPER_ITEM_PROPERTY">
26+
<Draggable v-model="formData.list" :empty-item="cloneDeep(EMPTY_MENU_SWIPER_ITEM_PROPERTY)">
2727
<template #default="{ element }">
2828
<el-form-item label="图标" prop="iconUrl">
2929
<UploadImg v-model="element.iconUrl" height="80px" width="80px">

src/components/DiyEditor/components/mobile/TitleBar/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="title-bar">
3-
<el-image :src="property.bgImgUrl" fit="cover" class="w-full" />
3+
<el-image v-if="property.bgImgUrl" :src="property.bgImgUrl" fit="cover" class="w-full" />
44
<div class="absolute left-0 top-0 w-full">
55
<!-- 标题 -->
66
<div

0 commit comments

Comments
 (0)