diff --git a/src/assets/css/base.css b/src/assets/css/base.css index e4c9575..37899ac 100644 --- a/src/assets/css/base.css +++ b/src/assets/css/base.css @@ -363,7 +363,7 @@ a:hover { font-size: 36px !important; } .lht17 { - lint-height: 17px; + line-height: 17px; } .lht18 { line-height: 18px; @@ -418,6 +418,9 @@ a:hover { .colffa { color: #ffa940; } +.colff4 { + color: #ff4d4f; +} .col28c { color: #28c346; diff --git a/src/components/AvatarDropDown.vue b/src/components/AvatarDropDown.vue index 91cb888..8a6de61 100644 --- a/src/components/AvatarDropDown.vue +++ b/src/components/AvatarDropDown.vue @@ -49,6 +49,7 @@ import { reactive, toRefs } from "vue"; import { getUid } from "@/utils/cookie"; import { getUserInfoShequ } from "@/api/user"; +import store from "@/store"; export default { setup() { const state = reactive({ @@ -59,6 +60,7 @@ export default { const res = await getUserInfoShequ(state.uid); if (res.code === 200) { state.user = res.data; + store.commit("set_user_name", res.data.username); } }; resGetUserInfoShequ(); diff --git a/src/components/Footer - 副本.vue b/src/components/Footer - 副本.vue new file mode 100644 index 0000000..303eaa4 --- /dev/null +++ b/src/components/Footer - 副本.vue @@ -0,0 +1,497 @@ + + + + + + + + + + + + 苏ICP备18065767号 + + + + + + + + + + + + + + + 在线支持 + + + + + + + + + + 工作日9:00-12:00,13:30-17:30在线 + + + 或拨打热线电话: + + + + 大陆 + + + + 400-811-8890 转2 + + + + + + + 海外 + (+86) 0510-66758729 + + + + + + + + + + + + + + 页面反馈 + + + + + + + 针对当前网页的建议、问题反馈 + + + + + + + + + + + 售前咨询 + + + 采购需求/获取报价/预约演示 + + 或拨打: 400-811-8890 转1 + + + + + + + + + + + + + + 总裁办24H电话 + + + 173 1278 1526 + + + + + + + + + 获取帮助 + + + + + + + + + + + + + + + + 仅适用于当前网页的意见收集,帆软产品问题请在 + 问答板块提问 或 前往服务平台 获取技术支持 + + + + + + + + + + + diff --git a/src/store/index.js b/src/store/index.js index efaf8d1..ac45133 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -13,7 +13,8 @@ export default createStore({ // isShowFooter: true fr_access_token: "", fr_appid: "", - fr_uid: "" + fr_uid: "", + userName: "", }, getters: { get_token(state) { @@ -34,6 +35,9 @@ export default createStore({ let fr_uid = state.fr_uid || Cookies.get(UidKey) || null; return encode(`${fr_appid}.${fr_access_token}.${fr_uid}`) }, + get_user_name(state) { + return state.userName; + }, }, mutations: { @@ -61,6 +65,10 @@ export default createStore({ Cookies.remove(expiresTimeKey); }, + set_user_name(state, data){ + state.userName = data; + } + }, actions: { Login({ commit }) { diff --git a/src/views/class/admin/student_admin_class.vue b/src/views/class/admin/student_admin_class.vue index dc3d788..52ff542 100644 --- a/src/views/class/admin/student_admin_class.vue +++ b/src/views/class/admin/student_admin_class.vue @@ -1,152 +1,146 @@ - - - - - 添加学生 - - 批量删除 - - - - - - - - 搜索 - - - - - - - - - - - - - {{scope.row.uid}} - - - - - - - {{scope.row.username}} - 查看主页 - - - - - - - - - - - - {{scope.row.gongsi}} - - - - {{scope.row.gongsi}} - - - - -- - - - - - - - - - - 观看记录({{scope.row.logNum}}) - 已看课时({{scope.row.videoNum}}) - 已提交作业({{scope.row.workNum}}) - 作业平均分:{{scope.row.pfenshu}} - - - - - - - - - - {{scope.row.beizhu}} - - - - {{scope.row.beizhu}} - - - - -- + + + + 添加学生 + 批量删除 + + + + + - - - - - - - - - - - - - - - - - - - - + + 搜索 + - - - - - - - - - 支持批量添加,例:101,102,103(多个uid用英文逗号隔开) - - - - - - 取 消 - 确 定 - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + 支持批量添加,例:15900012345,158xxx,...(多个手机号用英文逗号隔开) + + + + + + 取 消 + 确 定 + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - 取 消 - 确 定 - - - - - - - - - - {{scope.row.videotime1}}: - {{scope.row.videotime2}}:{{scope.row.videotime3}} - - - - - - - {{item.startTime}} - - - - - - - {{item.onetime}} - - - - - - - - - - - - - - - + }; + + const getid = (id) => { + resgetStudent(id); + }; + const eidtForm = () => { + reseditStudent(); + }; + + const openStudent = (row) => { + state.modEdit = row; + state.dialogEdit = true; + }; + + return { + ...toRefs(state), + classid, + setItem, + handleSelectionChange, + getStudentList, + changePage, + handleOption, + handleClose, + handleSizeChange, + numberValidateRef, + submitForm, + getid, + eidtForm, + getUserLog, + openStudent, + }; + }, +}; + + + + + diff --git a/src/views/video/video_course.vue b/src/views/video/video_course.vue index 670d172..fc68850 100644 --- a/src/views/video/video_course.vue +++ b/src/views/video/video_course.vue @@ -312,6 +312,7 @@ 课程评论 + 备注:如需提交问题,可点击页面右侧按钮 “获取帮助-页面反馈” @@ -634,7 +635,7 @@ export default { const res = await addComment(courseid, state.postmsg); if (res.message === "success") { const newComment = { - uname: state.userInfo.username, + uname: store.getters.get_user_name, msg: state.postmsg.msg, fenshu: state.postmsg.fenshu, ptime: "刚刚",
{{scope.row.gongsi}}
{{scope.row.beizhu}}
支持批量添加,例:101,102,103(多个uid用英文逗号隔开)
支持批量添加,例:15900012345,158xxx,...(多个手机号用英文逗号隔开)