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
c32f4a01
Commit
c32f4a01
authored
2 years ago
by
周留芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回款详情样式优化
parent
c816ef8f
master
ECCS-3108
test
1 merge request
!35
ECCS 2127 商保系统回款多字段修改&&样式优化
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
646 additions
and
470 deletions
+646
-470
index.vue
src/views/home/index.vue
+26
-26
subMenu.vue
src/views/layout/components/menu/subMenu.vue
+0
-73
index.vue
src/views/layout/index.vue
+72
-75
collectionDetail.vue
src/views/verification/collectionDetail.vue
+548
-296
No files found.
src/views/home/index.vue
View file @
c32f4a01
...
@@ -16,7 +16,7 @@ export default{
...
@@ -16,7 +16,7 @@ export default{
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.burt-container{
.burt-container{
height: calc(100vh -
116px);
height: calc(100vh -
86px);
padding: 0;
padding: 0;
img{
img{
width: 100%;
width: 100%;
...
...
This diff is collapsed.
Click to expand it.
src/views/layout/components/menu/subMenu.vue
deleted
100644 → 0
View file @
c816ef8f
<
template
>
<div
class=
"sub-menu"
>
<router-link
tag=
"button"
:class=
"
{ btn: true, 'btn-active': isVisit(item.path) }"
v-for="(item, index) in menuStack"
:key="item.path"
:to="item.path"
>
{{
item
.
title
}}
<Icon
v-if=
"menuStack.length>1"
@
click=
"(e)=>closeMenu(e, index)"
:name=
"isVisit(item.path) ? 'ssiclose_active' : 'ssiclose'"
:size=
"16"
/>
</router-link>
<slot
name=
"tips"
/>
</div>
</
template
>
<
script
>
import
{
mapState
}
from
"
vuex
"
;
export
default
{
computed
:
{
...
mapState
({
menuStack
:
(
state
)
=>
state
.
common
.
menuStack
,
}),
},
methods
:
{
isVisit
(
val
)
{
const
path
=
this
.
$route
.
path
;
return
path
===
val
;
},
closeMenu
(
e
,
index
)
{
e
.
stopPropagation
();
const
menuStack
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
menuStack
));
const
isVisit
=
this
.
isVisit
(
menuStack
[
index
].
path
);
menuStack
.
splice
(
index
,
1
);
this
.
$store
.
commit
(
"
common/setMenuStack
"
,
menuStack
);
if
(
isVisit
)
{
// 关闭的是当前正在查看的
const
i
=
Math
.
max
(
0
,
index
-
1
);
this
.
$router
.
push
(
menuStack
[
i
].
path
||
"
/
"
);
}
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.sub-menu {
width: 100%;
overflow-x: auto;
white-space: nowrap;
.mg-b(16);
.btn {
.fs(14);
.lh(20);
.pa(8, 13, 8, 13);
.mg-r(40);
color: #252631;
font-weight: bold;
border: none;
background-color: #fff;
border-radius: 5px;
cursor: pointer;
}
.btn-active {
color: #fff;
background-color: #2b63ff;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/layout/index.vue
View file @
c32f4a01
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<Menu></Menu>
<Menu></Menu>
<Loading
/>
<Loading
/>
<div
class=
"content"
>
<div
class=
"content"
>
<SubMenu></SubMenu>
<router-view
/>
<router-view
/>
</div>
</div>
</div>
</div>
...
@@ -15,14 +14,12 @@
...
@@ -15,14 +14,12 @@
<
script
>
<
script
>
import
Header
from
"
./components/Header.vue
"
;
import
Header
from
"
./components/Header.vue
"
;
import
Menu
from
"
./components/menu
"
;
import
Menu
from
"
./components/menu
"
;
import
SubMenu
from
"
./components/menu/subMenu.vue
"
;
import
Loading
from
"
@/components/Loading/Loading.vue
"
;
import
Loading
from
"
@/components/Loading/Loading.vue
"
;
export
default
{
export
default
{
components
:
{
components
:
{
Header
,
Header
,
Menu
,
Menu
,
SubMenu
,
Loading
Loading
},
},
data
()
{
data
()
{
...
...
This diff is collapsed.
Click to expand it.
src/views/verification/collectionDetail.vue
View file @
c32f4a01
This diff is collapsed.
Click to expand it.
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