From 64d9e9c18b773e483c08d292deb7b076312577db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Wed, 20 Nov 2024 17:05:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=EF=BC=9A=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/experiment/index.vue | 115 +++++++++++++++++++- 1 file changed, 112 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/views/experiment/index.vue b/src/renderer/src/views/experiment/index.vue index ca777b0..b6a6ff2 100644 --- a/src/renderer/src/views/experiment/index.vue +++ b/src/renderer/src/views/experiment/index.vue @@ -19,7 +19,7 @@
-
+
@@ -79,7 +79,116 @@ const loading = ref(false) // 实验图片结构 const experimentList = ref([]) - +const testList = ref([ + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, + { + fileName: '1', + fileShowName: '1', + coverPic: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', + nums: 100, + }, +]) // 请求视频资源的参数 const query = ref({ textbookId: '', @@ -188,7 +297,7 @@ const chooseVedio = (item) => { // box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15); } .content-list{ - + height: 80%; } .item-content { -- 2.44.0.windows.1 From 9418998ec5d3265378b5cc98841f6bb46c5e9d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Wed, 20 Nov 2024 17:07:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=EF=BC=9A=E6=A0=B7=E5=BC=8F=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/experiment/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/views/experiment/index.vue b/src/renderer/src/views/experiment/index.vue index b6a6ff2..3b2b583 100644 --- a/src/renderer/src/views/experiment/index.vue +++ b/src/renderer/src/views/experiment/index.vue @@ -289,7 +289,10 @@ const chooseVedio = (item) => { width: calc(20%); cursor: pointer; transition: all 0.3s ease; - padding: 5px + padding: 5px; + display: flex; + flex-direction: column; + justify-content: space-between; } .content:hover { @@ -297,7 +300,6 @@ const chooseVedio = (item) => { // box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15); } .content-list{ - height: 80%; } .item-content { -- 2.44.0.windows.1