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
2e706508
Commit
2e706508
authored
Oct 16, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信息公告
parent
cb2bc4eb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
23 deletions
+24
-23
default.vue
layouts/default.vue
+1
-1
news.vue
pages/index/message/news.vue
+23
-21
bid.vue
pages/index/notice/bid.vue
+0
-1
No files found.
layouts/default.vue
View file @
2e706508
...
...
@@ -35,7 +35,7 @@ html {
*,
*
::before
,
*
::after
{
box-sizing
:
border-box
;
box-sizing
:
none
;
margin
:
0
;
}
...
...
pages/index/message/news.vue
View file @
2e706508
<
template
>
<div>
<div
class=
"
message
"
>
<div
class=
"
flex
"
>
<div
class=
"sidebar"
>
<div
class=
"sidebar-title"
>
信息公告
</div>
<el-col
:span=
"12"
>
...
...
@@ -21,6 +21,7 @@
</el-menu>
</el-col>
</div>
<div
class=
"message"
>
<ul>
<li
v-for=
"item in messageList"
...
...
@@ -35,18 +36,6 @@
</div>
<!--
</nuxt-link>
-->
</li>
<div
class=
"pagination"
v-show=
"isList"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:size=
"size"
:page-sizes=
"[10, 20, 30, 40]"
layout=
"total, prev, pager, next,sizes, jumper"
:total=
"total"
>
</el-pagination>
</div>
</ul>
<div
class=
"content"
v-show=
"!isList"
>
<div>
...
...
@@ -73,6 +62,20 @@
</div>
</div>
</div>
<!-- 分页 -->
<div
class=
"pagination"
v-show=
"isList"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:size=
"size"
:page-sizes=
"[10, 20, 30, 40]"
layout=
"total, prev, pager, next,sizes, jumper"
:total=
"total"
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
import
{
...
...
@@ -215,16 +218,15 @@ export default {
<
style
scoped
>
.pagination
{
flex
:
0
;
position
:
absolute
;
bottom
:
5%
;
left
:
5
0
%
;
margin-top
:
20px
;
left
:
5
6
%
;
transform
:
translateX
(
-50%
);
}
.message
{
border
:
1px
solid
rgba
(
219
,
219
,
219
,
1
);
min-height
:
6.98rem
;
position
:
absolute
;
left
:
33%
;
min-height
:
6.8rem
;
width
:
9.2rem
;
}
...
...
@@ -246,9 +248,8 @@ export default {
}
.sidebar
{
width
:
2.4rem
;
margin-right
:
.3rem
;
border
:
1px
solid
rgba
(
219
,
219
,
219
,
1
);
position
:
absolute
;
left
:
-30%
}
.sidebar
>
.sidebar-title
{
width
:
2.4rem
;
...
...
@@ -259,16 +260,17 @@ export default {
font-size
:
0.2rem
;
color
:
rgba
(
0
,
0
,
0
,
1
);
font-weight
:
bold
;
/* box-sizing: none; */
}
.el-menu-vertical-demo
{
width
:
2.4rem
;
/* box-sizing:none */
}
.el-col-12
{
width
:
100%
;
}
.content
{
width
:
9.2rem
;
height
:
100%
;
}
h1
{
display
:
flex
;
...
...
pages/index/notice/bid.vue
View file @
2e706508
...
...
@@ -286,7 +286,6 @@ import Cookies from 'js-cookie'
}
.pagination
{
position
:
absolute
;
/* bottom: -2%; */
left
:
50%
;
transform
:
translateX
(
-50%
);
margin-top
:
20px
...
...
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