From c3cf0b46cab15bf92a41e538a435a8f5a376b95f Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 29 Sep 2024 00:31:48 +0800 Subject: [PATCH] refactor(video-card): use picture tag --- src/components/Picture.vue | 20 ++++++++++++++++++ src/components/VideoCard/VideoCard.vue | 29 +++++++++++++------------- 2 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 src/components/Picture.vue diff --git a/src/components/Picture.vue b/src/components/Picture.vue new file mode 100644 index 00000000..698f0f96 --- /dev/null +++ b/src/components/Picture.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/components/VideoCard/VideoCard.vue b/src/components/VideoCard/VideoCard.vue index fb385e34..2e5690ad 100644 --- a/src/components/VideoCard/VideoCard.vue +++ b/src/components/VideoCard/VideoCard.vue @@ -243,13 +243,12 @@ function handleUndo() { transform="~ translate-z-0" > - + />
- + w="36px" h="36px" + rounded="1/2" + /> +
- + w="30px" h="30px" + rounded="1/2" + />