File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
DiyEditor/components/mobile/NavigationBar Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 29
29
<ColorInput v-model =" formData.bgColor" />
30
30
</el-form-item >
31
31
<el-form-item label =" 背景图片" prop =" bgImg" v-else >
32
- <UploadImg v-model =" formData.bgImg" :limit =" 1" width =" 56px" height =" 56px" />
32
+ <div class =" flex items-center" >
33
+ <UploadImg v-model =" formData.bgImg" :limit =" 1" width =" 56px" height =" 56px" />
34
+ <span class =" text-xs text-gray-400 ml-2 mb-2" >建议宽度:750</span >
35
+ </div >
33
36
</el-form-item >
34
37
<el-card class =" property-group" shadow =" never" >
35
38
<template #header >
39
42
<el-checkbox
40
43
v-model =" formData._local.previewMp"
41
44
@change =" formData._local.previewOther = !formData._local.previewMp"
42
- >预览</el-checkbox
43
45
>
46
+ 预览
47
+ </el-checkbox >
44
48
</el-form-item >
45
49
</div >
46
50
</template >
54
58
<el-checkbox
55
59
v-model =" formData._local.previewOther"
56
60
@change =" formData._local.previewMp = !formData._local.previewOther"
57
- >预览</el-checkbox
58
61
>
62
+ 预览
63
+ </el-checkbox >
59
64
</el-form-item >
60
65
</div >
61
66
</template >
Original file line number Diff line number Diff line change 35
35
>
36
36
<!-- 右上角热区删除按钮 -->
37
37
<div
38
- v-if =" selectedHotAreaIndex === index"
38
+ v-if =" selectedHotAreaIndex === index && hotArea.width && hotArea.height "
39
39
class =" btn-delete"
40
40
@click =" handleDeleteHotArea(index)"
41
41
>
42
42
<Icon icon =" ep:circle-close-filled" />
43
43
</div >
44
- {{ `${hotArea.width}×${hotArea.height}` }}
44
+ < span v-if = " hotArea.width " > {{ `${hotArea.width}×${hotArea.height}` }}</ span >
45
45
</div >
46
46
</table >
47
47
</div >
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
478
478
title : '模板装修' ,
479
479
noCache : true ,
480
480
hidden : true ,
481
- activeMenu : '/mall/promotion/diy/ template'
481
+ activeMenu : '/mall/promotion/diy-template/diy- template'
482
482
} ,
483
483
component : ( ) => import ( '@/views/mall/promotion/diy/template/decorate.vue' )
484
484
} ,
@@ -489,7 +489,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
489
489
title : '页面装修' ,
490
490
noCache : true ,
491
491
hidden : true ,
492
- activeMenu : '/mall/promotion/diy/ page'
492
+ activeMenu : '/mall/promotion/diy-template/diy- page'
493
493
} ,
494
494
component : ( ) => import ( '@/views/mall/promotion/diy/page/decorate.vue' )
495
495
}
You can’t perform that action at this time.
0 commit comments