diff --git a/src/assets/img/icon/home/jin.webp b/src/assets/img/icon/home/jin.webp new file mode 100644 index 0000000..c938e17 Binary files /dev/null and b/src/assets/img/icon/home/jin.webp differ diff --git a/src/assets/img/icon/home/level.webp b/src/assets/img/icon/home/level.webp new file mode 100644 index 0000000..cfc223f Binary files /dev/null and b/src/assets/img/icon/home/level.webp differ diff --git a/src/assets/img/icon/home/rank-yellow.png b/src/assets/img/icon/home/rank-yellow.png new file mode 100644 index 0000000..0d366bc Binary files /dev/null and b/src/assets/img/icon/home/rank-yellow.png differ diff --git a/src/pages/home/LivePage.vue b/src/pages/home/LivePage.vue index 88fbacf..12456ee 100644 --- a/src/pages/home/LivePage.vue +++ b/src/pages/home/LivePage.vue @@ -17,38 +17,83 @@
-
#唱歌
-
江苏第15名
+
+ + 唱歌 +
+
+ + 江苏第15名 +
- - - -
107
- +
+ + + +
107
+ +
+
+
+ + 更多同城 + +
+
- +
+
+
+
+ 欢迎来到直播间!抖音严禁未成年人直播或打赏,直接间内严禁出现违法违规、低俗色情、吸烟酗酒等内容。如主播在直播过程中以不当方式诱导打赏、私下交易,请谨慎判断,以防人身财产损失。请大家注意财产安全,谨防网络诈骗。 +
+
+
+
+ + 30 +
+
+ 嘻嘻哈哈 + {{ i }} +
+
+
+ 点击 +
@@ -78,16 +123,21 @@ export default { width: 100vw; height: 100vh; + @tag-bg: rgba(58, 58, 70, .3); + .top { + display: flex; + justify-content: space-between; margin-top: 1rem; .left { + margin-left: @padding-page; + .liver { box-sizing: border-box; - width: 45vw; - background: yellowgreen; + background: @second-btn-color-tran; display: flex; - padding: .2rem .2rem .2rem .1rem; + padding: .3rem .4rem .3rem .2rem; align-items: center; border-radius: 2rem; @@ -95,10 +145,10 @@ export default { border-radius: 50%; width: 3rem; height: 3rem; + margin-right: .4rem; } .desc { - flex: 1; display: flex; align-items: center; @@ -106,22 +156,24 @@ export default { .desc-wrapper { - width: 60%; + width: 8rem; .name { + font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .count { + color: gainsboro; font-size: 1rem; } } .follow-btn { - height: 3.8rem; - width: 4rem; + height: 3rem; + width: 4.5rem; background: @primary-btn-color; border-radius: 3rem; display: flex; @@ -132,10 +184,146 @@ export default { } } + .left-bottom { + margin-top: calc(@padding-page / 2); + display: flex; + font-size: 1.2rem; + + .tag { + display: flex; + align-items: center; + padding: .4rem 1rem; + background: @tag-bg; + border-radius: 2rem; + margin-right: 1rem; + + img { + margin-right: .5rem; + width: 1rem; + height: 1rem; + } + } + } + } .right { + margin-top: .3rem; + display: flex; + flex-direction: column; + + .follower { + @width: 3rem; + display: flex; + + .round { + width: @width; + height: @width; + border-radius: 50%; + margin-right: .3rem; + } + + .count { + font-size: 1.2rem; + background: @second-btn-color-tran; + display: flex; + align-items: center; + justify-content: center; + } + .close { + margin-right: 1rem; + margin-left: .5rem; + padding: 0.6rem; + width: calc(@width - 1.2rem); + height: calc(@width - 1.2rem); + } + } + + .more { + display: flex; + justify-content: flex-end; + + .wrapper { + border-radius: 1.3rem 0 0 1.3rem; + padding: .2rem 0 .2rem 1rem; + margin-top: 1.5rem; + background: @tag-bg; + display: flex; + align-items: center; + font-size: 1rem; + } + } + + } + } + + .bottom { + position: absolute; + bottom: 0; + width: 100vw; + box-sizing: border-box; + padding: @padding-page; + + + .left { + width: 90%; + + .comments { + overflow: auto; + height: 20vh; + + .comments-wrapper { + min-height: 20vh; + display: flex; + flex-direction: column; + justify-content: flex-end; + } + + .comment { + padding: .4rem .5rem; + border-radius: 1rem; + background: @tag-bg; + margin-bottom: .5rem; + + @text-color: rgb(164, 234, 253); + + &.notice { + .text { + color: @text-color; + } + } + + .level { + display: inline-block; + + .wrapper { + display: flex; + @color: rgb(130, 133, 185); + align-items: center; + font-size: 1rem; + border-radius: 1rem; + margin-right: 0.5rem; + padding: 0 .6rem; + background: @color; + + img { + margin-right: 0.3rem; + width: 1.2rem; + } + } + } + + .name { + margin-right: 0.5rem; + font-size: 1.3rem; + color: @text-color; + } + .text{ + word-break: break-all; + } + } + } } } }