Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
73a4cd4e
authored
2022-08-10 17:35:07 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首页修改
1 parent
1a69eeed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
20 deletions
src/styles/transition.scss
src/views/ywbl/ywsq/index.scss → src/views/ywbl/ywsq/ywsq.scss
src/views/ywbl/ywsq/ywsq.vue
src/styles/transition.scss
View file @
73a4cd4
...
...
@@ -14,17 +14,17 @@
/* fade-transform */
.fade-transform-leave-active
,
.fade-transform-enter-active
{
transition
:
all
.
5
s
;
transition
:
all
.
12
s
;
}
.fade-transform-enter
{
opacity
:
0
;
transform
:
translateX
(
-
30
px
);
transform
:
translateX
(
-
5
px
);
}
.fade-transform-leave-to
{
opacity
:
0
;
transform
:
translateX
(
30
px
);
transform
:
translateX
(
5
px
);
}
/* breadcrumb transition */
...
...
@@ -45,4 +45,4 @@
.breadcrumb-leave-active
{
position
:
absolute
;
}
}
\ No newline at end of file
...
...
src/views/ywbl/ywsq/
index
.scss
→
src/views/ywbl/ywsq/
ywsq
.scss
View file @
73a4cd4
.ywsq
{
display
:
flex
;
/
deep
/
.el-card__body
{
padding
:
0
!
important
;
/
deep
/
.el-collapse-item__header
{
padding-left
:
20px
;
font-weight
:
700
;
font-size
:
16px
;
}
.ywsq-left
{
...
...
@@ -25,8 +27,7 @@
}
.item-list
{
padding
:
0
20px
25px
20px
;
margin-top
:
-5px
;
padding
:
0
20px
0
20px
;
.active
{
background-color
:
$light-blue
;
...
...
@@ -51,8 +52,8 @@
}
.ywsq-right
{
width
:
65%
;
margin-left
:
3
0px
;
width
:
calc
(
75%
-
20px
)
;
margin-left
:
2
0px
;
.right-title
{
font-size
:
18px
;
...
...
src/views/ywbl/ywsq/ywsq.vue
View file @
73a4cd4
<
template
>
<div
class=
"ywsq"
>
<div
class=
"ywsq-left"
>
<el-card
class=
"box-card"
v-for=
"(item, index) in leftList"
:key=
"index"
>
<div
class=
"item-title"
@
click=
"handleTitle(item)"
>
{{
item
.
title
}}
</div>
<el-collapse-transition>
<ul
class=
"item-list"
v-show=
"item.open"
>
<el-collapse
v-model=
"activeNames"
accordion
>
<el-collapse-item
:title=
"item.title"
:name=
"index + 1"
v-for=
"(item, index) in leftList"
>
<ul
class=
"item-list"
>
<li
v-for=
"(obj, key) in item.list"
:key=
"key"
@
click=
"handleList(item.list, obj)"
:class=
"obj.select ? 'active' : ''"
>
{{
obj
.
name
}}
</li>
</ul>
</el-collapse-
transition
>
</el-c
ard
>
</el-collapse-
item
>
</el-c
ollapse
>
</div>
<!-- right -->
...
...
@@ -30,10 +29,10 @@
export
default
{
data
()
{
return
{
activeNames
:
[
1
],
leftList
:
[
{
title
:
'常办业务'
,
open
:
true
,
list
:
[
{
name
:
'国有建设用地使用权'
,
...
...
@@ -43,7 +42,6 @@ export default {
},
{
title
:
'一并申请'
,
open
:
false
,
list
:
[
{
name
:
'国有建设用地使用权'
,
...
...
@@ -57,7 +55,6 @@ export default {
},
{
title
:
'业务申请'
,
open
:
false
,
list
:
[
{
name
:
'国有建设用地使用权'
,
...
...
@@ -137,5 +134,5 @@ export default {
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/mixin.scss"
;
@import
'./
index
.scss'
;
@import
'./
ywsq
.scss'
;
</
style
>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment