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
b22eeb16
authored
2022-08-19 17:09:30 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务
1 parent
493ba200
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
68 deletions
src/views/ywbl/ywsq/ywsq.scss
src/views/ywbl/ywsq/ywsq.vue
src/views/ywbl/ywsq/ywsq.scss
View file @
b22eeb1
.ywsq
{
display
:
flex
;
height
:
100%
;
/
deep
/
.el-collapse-item__header
{
padding-left
:
20px
;
font-weight
:
700
;
font-size
:
16px
;
border
:
1px
solid
$borderColor
;
border-top
:
none
;
}
.active
{
background-color
:
$light-blue
!
important
;
color
:
$menuText
!
important
;
}
.ywsq-left
{
width
:
25%
;
width
:
260px
;
background-color
:
#fff
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
p
{
width
:
100%
;
line-height
:
36px
;
border
:
1px
solid
$borderColor
;
font-weight
:
700
;
padding
:
5px
0
5px
10px
;
background-color
:
#fff
;
margin-bottom
:
5px
;
box-sizing
:
border-box
;
cursor
:
pointer
;
border-radius
:
3px
;
&
:hover
{
border
:
1px
solid
$light-blue
;
color
:
$light-blue
;
}
}
.box-card
{
margin-bottom
:
20px
;
...
...
@@ -29,10 +59,7 @@
.item-list
{
padding
:
0
20px
0
20px
;
.active
{
background-color
:
$light-blue
;
color
:
$menuText
;
}
li
{
cursor
:
pointer
;
...
...
@@ -46,16 +73,19 @@
transition
:
all
0
.3s
;
&
:hover
{
b
ackground-color
:
$light-blue
;
color
:
$
menuText
;
b
order
:
1px
solid
$light-blue
;
color
:
$
light-blue
;
}
}
}
}
.ywsq-right
{
width
:
calc
(
75%
-
1
0px
);
width
:
calc
(
100%
-
27
0px
);
margin-left
:
10px
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
.right-type
{
margin-bottom
:
20px
;
...
...
@@ -69,31 +99,33 @@
}
.cactive
{
background-color
:
$green
;
color
:
$menuText
;
}
.type-content
{
@include
flex
;
justify-content
:
space-between
;
padding
:
0
20px
;
margin
:
5
0px
0
;
margin
:
2
0px
0
;
li
{
width
:
23
.5%
;
height
:
50px
;
line-height
:
50px
;
border
:
1px
solid
$borderColor
;
border-radius
:
5px
;
box-sizing
:
border-box
;
padding-left
:
10px
;
cursor
:
pointer
;
transition
:
all
0
.3s
;
cursor
:
pointer
;
&
:hover
{
border
:
1px
solid
$light-blue
;
color
:
$light-blue
;
}
}
}
.right-situation
{
flex
:
1
;
height
:
100%
;
ul
{
padding
:
20px
;
@include
flex
;
...
...
@@ -108,12 +140,16 @@
@include
flex
;
justify-content
:
space-between
;
margin-left
:
20px
;
cursor
:
pointer
;
p
{
@include
flex-center
;
}
&
:hover
{
border
:
1px
solid
$light-blue
;
color
:
$light-blue
;
}
p
:nth-child
(
1
)
{
flex
:
1
;
...
...
@@ -134,5 +170,11 @@
}
}
}
.submit-button
{
padding
:
15px
0
;
text-align
:
center
;
background-color
:
#fff
;
}
}
}
\ No newline at end of file
...
...
src/views/ywbl/ywsq/ywsq.vue
View file @
b22eeb1
<
template
>
<div
class=
"ywsq"
>
<div
class=
"ywsq-left"
>
<el-collapse
v-model=
"activeNames"
accordion
>
<el-collapse-item
:title=
"item.title"
:name=
"index + 1"
v-for=
"(item, index) in leftList"
:key=
"index"
>
<p
v-for=
"(item, index) in leftList"
@
click=
"handleleftTitle(index)"
:key=
"index"
:class=
"
{ 'active': n == index }">
{{
item
}}
</p>
<el-collapse
disabled
v-model=
"activeNames"
>
<el-collapse-item
title=
"业务申请"
name=
"1"
>
<ul
class=
"item-list"
>
<li
v-for=
"(obj, key) in
item.list"
:key=
"key"
@
click=
"handleList(item.list, obj)"
:class=
"obj.check ? 'active' : ''"
>
{{
obj
.
name
}}
</li>
<li
v-for=
"(obj, key) in
list"
:key=
"key"
@
click=
"handleList(list, obj)"
:class=
"obj.check ? 'active' : ''"
>
{{
obj
.
name
}}
</li>
</ul>
</el-collapse-item>
</el-collapse>
...
...
@@ -13,25 +15,43 @@
<!-- right -->
<div
class=
"ywsq-right"
>
<div
class=
"right-type el-card box-card is-always-shadow"
>
<div
class=
"right-type el-card box-card is-always-shadow"
v-if=
"n == -1"
>
<div
class=
"right-title"
>
登记类型
</div>
<ul
class=
"type-content"
>
<li
:class=
"item.select ? '
c
active' : ''"
@
click=
"handleTypeSelect(item)"
v-for=
"(item, index) in typeList"
<li
:class=
"item.select ? 'active' : ''"
@
click=
"handleTypeSelect(item)"
v-for=
"(item, index) in typeList"
:key=
"index"
>
{{
item
.
name
}}
</li>
</ul>
</div>
<div
class=
"right-situation el-card box-card is-always-shadow"
>
<div
class=
"right-title"
>
业务列表
</div>
<ul>
<li
v-for=
"(item, index) in busList"
:key=
"index"
>
<p>
{{
item
.
name
}}
</p>
<p
:class=
"item.select ? 'cactive' : ''"
@
click=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'cactive' : ''"
></i>
</p>
</li>
</ul>
<div
v-if=
"n >= 0"
>
<div
class=
"right-title"
>
业务列表
</div>
<ul>
<li
v-for=
"(item, index) in busList"
:key=
"index"
>
<p>
{{
item
.
name
}}
</p>
<p
:class=
"item.select ? 'active' : ''"
@
click=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'active' : ''"
></i>
</p>
</li>
</ul>
</div>
<div
v-if=
"n == -1"
>
<div
class=
"right-title"
>
登记情形
</div>
<ul>
<li
v-for=
"(item, index) in busList"
:key=
"index"
>
<p>
{{
item
.
name
}}
</p>
<p
:class=
"item.select ? 'active' : ''"
@
click=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'active' : ''"
></i>
</p>
</li>
</ul>
</div>
</div>
<div
class=
"submit-button"
>
<el-button
type=
"primary"
>
选择不动产信息
</el-button>
</div>
</div>
</div>
...
...
@@ -40,46 +60,29 @@
export
default
{
data
()
{
return
{
activeNames
:
[
1
],
n
:
-
1
,
activeNames
:
[
'1'
],
leftList
:
[
'常办业务'
,
'一并申请'
,
'补申请'
,
],
list
:
[
{
name
:
'国有建设用地使用权'
,
},
{
title
:
'常办业务'
,
list
:
[
{
name
:
'国有建设用地使用权'
,
}
]
name
:
'国有建设用地使用权/房屋所有权'
,
},
{
title
:
'一并申请'
,
list
:
[
{
name
:
'国有建设用地使用权'
,
}
]
name
:
'宅基地使用权'
,
},
{
title
:
'业务申请'
,
list
:
[
{
name
:
'国有建设用地使用权'
,
},
{
name
:
'国有建设用地使用权/房屋所有权'
,
},
{
name
:
'宅基地使用权'
,
},
{
name
:
'宅基地使用权/房屋所有权'
,
},
{
name
:
'集体建设用地使用权'
,
},
{
name
:
'集体建设用地使用权/房屋所有权'
,
}
]
name
:
'宅基地使用权/房屋所有权'
,
},
{
name
:
'集体建设用地使用权'
,
},
{
name
:
'集体建设用地使用权/房屋所有权'
,
}
],
typeList
:
[
...
...
@@ -130,10 +133,17 @@ export default {
}
},
methods
:
{
handleleftTitle
(
index
)
{
this
.
n
=
index
this
.
list
.
forEach
(
item
=>
{
if
(
item
.
check
)
item
.
check
=
false
})
},
handleList
(
list
,
obj
)
{
list
.
forEach
(
item
=>
{
if
(
item
.
check
)
item
.
check
=
false
})
this
.
n
=
-
1
this
.
$set
(
obj
,
'check'
,
true
)
},
handleCollection
(
item
)
{
...
...
Please
register
or
sign in
to post a comment