diff --git a/src/assets/scss/modules/board/detailBox.scss b/src/assets/scss/modules/board/detailBox.scss new file mode 100644 index 000000000..af33155de --- /dev/null +++ b/src/assets/scss/modules/board/detailBox.scss @@ -0,0 +1,707 @@ +@import "../../c/config"; +@import "../../c/function"; +// @import "./c/common"; + + +.m-pop { + @include shield; + background: rgba(0,0,0,0.65); + overflow-y: auto; + + .wrap { + position: relative; + margin: 120px auto; + background: #00023A; + box-shadow: inset 0px 0px 40px 0px rgba(26,149,255,0.45); + border-radius: 4px; + border: 1px solid #1A95FF; + width: 820px; + padding:24px 16px 24px 16px; + + .g-title { + display: flex; + align-items: center; + // margin-left: 24px; + + .title_img { + width: 17px; + height: 17px; + } + .tip_title { + margin-left: 8px; + font-size: 16px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #ffffff; + line-height: 22px; + } + + .title_line { + margin-left: 8px; + width: 160px; + height: 1px; + background: linear-gradient( + 270deg, + rgba(55, 198, 255, 0.1) 0%, + #1995ff 100% + ); + } + } + + .g-close { + position: absolute; + top: 24px; + right: 19px; + cursor: pointer; + } + + .g-list { + display: flex; + flex-wrap: wrap; + margin-top:48px; + margin-left:63px; + + + .item { + position: relative; + box-sizing: border-box; + padding: 0 8px; + width: 33%; + color: #fff; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + line-height: 24px; + margin-bottom: 16px; + + display: flex; + + + .item-field{ + color: rgba(255, 255, 255, 0.85); + flex:0 0 70px; + text-align: right; + } + + } + + .item1 { + width: 98%; + } + .item2 { + width: 49%; + } + } + + .g-btn{ + display: flex; + justify-content: flex-end; + + .b-close{ + margin-top:13px; + // margin-right:16px; + text-align: center; + width: 60px; + height: 32px; + border-radius: 2px; + border: 1px solid rgba(26,149,255,0.45); + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #1A95FF; + line-height: 32px; + cursor: pointer; + } + } + + .tabs { + margin-top: 30px; + display: flex; + align-items: center; + padding-left: 20px; + + .tab-btn { + width: 30px; + text-align: center; + cursor: pointer; + } + + .tab { + @include toe; + margin: 0 5px; + min-width: 80px; + padding: 0 8px; + height: 36px; + background: rgba(255, 255, 255, 0); + border: 1px solid #1257c9; + box-shadow: 0 0 10px 0 inset #1257c9; + border-radius: 2px; + text-align: center; + font-size: 17px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + line-height: 36px; + cursor: pointer; + transition: all ease 0.5s; + &.z-on { + background: linear-gradient(90deg, #1a5afd, #009cff); + box-shadow: none; + } + } + } + } +} + +.g-cpt { + display: flex; + flex-wrap: wrap; + justify-content: center; + margin-top: 5px; + + .g-l { + width: 850px; + margin-bottom: 20px; + } + + .g-r { + margin-left: 6px; + width: calc(100% - 850px - 6px); + min-width: 850px; + } +} + +.m-people { + position: relative; + + .title { + margin-bottom: 10px; + padding: 4px 2px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + + .more { + // position: absolute; + margin-left: auto; + margin-top: -10px; + width: 90px; + height: 29px; + line-height: 29px; + background: linear-gradient(90deg, #1a5afd, #26c4ff); + border-radius: 15px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + text-align: center; + cursor: pointer; + } + + .ren { + position: relative; + margin-top: 0; + padding-bottom: 15px; + + .ren-name { + position: absolute; + left: 0; + right: 0; + top: -10px; + width: 400px; + margin: 0 auto; + font-size: 24px; + line-height: 40px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + + > span { + @include toe; + display: block; + text-align: center; + } + + > img { + display: block; + margin: 3px auto; + } + } + + .pic-ren { + margin: 0 auto; + display: block; + pointer-events: none; + } + .ren-prop { + position: absolute; + width: 100px; + height: 120px; + + &.z-1 { + left: 170px; + top: 10px; + } + &.z-6 { + right: 170px; + top: 10px; + } + &.z-2 { + left: 55px; + top: 110px; + } + &.z-5 { + right: 55px; + top: 110px; + } + &.z-3 { + left: 115px; + top: 245px; + } + &.z-4 { + right: 115px; + top: 245px; + } + + > img { + margin: 0 auto; + } + > span { + display: block; + font-size: 16px; + line-height: 30px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + text-align: center; + } + + &:hover { + .ren-cnt { + display: block; + } + } + + .ren-cnt { + position: absolute; + z-index: 10; + display: none; + box-sizing: border-box; + top: 60px; + left: 90px; + padding: 10px; + width: 162px; + min-height: 60px; + background: rgba(#b7c7e0, 0.24); + line-height: 20px; + + h5 { + margin: 0; + font-size: 16px; + font-family: PingFang SC; + font-weight: 500; + color: #fefefe; + } + + p { + margin: 0; + margin-top: 4px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #fefefe; + } + } + } + } +} + + + +.m-relation { + position: relative; + margin-top: 10px; + + .title { + margin-bottom: 10px; + padding: 4px 2px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + + .info { + position: relative; + width: 410px; + height: 312px; + margin: 0 auto; + .huzhu { + position: relative; + + .huzhu-bg { + display: block; + } + + .huzhu-ico { + position: absolute; + display: block; + top: 90px; + left: 0; + right: 0; + margin: 0 auto; + } + .huzhu-name { + position: absolute; + display: block; + top: 170px; + width: 100%; + font-size: 24px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + line-height: 30px; + text-align: center; + } + > p { + position: absolute; + top: 200px; + font-size: 16px; + width: 100%; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + text-align: center; + } + } + + .rel { + position: absolute; + width: 128px; + height: 38px; + + .rel-line { + position: absolute; + z-index: 1; + } + .rel-bg { + height: 70px; + width: 128px; + } + + .rel-text { + @include toe; + position: absolute; + z-index: 2; + top: 0; + left: 0; + width: 100%; + padding: 7px 10px; + line-height: 24px; + text-align: center; + color: #fff; + font-size: 18px; + font-family: PingFang SC; + font-weight: 500; + cursor: pointer; + + .rel-name { + font-size: 14px; + } + } + + &.z-zuo-2 { + top: 124px; + left: -33px - 128px; + .rel-line { + left: 127px; + top: -8px; + } + } + + &.z-you-2 { + top: 124px; + right: -33px - 128px; + .rel-line { + right: 127px; + top: -8px; + } + } + + &.z-zuo-1 { + top: 25px; + left: -33px - 128px; + .rel-line { + top: 17px; + left: 131px; + } + } + &.z-you-1 { + top: 25px; + right: -33px - 128px; + .rel-line { + top: 17px; + right: 131px; + } + } + + &.z-zuo-3 { + bottom: 45px; + left: -33px - 128px; + .rel-line { + left: 131px; + bottom: -15px; + } + } + &.z-you-3 { + bottom: 45px; + right: -33px - 128px; + .rel-line { + right: 131px; + bottom: -15px; + } + } + } + } +} + +.m-tb { + .title { + margin-bottom: 10px; + padding: 4px 2px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + .tb { + height: 300px; + overflow-y: auto; + @include scrollBar; + } +} + +.m-detail-main { + display: flex; + justify-content: space-between; + margin-top: 10px; + + .m-list { + width: calc(50% - 3px); + + &.z-only { + width: 100%; + } + + .title { + margin-bottom: 10px; + padding: 4px 2px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + + a { + display: block; + color: rgba(#fff, 0.5); + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + margin-right: 10px; + cursor: pointer; + + &.z-on { + color: #fff; + cursor: default; + + &:hover { + color: #fff; + text-decoration: none; + } + } + + &:hover { + color: rgba(#fff, 0.5); + text-decoration: underline; + } + } + } + + .list-wrap { + height: 480px; + overflow-y: auto; + @include scrollBar; + + .list { + .item { + position: relative; + background-color: #104ba4; + padding: 10px 20px; + margin-bottom: 4px; + cursor: pointer; + transition: all ease 0.1s; + + .item-row { + display: flex; + justify-content: space-between; + align-items: center; + + .item-l { + width: 25%; + } + .item-r { + width: 75%; + } + + &:hover { + &::before { + content: ""; + position: absolute; + display: block; + left: 0; + top: 0; + bottom: 0; + width: 6px; + background: linear-gradient(270deg, #0336ff, #01b4ff); + border-radius: 2px; + } + + &::after { + content: ""; + position: absolute; + display: block; + left: 15px; + top: 0; + bottom: 0; + margin: auto 0; + width: 0; + height: 0; + border-width: 10px; + border-style: solid; + border-color: transparent transparent transparent #20edff; + } + } + } + + .item-point { + text-align: center; + padding-left: 10%; + height: 16px; + font-size: 22px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + line-height: 12px; + } + + .item-title { + padding: 10px 0; + font-size: 18px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + line-height: 24px; + } + + .item-date { + padding: 10px 0; + border-top: 1px dashed #8398d9; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.67; + } + &:hover { + box-shadow: 0 0 30px 5px inset #22f; + background-color: darken(#104ba4, 12); + } + } + } + } + } +} + +.m-pagination { + box-sizing: border-box; + margin-top: 20px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } +} + +.m-hint { + position: relative; + height: 300px; + + // 暂无数据 + img { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + } +} diff --git a/src/js/columns/board/houseList.js b/src/js/columns/board/houseList.js new file mode 100644 index 000000000..aa87a8d92 --- /dev/null +++ b/src/js/columns/board/houseList.js @@ -0,0 +1,28 @@ +export default [ + { + key: 'index', + title: '序号', + display: ['table'], + fixed: false, + block: true, + width: 120 + }, + { + key: 'neighborHoodName', + title: '所属小区', + display: ['table'], + fixed: false, + block: true, + width: 100 + }, + + + { + key: 'buildingName', + title: '所属楼宇', + display: [ 'table'], + block: true, + width: 60 + }, + +] diff --git a/src/js/columns/columns.js b/src/js/columns/columns.js index b087050cd..e249b1dbe 100644 --- a/src/js/columns/columns.js +++ b/src/js/columns/columns.js @@ -25,6 +25,11 @@ import GuidanceList from './pcWork/guidanceList' //数据统计 import OperStaticList from './dataReport/operStatic' + +//房屋信息 +import houseList from './board/houseList' + + export default { CustomerList: CustomerList['list'], // 客户管理——客户管理——客户列表 ConfigForm: CustomerList['configForm'], // 客户管理——客户管理——配置 @@ -53,5 +58,9 @@ export default { guidanceList:GuidanceList, //数据统计 - operStaticList:OperStaticList + operStaticList:OperStaticList, + + + //房屋信息 + houseList:houseList } diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseList copy.vue b/src/views/modules/visual/basicinfo/houseStatic/houseList copy.vue new file mode 100644 index 000000000..3a09220fe --- /dev/null +++ b/src/views/modules/visual/basicinfo/houseStatic/houseList copy.vue @@ -0,0 +1,237 @@ + + + + + + + + + + + diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseList.vue b/src/views/modules/visual/basicinfo/houseStatic/houseList.vue index 3a09220fe..93f57e9c7 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/houseList.vue +++ b/src/views/modules/visual/basicinfo/houseStatic/houseList.vue @@ -1,78 +1,25 @@