Browse Source

去除最外侧滚动条,管理系统中去除面包屑中首页的关闭按钮

V1.0
mk 3 years ago
parent
commit
8fee7b7e4c
  1. 3
      src/assets/scss/common.scss
  2. 2
      src/assets/scss/modules/management/list-main.scss
  3. 3
      src/views/main-content.vue
  4. 15
      src/views/modules/base/resi.vue
  5. 2
      src/views/modules/communityService/gxxq/index.vue
  6. 2
      src/views/modules/communityService/labelConfig/index.vue
  7. 4
      src/views/modules/communityService/policy/policyList.vue
  8. 8
      src/views/modules/shequzhili/event/eventList.vue
  9. 4
      src/views/modules/shequzhili/issue/issueAuditList.vue
  10. 7
      src/views/modules/shequzhili/issue/issueList.vue
  11. 11
      src/views/modules/shequzhili/xiangmu/index.vue

3
src/assets/scss/common.scss

@ -716,7 +716,8 @@ img {
}
}
> .el-tabs__content {
padding: $content--padding;
// 去除全部滚动条注释M
// padding: $content--padding;
.el-loading-mask {
z-index: 830;
}

2
src/assets/scss/modules/management/list-main.scss

@ -8,7 +8,7 @@
// box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
background: #FFFFFF;
box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.08), 0px 3px 6px -4px rgba(0,0,0,0.12);
margin:7px 7px;
margin:20px 7px 7px;
overflow:hidden;

3
src/views/main-content.vue

@ -22,12 +22,13 @@
@tab-click="tabSelectedHandle"
@tab-remove="tabRemoveHandle"
>
<!-- item.name !== 'indexWork', -->
<el-tab-pane
v-for="item in $store.state.contentTabs"
:key="item.name"
:name="item.name"
:label="item.title"
:closable="item.name !== 'indexWork'"
:closable=" item.name !== 'home'"
:class="{ 'is-iframe': tabIsIframe(item.iframeURL) }"
>
<template v-if="tabIsIframe(item.iframeURL)">

15
src/views/modules/base/resi.vue

@ -639,7 +639,7 @@ export default {
currentPage: 1,
pageSize: 20,
total: null,
searchH: 0,
searchH: 241,
resideathAddObj1: {}, //
conditions: [],
activeName: "",
@ -715,8 +715,8 @@ export default {
...mapGetters(["clientHeight", "iframeHeight"]),
tableHeight() {
const h =
this.clientHeight - this.searchH - 275 + this.iframeHeight;
const _h = this.clientHeight - 275 - this.searchH;
this.clientHeight - this.searchH - 241 + this.iframeHeight;
const _h = this.clientHeight - 241 - this.searchH;
return this.$store.state.inIframe ? h : _h;
},
},
@ -736,13 +736,8 @@ export default {
},
async mounted() {
// this.$nextTick(() => {
// this.tableHeight = document.documentElement.clientHeight - this.$refs.resiSearch.$el.offsetHeight - 280 + 'px'
// })
console.log(
"document.documentElement.clientWidth",
document.documentElement.clientHeight
);
this.searchH = this.$refs.myResiSearch.offsetHeight;
this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({
elseParams: {
categoryKeys: ["resi_info"],

2
src/views/modules/communityService/gxxq/index.vue

@ -304,7 +304,7 @@ export default {
pageSize: 20,
tableLoading: true,
total: 0,
searchH: 172,
searchH: 115,
formShow: false,
formTitle: "",
rowObj: {},

2
src/views/modules/communityService/labelConfig/index.vue

@ -135,7 +135,7 @@ export default {
pageSize:20,
tableLoading:true,
total:0,
searchH:100,
searchH:115,
formShow:false,
formTitle:"",
rowObj:{}

4
src/views/modules/communityService/policy/policyList.vue

@ -330,8 +330,8 @@ export default {
computed: {
maxTableHeight() {
return this.$store.state.inIframe
? this.clientHeight - 350 + this.iframeHeigh
: this.clientHeight - 350;
? this.clientHeight - 400 + this.iframeHeigh
: this.clientHeight - 400;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

8
src/views/modules/shequzhili/event/eventList.vue

@ -565,6 +565,8 @@ export default {
disabledDate: startDisabledDate,
},
eventId: "",
searchH:180,
eventDetailData: {},
@ -576,9 +578,9 @@ export default {
},
computed: {
maxTableHeight() {
return this.$store.state.inIframe
? this.clientHeight - 410 + this.iframeHeigh
: this.clientHeight - 410;
const h = this.clientHeight - this.searchH - 275 + this.iframeHeight;
const _h = this.clientHeight - 275 - this.searchH;
return this.$store.state.inIframe ? h : _h;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

4
src/views/modules/shequzhili/issue/issueAuditList.vue

@ -273,8 +273,8 @@ export default {
computed: {
maxTableHeight () {
return this.$store.state.inIframe
? this.clientHeight - 360 + this.iframeHeigh
: this.clientHeight - 360;
? this.clientHeight - 400 + this.iframeHeigh
: this.clientHeight - 400;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

7
src/views/modules/shequzhili/issue/issueList.vue

@ -295,13 +295,14 @@ export default {
issueId: '',
issueDetailData: {},
searchH:120,
};
},
computed: {
maxTableHeight () {
return this.$store.state.inIframe
? this.clientHeight - 360 + this.iframeHeigh
: this.clientHeight - 360;
const h = this.clientHeight - this.searchH - 275 + this.iframeHeight;
const _h = this.clientHeight - 275 - this.searchH;
return this.$store.state.inIframe ? h : _h;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

11
src/views/modules/shequzhili/xiangmu/index.vue

@ -246,9 +246,7 @@
</template>
</el-table-column>
</el-table>
</div>
<div>
<div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
@ -260,6 +258,9 @@
>
</el-pagination>
</div>
</div>
</div>
<div class="g-page" v-if="pageType == 'edit' || pageType == 'info'">
@ -351,8 +352,8 @@ export default {
computed: {
maxTableHeight() {
return this.$store.state.inIframe
? this.clientHeight - 360 + this.iframeHeigh
: this.clientHeight - 360;
? this.clientHeight - 400 + this.iframeHeigh
: this.clientHeight - 400;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

Loading…
Cancel
Save