From 9c972450ac7e4aee8368ba50157858c4a236dd1a Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 20 Jan 2022 13:42:54 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E5=88=86=E7=B1=BB=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/add.png | Bin 0 -> 618 bytes .../scss/modules/management/categoryMain.scss | 81 ++++ src/views/modules/base/category/main.vue | 382 ++++++++++++++++++ 3 files changed, 463 insertions(+) create mode 100644 src/assets/img/add.png create mode 100644 src/assets/scss/modules/management/categoryMain.scss create mode 100644 src/views/modules/base/category/main.vue diff --git a/src/assets/img/add.png b/src/assets/img/add.png new file mode 100644 index 0000000000000000000000000000000000000000..59a8922f7e7532587230d7b994ed15283af9dcc0 GIT binary patch literal 618 zcmV-w0+s!VP)Px%BuPX;R9Hvtncr*EP!z|{x%shlYiev6!YT}{WxBoj1H=dafC;jv;s4>Ye}eu8 z;+u#}P+^Qc`5*Ww+O6A5GpdNBsomD><{n9H!G}=p4bgV?-iHLj_vU=^z2}~g9E9Qc zo3ohN{BW7=T};4?P-@WpiG=ya(9+7#wrVTtsjd{cpQC`qL38j4l5ZqlT5>AvQ1)=c2>fq zOcL#ECfg(?;hrBpC!m6acA}Esf4 img { + width: 86px; + height: 86px; + } + } + + .item_add { + font-size: 24px; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + line-height: 350px; + display: flex; + align-items: center; + padding: 17px 16px; + + > img { + width: 86px; + height: 86px; + } + + > span { + font-size: 24px; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + line-height: 350px; + margin-left: 16px; + } + } + } + } + + .div_room::after { + content: ''; + flex: 1; + } +} diff --git a/src/views/modules/base/category/main.vue b/src/views/modules/base/category/main.vue new file mode 100644 index 00000000..7e8900de --- /dev/null +++ b/src/views/modules/base/category/main.vue @@ -0,0 +1,382 @@ + + + + + + + + + \ No newline at end of file From 323f6e8b940f135f5e276274f162439e76044b7c Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 20 Jan 2022 13:59:02 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E4=BA=8B=E9=A1=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/modules/management/categoryMain.scss | 12 ++++++++++++ src/views/modules/base/category/main.vue | 10 +++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/assets/scss/modules/management/categoryMain.scss b/src/assets/scss/modules/management/categoryMain.scss index 9bda62e4..0335afef 100644 --- a/src/assets/scss/modules/management/categoryMain.scss +++ b/src/assets/scss/modules/management/categoryMain.scss @@ -45,6 +45,18 @@ width: 86px; height: 86px; } + .item_content { + margin-left: 16px; + text-align: left; + + .item_count { + margin-top: 29px; + font-size: 28px; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + } + } } .item_add { diff --git a/src/views/modules/base/category/main.vue b/src/views/modules/base/category/main.vue index 7e8900de..b647612e 100644 --- a/src/views/modules/base/category/main.vue +++ b/src/views/modules/base/category/main.vue @@ -17,7 +17,7 @@ - {{item.columnName}} + {{item.label}}
- {{item.count}} - {{item.columnName}} +
{{item.count}}
+
{{item.columnName}}
- {{item.columnName}} + {{item.label}}
@@ -98,7 +98,7 @@ export default { this.categoryList = data let obj = { managementIcon: require('@/assets/img/add.png'), - columnName: '新建分类' + label: '新建分类' } this.categoryList.push(obj) From 54b3d0838cb56111220515dd98c6f48365442dc8 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 20 Jan 2022 13:59:11 +0800 Subject: [PATCH 3/9] 11 --- .../modules/communityParty/regionalParty/activitys.vue | 6 +++--- src/views/modules/communityParty/regionalParty/units.vue | 2 +- src/views/modules/visual/communityParty/community.vue | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/modules/communityParty/regionalParty/activitys.vue b/src/views/modules/communityParty/regionalParty/activitys.vue index 18f9d315..7b85862d 100644 --- a/src/views/modules/communityParty/regionalParty/activitys.vue +++ b/src/views/modules/communityParty/regionalParty/activitys.vue @@ -337,11 +337,11 @@ export default { //获取服务事项下拉框 async loadService () { - const url = "/heart/icresidemanddict/subcodelist" - // const url = "http://yapi.elinkservice.cn/mock/245/heart/icresidemanddict/subcodelist" + const url = "/heart/serviceitem/dict-list" + let params = { - parentCategoryCode: '1010' + // parentCategoryCode: '1010' } const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/communityParty/regionalParty/units.vue b/src/views/modules/communityParty/regionalParty/units.vue index 5dc1df91..2119e59f 100644 --- a/src/views/modules/communityParty/regionalParty/units.vue +++ b/src/views/modules/communityParty/regionalParty/units.vue @@ -375,7 +375,7 @@ export default { //获取服务事项下拉框 async loadService () { const url = "/heart/serviceitem/dict-list" - // const url = "http://yapi.elinkservice.cn/mock/245/heart/icresidemanddict/subcodelist" + let params = { // parentCategoryCode: '1010' diff --git a/src/views/modules/visual/communityParty/community.vue b/src/views/modules/visual/communityParty/community.vue index 77342bb7..01da97c1 100644 --- a/src/views/modules/visual/communityParty/community.vue +++ b/src/views/modules/visual/communityParty/community.vue @@ -424,11 +424,10 @@ export default { return y + '-' + m + '-' + d + ' 00:00:00' }, async loadUnit () { - const url = "/heart/icresidemanddict/subcodelist" - // const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/option" + const url = "/heart/serviceitem/dict-list" let params = { - parentCategoryCode: '1010' + } const { data, code, msg } = await requestPost(url, params) From 756abbbe004dad4952e7f2a313a94e430308150b Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 20 Jan 2022 16:23:17 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/categoryMain.scss | 194 +++++--- .../modules/base/category/addCategory.vue | 202 ++++++++ src/views/modules/base/category/main.vue | 326 +++---------- src/views/modules/base/resi.vue | 443 +++++++++--------- 4 files changed, 611 insertions(+), 554 deletions(-) create mode 100644 src/views/modules/base/category/addCategory.vue diff --git a/src/assets/scss/modules/management/categoryMain.scss b/src/assets/scss/modules/management/categoryMain.scss index 0335afef..e5135aad 100644 --- a/src/assets/scss/modules/management/categoryMain.scss +++ b/src/assets/scss/modules/management/categoryMain.scss @@ -4,90 +4,154 @@ width: 100%; background: #ffffff; border-radius: 5px; - padding: 35px 0; - - .div_tip { - font-size: 24px; - font-family: PingFang SC; - font-weight: bold; - color: #333333; - margin-left: 42px; - } - .div_room_bar { - box-sizing: border-box; - margin-top: 5px; - height: calc(100vh - 230px); - } + padding: 35px 0 15px; +} +.div_tip { + font-size: 24px; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + margin-left: 42px; +} +.div_list { + box-sizing: border-box; + margin-top: 5px; + height: calc(100vh - 210px); +} - .div_room { - // height: calc(88vh - 40px); - // margin-top: 9px; +.div_all_list { + height: calc(100vh - 260px); +} + +.div_room { + // height: calc(88vh - 40px); + // margin-top: 9px; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + margin-left: 42px; + // margin: 0 21px 0 21px; + + .item { + width: 340px; + height: 120px; + background: #ffffff; + box-shadow: 0px 0px 17px 3px #eaeaea; + border-radius: 6px; + margin: 15px 25px 15px 0; display: flex; - flex-wrap: wrap; - justify-content: flex-start; - margin-left: 42px; - // margin: 0 21px 0 21px; - - .item { - width: 340px; - height: 120px; - background: #ffffff; - box-shadow: 0px 0px 17px 3px #eaeaea; - border-radius: 6px; - margin-top: 30px; - display: flex; + position: relative; - .item_category { + .item_category { + width: 100%; + display: flex; + align-items: center; + padding: 17px 16px; + > img { + width: 86px; + height: 86px; + } + .item_content { + margin-left: 16px; + width: 100%; + text-align: left; display: flex; - align-items: center; - padding: 17px 16px; - > img { - width: 86px; - height: 86px; + flex-direction: column; + justify-content: flex-start; + + .item_count { + font-size: 28px; + font-family: PingFang SC; + font-weight: bold; + color: #333333; } - .item_content { - margin-left: 16px; - text-align: left; + .item_row2 { + margin-top: 21px; + display: flex; + justify-content: space-between; + + .row_left { + font-size: 20px; + font-family: PingFang SC; + font-weight: 500; + color: #202020; + } - .item_count { - margin-top: 29px; - font-size: 28px; + .row_right { + margin: 5px 10px 0 0; + font-size: 16px; font-family: PingFang SC; - font-weight: bold; - color: #333333; + font-weight: 500; + text-decoration: underline; + color: #00a7a9; + cursor: pointer; } } } - .item_add { + > span { + margin-left: 16px; + font-size: 24px; + } + } + + .item_add { + cursor: pointer; + font-size: 24px; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + display: flex; + align-items: center; + padding: 17px 16px; + + > img { + width: 86px; + height: 86px; + } + + > span { font-size: 24px; font-family: PingFang SC; font-weight: 500; color: #333333; - line-height: 350px; - display: flex; - align-items: center; - padding: 17px 16px; - - > img { - width: 86px; - height: 86px; - } - > span { - font-size: 24px; - font-family: PingFang SC; - font-weight: 500; - color: #333333; - line-height: 350px; - margin-left: 16px; - } + margin-left: 16px; } } + + .icon_circle { + cursor: pointer; + position: absolute; + top: -10px; + right: -10px; + height: 23px; + width: 23px; + background-color: #ffffff; + border-radius: 50%; + border: 1px solid #a5a5a5; + } + + .icon_sel { + cursor: pointer; + background-color: #6bb9f8; + border: 1px solid #6bb9f8; + } } +} + +.div_room::after { + content: ''; + flex: 1; +} + +.div_btn { + margin-top: 15px; + display: flex; + width: 100%; + justify-content: center; - .div_room::after { - content: ''; - flex: 1; + .btn_right { + margin-left: 50px; } } diff --git a/src/views/modules/base/category/addCategory.vue b/src/views/modules/base/category/addCategory.vue new file mode 100644 index 00000000..f84c1a51 --- /dev/null +++ b/src/views/modules/base/category/addCategory.vue @@ -0,0 +1,202 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/category/main.vue b/src/views/modules/base/category/main.vue index b647612e..10a35729 100644 --- a/src/views/modules/base/category/main.vue +++ b/src/views/modules/base/category/main.vue @@ -1,50 +1,64 @@ @@ -294,87 +171,6 @@ export default { scoped > - - + \ No newline at end of file diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index c7aee92b..15a09df5 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1,6 +1,5 @@