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
73bb01c2
Commit
73bb01c2
authored
Apr 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
822b7c45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
labelBar.vue
src/components/StoreDesign/labelBar.vue
+17
-8
No files found.
src/components/StoreDesign/labelBar.vue
View file @
73bb01c2
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
<div
class=
"btnCenter"
>
{{
item
.
TagName
}}
</div>
<div
class=
"btnCenter"
>
{{
item
.
TagName
}}
</div>
<div
class=
"nav_Action"
>
<div
class=
"nav_Action"
>
<span
style=
"background: rgba(64, 158, 255, 0.9);"
@
click=
"EditInfo(item)"
>
编辑
</span>
<span
style=
"background: rgba(64, 158, 255, 0.9);"
@
click=
"EditInfo(item)"
>
编辑
</span>
<span
style=
"background: rgba(245, 108, 108, 0.9);"
@
click=
"delItem(index)"
>
删除
</span>
<span
style=
"background: rgba(245, 108, 108, 0.9);"
@
click=
"delItem(index
,item
)"
>
删除
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -239,11 +239,11 @@
...
@@ -239,11 +239,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 导航菜单编辑 -->
<!-- 导航菜单编辑 -->
<el-dialog
title=
"导航菜单编辑"
:visible
.
sync=
"isShowDialog"
width=
"800px"
>
<el-dialog
title=
"导航菜单编辑"
:visible
.
sync=
"isShowDialog"
width=
"800px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"120px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"120px"
>
<el-form-item
label=
"图标"
prop=
"icon"
>
<!--prop="icon" HK 0428去掉-->
<el-form-item
label=
"图标"
>
<div>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:64*64"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:64*64"
placement=
"top-start"
>
<el-button
size=
"small"
@
click=
"UploadIcon"
>
选择文件
</el-button>
<el-button
size=
"small"
@
click=
"UploadIcon"
>
选择文件
</el-button>
...
@@ -254,7 +254,8 @@
...
@@ -254,7 +254,8 @@
<img
v-else
src=
"../../assets/img/default.png"
alt=
""
/>
<img
v-else
src=
"../../assets/img/default.png"
alt=
""
/>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"选择状态图标"
prop=
"checkedIcon"
>
<!--prop="checkedIcon" HK 0428去掉-->
<el-form-item
label=
"选择状态图标"
>
<div>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:64*64"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:64*64"
placement=
"top-start"
>
<el-button
size=
"small"
@
click=
"UploadCkedIcon"
>
选择文件
</el-button>
<el-button
size=
"small"
@
click=
"UploadCkedIcon"
>
选择文件
</el-button>
...
@@ -284,7 +285,6 @@
...
@@ -284,7 +285,6 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
提交
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
提交
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -436,7 +436,17 @@
...
@@ -436,7 +436,17 @@
this
.
mallMsg
.
BottomNavBgColor
=
val
;
this
.
mallMsg
.
BottomNavBgColor
=
val
;
},
},
//删除底部图标
//删除底部图标
delItem
(
index
)
{
delItem
(
index
,
item
)
{
if
(
item
.
TagId
>
0
)
{
this
.
apipost
(
"/api/Tenant/RemoveMiniProgramMallTag"
,
{
TagId
:
item
.
TagId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
}
this
.
mallMsg
.
BottomTagList
.
splice
(
index
,
1
);
this
.
mallMsg
.
BottomTagList
.
splice
(
index
,
1
);
},
},
//上传图标
//上传图标
...
@@ -528,8 +538,6 @@
...
@@ -528,8 +538,6 @@
item
.
TagSort
=
Number
(
index
)
+
1
;
item
.
TagSort
=
Number
(
index
)
+
1
;
});
});
}
}
console
.
log
(
"this.mallMsg"
,
this
.
mallMsg
);
this
.
apipost
(
"/api/Tenant/SetMiniProgramMallTag"
,
this
.
mallMsg
,
res
=>
{
this
.
apipost
(
"/api/Tenant/SetMiniProgramMallTag"
,
this
.
mallMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功!"
);
this
.
Success
(
"操作成功!"
);
...
@@ -539,6 +547,7 @@
...
@@ -539,6 +547,7 @@
}
}
})
})
},
},
//重置
//重置
resetInfo
()
{
resetInfo
()
{
...
...
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