From 3c735d1f4e2495e003332424c58196830fc52806 Mon Sep 17 00:00:00 2001 From: lenghui Date: Thu, 28 Nov 2024 17:45:21 +0800 Subject: [PATCH] =?UTF-8?q?H5=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vueHomilyLink/src/views/LiveView.vue | 276 ++++++++++++++++++++++++++++++++++- 1 file changed, 271 insertions(+), 5 deletions(-) diff --git a/vueHomilyLink/src/views/LiveView.vue b/vueHomilyLink/src/views/LiveView.vue index f844bf2..cedf2f3 100644 --- a/vueHomilyLink/src/views/LiveView.vue +++ b/vueHomilyLink/src/views/LiveView.vue @@ -1,10 +1,276 @@ - + +
+
+
+ 节目1 +
+ 即将开播
+
+ 明天09:55开播
+
+
+
猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段
+
+ + 节目1 + +
用户昵称用户昵称用户昵称用户昵称
+ + 预约 +
+
+
+
+ + +
+
+
+ 节目1 +
+ 即将开播
+
+ 明天09:55开播
+
+
+
猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段
+
+ + 节目1 + +
用户昵称用户昵称用户昵称用户昵称
+ + 预约 +
+
+
+
+ + +
+
+
+ 节目1 +
+ 即将开播
+
+ 明天09:55开播
+
+
+
猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段
+
+ + 节目1 + +
用户昵称用户昵称用户昵称用户昵称
+ + 预约 +
+
+
+
+ + +
+
+
+ 节目1 +
+ 即将开播
+
+ 明天09:55开播
+
+
+
猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段猎庄之顶级波段
+
+ + 节目1 + +
用户昵称用户昵称用户昵称用户昵称
+ + 预约 +
+
+
+
- \ No newline at end of file +.cover-image::before { + content: " "; + position: absolute; + top: 0; + left: 0; + width: 207px; + height: 120px; + /*最后一个参数是半透明度,可以透过调整0-1的数值,调整到满意的透明度*/ + background-color: rgba(0, 0, 0, 0.3); + border-radius: 8px; +} + +.card-content { + padding: 8px; +} + +.card-title { + font-size: 13px; + font-weight: bold; + margin-bottom: 5px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + +} + +.card-info { + font-size: 14px; + color: #666; +} + +.card-button { + display: inline-block; + padding: 5px 5px; + background-color: #eb8b31; + color: #fff; + text-decoration: none; + border-radius: 20px; + ; + font-size: small; + width: 50px; + text-align: center; + margin-left: auto; +} + +.card-actions { + display: flex; + align-items: center; + /* 垂直居中对齐 */ + justify-content: space-between; + /* 按钮右对齐 */ +} + +.user-avatar { + border-radius: 50%; + width: 20px; + height: 20px; +} + +.card-info { + margin-left: 5px; + /* 昵称与头像之间的间距 */ + margin-top: 0; + /* 移除顶部外边距 */ + /*超长以后将内容省略显示*/ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + width: 90px; + font-size: 12px; +} + + + \ No newline at end of file