diff --git a/src/api/courseChaptersApi.ts b/src/api/courseChaptersApi.ts index 6e85cfd..10135cd 100644 --- a/src/api/courseChaptersApi.ts +++ b/src/api/courseChaptersApi.ts @@ -1,3 +1,26 @@ +import request from '@/utils/request' + +/** + * 请求视频资源 + * @param par + */ + +export function aaaApi(par:any){ + if(par)return request.get(`url${par}`) + else return request.get(`url`) + +} + +export const uploadFile = (data:any) => { + return request({ + url:'/upload', + method:"POST", + data + }) +} + + + /** * 获取计算机导论信息 * @returns @@ -27,3 +50,4 @@ export function getOrogramObjectiveApi() { setTimeout(() => resolve(data), 500 * Math.random()) }) } + diff --git a/src/assets/icons/pdf.svg b/src/assets/icons/pdf.svg new file mode 100644 index 0000000..7f4e0fe --- /dev/null +++ b/src/assets/icons/pdf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/ppt 内容图标.svg b/src/assets/icons/ppt 内容图标.svg new file mode 100644 index 0000000..0cc80a2 --- /dev/null +++ b/src/assets/icons/ppt 内容图标.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/ppt.svg b/src/assets/icons/ppt.svg new file mode 100644 index 0000000..bfbe121 --- /dev/null +++ b/src/assets/icons/ppt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/文本.svg b/src/assets/icons/文本.svg index 0cb294b..9f7ecac 100644 --- a/src/assets/icons/文本.svg +++ b/src/assets/icons/文本.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/文本1.png b/src/assets/icons/文本1.png new file mode 100644 index 0000000..56043d1 Binary files /dev/null and b/src/assets/icons/文本1.png differ diff --git a/src/assets/icons/简介.svg b/src/assets/icons/简介.svg new file mode 100644 index 0000000..7b626e0 --- /dev/null +++ b/src/assets/icons/简介.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/视频.svg b/src/assets/icons/视频.svg index b000ea0..a566bb5 100644 --- a/src/assets/icons/视频.svg +++ b/src/assets/icons/视频.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/软件1.png b/src/assets/icons/软件1.png new file mode 100644 index 0000000..e29fb67 Binary files /dev/null and b/src/assets/icons/软件1.png differ diff --git a/src/assets/icons/音乐.png b/src/assets/icons/音乐.png new file mode 100644 index 0000000..d7c983a Binary files /dev/null and b/src/assets/icons/音乐.png differ diff --git a/src/assets/icons/音频.svg b/src/assets/icons/音频.svg index eea7eb7..156ef38 100644 --- a/src/assets/icons/音频.svg +++ b/src/assets/icons/音频.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/1.mp3 b/src/assets/images/1.mp3 new file mode 100644 index 0000000..fdf84f7 Binary files /dev/null and b/src/assets/images/1.mp3 differ diff --git a/src/assets/images/软件1.png b/src/assets/images/软件1.png new file mode 100644 index 0000000..e29fb67 Binary files /dev/null and b/src/assets/images/软件1.png differ diff --git a/src/assets/images/软件2.png b/src/assets/images/软件2.png new file mode 100644 index 0000000..a29a9f2 Binary files /dev/null and b/src/assets/images/软件2.png differ diff --git a/src/assets/images/软件3.png b/src/assets/images/软件3.png new file mode 100644 index 0000000..aab26b7 Binary files /dev/null and b/src/assets/images/软件3.png differ diff --git a/src/assets/images/软件4.png b/src/assets/images/软件4.png new file mode 100644 index 0000000..65101fb Binary files /dev/null and b/src/assets/images/软件4.png differ diff --git a/src/assets/images/软件5.png b/src/assets/images/软件5.png new file mode 100644 index 0000000..5a910bd Binary files /dev/null and b/src/assets/images/软件5.png differ diff --git a/src/assets/images/软件6.png b/src/assets/images/软件6.png new file mode 100644 index 0000000..815d396 Binary files /dev/null and b/src/assets/images/软件6.png differ diff --git a/src/assets/images/软件7.png b/src/assets/images/软件7.png new file mode 100644 index 0000000..c96de3d Binary files /dev/null and b/src/assets/images/软件7.png differ diff --git a/src/assets/images/软件8.png b/src/assets/images/软件8.png new file mode 100644 index 0000000..2d2ede4 Binary files /dev/null and b/src/assets/images/软件8.png differ diff --git a/src/views/courseResources/index.vue b/src/views/courseResources/index.vue index ed18b47..eb32f83 100644 --- a/src/views/courseResources/index.vue +++ b/src/views/courseResources/index.vue @@ -1,386 +1,355 @@ - - + + \ No newline at end of file