diff --git a/css/homepage-other.css b/css/homepage-other.css index bd760c9..840727b 100644 --- a/css/homepage-other.css +++ b/css/homepage-other.css @@ -190,17 +190,22 @@ body { border: 1px solid #e9eef2; border-radius: 10px; flex-direction: column; - padding-top: 115px; + padding-top: 39px; padding-bottom: 40px; } #homepage-other .matter .card-user .avatar { width: 120px; height: 120px; border-radius: 8px; + margin-bottom: 20px; +} +#homepage-other .matter .card-user .name-area { + margin-bottom: 40px; } #homepage-other .matter .card-user .name-area .username { font-size: 15px; color: #333; + margin-bottom: 12px; } #homepage-other .matter .card-user .name-area .uid { color: #7f7f7f; @@ -213,12 +218,13 @@ body { cursor: pointer; } #homepage-other .matter .card-user .medal-area { - margin: 0 30px; + margin: 0 30px 44px; align-self: self-start; } #homepage-other .matter .card-user .medal-area .title { font-size: 14px; color: #7f7f7f; + margin-bottom: 13px; } #homepage-other .matter .card-user .medal-area .list { flex-direction: row; @@ -226,4 +232,83 @@ body { #homepage-other .matter .card-user .medal-area .list .item { height: 30px; max-width: 30px; + margin-right: 8px; +} +#homepage-other .matter .card-user .btn-area .item { + width: 200px; + height: 40px; + background-color: #ffffff; + border: 1px solid #ebebeb; + border-radius: 8px; + font-size: 15px; + color: #555555; +} +#homepage-other .matter .card-user .btn-area .item:not(:last-of-type) { + margin-bottom: 15px; +} +#homepage-other .matter .card-user .btn-area .item.msg { + background-color: #50e3c2; + border: 1px solid #50e3c2; + color: #000000; +} +#homepage-other .matter .matter-content .message-box { + height: 452px; + background-color: #ffffff; + border: 1px solid #e9eef2; + border-radius: 10px; + padding-left: 95px; + padding-bottom: 5px; +} +#homepage-other .matter .matter-content .message-box .header { + border-bottom: 1px dotted #d7d7d7; + padding-top: 46px; + padding-bottom: 19px; + position: relative; +} +#homepage-other .matter .matter-content .message-box .header .avatar { + width: 40px; + height: 40px; + border-radius: 50%; + position: absolute; + top: 40px; + left: -55px; +} +#homepage-other .matter .matter-content .message-box .header .username { + font-size: 14px; + color: #333333; +} +#homepage-other .matter .matter-content .message-box .header .icon { + height: 40px; +} +#homepage-other .matter .matter-content .message-box .info-list { + flex-flow: wrap; + padding-top: 20px; + border-bottom: 1px dotted #d7d7d7; +} +#homepage-other .matter .matter-content .message-box .info-list .item { + width: 50%; + margin-bottom: 15px; +} +#homepage-other .matter .matter-content .message-box .info-list .item .label { + font-size: 14px; + color: #7f7f7f; + width: 87px; +} +#homepage-other .matter .matter-content .message-box .info-list .item .value { + font-size: 14px; + color: #000000; +} +#homepage-other .matter .matter-content .message-box .info-list .item .status { + color: #555555; + font-size: 13px; + padding: 0 6px; + height: 20px; + line-height: 20px; + background-color: #f0f1ec; + border-radius: 23px; + margin-left: 10px; +} +#homepage-other .matter .matter-content .message-box .info-list .item .status.blue { + color: #ffffff; + background-color: #04b0d5; } diff --git a/css/homepage-other.less b/css/homepage-other.less index d9a815f..ee9a6fe 100644 --- a/css/homepage-other.less +++ b/css/homepage-other.less @@ -218,19 +218,23 @@ body { border: 1px solid rgba(233, 238, 242, 1); border-radius: 10px; flex-direction: column; - padding-top: 115px; + padding-top: 39px; padding-bottom: 40px; .avatar { width: 120px; height: 120px; border-radius: 8px; + margin-bottom: 20px; } .name-area { + margin-bottom: 40px; + .username { font-size: 15px; color: #333; + margin-bottom: 12px; } .uid { @@ -246,11 +250,13 @@ body { } .medal-area { - margin: 0 30px; + margin: 0 30px 44px; align-self: self-start; + .title { font-size: 14px; color: #7f7f7f; + margin-bottom: 13px; } .list { @@ -258,12 +264,104 @@ body { .item { height: 30px; max-width: 30px; + margin-right: 8px; + } + } + } + + .btn-area { + .item { + width: 200px; + height: 40px; + background-color: rgba(255, 255, 255, 1); + border: 1px solid rgba(235, 235, 235, 1); + border-radius: 8px; + font-size: 15px; + color: #555555; + + &:not(:last-of-type) { + margin-bottom: 15px; + } + + &.msg { + background-color: rgba(80, 227, 194, 1); + border: 1px solid rgba(80, 227, 194, 1); + color: #000000; } } } } .matter-content { + .message-box { + height: 452px; + background-color: rgba(255, 255, 255, 1); + border: 1px solid rgba(233, 238, 242, 1); + border-radius: 10px; + padding-left: 95px; + padding-bottom: 5px; + + .header { + border-bottom: 1px dotted #d7d7d7; + padding-top: 46px; + padding-bottom: 19px; + position: relative; + + .avatar { + width: 40px; + height: 40px; + border-radius: 50%; + position: absolute; + top: 40px; + left: -55px; + } + + .username { + font-size: 14px; + color: #333333; + } + + .icon { + height: 40px; + } + } + + .info-list { + flex-flow: wrap; + padding-top: 20px; + border-bottom: 1px dotted #d7d7d7; + + .item { + width: 50%; + margin-bottom: 15px; + .label { + font-size: 14px; + color: #7f7f7f; + width: 87px; + } + .value { + font-size: 14px; + color: #000000; + } + + .status { + color: #555555; + font-size: 13px; + padding: 0 6px; + height: 20px; + line-height: 20px; + background-color: rgba(240, 241, 236, 1); + border-radius: 23px; + margin-left: 10px; + + &.blue { + color: #ffffff; + background-color: rgba(4, 176, 213, 1); + } + } + } + } + } } } } diff --git a/homepage-other.html b/homepage-other.html index e64c419..bb4b7a5 100644 --- a/homepage-other.html +++ b/homepage-other.html @@ -1,88 +1,148 @@ +
+ + +
-
-
-
- UID: 3276161
-
-
勋章 6
-
+
+
+
+ UID: 3276161
+
+
勋章 6
+