diff --git a/src/components/entities/EntityList.vue b/src/components/entities/EntityList.vue index db393b4d..5c575e5a 100644 --- a/src/components/entities/EntityList.vue +++ b/src/components/entities/EntityList.vue @@ -3,68 +3,92 @@
-
- - - -
-
-
-
- + \ No newline at end of file diff --git a/src/components/entities/entities.scss b/src/components/entities/entities.scss index 1f9678bd..4bd63240 100644 --- a/src/components/entities/entities.scss +++ b/src/components/entities/entities.scss @@ -34,7 +34,7 @@ color: #ffffff !important; } .cn-entity__header{ - background: #8FA1BE; + background: #FFFFFF; } .header__icon{ background: #8FA1BE; @@ -44,76 +44,141 @@ .cn-entity { box-sizing: border-box; margin: 0 10px 30px; - width: 240px; - height: 315px; + width: 328px; + height: 329px; background: #FFFFFF; border-radius: 2px; transition: all .2s; &:hover .cn-entity__header .header__content { - color: white; + } .cn-entity__header { position: relative; - background-color: #E1E6ED; + background-color: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 20px; - width: 240px; - height: 96.61px; + width: 328px; + height: 89px; box-sizing: border-box; transition: all .2s; + .header__bottom__line { + width:288px; + height:1px; + border-top:solid 1px #eff2f5; + position: absolute; + top: 88px; + } + .header__icon { overflow: hidden; position: absolute; - bottom: -26px; - right: 102px; + top: 20px; + left: 20px; display: flex; justify-content: center; justify-items: center; align-items: center; - width: 44px; - height: 44px; + width: 52px; + height: 52px; border-radius: 50%; - background: #B8C1D1; - border: 2px solid #FFFFFF; + background: #e8fbf9; + border: 2px solid #e8fbf9; i { - font-size: 20px; - color: #ffffff; + font-size: 22px; + color: #23bf9a; } } .header__content { - font-size: 20px; - color: #828790; + font-size: 22px; + color: #333333; + font-family: PingFangSC-Medium; + font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + + .content__desc{ + color: #999999; + width: 200px; + font-size: 12px; + margin-top: 3px; + position: absolute; + top: 50px; + left: 82px; + } + + .content__name { + position: absolute; + top: 21px; + left: 82px; + } } } .cn-entity__body { overflow: hidden; - padding-top:65px; + padding-top:10px; font-size: 14px; + position: relative; + height:240px; + + .entity-statics-down{ + position: absolute; + bottom: 20px; + left: 30px; + font-family: PingFangSC-Medium; + font-size: 14px; + color: #666666; + font-weight: 500; + margin-right:24px; + i { + color:#5881B7; + font-size:14px; + margin-right:6px; + } + } + + .entity-statics-up{ + position: absolute; + bottom: 20px; + left: 112px; + font-family: PingFangSC-Medium; + font-size: 14px; + color: #666666; + font-weight: 500; + i { + color:#62B16C; + font-size:14px; + margin-right:6px; + } + + } .body__row { display: flex; align-items: center; - margin: 0 20px; - border-bottom: 1px solid #EFF2F5; + margin: 0 30px; color: #666666; - padding: 7px 0; - justify-content: center; + padding: 5px 0; + justify-content: left; } .body__row-label { - padding-right: 10px; + padding-right: 0px; color: #999999; font-size: 14px; font-weight: 400; white-space: nowrap; - + font-family: PingFangSC-Regular; + line-height: 16px; + i { + font-size: 13px; + color:#8FA1BE; + margin-right: 9px; + } } .body__row-value { width: calc(100% - 69px); @@ -126,13 +191,17 @@ font-weight: 400; } .body__detail { - padding: 9px 0 0 156px; + padding: 9px 0 0 30px; cursor: pointer; - font-family: Roboto-Regular; + font-family: PingFangSC-Regular; font-size: 14px; color: #8FA1BE; font-weight: 400; + position: absolute; + bottom: 20px; + right: 30px; + } } }