diff --git a/public/images/no-note.png b/public/images/no-note.png new file mode 100644 index 00000000..eefd58bd Binary files /dev/null and b/public/images/no-note.png differ diff --git a/src/api/modules/note.js b/src/api/modules/note.js index 2501dd5e..41d390eb 100644 --- a/src/api/modules/note.js +++ b/src/api/modules/note.js @@ -1,4 +1,5 @@ -import ajax from '@/utils/xajax.js' +// import ajax from '@/utils/xajax.js' +import ajax from '../cesource/index.js'; /** diff --git a/src/components/Course/myNote.vue b/src/components/Course/myNote.vue new file mode 100644 index 00000000..d750e01b --- /dev/null +++ b/src/components/Course/myNote.vue @@ -0,0 +1,234 @@ + + + + + \ No newline at end of file diff --git a/src/store/getters.js b/src/store/getters.js index fd54a91b..e8f0f697 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -11,10 +11,12 @@ const getters = { orgId: state => state.user.orgId, permissions: state => state.user.permissions, identity: state => state.user.identity, + intTimeNote: state => state.user.intTimeNote, curIdentity: state => state.user.curIdentity, permission_routes: state => state.permission.routes, sidebarRouters: state => state.permission.sidebarRouters, portalCase: state => state.portal.case, + // intTimeNote: state => state.portal.intTimeNote, portalLoginRememberMe: state => state.portal.loginRememberMe, portalBackUrl: state => state.portal.backUrl, resOwnerMap:state => state.resOwner.resOwnerMap, diff --git a/src/store/modules/portal.js b/src/store/modules/portal.js index 48b9a4ea..09fa0f6e 100644 --- a/src/store/modules/portal.js +++ b/src/store/modules/portal.js @@ -3,7 +3,7 @@ const state = { readProtocol: sessionStorage.getItem("readProtocol") == null ? false : JSON.parse(sessionStorage.getItem("readProtocol")) }, loginRememberMe: sessionStorage.getItem("loginRememberMe") == null ? {} : JSON.parse(sessionStorage.getItem("loginRememberMe")), - backUrl:'' + backUrl:'', } const mutations = { @@ -18,6 +18,7 @@ const mutations = { SET_BackUrl: (state, u) => { state.backUrl = u; }, + } const actions = { diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 9a91527f..294e0b34 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -15,8 +15,12 @@ const user = { studyTaskCount:0,//学习任务数 curIdentity: sessionStorage.getItem("curIdentity") == null ? 1 : sessionStorage.getItem("curIdentity"), // 用户当前选择的身份 1学员 2教师 3管理员 permissions: [], + intTimeNote:0, }, mutations: { + SET_IntTimeNote: (state, u) => { + state.intTimeNote = u; + }, SET_Identity: (state, iden) => { state.identity = iden }, @@ -41,6 +45,14 @@ const user = { }, }, actions: { + SetIntTimeNote({ + commit + }, iden) { + return new Promise((resolve) => { + commit('SET_IntTimeNote', iden); + resolve(); + }) + }, refrashMsg({ commit }) { apiMessage.isRead().then(res=>{ if(res.status==200){ diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index a8d7af9a..a5acd890 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -104,7 +104,7 @@ -
+
课程评论
课程笔记
@@ -128,81 +128,22 @@
我的笔记
+
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 -
-
- 1. 任务工程师角色认知 +
+
+
+
+ 1. {{ ele.contentName }} +
+
+
+
- -
-
- - 8:40 - -
-
- 我见过的策划们,不管是甲方企业的,还是广告代理公司的,还营销策划公司的,在做策略写方案的时候,都经常错误:找一个营销理论,做策略时直接向上套。不管是什么行业、企业处在什么发展阶段,都要照着这个理论的要求来实施营销传播,写PPT时也要照着这个理论的框架来写。 - - 我见过的策划们,不管是甲方企业的,还是广告代理公司的,还营销策划公司的,在做策略写方案的时候,都经常错误:找一个营销理论,做策略时直接向上套。不管是什么行业、企业处在什么发展阶段,都要照着这个理论的要求来实施营销传播,写PPT时也要照着这个理论的框架来写。 -
-
-
-
- 2022-06-21 21:35:12 私密 -
- - 8:40 - -
-
- 在做策略写方案的时候,都经常错套。都要照着这个理论的要求来实施营销传播,写PPT时也要照着这个理论的框架来写。 - - 我见划公司的,在做策略写方案的时候,都经常不管是什么行业、企业处在什么来实施营销传播,写PPT时也要照着这个理论的框架来写。 -
-
-
已经到底啦
- -
-
- 视频位置 - 公开 - 私密 - 保存 -
- +
-
@@ -239,7 +180,6 @@ @@ -1114,6 +1061,10 @@ export default { } } +.coures-tearch{ + margin-top: 24px; + margin-left: 20px; +} .coure-tab{ display: flex; width: 300px; @@ -1577,99 +1528,10 @@ export default { .more{ float: right; } -.newcote-bottom{ - span{ - font-size: 14px; - color: #333333; - margin-right: 30px; - img{ - width: 20px; - height: 24px; - vertical-align: middle; - } - } -} -.newcote-time{ - width: 120px; - height: 30px; - border-radius: 4px; - border: 1px solid #3379FB; - font-size: 14px; - font-weight: 400; - color: #387DF7;; - text-align: center; - line-height: 30px; - img{ - vertical-align: middle; - margin: 0 5px; - } - } - .newcote-text{ - margin-top: 24px; - font-size: 14px; - color: #333333; - } -.mycote-content{ - margin: 30px 0px; - box-sizing: border-box; - padding: 35px 30px; - height: 474px; - background-color: #fff; - .mycote-time{ - color: #666; - font-size: 14px; - padding-bottom: 20px; - .sm{ - width: 50px; - height: 22px; - border-radius: 10px; - border: 1px solid #3379FB; - color: #3379FB; - font-size: 12px; - line-height: 50px; - margin-left: 20px; - padding: 3px 10px; - } - } - .mycote-dibu{ - margin: 50px 38%; - color: #999999; - font-size: 14px; - } -} -.newcote-content{ - margin: 30px 0px; - box-sizing: border-box; - padding: 35px 30px; - height: 474px; - background-color: #F5F5F5 ; - - -} -.mynote{ - // width: 100%; - margin: 35px 30px; - .mynote-tab{ - width: 180px; - margin-top: 17px; - display: flex; - div{ - font-size: 16px; - color: #666666; - flex: 1; - } - .noteactive a{ - font-weight: 600; - color: #333333; - padding-bottom: 7px; - border-bottom: 4px solid #387DF7; - } - } - -} + .coures-content{ height: 745px; margin: 20px 80px; @@ -1678,12 +1540,12 @@ export default { .coures-infobox{ width: 500px; .coures-info{ - height: 745px; + height: 710px; background-color: #fff; box-sizing: border-box; .hear-tab{ - margin: 35px 30px; + margin: 35px 30px 10px 30px; width: 300px; border-bottom: 1px solid #D8D8D8 ; display: flex;