Browse Source

分类滚动条

shibei_master
jiangyy 4 years ago
parent
commit
3975148520
  1. 12
      src/assets/scss/modules/visual/basicInfoMain.scss
  2. 8
      src/views/modules/base/category/addCategory.vue
  3. 18
      src/views/modules/base/category/main.vue
  4. 11
      src/views/modules/visual/basicinfo/basicInfoMain.vue

12
src/assets/scss/modules/visual/basicInfoMain.scss

@ -37,7 +37,7 @@
width: 100%;
// padding: 10px 5px 13px;
// margin-top: 8px;
height: calc(88vh - 5px);
height: calc(88vh - 15px);
color: #fff;
// background: url('../../../img/modules/visual/warning-box.png') no-repeat
// center;
@ -105,7 +105,7 @@
box-sizing: border-box;
width: 100%;
margin-top: 21px;
height: calc(88vh - 77px);
height: calc(88vh - 87px);
color: #fff;
background: url('../../../img/modules/visual/warning-box.png') no-repeat
center;
@ -193,7 +193,7 @@
flex: 0 0 calc(100vw - 620px);
// width: calc(100vw - 560px);
height: calc(88vh);
height: calc(88vh - 10px);
color: #fff;
background: url('../../../img/modules/visual/warning-box.png') no-repeat
center;
@ -246,9 +246,9 @@
justify-content: flex-start;
margin: 0 21px 0 21px;
// .item:hover {
// cursor: pointer;
// }
.item:hover {
cursor: pointer;
}
.item_sel {
box-shadow: 0 0 10px inset #1a5afd;
}

8
src/views/modules/base/category/addCategory.vue

@ -196,8 +196,10 @@ export default {
scoped
></style>
<style lang=scss >
.el-scrollbar__wrap {
overflow-x: hidden !important;
<style lang="scss" scoped>
.div_list {
/deep/ .el-scrollbar__wrap {
overflow-x: hidden !important;
}
}
</style>

18
src/views/modules/base/category/main.vue

@ -6,7 +6,8 @@
类别信息
</div>
<div class="div_list">
<el-scrollbar style="height:100%">
<el-scrollbar class="scrollbar"
style="height:100%">
<div class="div_room">
<div v-for="(item,index) in categoryList"
@ -71,20 +72,21 @@ export default {
}
},
async mounted () {
this.startLoading()
await this.getCategoryList()
this.endLoading()
},
methods: {
//
async getCategoryList () {
this.startLoading()
const url = "/oper/customize/icindividualcategorymanage/individualcategorylist"
let params = {}
const { data, code, msg } = await requestPost(url, params)
this.endLoading()
if (code === 0) {
this.categoryList = data
let obj = {
@ -173,8 +175,10 @@ export default {
scoped
></style>
<style lang=scss >
.el-scrollbar__wrap {
overflow-x: hidden !important;
<style lang="scss" scoped>
.div_list {
/deep/ .el-scrollbar__wrap {
overflow-x: hidden !important;
}
}
</style>

11
src/views/modules/visual/basicinfo/basicInfoMain.vue

@ -324,9 +324,7 @@ const vueGis = {
// type:polygon / search people
async toSubAgency (type, e, searchName) {
if (!e) {
return false
}
//neighborHood
if (type === 'people') {
@ -342,8 +340,6 @@ const vueGis = {
}
this.searchName = searchName
} else if (type === 'search') {
this.runNum++
this.runAgencyArray.push(this.orgData)
@ -359,6 +355,9 @@ const vueGis = {
});
} else {
if (!e) {
return false
}
if (!e.selected[0]) {
return false
}
@ -929,7 +928,7 @@ export default vueGis;
}
.el-scrollbar__wrap {
overflow-x: hidden !important;
// overflow-x: hidden !important;
}
.info_loading {

Loading…
Cancel
Save