diff --git a/src/views/DownLoad.vue b/src/views/DownLoad.vue index cae0286c..cca33d33 100644 --- a/src/views/DownLoad.vue +++ b/src/views/DownLoad.vue @@ -55,32 +55,37 @@
当前容量:
55.01MB / 2GB
- + -
- -
-
-
-
-
-
-
作业名称
-
-
- 2022-08-08 10:30:30 管理员 +
+
+ +
+
+
+
+
+
+
作业名称
+
+
+ 2022-08-08 10:30:30 管理员 +
+
来源:管理者进阶-腾飞班Z1
-
来源:管理者进阶-腾飞班Z1
+
+
+
下载
+
删除
-
-
下载
-
删除
-
@@ -93,10 +98,29 @@ export default { setup() { const state = reactive({ name: "", + homeWorkList: [] }); + function getData() { + state.homeWorkList = [1,2,3,4,5,6] + } + + // 获取可下载数据 + getData() + + // 下载文件 + function downLoadFile() { + + } + // 删除文件 + function removeFile() { + + } + return { ...toRefs(state), + downLoadFile, + removeFile }; }, }; @@ -147,6 +171,27 @@ export default { margin-left: 10px; } } + .btn1:hover { + background: rgba(64, 158, 255, 0.76); + + .search { + background-image: url("../assets/images/courseManage/search0.png"); + } + + .btnText { + color: #ffffff; + } + } + .btn1:active { + background: #0982ff; + } + + .btn2:hover { + background: rgba(64, 158, 255, 0.1); + } + .btn2:active { + background: rgba(64, 158, 255, 0.2); + } .btn2 { width: 100px; height: 40px; @@ -167,8 +212,11 @@ export default { } .zipcontainer { display: flex; + width: 352px; + height: 160px; flex-wrap: wrap; - margin-top: 30px; + margin-right: 56px; + margin-top: 90px; .item { margin-right: 50px; margin-bottom: 50px; @@ -235,6 +283,12 @@ export default { justify-content: center; align-items: center; } + .download:hover { + background-color: rgba(64, 158, 255, 0.76); + } + .download:active { + background-color: #0982FF; + } .delete { width: 176px; height: 48px; @@ -244,6 +298,12 @@ export default { justify-content: center; align-items: center; } + .delete:hover{ + background-color: rgba(64, 158, 255, 0.10); + } + .delete:active{ + background-color: rgba(64, 158, 255, 0.20); + } .outime { font-size: 16px; font-weight: 400;