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_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/index.html b/teaching_integration_platform_template/index.html index 7414bf0..6eea473 100644 --- a/teaching_integration_platform_template/index.html +++ b/teaching_integration_platform_template/index.html @@ -4,6 +4,7 @@ + Vite + Vue + TS diff --git a/teaching_integration_platform_template/src/Layout/footer/index copy.vue b/teaching_integration_platform_template/src/Layout/footer/index copy.vue new file mode 100644 index 0000000..bb12e63 --- /dev/null +++ b/teaching_integration_platform_template/src/Layout/footer/index copy.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/teaching_integration_platform_template/src/Layout/footer/index.vue b/teaching_integration_platform_template/src/Layout/footer/index.vue index bb12e63..1b63b9e 100644 --- a/teaching_integration_platform_template/src/Layout/footer/index.vue +++ b/teaching_integration_platform_template/src/Layout/footer/index.vue @@ -1,81 +1,312 @@ - - + + 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) => { 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 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 { 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 }}