Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
daa7d48b
Commit
daa7d48b
authored
Jan 14, 2022
by
吴婷慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二级菜单优化
parent
86de414a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
icon.vue
src/components/Icon/icon.vue
+5
-1
index.vue
src/views/customer/edit/index.vue
+9
-5
index.js
src/views/layout/components/menu/index.js
+1
-1
subMenu.vue
src/views/layout/components/menu/subMenu.vue
+3
-0
No files found.
src/components/Icon/icon.vue
View file @
daa7d48b
<
template
>
<div
class=
"icon-class"
:style=
"`font-size:$
{size}px`" @click="clickEvent">
<div
class=
"icon-class"
:style=
"`font-size:$
{size}px`"
@click.stop="clickEvent"
>
<svg
class=
"icon"
aria-hidden=
"true"
>
<use
:xlink:href=
"iconName"
/>
</svg>
...
...
src/views/customer/edit/index.vue
View file @
daa7d48b
...
...
@@ -215,15 +215,19 @@
<a-button
type=
"primary"
>
<Icon
name=
"ssiprint"
:size=
"14"
/>
打印理赔申请书
</a-button>
<a-button
type=
"primary"
class=
"mar-left10 text-r"
@
click=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
<a-button
class=
"mar-left10 text-r"
type=
"primary"
@
click=
"handlerSave"
><Icon
name=
"ssidownload"
:size=
"14"
/>
保存
</a-button>
<a-button
type=
"primary"
class=
"text-r"
@
click=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
</a-form-model-item>
</a-col>
</a-row>
...
...
@@ -464,8 +468,8 @@ export default {
.mg-r(10);
}
}
.none-label
.text-r
{
float
: right;
.none-label {
text-align
: right;
}
/deep/ .ant-upload {
width: 100%;
...
...
src/views/layout/components/menu/index.js
View file @
daa7d48b
...
...
@@ -61,7 +61,7 @@ export default {
}
}
else
if
(
item
.
path
&&
item
.
path
===
key
)
{
console
.
log
(
item
,
key
);
menuStack
.
push
(
item
);
menuStack
.
unshift
(
item
);
this
.
$store
.
commit
(
"
common/setMenuStack
"
,
menuStack
);
return
true
;
}
...
...
src/views/layout/components/menu/subMenu.vue
View file @
daa7d48b
...
...
@@ -48,6 +48,9 @@ export default {
<
style
lang=
"less"
scoped
>
.sub-menu {
width: 100%;
overflow-x: auto;
white-space: nowrap;
.mg-b(16);
.btn {
.fs(14);
...
...
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