Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
415baa07
authored
Apr 30, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:【商城】店铺装修-顶部导航,增加背景图片 750px 提示
parent
ef90faf7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
src/components/DiyEditor/components/mobile/NavigationBar/property.vue
+7
-2
src/components/MagicCubeEditor/index.vue
+2
-2
src/router/modules/remaining.ts
+2
-2
No files found.
src/components/DiyEditor/components/mobile/NavigationBar/property.vue
View file @
415baa07
...
@@ -29,7 +29,10 @@
...
@@ -29,7 +29,10 @@
<ColorInput
v-model=
"formData.bgColor"
/>
<ColorInput
v-model=
"formData.bgColor"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"背景图片"
prop=
"bgImg"
v-else
>
<el-form-item
label=
"背景图片"
prop=
"bgImg"
v-else
>
<div
class=
"flex items-center"
>
<UploadImg
v-model=
"formData.bgImg"
:limit=
"1"
width=
"56px"
height=
"56px"
/>
<UploadImg
v-model=
"formData.bgImg"
:limit=
"1"
width=
"56px"
height=
"56px"
/>
<span
class=
"text-xs text-gray-400 ml-2 mb-2"
>
建议宽度:750
</span>
</div>
</el-form-item>
</el-form-item>
<el-card
class=
"property-group"
shadow=
"never"
>
<el-card
class=
"property-group"
shadow=
"never"
>
<template
#
header
>
<template
#
header
>
...
@@ -39,8 +42,9 @@
...
@@ -39,8 +42,9 @@
<el-checkbox
<el-checkbox
v-model=
"formData._local.previewMp"
v-model=
"formData._local.previewMp"
@
change=
"formData._local.previewOther = !formData._local.previewMp"
@
change=
"formData._local.previewOther = !formData._local.previewMp"
>
预览
</el-checkbox
>
>
预览
</el-checkbox>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
...
@@ -54,8 +58,9 @@
...
@@ -54,8 +58,9 @@
<el-checkbox
<el-checkbox
v-model=
"formData._local.previewOther"
v-model=
"formData._local.previewOther"
@
change=
"formData._local.previewMp = !formData._local.previewOther"
@
change=
"formData._local.previewMp = !formData._local.previewOther"
>
预览
</el-checkbox
>
>
预览
</el-checkbox>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/MagicCubeEditor/index.vue
View file @
415baa07
...
@@ -35,13 +35,13 @@
...
@@ -35,13 +35,13 @@
>
>
<!-- 右上角热区删除按钮 -->
<!-- 右上角热区删除按钮 -->
<div
<div
v-if=
"selectedHotAreaIndex === index"
v-if=
"selectedHotAreaIndex === index
&& hotArea.width && hotArea.height
"
class=
"btn-delete"
class=
"btn-delete"
@
click=
"handleDeleteHotArea(index)"
@
click=
"handleDeleteHotArea(index)"
>
>
<Icon
icon=
"ep:circle-close-filled"
/>
<Icon
icon=
"ep:circle-close-filled"
/>
</div>
</div>
{{
`${hotArea.width
}
×${hotArea.height
}
`
}}
<span
v-if=
"hotArea.width"
>
{{
`${hotArea.width
}
×${hotArea.height
}
`
}}
<
/span
>
<
/div
>
<
/div
>
<
/table
>
<
/table
>
<
/div
>
<
/div
>
...
...
src/router/modules/remaining.ts
View file @
415baa07
...
@@ -478,7 +478,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -478,7 +478,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
title
:
'模板装修'
,
title
:
'模板装修'
,
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
activeMenu
:
'/mall/promotion/diy
/
template'
activeMenu
:
'/mall/promotion/diy
-template/diy-
template'
},
},
component
:
()
=>
import
(
'@/views/mall/promotion/diy/template/decorate.vue'
)
component
:
()
=>
import
(
'@/views/mall/promotion/diy/template/decorate.vue'
)
},
},
...
@@ -489,7 +489,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -489,7 +489,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
title
:
'页面装修'
,
title
:
'页面装修'
,
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
activeMenu
:
'/mall/promotion/diy
/
page'
activeMenu
:
'/mall/promotion/diy
-template/diy-
page'
},
},
component
:
()
=>
import
(
'@/views/mall/promotion/diy/page/decorate.vue'
)
component
:
()
=>
import
(
'@/views/mall/promotion/diy/page/decorate.vue'
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment