|
@@ -0,0 +1,159 @@
|
|
|
|
|
+<script>
|
|
|
|
|
+import LiveInteract from "@/components/live/LiveInteract.vue";
|
|
|
|
|
+import LiveNotice from "@/components/notcie/LiveNotice.vue";
|
|
|
|
|
+
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: "LiveItem",
|
|
|
|
|
+ components: {LiveNotice, LiveInteract}
|
|
|
|
|
+}
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="live-item">
|
|
|
|
|
+ <div class="live-header">
|
|
|
|
|
+ <div class="header-l">
|
|
|
|
|
+ <img src="@/assets/live/arrow-left.png" class="arrow-left" />
|
|
|
|
|
+ <div class="live-box">
|
|
|
|
|
+ <img src="https://picsum.photos/200" class="user-avatar" />
|
|
|
|
|
+ <div class="live-info">
|
|
|
|
|
+ <span class="live-name">2024秋季投资策2024秋季投资策略2024秋季投资策略</span>
|
|
|
|
|
+ <span class="live-user-count">13.4 万人看过</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="follow-status">关注</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="header-r">
|
|
|
|
|
+ <img src="@/assets/fenestrule.png" class="header-r-icon" />
|
|
|
|
|
+ <img src="@/assets/more.png" class="header-r-icon" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="preside-row">主持人:汪老师 · 职业编号:S0570618010086</div>
|
|
|
|
|
+ <live-notice />
|
|
|
|
|
+ <div class="live-status">
|
|
|
|
|
+ <img src="@/assets/undulate.png" class="undulate-icon" />
|
|
|
|
|
+ <span>直播中</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <live-interact style="flex: 1" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<style scoped>
|
|
|
|
|
+
|
|
|
|
|
+.live-item {
|
|
|
|
|
+ width: 100vw;
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ background: #000000;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.live-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ column-gap: 8px;
|
|
|
|
|
+ margin: 0 15px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-l {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arrow-left {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.user-avatar {
|
|
|
|
|
+ width: 32px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.live-box {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ column-gap: 8px;
|
|
|
|
|
+ background: rgba(26, 40, 55, 0.5);
|
|
|
|
|
+ box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.24);
|
|
|
|
|
+ border-radius: 21px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ padding: 4px 10px 4px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.live-info {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ row-gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.live-name {
|
|
|
|
|
+ width: 138px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.live-user-count {
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.follow-status {
|
|
|
|
|
+ background: rgba(255,255,255,0);
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ border: 1px solid #EC2E31;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #EC2E31;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ padding: 2px 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-r {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ column-gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-r-icon {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.preside-row {
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ margin: 8px 15px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+.live-status {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ column-gap: 4px;
|
|
|
|
|
+ background: rgba(26, 40, 55, 0.5);
|
|
|
|
|
+ box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.24);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ margin: 8px 15px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.undulate-icon {
|
|
|
|
|
+ width: 12px;
|
|
|
|
|
+ height: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+</style>
|