From f8613ffe5c1ffea4cc36d27b2b824fbda94a1fc2 Mon Sep 17 00:00:00 2001 From: 边少东 <2879594283@qq.com> Date: Wed, 7 Dec 2022 15:30:10 +0800 Subject: [PATCH] feat: 浙里办 - 每日一习 --- src/component/Tabbar4.vue | 3 ++- src/router/index.js | 18 ++++++++++++++++++ src/views/answerRank/答题 | 0 src/views/dayStudy/data.json | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/dayStudy/dayStudy.vue | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/dayStudy/studyList.vue | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/dayStudy/每日一习 | 0 7 files changed, 284 insertions(+), 1 deletion(-) create mode 100644 src/views/answerRank/答题 create mode 100644 src/views/dayStudy/data.json create mode 100644 src/views/dayStudy/dayStudy.vue create mode 100644 src/views/dayStudy/studyList.vue create mode 100644 src/views/dayStudy/每日一习 diff --git a/src/component/Tabbar4.vue b/src/component/Tabbar4.vue index d47ef72..268bead 100644 --- a/src/component/Tabbar4.vue +++ b/src/component/Tabbar4.vue @@ -37,7 +37,8 @@ export default { handYanxue () { // this.$router.push({ name: 'ServiceKQ', query: { showTab: 'ZZY' },replace:true }) // this.$router.replace({ path:'/YanxuePage' }) - this.$router.replace({ path:'/stars' }) + // this.$router.replace({ path:'/stars' }) + this.$router.replace({ path:'/dayStudy' }) }, handleKQ () { // this.$router.push({ name: 'ServiceKQ', query: { showTab: 'KQ' },replace:true }) diff --git a/src/router/index.js b/src/router/index.js index fbe073d..e074f44 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -39,6 +39,8 @@ import ans_rank from '@/views/answerRank/ans_rank.vue' //答题排行榜 import brush_questions from '@/views/answerRank/brush_questions.vue' //刷题记录 import category from '@/views/answerRank/category.vue' //题库 import stars from '@/views/answerRank/stars.vue' //五星少年 +import dayStudy from '@/views/dayStudy/dayStudy.vue' //每日一习主页面 +import studyList from '@/views/dayStudy/studyList.vue' //每日一习主页面 import ans_question from '@/views/answerRank/ans_question.vue' //答题 import switchUser from '@/views/answerRank/switchUser.vue' //切换 @@ -300,6 +302,22 @@ const routes = [{ } }, { + path: '/dayStudy', + name: 'dayStudy', + component: dayStudy, + meta: { + title: '每日一习' + } +}, +{ + path: '/studyList', + name: 'studyList', + component: studyList, + meta: { + title: '每日一习' + } +}, +{ path: '/ans_question', name: 'ans_question', component: ans_question, diff --git a/src/views/answerRank/答题 b/src/views/answerRank/答题 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/views/answerRank/答题 diff --git a/src/views/dayStudy/data.json b/src/views/dayStudy/data.json new file mode 100644 index 0000000..5bd17a6 --- /dev/null +++ b/src/views/dayStudy/data.json @@ -0,0 +1,115 @@ +[{ + "title": "云门探幽", + "greyTitle": "云门探幽", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/528f3c1e-6ca4-4772-9ff8-692daceebf30.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/68c6d9c3-9c8b-4ba7-9236-f81502a64b03.png" + }, + { + "title": "红色历史藏品馆研学游", + "greyTitle": "中国轻纺城小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/7bbeceda-5ad6-453b-93a8-6012bd5fc0b0.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/2b26de50-f3b7-41e5-b26e-17f82585f58b.png" + }, + { + "title": "学思践悟力行 厚植家国情怀", + "greyTitle": "中国轻纺城小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/8f5c46ba-642e-4ed3-96d9-a16dc80add1c.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/47da2a1e-bde0-427d-ad69-07f358ca88f0.png" + }, + { + "title": "研游古镇 文化传承", + "greyTitle": "管宁实验小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/f2631823-223e-4943-9d4a-a42bd2729ae1.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/2be4de3e-c811-48a1-b572-f7bf0dec5827.png" + }, + { + "title": "快板研学 对话非遗", + "greyTitle": "区实验小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/1646ee17-075b-4063-ae5d-418998e2e725.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/79f26127-e7e7-4ac2-9001-4d29da73bcca.png" + }, + { + "title": "赓续红色根脉 争做新时代好少年", + "greyTitle": "中国轻纺城小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/5f734287-aeb8-4450-8e06-bd76a591ff4d.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/acac7ab3-b6d1-4dec-ae43-89bf70fe47db.png" + }, + { + "title": "学匠人精神 传非遗文化", + "greyTitle": "柯桥区华舍小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/fb92a91e-849b-4e1c-89fe-d54ccba7543c.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/b9ca9cbb-6595-49a5-b67d-1f75ad69d075.png" + }, + { + "title": "研学红色历史 守好红色根脉", + "greyTitle": "鉴湖小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/a622c0aa-89f0-44bf-8e5b-de3d3032773f.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/a921acd2-e156-4f6e-9994-fc8ab2116756.png" + }, + { + "title": "研学历史 守好根脉", + "greyTitle": "中国轻纺城小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/0856b095-0df4-40cc-919c-9f9ec322f888.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/99d45d7b-29bd-4eac-95ab-902cef1c2c65.png" + }, + { + "title": "红色根脉润人 传承红色基因", + "greyTitle": "平水镇中心小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/a3cb65fc-2349-4d99-83df-2b19d6dc588a.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/c83dacd5-ea4d-4364-a823-d1809e58c66d.png" + }, + { + "title": "学习周总理精神 争做新时代先锋", + "greyTitle": "中国轻纺城第二小学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/44196822-f80a-4061-b40c-ab1dbaeb98b4.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/48c45eb5-6a9d-44b1-93ac-a521a3fabea2.png" + }, + { + "title": "星星之火 可以燎原", + "greyTitle": "安昌中学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/aa8c0e9c-e478-424a-8a03-cca0bca5849a.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/61e92214-e653-4169-935c-aab75c92253a.png" + }, + { + "title": "研好红色历史 守好红色根脉", + "greyTitle": "秋瑾中学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/1bbad993-97bc-470f-b834-a226b5d06329.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/322599cb-3edd-454d-a790-09807667ab81.png" + }, + { + "title": "寻访革命学堂 传承红色血脉", + "greyTitle": "实验中学老校区", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/8000e8f5-ac3f-41bb-a1e7-7b57faf4456b.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/218c5da1-11c5-46f7-b6ad-a4ccfd922dbb.png" + }, + { + "title": "探究古越文化 研磨匠人精神", + "greyTitle": "实验中学新校区", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/28de1dcb-248d-4bb4-ac6e-a07003fbcd54.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/0a49b9af-0d00-4e40-8d1c-16e1fbd6cdb5.png" + }, + { + "title": "红色研学实践——车头战役纪念馆", + "greyTitle": "稽东镇中学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/0944c644-c9ab-458e-9c8c-1c4f63680c6f.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/da743110-5292-4231-ba81-453758ef3706.png" + }, + { + "title": "研学红色历史 守好红色根脉", + "greyTitle": "柯岩中学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/9963a86e-ba1b-4134-ba21-eface88c7814.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/ff3ebbd3-c7e2-4b04-b7fb-fc7a8b6601b0.png" + }, + { + "title": "追寻红色记忆争做“六有”青年", + "greyTitle": "鲁迅高级中学", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/cbcdb0ea-3315-407f-9afb-0140f284ca5a.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/1157929d-c99a-431e-932f-a0e1a626c9e8.png" + }, + { + "title": "中共诸暨县一大会址", + "greyTitle": "职业教育中心", + "videoUrl": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/3deff0fd-4091-4767-b884-11625464f1f0.mp4", + "url": "https://szyundisk.oss-cn-hangzhou.aliyuncs.com/null/a277daff-e8fe-43f0-a9dc-b41727af9ef3.png" + } +] \ No newline at end of file diff --git a/src/views/dayStudy/dayStudy.vue b/src/views/dayStudy/dayStudy.vue new file mode 100644 index 0000000..d6f39f0 --- /dev/null +++ b/src/views/dayStudy/dayStudy.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/src/views/dayStudy/studyList.vue b/src/views/dayStudy/studyList.vue new file mode 100644 index 0000000..0e0e4ae --- /dev/null +++ b/src/views/dayStudy/studyList.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/views/dayStudy/每日一习 b/src/views/dayStudy/每日一习 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/views/dayStudy/每日一习 -- libgit2 0.21.0