Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
court-inner
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
court-inner
Commits
bc288023
Commit
bc288023
authored
Oct 15, 2021
by
李耀锟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
c3e9eaa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
25 deletions
+33
-25
src/views/homePage/index.vue
+33
-25
No files found.
src/views/homePage/index.vue
View file @
bc288023
...
...
@@ -8,12 +8,12 @@
<el-row
:gutter=
"20"
class=
"mt-15 first-zone-style"
>
<el-col
:span=
"10"
style=
"padding-left:0;padding-right:0;"
>
<div
>
<el-carousel
style=
"border-radius:8px;"
height=
"
25
0px"
indicator-position=
"outside"
:interval=
"4000"
>
<el-carousel-item
style=
"border-radius:8px;"
v-for=
"
item in imagesBox"
:key=
"item.id
"
>
<div
class=
"carousel-div"
style=
"border-radius:8px;"
>
<el-image
:src=
"item.
idView
"
style=
"width:100%;height:100%;"
></el-image>
<el-carousel
style=
"border-radius:8px;"
height=
"
50
0px"
indicator-position=
"outside"
:interval=
"4000"
>
<el-carousel-item
style=
"border-radius:8px;"
v-for=
"
(item,index) in headlineRotation"
:key=
"index
"
>
<div
class=
"carousel-div"
style=
"border-radius:8px;"
@
click=
"setParams(item)"
>
<el-image
:src=
"item.
attInfoList[0].downloadPath
"
style=
"width:100%;height:100%;"
></el-image>
<div
class=
"carousel-intro"
style=
""
>
南宁中院:市首个族老矛盾调处中心成立
<span>
 
{{
item
.
subject
}}
 
</span>
</div>
</div>
</el-carousel-item>
...
...
@@ -65,6 +65,7 @@
<el-col
:span=
"16"
style=
""
>
<div
v-for=
"(item,index) in topList"
:key=
"index"
class=
"k-flex k-space-between work-top-list"
@
click=
"setParams(item)"
>
<div
class=
"article-name"
style=
""
>
<span
class=
"right-line"
>
{{
item
.
boardName
}}
</span>
<span
>
{{
item
.
subject
}}
</span>
</div>
<div>
{{
item
.
newsTime
.
substring
(
5
,
10
)
}}
</div>
...
...
@@ -454,12 +455,12 @@
</el-row>
</el-col>
<el-col
:span=
"11"
>
<el-carousel
style=
"border-radius:8px;"
height=
"2
5
0px"
indicator-position=
"outside"
:interval=
"4000"
>
<el-carousel-item
style=
"border-radius:8px;"
v-for=
"item in
imagesBox
"
:key=
"item.id"
>
<div
class=
"carousel-div"
style=
"border-radius:8px;"
>
<el-image
:src=
"item.
idView
"
style=
"width:100%;height:100%;"
></el-image>
<el-carousel
style=
"border-radius:8px;"
height=
"2
8
0px"
indicator-position=
"outside"
:interval=
"4000"
>
<el-carousel-item
style=
"border-radius:8px;"
v-for=
"item in
tableData
"
:key=
"item.id"
>
<div
class=
"carousel-div"
style=
"border-radius:8px;"
@
click=
"setParams(item)"
>
<el-image
:src=
"item.
attInfoList[0].downloadPath
"
style=
"width:100%;height:100%;"
></el-image>
<div
class=
"carousel-intro"
style=
""
>
南宁中院:市首个族老矛盾调处中心成立
<span>
 
{{
item
.
subject
}}
 
</span>
</div>
</div>
</el-carousel-item>
...
...
@@ -486,12 +487,12 @@
<!--
<el-col
:span=
"8"
></el-col>
<el-col
:span=
"8"
></el-col>
<el-col
:span=
"8"
></el-col>
-->
<el-col
style=
"border-radius:5px;"
:span=
"8"
v-for=
"item in
imagesBox"
:key=
"item.id"
>
<div
class=
"imgs-div"
style=
"width:100%;border-radius:8px;"
>
<el-image
:src=
"item.
idView
"
style=
"width:100%;display:block;border-radius:5px;"
>
<el-col
style=
"border-radius:5px;"
:span=
"8"
v-for=
"item in
policeOfficer"
:key=
"item.id"
>
<div
class=
"imgs-div"
style=
"width:100%;border-radius:8px;"
@
click=
"setParams(item)"
>
<el-image
:src=
"item.
attInfoList[0].downloadPath
"
style=
"width:100%;display:block;border-radius:5px;"
>
</el-image>
<div
class=
"imgs-intro"
style=
"width:100%;border-radius:0 0 5px 5px;"
>
<span>
 
南宁中院:市首个族老矛盾调处中心成立
 
</span>
<span>
 
{{
item
.
subject
}}
 
</span>
</div>
</div>
</el-col>
...
...
@@ -911,10 +912,10 @@ export default {
{
id
:
2
,
idView
:
require
(
"../../assets/2.png"
)},
{
id
:
3
,
idView
:
require
(
"../../assets/3.png"
)},
],
policeOfficer
:[],
fiveNews
:
[],
topList
:[
],
topList
:[],
headlineRotation
:[],
topList2
:[
{
name
:
'开展司法教助全集中发放活动尽量克服冠军费德勒冠军费德勒空军航空发货过来会考虑好看'
,
...
...
@@ -1159,7 +1160,7 @@ export default {
}
},
created
(){
this
.
get
BoardTreeFun
()
this
.
get
SubLevelBoardF
()
this
.
topListFun
()
this
.
initializationList
()
},
...
...
@@ -1174,13 +1175,17 @@ export default {
},
initializationList
(){
newsFromBoard
({
boardId
:
'129'
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
top
.
records
newsFromBoard
({
boardId
:
'1930'
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
newsList
.
records
})
newsFromBoard
({
boardId
:
'135'
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
policeOfficer
=
res
.
data
.
newsList
.
records
})
},
newsFromBoard
(
val
){
newsFromBoard
({
boardId
:
val
.
boardId
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
topList
=
res
.
data
.
records
this
.
topList
=
res
.
data
.
newsList
.
records
})
},
informationSelection
(
val
){
...
...
@@ -1190,10 +1195,13 @@ export default {
topListFun
(){
topList
({
fyId
:
32
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
topList
=
res
.
data
.
records
this
.
headlineRotation
=
res
.
data
.
records
})
},
get
BoardTreeFun
(){
get
BoardTree
({
deptId
:
32
}).
then
(
res
=>
{
get
SubLevelBoardF
(){
get
SubLevelBoard
({
boardId
:
130
}).
then
(
res
=>
{
console
.
log
(
res
);
this
.
dataTreeFile
=
res
.
data
})
...
...
@@ -1229,8 +1237,8 @@ export default {
searchEvent
(){},
handleNodeClick
(
data
,
node
,
obj
){
console
.
log
(
data
,
node
,
obj
);
newsFromBoard
({
boardId
:
data
.
boardId
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
top
.
records
newsFromBoard
({
boardId
:
data
.
boardId
,
page
:
1
,
size
:
5
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
newsList
.
records
})
},
...
...
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