dev_2022-05-11
luoJunYong.123 3 years ago
parent 8909c9bf75
commit b34a27d7c4
  1. 12
      src/pages/information/contentManage/contentList.vue
  2. 3
      src/pages/information/contentManage/index.vue
  3. 2
      src/pages/information/list/index.vue

@ -96,13 +96,10 @@ export default {
this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => { this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => {
this.listData = res.articleList; this.listData = res.articleList;
this.totals = res.total; this.totals = res.total;
//
for(let i=0; i<9; i++) { for(let i=0; i<9; i++) {
this.listData.push(res.articleList[0]) this.listData.push(this.listData[0])
} }
console.log(res)
if (!this.listData.length && this.totals) { if (!this.listData.length && this.totals) {
this.pageNo--; this.pageNo--;
@ -216,9 +213,4 @@ export default {
.off + span { .off + span {
display: none; display: none;
} }
.page-content {
height: 67vh;
overflow: auto!important;
}
</style> </style>

@ -85,10 +85,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.menu-con { .menu-con {
//
height: calc(100vh - 250px); height: calc(100vh - 250px);
border-right: solid 1px #e6e6e6; border-right: solid 1px #e6e6e6;
background-color: #F2F6FC; background-color: #F2F6FC;
overflow: hidden; // overflow: hidden;
.el-menu { .el-menu {
background-color: transparent; background-color: transparent;

@ -45,7 +45,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.page .el-tabs--left { .page .el-tabs--left {
height: calc(100vh - 250px); // height: calc(100vh - 250px);
/deep/ .el-tabs__item { /deep/ .el-tabs__item {
height: 60px; height: 60px;

Loading…
Cancel
Save