Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-site
Commits
fe1abdad
Commit
fe1abdad
authored
Oct 16, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信息展示
parent
b692192c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
news.vue
pages/index/message/news.vue
+8
-10
No files found.
pages/index/message/news.vue
View file @
fe1abdad
...
...
@@ -11,7 +11,7 @@
</el-menu>
</el-col>
</div>
<ul
>
<ul>
<li
v-for=
"item in messageList"
:key=
"item.id"
@
click=
"isClick(item.id)"
v-show=
"isList"
>
<!--
<nuxt-link
:to=
"
{name:'index-message-newsdetails',query:{id:(item.id)}}" class="flex-between link-style" >-->
<div
class=
"flex-between link-style"
>
...
...
@@ -27,7 +27,7 @@
:current-page=
"currentPage"
:size =
"size"
:page-sizes=
"[10, 20, 30, 40]"
layout=
"total,
sizes, prev, pager, next
, jumper"
layout=
"total,
prev, pager, next,sizes
, jumper"
:total=
"total"
>
</el-pagination
>
</div>
...
...
@@ -156,7 +156,7 @@ import Cookies from "js-cookie"
this
.
total
=
total
},
handleSizeChange
(
val
)
{
/* this.getListContent(this.currentPage,val) */
this
.
size
=
val
let
mes
=
{
currentPage
:
this
.
currentPage
,
size
:
val
...
...
@@ -164,6 +164,7 @@ import Cookies from "js-cookie"
this
.
getListContent
(
mes
)
},
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
let
mes
=
{
currentPage
:
val
,
size
:
this
.
size
...
...
@@ -200,9 +201,8 @@ import Cookies from "js-cookie"
border
:
1px
solid
rgba
(
219
,
219
,
219
,
1
);
min-height
:
6.98rem
;
position
:
relative
;
left
:
115px
;
right
:
-15%
;
width
:
9.2rem
}
.message
>
ul
>
li
{
...
...
@@ -227,11 +227,6 @@ import Cookies from "js-cookie"
position
:
absolute
;
left
:
-217px
}
.el-menu
{
border-right
:
none
;
}
.sidebar
>
.sidebar-title
{
width
:
2.4rem
;
height
:
.60rem
;
...
...
@@ -242,6 +237,9 @@ import Cookies from "js-cookie"
color
:
rgba
(
0
,
0
,
0
,
1
);
font-weight
:
bold
;
}
.el-menu-vertical-demo
{
width
:
2.4rem
;
}
.el-col-12
{
width
:
100%
;
}
...
...
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