Commit fe1abdad authored by 吴冠's avatar 吴冠

信息展示

parent b692192c
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</el-menu> </el-menu>
</el-col> </el-col>
</div> </div>
<ul > <ul>
<li v-for="item in messageList" :key="item.id" @click="isClick(item.id)" v-show="isList"> <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" >--> <!-- <nuxt-link :to="{name:'index-message-newsdetails',query:{id:(item.id)}}" class="flex-between link-style" >-->
<div class="flex-between link-style"> <div class="flex-between link-style">
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
:current-page="currentPage" :current-page="currentPage"
:size ="size" :size ="size"
:page-sizes="[10, 20, 30, 40]" :page-sizes="[10, 20, 30, 40]"
layout="total,sizes, prev, pager, next, jumper" layout="total, prev, pager, next,sizes, jumper"
:total="total"> :total="total">
</el-pagination > </el-pagination >
</div> </div>
...@@ -156,7 +156,7 @@ import Cookies from "js-cookie" ...@@ -156,7 +156,7 @@ import Cookies from "js-cookie"
this.total = total this.total = total
}, },
handleSizeChange(val) { handleSizeChange(val) {
/* this.getListContent(this.currentPage,val) */ this.size = val
let mes = { let mes = {
currentPage:this.currentPage, currentPage:this.currentPage,
size:val size:val
...@@ -164,6 +164,7 @@ import Cookies from "js-cookie" ...@@ -164,6 +164,7 @@ import Cookies from "js-cookie"
this.getListContent(mes) this.getListContent(mes)
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val
let mes = { let mes = {
currentPage:val, currentPage:val,
size:this.size size:this.size
...@@ -200,9 +201,8 @@ import Cookies from "js-cookie" ...@@ -200,9 +201,8 @@ import Cookies from "js-cookie"
border: 1px solid rgba(219, 219, 219, 1); border: 1px solid rgba(219, 219, 219, 1);
min-height:6.98rem; min-height:6.98rem;
position: relative; position: relative;
left:115px; right:-15%;
width:9.2rem width:9.2rem
} }
.message>ul>li { .message>ul>li {
...@@ -227,11 +227,6 @@ import Cookies from "js-cookie" ...@@ -227,11 +227,6 @@ import Cookies from "js-cookie"
position: absolute; position: absolute;
left:-217px left:-217px
} }
.el-menu {
border-right: none;
}
.sidebar>.sidebar-title { .sidebar>.sidebar-title {
width: 2.4rem; width: 2.4rem;
height: .60rem; height: .60rem;
...@@ -242,6 +237,9 @@ import Cookies from "js-cookie" ...@@ -242,6 +237,9 @@ import Cookies from "js-cookie"
color: rgba(0, 0, 0, 1); color: rgba(0, 0, 0, 1);
font-weight: bold; font-weight: bold;
} }
.el-menu-vertical-demo{
width: 2.4rem;
}
.el-col-12 { .el-col-12 {
width: 100%; width: 100%;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment