From e3bc9c7d75a9dd46b54800d094702622977079d9 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Fri, 18 Nov 2022 13:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/detail-main.scss | 57 ++++ src/main.js | 2 +- .../modules/base/community/buildTable.vue | 3 +- .../base/community/communityDetail copy.vue | 263 ++++++++++++++++++ .../base/community/communityDetail.vue | 106 ++++--- 5 files changed, 396 insertions(+), 35 deletions(-) create mode 100644 src/views/modules/base/community/communityDetail copy.vue diff --git a/src/assets/scss/modules/management/detail-main.scss b/src/assets/scss/modules/management/detail-main.scss index 0767b7768..420cf5fb3 100644 --- a/src/assets/scss/modules/management/detail-main.scss +++ b/src/assets/scss/modules/management/detail-main.scss @@ -2,8 +2,65 @@ @import "@/assets/scss/c/config.scss"; @import "@/assets/scss/c/function.scss"; +//新版 +.d-row{ + width:100%; + padding-left:23px; + padding-right:30px; + margin-top:19px; + + .d-info{ + + .d-info-prop{ + display:flex; + justify-content: start; + height:38px; + border: 1px solid #D3DCE6; + margin-top:2px; + + .d-title{ + flex:0 0 90px; + text-align: center; + background: #D6E2F8; + font-size: 14px; + font-family: Source Han Serif CN; + font-weight: 400; + color: #333333; + line-height: 38px; + + } + + .d-content{ + padding:5px; + background: #FFFFFF; + width:100%; + + .d-content-in{ + width:100%; + padding-left:16px; + background: #F6F6F6; + font-size: 14px; + font-family: Source Han Serif CN; + font-weight: 400; + color: #333333; + line-height: 27px; + } + } + } + + //带图片的行高 + .d-info-prop-pic{ + height:185px; + } + } +} +.d-img{ + height:140px; + width:117px; +} +//旧版 .cell-width-area{ width: 450px } diff --git a/src/main.js b/src/main.js index 4bebde648..c7d5b6a39 100644 --- a/src/main.js +++ b/src/main.js @@ -97,7 +97,7 @@ Vue.prototype.$getElUploadHeaders = () => ({ // 保存整站vuex本地储存初始状态 window.SITE_CONFIG["storeState"] = cloneDeep(store.state); -Vue.prototype.tableHeaderStyle = { background: 'linear-gradient(0deg, #005EB3 0%, #0083F0 100%)', color: '#FFFFFF', padding: '6px' }; +Vue.prototype.tableHeaderStyle = { background: 'linear-gradient(0deg, #005EB3 0%, #0083F0 100%)', color: '#FFFFFF', padding: '6px 0px' }; new Vue({ i18n, diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue index 7dd28c5e6..0b9501dd6 100644 --- a/src/views/modules/base/community/buildTable.vue +++ b/src/views/modules/base/community/buildTable.vue @@ -105,11 +105,12 @@
diff --git a/src/views/modules/base/community/communityDetail copy.vue b/src/views/modules/base/community/communityDetail copy.vue new file mode 100644 index 000000000..f08478197 --- /dev/null +++ b/src/views/modules/base/community/communityDetail copy.vue @@ -0,0 +1,263 @@ + + + + + + + diff --git a/src/views/modules/base/community/communityDetail.vue b/src/views/modules/base/community/communityDetail.vue index f08478197..9eb8d5efa 100644 --- a/src/views/modules/base/community/communityDetail.vue +++ b/src/views/modules/base/community/communityDetail.vue @@ -3,53 +3,72 @@
-
-
- 所属组织: - {{ dataForm.agencyName }} + class="d-row"> +
+
+
所属组织:
+
+
{{ dataForm.agencyName }}
+
-
- 所属网格: - {{ dataForm.gridName?dataForm.gridName:'--' }} +
+
所属网格:
+
+
{{ dataForm.gridName?dataForm.gridName:'--' }}
+
-
- 小区名称: - {{ dataForm.neighborHoodName}} +
+
小区名称:
+
+
{{ dataForm.neighborHoodName}}
+
-
- 小区编码: - {{ dataForm.coding?dataForm.coding:'--'}} +
+
小区编码:
+
+
{{ dataForm.coding?dataForm.coding:'--'}}
+
- -
- - 下载 +
+
小区二维码:
+
+
+ + 下载 +
+
-
- 关联物业: - {{ dataForm.propertyShow?dataForm.propertyShow:'--'}} +
+
关联物业:
+
+
{{ dataForm.propertyShow?dataForm.propertyShow:'--'}}
+
-
- 实有楼栋: - {{dataForm.realBuilding?dataForm.realBuilding:0 }} +
+
实有楼栋:
+
+
{{dataForm.realBuilding?dataForm.realBuilding:0 }}
+
-
- 详细地址: - {{ dataForm.address }} +
+
详细地址:
+
+
{{ dataForm.address }}
+
-
- 地图位置: +
+ 地图位置:
@@ -63,6 +82,7 @@
关 闭
@@ -257,6 +277,26 @@ export default {