Browse Source

继续楼上功能

V1.0
dai 3 years ago
parent
commit
e22dfa29b3
  1. 6
      src/views/modules/cpts/house/info.vue
  2. 2
      src/views/modules/cpts/resi/info.vue
  3. 12
      src/views/modules/home/index.vue
  4. 9
      src/views/modules/home/notice.vue

6
src/views/modules/cpts/house/info.vue

@ -54,5 +54,11 @@ export default {
<style lang="scss" scoped>
.m-dialog {
/deep/ .el-dialog__body {
position: relative;
max-height: 83vh;
box-sizing: border-box;
padding: 0 0 20px !important;
}
}
</style>

2
src/views/modules/cpts/resi/info.vue

@ -50,7 +50,7 @@ export default {
<style lang="scss" scoped>
.m-dialog {
.el-dialog__body {
/deep/ .el-dialog__body {
position: relative;
max-height: 83vh;
box-sizing: border-box;

12
src/views/modules/home/index.vue

@ -64,7 +64,7 @@
<span>社区简介</span>
</div>
<p>
{{ deptName }}<span v-if="pandectData.gridCount"
{{ pandectData.deptName }}<span v-if="pandectData.gridCount"
>划分为{{ pandectData.underCount }}{{
pandectData.underName
}}</span
@ -96,6 +96,7 @@
<div class="list">
<div
class="item"
@click="handleClickCategory(item)"
:key="item.code"
v-for="(item, index) in resiCategory.list"
>
@ -281,6 +282,15 @@ export default {
);
},
methods: {
handleClickCategory(item) {
this.$router.push({
path: "/main/base-resi",
query: {
category: item.code,
},
});
},
handleClickNotice(item) {
const { msgType, targetId } = item;
if (msgType == "community_house") {

9
src/views/modules/home/notice.vue

@ -59,12 +59,7 @@ export default {
pageNo: 1,
pageSize: window.localStorage.getItem("pageSize") || 20,
total: 1,
noticeList: [
// {
// configId: "20211210153859_f070ac2dd01129da5d9a9f2329fbd9ea1",
// noticeContent: "-2!",
// },
],
noticeData: [],
};
},
computed: {},
@ -97,7 +92,7 @@ export default {
if (code === 0) {
this.total = data.total;
this.noticeList = data.list;
this.noticeData = data.list;
} else {
this.$message.error(msg);
}

Loading…
Cancel
Save