From 6fea7a649a5882fe6ea72769838ab1a5924df826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=99=93=E9=B8=BD?= Date: Tue, 11 Oct 2022 10:59:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E6=8A=BD=E5=B1=89?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 + src/assets/scss/common.scss | 24 +- src/views/courselibrary/CoursewareManage.vue | 2502 +++++++++--------- src/views/learningpath/LevelAdd.vue | 10 - src/views/system/SystemManage.vue | 297 ++- 5 files changed, 1512 insertions(+), 1323 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3ce8ce59..b6b111f7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -76,6 +76,8 @@ export default defineComponent({ // flex-shrink: 0; display: flex; overflow-y: scroll; + // display: flex; + // flex: 1 1 auto; width: calc(100% - 40px); // margin-bottom: 20px; margin: 0px 20px 20px 20px; diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 3e8dce2d..b7599d68 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -191,4 +191,26 @@ display: none; .tabledropdown { width: 100px !important; } -//表格下拉框------------------------------------------- \ No newline at end of file +//表格下拉框------------------------------------------- + +//抽屉-------------------------------------------------------- +.drawerStyle { + .ant-drawer-content-wrapper { + max-width: 1050px; + .ant-drawer-header { + display: none !important; + } + .ant-drawer-body { + padding: 0; + } + } + .drawerMain { + min-width: 700px; + margin: 0px 32px 0px 32px; + overflow-x: scroll; + display: flex; + flex-direction: column; + + + }} + //抽屉-------------------------------------------------------- \ No newline at end of file diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 5050e2d6..a348c831 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -181,14 +181,13 @@ -
+
课程信息
@@ -383,7 +382,7 @@ :columns="tableDataFunc()" :data-source="tableData" :loading="tableDataTotal === -1 ? true : false" - :scroll="{ x: 800 }" + :scroll="{ x: 600 }" expandRowByClick="true" @expand="expandTable" :pagination="false" @@ -391,329 +390,339 @@
-
-
+
+
+
+
+ 在线课程管理 +
x
-
-
-
- 在线课程管理 -
x
+
+
课程:BMOT2021年职级晋升-安全管理(高级)
+
+
类型:
+
录播课
+
内容分类:
+
领导力
+
状态:
+
已审核
+
+
+ + 报名管理 + 学习记录 + 资源完成情况 + +
+
+
+ + 状态 + 已通过 + 未审核 + 管理员拒绝 +
-
-
课程:BMOT2021年职级晋升-安全管理(高级)
-
-
类型:
-
录播课
-
内容分类:
-
领导力
-
状态:
-
已审核
-
-
- - - 报名管理 - - - 学习记录 - - - 资源完成情况 - - -
-
-
- - 状态 - 已通过 - 未审核 - 管理员拒绝 - -
-
- -
-
-
- -
搜索
-
-
-
-
- -
+
+
+
+
+ +
搜索
+
+
+
+
+ +
+
-
+
+
+
+
+ 面授课程管理 +
x
-
-
-
- 面授课程管理 -
x
+
+
课程:BMOT2021年职级晋升-安全管理(高级)
+
+
类型:
+
录播课
+
内容分类:
+
领导力
+
状态:
+
已审核
+
+
+ + 报名管理 + 学习记录 + +
+
+
+ + 状态 + 已通过 + 未审核 + 管理员拒绝 +
-
-
课程:BMOT2021年职级晋升-安全管理(高级)
-
-
类型:
-
录播课
-
内容分类:
-
领导力
-
状态:
-
已审核
-
-
- - - 报名管理 - - - 学习记录 - - -
-
-
- - 状态 - 已通过 - 未审核 - 管理员拒绝 - -
-
- -
-
-
- -
搜索
-
-
-
-
- - - -
+
+
+
+
+ +
搜索
+
+
+
+
+ + + +
+
-
-
+
+
+
+ -
- -
- - -
-
-
取消
-
+
+ +
+
+
取消
+
+
- + -
-
+
+
+
+
+
+ 授权 +
x
-
-
-
- 授权 -
x
-
-
- -
- -
搜索
-
-
- -
重置
-
-
-
-
i
-
已选择 1
-
列表选项总计:5条
-
-
- - - -
+
+ +
+ +
搜索
+
+
+ +
重置
+
+
+
i
+
+ 已选择 1 项 +
+
+ 列表选项总计:5条 +
+
+
+ + + +
+
-
-
+
+
+
+
+
+ 开课 +
x
-
-
-
- 开课 -
x
-
-
- - -
- -
-
- -
搜索
-
-
- -
重置
-
-
- -
新建开课
-
-
-
- -
+
+ + +
+ +
+
+ +
搜索
+
+
+ +
重置
+
+
+ +
新建开课
+
+
+ +
+
-
+
@@ -768,50 +777,72 @@
- 报名设置 - 是否允许公开报名 + 报名设置 + 是否允许公开报名
- 签到设置 - 是否允许未报名的学员签到 - 签到是否需要口令 + 签到设置 + 是否允许未报名的学员签到 + 签到是否需要口令
- 评估设置 - 是否需要评估 + 评估设置 + 是否需要评估
- 完成规则 - 报名即完成 - 签到即完成 - 请假算完成 + 完成规则 + 报名即完成 + 签到即完成 + 请假算完成
- 附件 + 附件
-
- 上传附件 +
+ 上传附件
- 支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip + 支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip
-
取消
-
-
-
确定
-
+
取消
+
+
+
确定
+
@@ -829,69 +860,69 @@ function getBase64(img, callback) { reader.readAsDataURL(img); } const columns1 = [ - { - title: "姓名", - dataIndex: "projectName", - key: "projectName", - width: '16%', - align: "center", - }, - { - title: "工号", - dataIndex: "numb", - key: "numb", - width: '16%', - align: "center", - }, - { - title: "报名时间", - dataIndex: "applytime", - key: "applytime", - width: '16%', - align: "center", - }, - { - title: "签到时间", - dataIndex: "signtime", - key: "signtime", - width: '16%', - align: "center", - }, - { - title: "状态", - dataIndex: "status", - key: "status", - width: '16%', - align: "center", - }, - { - title: "操作", - dataIndex: "opacation", - key: "opacation", - width: '16%', - align: "center", - }, -]; -const columns2 = [ { - title: "开课名称", + title: "姓名", dataIndex: "projectName", key: "projectName", - width: '30%', + width: "16%", align: "center", }, { - title: "地点", - dataIndex: "address", - key: "address", - width: '30%', + title: "工号", + dataIndex: "numb", + key: "numb", + width: "16%", + align: "center", + }, + { + title: "报名时间", + dataIndex: "applytime", + key: "applytime", + width: "16%", + align: "center", + }, + { + title: "签到时间", + dataIndex: "signtime", + key: "signtime", + width: "16%", align: "center", }, { title: "状态", dataIndex: "status", key: "status", - width: '40%', + width: "16%", + align: "center", + }, + { + title: "操作", + dataIndex: "opacation", + key: "opacation", + width: "16%", + align: "center", + }, +]; +const columns2 = [ + { + title: "开课名称", + dataIndex: "projectName", + key: "projectName", + width: "30%", + align: "center", + }, + { + title: "地点", + dataIndex: "address", + key: "address", + width: "30%", + align: "center", + }, + { + title: "状态", + dataIndex: "status", + key: "status", + width: "40%", align: "center", }, ]; @@ -900,37 +931,37 @@ const columns3 = [ title: "姓名", dataIndex: "name", key: "name", - width: '18%', + width: "18%", align: "center", }, { title: "归属组织", dataIndex: "organization", key: "organization", - width: '18%', + width: "18%", align: "center", }, { title: "岗位", dataIndex: "position", key: "position", - width: '18%', + width: "18%", align: "center", }, { title: "拥有权限", dataIndex: "authority", key: "authority", - width: '18%', + width: "18%", align: "center", - }, + }, { title: "操作", dataIndex: "opacation", key: "opacation", - width: '30%', + width: "30%", align: "center", - }, + }, ]; const columns4 = [ { @@ -995,180 +1026,186 @@ export default defineComponent({ components: { LoadingOutlined, PlusOutlined, -}, + }, setup() { - const current = ref(['mail']); + const current = ref(["mail"]); const state = reactive({ tableData: [ - { - key: '1', - num:1, - name: '时间管理', - content: '领导力', - courseform: '线上', - project: '管理者进阶-腾飞班1', - stunum: '50', - grade: '5', - status: '未提交', - ynpub: '未发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '启用', - kkty:false, - }, { - key: '2', - num:2, - name: '智能制造初级课程', - content: '专业力', - courseform: '线上', - project: '-', - stunum: '200', - grade: '5', - status: '待审核', - ynpub: '未发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '启用', - kkty:true, - }, { - key: '3', - num:3, - name: '产业必备技能', - content: '专业力', - courseform: '线上', - project: '-', - stunum: '200', - grade: '5', - status: '已审核', - ynpub: '已发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '启用', - kkty:true, - }, { - key: '4', - num:4, - name: 'B11入模培训', - content: '专业力', - courseform: '线上', - project: '-', - stunum: '200', - grade: '5', - status: '审核未通过', - ynpub: '未发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '停用', - kkty:true, - }, { - key: '5', - num:5, - name: '入职培训', - content: '通用力', - courseform: '面授', - project: '-', - stunum: '5', - grade: '5', - status: '未提交', - ynpub: '未发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '启用', - kkty:true, - }, { - key: '6', - num:6, - name: '入职培训', - content: '通用力', - courseform: '面授', - project: '-', - stunum: '5', - grade: '6', - status: '已审核', - ynpub: '已发布', - creator: '管理员', - createtime: '2022-07-20 9:30', - pubtime: '2022-07-20 9:30', - ynuse: '启用', - kkty:true, - }], + { + key: "1", + num: 1, + name: "时间管理", + content: "领导力", + courseform: "线上", + project: "管理者进阶-腾飞班1", + stunum: "50", + grade: "5", + status: "未提交", + ynpub: "未发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "启用", + kkty: false, + }, + { + key: "2", + num: 2, + name: "智能制造初级课程", + content: "专业力", + courseform: "线上", + project: "-", + stunum: "200", + grade: "5", + status: "待审核", + ynpub: "未发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "启用", + kkty: true, + }, + { + key: "3", + num: 3, + name: "产业必备技能", + content: "专业力", + courseform: "线上", + project: "-", + stunum: "200", + grade: "5", + status: "已审核", + ynpub: "已发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "启用", + kkty: true, + }, + { + key: "4", + num: 4, + name: "B11入模培训", + content: "专业力", + courseform: "线上", + project: "-", + stunum: "200", + grade: "5", + status: "审核未通过", + ynpub: "未发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "停用", + kkty: true, + }, + { + key: "5", + num: 5, + name: "入职培训", + content: "通用力", + courseform: "面授", + project: "-", + stunum: "5", + grade: "5", + status: "未提交", + ynpub: "未发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "启用", + kkty: true, + }, + { + key: "6", + num: 6, + name: "入职培训", + content: "通用力", + courseform: "面授", + project: "-", + stunum: "5", + grade: "6", + status: "已审核", + ynpub: "已发布", + creator: "管理员", + createtime: "2022-07-20 9:30", + pubtime: "2022-07-20 9:30", + ynuse: "启用", + kkty: true, + }, + ], tableData2: [ - { - key: 1, - projectName:"刘莉", - numb: "10064511", - applytime:"2022-07-20 14:00:00", - signtime: "-", - status: "已通过", - }, + { + key: 1, + projectName: "刘莉", + numb: "10064511", + applytime: "2022-07-20 14:00:00", + signtime: "-", + status: "已通过", + }, ], tableData3: [ - { - key: 1, - projectName:"刘莉", - numb: "10064511", - applytime:"2022-07-20 14:00:00", - signtime: "-", - status: "已通过", - }, - { - key: 2, - projectName:"", - numb: "", - applytime:"2022-07-20 14:00:00", - signtime: "2022-09-26 13:30:30", - status:"已完成", - }, + { + key: 1, + projectName: "刘莉", + numb: "10064511", + applytime: "2022-07-20 14:00:00", + signtime: "-", + status: "已通过", + }, + { + key: 2, + projectName: "", + numb: "", + applytime: "2022-07-20 14:00:00", + signtime: "2022-09-26 13:30:30", + status: "已完成", + }, ], tableData4: [ - { - key: 1, - projectName:"刘莉", - address: "10064511", - status: "已通过", + { + key: 1, + projectName: "刘莉", + address: "10064511", + status: "已通过", }, ], tableData5: [ - { - key: 1, - name:"李明", - organization: "-", - position: "产品经理", - authority:'归属权', + { + key: 1, + name: "李明", + organization: "-", + position: "产品经理", + authority: "归属权", }, { - key: 2, - name:"李洋", - organization: "-", - position: "产品经理", - authority:'查看权', + key: 2, + name: "李洋", + organization: "-", + position: "产品经理", + authority: "查看权", }, { - key: 3, - name:"小李", - organization: "-", - position: "产品经理", - authority:'管理权', - }, - { - key: 4, - name:"雄安名", - organization: "-", - position: "产品经理", - authority:'管理权', + key: 3, + name: "小李", + organization: "-", + position: "产品经理", + authority: "管理权", }, { - key: 5, - name:"王哥", - organization: "-", - position: "产品经理", - authority:'管理权', + key: 4, + name: "雄安名", + organization: "-", + position: "产品经理", + authority: "管理权", + }, + { + key: 5, + name: "王哥", + organization: "-", + position: "产品经理", + authority: "管理权", }, ], currentPage: 1, @@ -1177,144 +1214,198 @@ export default defineComponent({ tableData6: [ { key: 1, - num:1, + num: 1, organization: "管理者面授课1", address: "核心能力大楼培训", - starttime:'2022-07-20 14:00:00', - createtime:'2022-07-14 14:00:00', + starttime: "2022-07-20 14:00:00", + createtime: "2022-07-14 14:00:00", }, { key: 2, - num:2, + num: 2, organization: "管理者面授课2", address: "核心能力大楼培训", - starttime:'2022-07-20 14:00:00', - createtime:'2022-07-14 14:00:00', + starttime: "2022-07-20 14:00:00", + createtime: "2022-07-14 14:00:00", }, { key: 3, - num:3, + num: 3, organization: "管理者面授课3", address: "核心能力大楼培训", - starttime:'2022-07-20 14:00:00', - createtime:'2022-07-14 14:00:00', + starttime: "2022-07-20 14:00:00", + createtime: "2022-07-14 14:00:00", }, { key: 4, - num:4, + num: 4, organization: "管理者面授课4", address: "核心能力大楼培训", - starttime:'2022-07-20 14:00:00', - createtime:'2022-07-14 14:00:00', + starttime: "2022-07-20 14:00:00", + createtime: "2022-07-14 14:00:00", }, { key: 5, - num:5, + num: 5, organization: "管理者面授课5", address: "核心能力大楼培训", - starttime:'2022-07-20 14:00:00', - createtime:'2022-07-14 14:00:00', + starttime: "2022-07-20 14:00:00", + createtime: "2022-07-14 14:00:00", }, ], }); const tableDataFunc = () => { const columns = [ { - title: '序号', - width: 200, - dataIndex: 'num', - key: 'num', - align: "center", - }, { - title: '名称', - width: 200, - dataIndex: 'name', - key: 'name', - }, { - title: '内容分类', - width: 200, - dataIndex: 'content', - key: '1', - align: "center", - }, { - title: '课程形式', - width: 200, - dataIndex: 'courseform', - key: '2', - align: "center", - }, { - title: ' 所属项目', - width: 300, - dataIndex: 'project', - key: '3', - align: "center", - }, { - title: '学习人数', - width: 200, - dataIndex: 'stunum', - key: '4', - align: "center", - }, { - title: '评分', - width: 200, - dataIndex: 'grade', - key: '5', - align: "center", - }, { - title: '状态', - width: 200, - dataIndex: 'status', - key: '6', - align: "center", - }, { - title: '是否发布', - width: 200, - dataIndex: 'ynpub', - key: '7', - align: "center", - }, { - title: '创建人', - width: 200, - dataIndex: 'creator', - key: '8', - align: "center", - }, { - title: '创建时间', - width: 280, - dataIndex: 'createtime', - key: '9', - align: "center", - }, { - title: '上线时间', - width: 280, - dataIndex: 'pubtime', - key: '10', - align: "center", - }, { - title: '是否停用', - width: 200, - key: 'either', - dataIndex: 'ynuse', - align: "center", - }, { - title: '操作', - width: 400, - className: "h", - dataIndex: "opacation", - key: 'operation', - fixed: 'right', - align: "center", - scopedSlots: { customRender: "action" }, - customRender: (text) => { - // console.log('111',text); + title: "序号", + width: 200, + dataIndex: "num", + key: "num", + align: "center", + }, + { + title: "名称", + width: 200, + dataIndex: "name", + key: "name", + }, + { + title: "内容分类", + width: 200, + dataIndex: "content", + key: "1", + align: "center", + }, + { + title: "课程形式", + width: 200, + dataIndex: "courseform", + key: "2", + align: "center", + }, + { + title: " 所属项目", + width: 300, + dataIndex: "project", + key: "3", + align: "center", + }, + { + title: "学习人数", + width: 200, + dataIndex: "stunum", + key: "4", + align: "center", + }, + { + title: "评分", + width: 200, + dataIndex: "grade", + key: "5", + align: "center", + }, + { + title: "状态", + width: 200, + dataIndex: "status", + key: "6", + align: "center", + }, + { + title: "是否发布", + width: 200, + dataIndex: "ynpub", + key: "7", + align: "center", + }, + { + title: "创建人", + width: 200, + dataIndex: "creator", + key: "8", + align: "center", + }, + { + title: "创建时间", + width: 280, + dataIndex: "createtime", + key: "9", + align: "center", + }, + { + title: "上线时间", + width: 280, + dataIndex: "pubtime", + key: "10", + align: "center", + }, + { + title: "是否停用", + width: 200, + key: "either", + dataIndex: "ynuse", + align: "center", + }, + { + title: "操作", + width: 400, + className: "h", + dataIndex: "opacation", + key: "operation", + fixed: "right", + align: "center", + scopedSlots: { customRender: "action" }, + customRender: (text) => { + // console.log('111',text); return (
- 开课 - 停用 - 编辑 - {}} class={text.record.status === '已审核' ? "activecls" : "errorCls"} style={{ "margin-left": "25px" }} >管理 - 复制 + + 开课 + + + 停用 + + + 编辑 + + {}} + class={ + text.record.status === "已审核" ? "activecls" : "errorCls" + } + style={{ "margin-left": "25px" }} + > + 管理 + + + 复制 + 授权
@@ -1335,7 +1426,7 @@ export default defineComponent({
- ); + ); }, }, ]; @@ -1445,24 +1536,24 @@ export default defineComponent({ const state = reactive({ of_hs: false, hideshow: false, - bs_hs: true, - ft_hs:false, - om_1: true, - ftm_1:true, + bs_hs: false, + ft_hs: false, + om_1: false, + ftm_1: false, om_ckxq: false, - gpm_hs:true, - stm_hs: true, - cstm_hs:false, + gpm_hs: false, + stm_hs: false, + cstm_hs: false, }); const of_hShow = () => { if (state.of_hs == false) { - state.of_hs = true - } - } + state.of_hs = true; + } + }; const of_exit = () => { state.of_hs = false; - } + }; const hideShow = () => { if (state.hideshow == false) { state.hideshow = true; @@ -1531,7 +1622,6 @@ export default defineComponent({ stm_exit, createkk, cstm_exit, - }; }, }); @@ -1791,7 +1881,7 @@ export default defineComponent({ } } - .faceteach{ + .faceteach { z-index: 999; width: 1358px; min-width: 1000px; @@ -1993,586 +2083,606 @@ export default defineComponent({ } } - .onlinemanage,.faceteachmanage{ + .onlinemanage, + .faceteachmanage { display: none; z-index: 999; width: 1358px; min-width: 1000px; height: 537px; - background: #FFFFFF; - box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21); + background: #ffffff; + box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); position: absolute; left: 50%; top: 50%; - transform: translate(-50%,-50%); + transform: translate(-50%, -50%); overflow: auto; - .om_header{ - position: absolute; - width:calc(100%); - height: 40px; - background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%); + .om_header { + position: absolute; + width: calc(100%); + height: 40px; + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); } - .om_main{ - width:calc(100%); - position: relative; - .omm_header{ - display: flex; - align-items: center; - padding-top: 20px; - padding-left: 26px; - font-size: 16px; - .pc_icon{ - width: 16px; - height: 16px; - margin-right: 10px; - background-image: url(@/assets/images/coursewareManage/pc.png); - } - .pc_exit{ - position: absolute; - right:42px; - cursor: pointer; - } + .om_main { + width: calc(100%); + position: relative; + .omm_header { + display: flex; + align-items: center; + padding-top: 20px; + padding-left: 26px; + font-size: 16px; + .pc_icon { + width: 16px; + height: 16px; + margin-right: 10px; + background-image: url(@/assets/images/coursewareManage/pc.png); } - .om_body{ - width:calc(100% - 50px); - padding-left: 50px; - padding-top: 17px; - .b_title{ - color: #4F5156; - font-weight: 500; - margin-bottom: 19px; - } - .b_sub{ - display: flex; - margin-bottom: 10px; - .bs_type{ - color: #999BA3; - } - .bs_left{ - color: #999BA3; - margin-left: 35px; - } - .bs_right{ - color: #4F5156; - } - } - .b_menu{ - width:calc(100%); - } - .b_menunav{ - display: flex; - margin-top: 20px; - margin-bottom: 20px; - .bm_select{ - margin-right: 20px; - } - .bm_input{ - margin-right: 20px; - } - .bm_btn { - display: flex; - // flex-wrap: wrap; - .btn { - padding: 0px 26px 0px 26px; - height: 40px; - background: rgba(64, 158, 255, 0); - border-radius: 8px; - border: 1px solid rgba(64, 158, 255, 1); - display: flex; - align-items: center; - justify-content: center; - margin-right: 14px; - flex-shrink: 0; - .search { - background-size: 100%; - } - .btnText { - font-size: 14px; - font-weight: 400; - color: rgba(64, 158, 255, 1); - line-height: 36px; - margin-left: 5px; - } - } - .btn1 { - .search { - width: 15px; - height: 17px; - background-image: url("@/assets/images/coursewareManage/search1.png"); - } - } - .btn1:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("@/assets/images/coursewareManage/search0.png"); - } - .btnText { - color: #ffffff; - } - } - } - } - } - } - } - - .ftsturecord{ - z-index: 999; - width: 1358px; - min-width: 1000px; - height: 274px; - background: #FFFFFF; - box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21); - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%,-50%); - overflow: auto; - .ftsr_header{ - position: absolute; - width:calc(100%); - height: 40px; - background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%); - } - .ftsr_main{ - width:calc(100%); - position: relative; - .m_header{ - display: flex; - align-items: center; - padding-top: 20px; - padding-left: 26px; - font-size: 16px; - .det_icon{ - width: 16px; - height: 16px; - margin-right: 10px; - background-image: url(@/assets/images/coursewareManage/detail.png); - background-size: 100% 100%; - } - .det_exit{ - position: absolute; - right:42px; - cursor: pointer; - } - } - .ftsr_table{ - width: 90%; - margin:30px auto; - border: 1px solid #F0F4FE; - } - .ftsr_btn { - width: 100px; - height: 40px; - background: #ffffff; - border: 1px solid #4EA6FF; - border-radius: 8px; - display: flex; - align-items: center; - justify-content: center; - margin: 30px auto ; - flex-shrink: 0; - cursor: pointer; - .btnText { - color: #4EA6FF; - font-size: 14px; - font-weight: 400; - line-height: 40px; - } + .pc_exit { + position: absolute; + right: 42px; + cursor: pointer; } } - } - .givepower{ - z-index: 999; - width: 1358px; - min-width: 1000px; - height: 646px; - background: #FFFFFF; - box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21); - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%,-50%); - overflow: auto; - .gp_header{ - position: absolute; - width:calc(100%); - height: 40px; - background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%); - } - .gp_main{ - width:calc(100%); - position: relative; - .gpm_header{ - display: flex; - align-items: center; - padding-top: 20px; - padding-left: 26px; - font-size: 16px; - .pc_icon{ - width: 16px; - height: 16px; - margin-right: 10px; - background-image: url(@/assets/images/coursewareManage/detail.png); - background-size: 100% 100%; - } - .pc_exit{ - position: absolute; - right:42px; - cursor: pointer; - } + .om_body { + width: calc(100% - 50px); + padding-left: 50px; + padding-top: 17px; + .b_title { + color: #4f5156; + font-weight: 500; + margin-bottom: 19px; } - .gpm_inputbtn{ + .b_sub { display: flex; - width: 90%; - margin: 20px auto; - .gpm_btn { - width: 100px; - height: 40px; - margin-right: 14px; - background: #ffffff; - border: 1px solid #4EA6FF; - border-radius: 8px; - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - cursor: pointer; - .btnText { - color: #4EA6FF; - font-size: 14px; - font-weight: 400; - line-height: 40px; - } + margin-bottom: 10px; + .bs_type { + color: #999ba3; } - .btn1 { - .search { - width: 15px; - height: 17px; - background-image: url("../../assets/images/courseManage/search1.png"); - } + .bs_left { + color: #999ba3; + margin-left: 35px; } - .btn2 { - .search { - width: 16px; - height: 18px; - background-image: url("../../assets/images/courseManage/reset1.png"); - } - } - .btn1:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("../../assets/images/courseManage/search0.png"); - } - .btnText { - color: #ffffff; - } - } - .btn2:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("../../assets/images/courseManage/reset0.png"); - } - .btnText { - color: #ffffff; - } + .bs_right { + color: #4f5156; } } - .gpm_notice{ - width: 90%; - height: 49px; - margin: 0 auto; - background-color: rgba(125, 190, 255, 0.25); + .b_menu { + width: calc(100%); + } + .b_menunav { display: flex; - align-items: center; - .th_icon{ - width: 16px; - height: 16px; - margin-left: 37px; - margin-right: 13px; - border-radius: 50%; - background-color: #4EA6FF; - font-weight: bold; - color: #ffffff; - text-align: center; - line-height: 16px; + margin-top: 20px; + margin-bottom: 20px; + .bm_select { + margin-right: 20px; } - .textarea{ - margin-right: 33px; + .bm_input { + margin-right: 20px; } - } - .gpm_table{ - width: 90%; - margin:30px auto; - border: 1px solid #F0F4FE; - } - } - } - .schooltime{ - z-index: 999; - width: 1358px; - min-width: 1000px; - height: 646px; - background: #FFFFFF; - box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21); - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%,-50%); - overflow: auto; - .st_header{ - position: absolute; - width:calc(100%); - height: 40px; - background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%); - } - .st_main{ - width:calc(100%); - position: relative; - .stm_header{ + .bm_btn { display: flex; - align-items: center; - padding-top: 20px; - padding-left: 26px; - font-size: 16px; - .pc_icon{ - width: 16px; - height: 16px; - margin-right: 10px; - background-image: url(@/assets/images/coursewareManage/detail.png); - background-size: 100% 100%; - } - .pc_exit{ - position: absolute; - right:42px; - cursor: pointer; - } - } - .stm_inputbtn{ - display: flex; - width: 90%; - margin: 20px auto; - .stm_btn { - width: 100px; - height: 40px; - margin-right: 14px; - background: #ffffff; - border: 1px solid #4EA6FF; - border-radius: 8px; - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - cursor: pointer; - .btnText { - color: #4EA6FF; - font-size: 14px; - font-weight: 400; - line-height: 40px; - } - } - .btn1 { - .search { - width: 15px; - height: 17px; - background-image: url("../../assets/images/courseManage/search1.png"); - } - } - .btn2 { - .search { - width: 16px; - height: 18px; - background-image: url("../../assets/images/courseManage/reset1.png"); - } - } - .btn3 { - .search { - width: 17px; - height: 18px; - background-image: url("../../assets/images/courseManage/add1.png"); - margin-right: 5px; - } - } - .btn1:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("../../assets/images/courseManage/search0.png"); - } - .btnText { - color: #ffffff; - } - } - .btn2:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("../../assets/images/courseManage/reset0.png"); - } - .btnText { - color: #ffffff; - } - } - .btn3:hover { - background: rgba(64, 158, 255, 1); - .search { - background-image: url("../../assets/images/courseManage/add0.png"); - } - .btnText { - color: #ffffff; - } - } - } - .stm_table{ - width: 90%; - margin:30px auto; - border: 1px solid #F0F4FE; - } - .opacation { - font-size: 14px; - font-weight: 400; - color: #4ea6ff; - // line-height: 36px; - .more { - position: relative; - .moreArrow { - width: 13px; - height: 7px; - display: inline-block; - background-image: url("../../assets/images/navtop/down.png"); - background-size: 100%; - margin: 2px; - margin-left: 7px; - } - .moreItems { - width: 80px; - height: 70px; - display: none; - background: #ffffff; - box-shadow: 2px 3px 9px 3px rgba(0, 0, 0, 0.05); - border-radius: 3px; - border: 0px solid #dcdcdc; - position: absolute; - left: 0px; - top: 18px; - z-index: 100; - } - } - .more:hover .moreArrow { - background-image: url("../../assets/images/navtop/up.png"); - } - .more:hover .moreItems { - display: block; - } - } - } - } - .createschooltime{ - z-index: 999; - width: 679px; - height: 705px; - background: #FFFFFF; - box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21); - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%,-50%); - overflow: auto; - .cst_header{ - position: absolute; - width:calc(100%); - height: 40px; - background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%); - } - .cst_main{ - width:calc(100%); - position: relative; - .cstm_header{ - display: flex; - align-items: center; - padding-top: 20px; - padding-left: 26px; - font-size: 16px; - .add_icon{ - width: 16px; - height: 16px; - margin-right: 10px; - background-image: url(@/assets/images/coursewareManage/add1.png); - background-size: 100% 100%; - } - .add_exit{ - position: absolute; - right:42px; - cursor: pointer; - } - } - .cstm_title{ - margin: 10px auto 20px 51px; - font-weight: bold; - } - .cstm_items{ - display: flex; - align-items: center; - margin-bottom: 23px; - } - .items1,.items4{ - margin-left: 80px; - } - .items2{ - margin-left: 108px; - } - .items3,.items5,.items6,.items7,.items8{ - margin-left: 86px; - } - .items9{ - margin-left: 115px; - text-align: center; - margin-bottom: 0; - .items9box{ - display: flex; - .upload_box{ + // flex-wrap: wrap; + .btn { + padding: 0px 26px 0px 26px; + height: 40px; + background: rgba(64, 158, 255, 0); + border-radius: 8px; + border: 1px solid rgba(64, 158, 255, 1); display: flex; - cursor: pointer; - .upload_icon{ - width: 16px; - height: 16px; - background-color: blue; - background-size: 100% 100%; - margin-right: 5px; + align-items: center; + justify-content: center; + margin-right: 14px; + flex-shrink: 0; + .search { + background-size: 100%; + } + .btnText { + font-size: 14px; + font-weight: 400; + color: rgba(64, 158, 255, 1); + line-height: 36px; + margin-left: 5px; + } + } + .btn1 { + .search { + width: 15px; + height: 17px; + background-image: url("@/assets/images/coursewareManage/search1.png"); + } + } + .btn1:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("@/assets/images/coursewareManage/search0.png"); + } + .btnText { + color: #ffffff; } } } } - .items10{ - display: flex; - justify-content: center; - margin-top: 20px; - .cstm_btn{ - width: 100px; - height: 40px; - background: rgba(64, 158, 255, 0); - border-radius: 8px; - display: flex; - align-items: center; - justify-content: center; - margin-right: 14px; - flex-shrink: 0; - cursor: pointer; - .btnText { - font-size: 14px; - font-weight: 400; - line-height: 40px; - } - } - .btn5 { - border: 1px solid rgba(64, 158, 255, 1); - color: #4ea6ff; - } - .btn6 { - background-color: #4ea6ff; - color: #ffffff; - } - + } + } + } + + .ftsturecord { + z-index: 999; + width: 1358px; + min-width: 1000px; + height: 274px; + background: #ffffff; + box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + overflow: auto; + .ftsr_header { + position: absolute; + width: calc(100%); + height: 40px; + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); + } + .ftsr_main { + width: calc(100%); + position: relative; + .m_header { + display: flex; + align-items: center; + padding-top: 20px; + padding-left: 26px; + font-size: 16px; + .det_icon { + width: 16px; + height: 16px; + margin-right: 10px; + background-image: url(@/assets/images/coursewareManage/detail.png); + background-size: 100% 100%; + } + .det_exit { + position: absolute; + right: 42px; + cursor: pointer; + } + } + .ftsr_table { + width: 90%; + margin: 30px auto; + border: 1px solid #f0f4fe; + } + .ftsr_btn { + width: 100px; + height: 40px; + background: #ffffff; + border: 1px solid #4ea6ff; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + margin: 30px auto; + flex-shrink: 0; + cursor: pointer; + .btnText { + color: #4ea6ff; + font-size: 14px; + font-weight: 400; + line-height: 40px; } } } + } + .givepower { + z-index: 999; + width: 1358px; + min-width: 1000px; + height: 646px; + background: #ffffff; + box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + overflow: auto; + .gp_header { + position: absolute; + width: calc(100%); + height: 40px; + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); + } + .gp_main { + width: calc(100%); + position: relative; + .gpm_header { + display: flex; + align-items: center; + padding-top: 20px; + padding-left: 26px; + font-size: 16px; + .pc_icon { + width: 16px; + height: 16px; + margin-right: 10px; + background-image: url(@/assets/images/coursewareManage/detail.png); + background-size: 100% 100%; + } + .pc_exit { + position: absolute; + right: 42px; + cursor: pointer; + } + } + .gpm_inputbtn { + display: flex; + width: 90%; + margin: 20px auto; + .gpm_btn { + width: 100px; + height: 40px; + margin-right: 14px; + background: #ffffff; + border: 1px solid #4ea6ff; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + cursor: pointer; + .btnText { + color: #4ea6ff; + font-size: 14px; + font-weight: 400; + line-height: 40px; + } + } + .btn1 { + .search { + width: 15px; + height: 17px; + background-image: url("../../assets/images/courseManage/search1.png"); + } + } + .btn2 { + .search { + width: 16px; + height: 18px; + background-image: url("../../assets/images/courseManage/reset1.png"); + } + } + .btn1:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("../../assets/images/courseManage/search0.png"); + } + .btnText { + color: #ffffff; + } + } + .btn2:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("../../assets/images/courseManage/reset0.png"); + } + .btnText { + color: #ffffff; + } + } + } + .gpm_notice { + width: 90%; + height: 49px; + margin: 0 auto; + background-color: rgba(125, 190, 255, 0.25); + display: flex; + align-items: center; + .th_icon { + width: 16px; + height: 16px; + margin-left: 37px; + margin-right: 13px; + border-radius: 50%; + background-color: #4ea6ff; + font-weight: bold; + color: #ffffff; + text-align: center; + line-height: 16px; + } + .textarea { + margin-right: 33px; + } + } + .gpm_table { + width: 90%; + margin: 30px auto; + border: 1px solid #f0f4fe; + } + } + } + .schooltime { + z-index: 999; + width: 1358px; + min-width: 1000px; + height: 646px; + background: #ffffff; + box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + overflow: auto; + .st_header { + position: absolute; + width: calc(100%); + height: 40px; + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); + } + .st_main { + width: calc(100%); + position: relative; + .stm_header { + display: flex; + align-items: center; + padding-top: 20px; + padding-left: 26px; + font-size: 16px; + .pc_icon { + width: 16px; + height: 16px; + margin-right: 10px; + background-image: url(@/assets/images/coursewareManage/detail.png); + background-size: 100% 100%; + } + .pc_exit { + position: absolute; + right: 42px; + cursor: pointer; + } + } + .stm_inputbtn { + display: flex; + width: 90%; + margin: 20px auto; + .stm_btn { + width: 100px; + height: 40px; + margin-right: 14px; + background: #ffffff; + border: 1px solid #4ea6ff; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + cursor: pointer; + .btnText { + color: #4ea6ff; + font-size: 14px; + font-weight: 400; + line-height: 40px; + } + } + .btn1 { + .search { + width: 15px; + height: 17px; + background-image: url("../../assets/images/courseManage/search1.png"); + } + } + .btn2 { + .search { + width: 16px; + height: 18px; + background-image: url("../../assets/images/courseManage/reset1.png"); + } + } + .btn3 { + .search { + width: 17px; + height: 18px; + background-image: url("../../assets/images/courseManage/add1.png"); + margin-right: 5px; + } + } + .btn1:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("../../assets/images/courseManage/search0.png"); + } + .btnText { + color: #ffffff; + } + } + .btn2:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("../../assets/images/courseManage/reset0.png"); + } + .btnText { + color: #ffffff; + } + } + .btn3:hover { + background: rgba(64, 158, 255, 1); + .search { + background-image: url("../../assets/images/courseManage/add0.png"); + } + .btnText { + color: #ffffff; + } + } + } + .stm_table { + width: 90%; + margin: 30px auto; + border: 1px solid #f0f4fe; + } + .opacation { + font-size: 14px; + font-weight: 400; + color: #4ea6ff; + // line-height: 36px; + .more { + position: relative; + .moreArrow { + width: 13px; + height: 7px; + display: inline-block; + background-image: url("../../assets/images/navtop/down.png"); + background-size: 100%; + margin: 2px; + margin-left: 7px; + } + .moreItems { + width: 80px; + height: 70px; + display: none; + background: #ffffff; + box-shadow: 2px 3px 9px 3px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 0px solid #dcdcdc; + position: absolute; + left: 0px; + top: 18px; + z-index: 100; + } + } + .more:hover .moreArrow { + background-image: url("../../assets/images/navtop/up.png"); + } + .more:hover .moreItems { + display: block; + } + } + } + } + .createschooltime { + z-index: 999; + width: 679px; + height: 705px; + background: #ffffff; + box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + overflow: auto; + .cst_header { + position: absolute; + width: calc(100%); + height: 40px; + background: linear-gradient( + rgba(78, 166, 255, 0.2) 0%, + rgba(78, 166, 255, 0) 100% + ); + } + .cst_main { + width: calc(100%); + position: relative; + .cstm_header { + display: flex; + align-items: center; + padding-top: 20px; + padding-left: 26px; + font-size: 16px; + .add_icon { + width: 16px; + height: 16px; + margin-right: 10px; + background-image: url(@/assets/images/coursewareManage/add1.png); + background-size: 100% 100%; + } + .add_exit { + position: absolute; + right: 42px; + cursor: pointer; + } + } + .cstm_title { + margin: 10px auto 20px 51px; + font-weight: bold; + } + .cstm_items { + display: flex; + align-items: center; + margin-bottom: 23px; + } + .items1, + .items4 { + margin-left: 80px; + } + .items2 { + margin-left: 108px; + } + .items3, + .items5, + .items6, + .items7, + .items8 { + margin-left: 86px; + } + .items9 { + margin-left: 115px; + text-align: center; + margin-bottom: 0; + .items9box { + display: flex; + .upload_box { + display: flex; + cursor: pointer; + .upload_icon { + width: 16px; + height: 16px; + background-color: blue; + background-size: 100% 100%; + margin-right: 5px; + } + } + } + } + .items10 { + display: flex; + justify-content: center; + margin-top: 20px; + .cstm_btn { + width: 100px; + height: 40px; + background: rgba(64, 158, 255, 0); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 14px; + flex-shrink: 0; + cursor: pointer; + .btnText { + font-size: 14px; + font-weight: 400; + line-height: 40px; + } + } + .btn5 { + border: 1px solid rgba(64, 158, 255, 1); + color: #4ea6ff; + } + .btn6 { + background-color: #4ea6ff; + color: #ffffff; + } + } + } + } } diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 9ee5de90..65c43775 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -61,7 +61,6 @@
重置
-
@@ -173,7 +172,6 @@ >1关-第4关内容
-
@@ -259,7 +257,6 @@
- -