Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
d9297461
Commit
d9297461
authored
May 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
df7ba96d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
quick-nav.vue
src/components/sallCenter/plugin/quick-nav.vue
+8
-8
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+2
-1
No files found.
src/components/sallCenter/plugin/quick-nav.vue
View file @
d9297461
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-form-item
v-if=
"data.navSwitch == 1"
label=
"使用商城配置"
>
<el-form-item
v-if=
"data.navSwitch == 1"
label=
"使用商城配置"
>
<el-switch
v-model=
"data.useMallConfig"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
<el-switch
v-model=
"data.useMallConfig"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<template
v-if=
"
!
data.useMallConfig && data.navSwitch == 1"
>
<template
v-if=
"data.useMallConfig && data.navSwitch == 1"
>
<el-form-item
label=
"导航样式"
>
<el-form-item
label=
"导航样式"
>
<el-radio
v-model=
"data.navStyle"
:label=
"1"
>
样式1(点击收起)
</el-radio>
<el-radio
v-model=
"data.navStyle"
:label=
"1"
>
样式1(点击收起)
</el-radio>
<el-radio
v-model=
"data.navStyle"
:label=
"2"
>
样式2(全部展示)
</el-radio>
<el-radio
v-model=
"data.navStyle"
:label=
"2"
>
样式2(全部展示)
</el-radio>
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
返回首页
</div>
<div
style=
"margin-bottom: 10px;"
>
返回首页
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.home.opened"
></el-switch>
<el-switch
v-model=
"data.home.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.home.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.home.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(3)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(3)"
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
小程序客服
</div>
<div
style=
"margin-bottom: 10px;"
>
小程序客服
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.customerService.opened"
></el-switch>
<el-switch
v-model=
"data.customerService.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.customerService.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.customerService.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(4)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(4)"
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
一键拨号
</div>
<div
style=
"margin-bottom: 10px;"
>
一键拨号
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.tel.opened"
></el-switch>
<el-switch
v-model=
"data.tel.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.tel.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.tel.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(5)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(5)"
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
网页链接
</div>
<div
style=
"margin-bottom: 10px;"
>
网页链接
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.web.opened"
></el-switch>
<el-switch
v-model=
"data.web.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.web.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.web.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(6)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(6)"
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
跳转小程序
</div>
<div
style=
"margin-bottom: 10px;"
>
跳转小程序
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.mApp.opened"
></el-switch>
<el-switch
v-model=
"data.mApp.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.mApp.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.mApp.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(7)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(7)"
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
地图导航
</div>
<div
style=
"margin-bottom: 10px;"
>
地图导航
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.mapNav.opened"
></el-switch>
<el-switch
v-model=
"data.mapNav.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.mapNav.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.mapNav.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(8)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(8)"
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
<div
class=
"edit-item"
>
<div
class=
"edit-item"
>
<div
style=
"margin-bottom: 10px;"
>
自定义按钮
</div>
<div
style=
"margin-bottom: 10px;"
>
自定义按钮
</div>
<el-form-item
label=
"是否开启"
>
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"data.customize.opened"
></el-switch>
<el-switch
v-model=
"data.customize.opened"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"data.customize.opened"
label=
"图标"
>
<el-form-item
v-if=
"data.customize.opened"
label=
"图标"
>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(9)"
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(9)"
...
...
src/components/sallCenter/templateEdit.vue
View file @
d9297461
...
@@ -1158,7 +1158,7 @@
...
@@ -1158,7 +1158,7 @@
isCked
:
false
,
isCked
:
false
,
data
:
{
data
:
{
navSwitch
:
0
,
//快捷导航开关
navSwitch
:
0
,
//快捷导航开关
useMallConfig
:
tru
e
,
//使用商城配置
useMallConfig
:
fals
e
,
//使用商城配置
navStyle
:
1
,
//导航样式
navStyle
:
1
,
//导航样式
closedPicUrl
:
''
,
//收起图标
closedPicUrl
:
''
,
//收起图标
openedPicUrl
:
''
,
//展开图标
openedPicUrl
:
''
,
//展开图标
...
@@ -1237,6 +1237,7 @@
...
@@ -1237,6 +1237,7 @@
//点击保存
//点击保存
SaveData
()
{
SaveData
()
{
this
.
addMsg
.
ComponentDataList
=
this
.
dataList
;
this
.
addMsg
.
ComponentDataList
=
this
.
dataList
;
console
.
log
(
"this.addMsg"
,
this
.
addMsg
);
this
.
apipost
(
"/api/Template/SetMiniTemplate"
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
"/api/Template/SetMiniTemplate"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
.
Id
=
res
.
data
.
data
;
this
.
addMsg
.
Id
=
res
.
data
.
data
;
...
...
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