File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
DiyEditor/components/mobile Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 29
29
:key =" appLinkIndex"
30
30
:content =" appLink.path"
31
31
placement =" bottom"
32
+ :show-after =" 300"
32
33
>
33
34
<el-button
34
35
class =" m-b-8px m-r-8px m-l-0px!"
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const emit = defineEmits<{
37
37
' update:modelValue' : [link : string ]
38
38
}>()
39
39
watch (
40
- () => appLink ,
40
+ () => appLink . value ,
41
41
() => emit (' update:modelValue' , appLink .value )
42
42
)
43
43
</script >
Original file line number Diff line number Diff line change 28
28
<!-- 标题 -->
29
29
<span
30
30
v-if =" property.layout === 'iconText'"
31
- class =" text-14px "
31
+ class =" text-12px "
32
32
:style =" {
33
33
color: item.titleColor,
34
34
height: `${TITLE_HEIGHT}px`,
@@ -51,7 +51,7 @@ const props = defineProps<{ property: MenuSwiperProperty }>()
51
51
// 标题的高度
52
52
const TITLE_HEIGHT = 20
53
53
// 图标的高度
54
- const ICON_SIZE = 50
54
+ const ICON_SIZE = 42
55
55
// 垂直间距:一行上下的间距
56
56
const SPACE_Y = 16
57
57
Original file line number Diff line number Diff line change 23
23
</el-form-item >
24
24
25
25
<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) " >
27
27
<template #default =" { element } " >
28
28
<el-form-item label =" 图标" prop =" iconUrl" >
29
29
<UploadImg v-model =" element.iconUrl" height =" 80px" width =" 80px" >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<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" />
4
4
<div class =" absolute left-0 top-0 w-full" >
5
5
<!-- 标题 -->
6
6
<div
You can’t perform that action at this time.
0 commit comments