From 57e3bead08715d72efaeffe90fafa179b8366473 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 18 May 2024 12:02:14 +0800 Subject: [PATCH] 1.RSS更新 2.调整标签hover位置 3.font size --- src/components/mini/box16-videoDetail.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/mini/box16-videoDetail.vue b/src/components/mini/box16-videoDetail.vue index c900020..feb99a5 100644 --- a/src/components/mini/box16-videoDetail.vue +++ b/src/components/mini/box16-videoDetail.vue @@ -96,7 +96,7 @@ myLock: false, showFade: true, videoData: { - img: "http://t.inleft.com/share/media_photo/idea_beijing.jpg", + pic: "", url: "", type: "normal", title: "", @@ -166,17 +166,19 @@ if (res.data.videoUrlList == null || res.data.videoUrlList.length < 1) { this.$notification.error({ - message: '该日志还没有上传视频资源..', + message: '此视频还没有上传资源..', placement: 'bottomRight' }); + this.videoData.url = ""; + } else { + this.videoData.url = res.data.videoUrlList[0]; } this.isAllowedComment = res.data.isAllowedComment; this.introduce = res.data.introduce; - this.videoData.url = res.data.videoUrlList[0]; - this.videoData.img = res.data.coverFileURL; + this.videoData.pic = res.data.coverFileURL; this.videoData.title = res.data.title; this.videoData.introduce = res.data.introduce; this.videoData.id = res.data.id; @@ -193,7 +195,6 @@ } </script> <style lang="less"> - .boxMain { user-select: none; grid-template-columns: repeat(2, 1fr); -- Gitblit v1.9.1