From 3f9738733b17d761598f665917308fbd153e5d4e Mon Sep 17 00:00:00 2001 From: significative <163999932+significative@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:44:44 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=9A=E8=AF=BE=E7=A8=8B=E7=9B=AE=E6=A0=87>=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/configurationPage/index.vue | 156 +++++++++--------- .../src/views/course/index.vue | 37 ++++- .../src/views/knowledge/index.vue | 4 +- .../components/mountNode.vue | 75 +++++---- 4 files changed, 154 insertions(+), 118 deletions(-) diff --git a/teaching_integration_platform_admin_template/src/views/configurationPage/index.vue b/teaching_integration_platform_admin_template/src/views/configurationPage/index.vue index 0759a07..52934c0 100644 --- a/teaching_integration_platform_admin_template/src/views/configurationPage/index.vue +++ b/teaching_integration_platform_admin_template/src/views/configurationPage/index.vue @@ -1,96 +1,100 @@ \ No newline at end of file + diff --git a/teaching_integration_platform_template/src/views/course/index.vue b/teaching_integration_platform_template/src/views/course/index.vue index 63a661e..b68e332 100644 --- a/teaching_integration_platform_template/src/views/course/index.vue +++ b/teaching_integration_platform_template/src/views/course/index.vue @@ -92,7 +92,9 @@
- {{ Route.query.name }}这个课程的简介:{{ learn.description }} + +
{{ Route.query.name }}
+
{{ learn.description }}
+
+
+
+ + +
+ +
+ + + + + diff --git a/teaching_integration_platform_template/src/assets/icons/QQ.svg b/teaching_integration_platform_template/src/assets/icons/QQ.svg new file mode 100644 index 0000000..a8ec801 --- /dev/null +++ b/teaching_integration_platform_template/src/assets/icons/QQ.svg @@ -0,0 +1 @@ + \ No newline at end of file From 2888905c416d618bc53420c51881d525c225958b Mon Sep 17 00:00:00 2001 From: significative <163999932+significative@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:51:36 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E9=97=A8=E6=88=B7=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/store/module/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teaching_integration_platform_template/src/store/module/user.ts b/teaching_integration_platform_template/src/store/module/user.ts index 32c07d7..c2932c6 100644 --- a/teaching_integration_platform_template/src/store/module/user.ts +++ b/teaching_integration_platform_template/src/store/module/user.ts @@ -4,7 +4,7 @@ import { ref, reactive } from 'vue' const userStore = defineStore('userStore', () => { const userInfo = reactive({}) const isLogin = ref(false) - const token = ref(sessionStorage.getItem('TOKEN') || '') + const token = ref(localStorage.getItem('TOKEN') || '') const verifyToken = () => { } const clearUserInfo = () => { Object.keys(userInfo).forEach(function (prop) { @@ -13,7 +13,7 @@ const userStore = defineStore('userStore', () => { } const setToken = (data: string) => { token.value = data - sessionStorage.setItem('TOKEN', data) + localStorage.setItem('TOKEN', data) } const setUserInfo = async () => { try { From e9dcea13a7fd07f3f2144de75ea69e0157670965 Mon Sep 17 00:00:00 2001 From: significative <163999932+significative@users.noreply.github.com> Date: Fri, 20 Sep 2024 09:32:32 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=94=B6=E8=97=8F=E3=80=81=E7=82=B9?= =?UTF-8?q?=E8=B5=9E=E8=AE=B0=E5=BD=95=E9=9D=99=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/favoritesRecords/index.vue | 183 ++++++++++++++++-- .../src/views/likesHistory/index.vue | 170 +++++++++++++++- .../src/Layout/tabbar/index.vue | 2 +- 3 files changed, 336 insertions(+), 19 deletions(-) diff --git a/teaching_integration_platform_admin_template/src/views/favoritesRecords/index.vue b/teaching_integration_platform_admin_template/src/views/favoritesRecords/index.vue index ad6a373..7acfe79 100644 --- a/teaching_integration_platform_admin_template/src/views/favoritesRecords/index.vue +++ b/teaching_integration_platform_admin_template/src/views/favoritesRecords/index.vue @@ -1,14 +1,173 @@ - - - - + + + + + + \ No newline at end of file diff --git a/teaching_integration_platform_admin_template/src/views/likesHistory/index.vue b/teaching_integration_platform_admin_template/src/views/likesHistory/index.vue index 0aac4af..bb80458 100644 --- a/teaching_integration_platform_admin_template/src/views/likesHistory/index.vue +++ b/teaching_integration_platform_admin_template/src/views/likesHistory/index.vue @@ -1,14 +1,172 @@ - - diff --git a/teaching_integration_platform_template/src/Layout/tabbar/index.vue b/teaching_integration_platform_template/src/Layout/tabbar/index.vue index 24c7cc1..2a10d82 100644 --- a/teaching_integration_platform_template/src/Layout/tabbar/index.vue +++ b/teaching_integration_platform_template/src/Layout/tabbar/index.vue @@ -104,7 +104,7 @@ function logout() { send() setTimeout(() => { otherWin.postMessage('logout', import.meta.env.VITE_APP_OTHER_ORIGIN) - }, 500) + }, 700) } } const handleCommand = (command: string) => {