12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127 |
- <template>
- <div class="pb_content">
- <div class="pb_content_body" style="height: 100%">
- <div class="body_student">
- <div class="student_head">
- <div v-if="screenType != 2 && screenType != '2s'" class="return" @click.stop="
- goTo(
- '/studentIndex?userid=' +
- userid +
- '&oid=' +
- oid +
- '&org=' +
- org +
- '&cid=' +
- classId +
- '&tType=' +
- tType +
- '&role=' +
- role +
- '&screenType=' +
- screenType
- )
- ">
- 返回
- </div>
- <div class="box_course">
- <div class="wheel">
- <img style="object-fit: cover" :src="this.courseDetail.cover != null &&
- this.courseDetail.cover != ''
- ? JSON.parse(this.courseDetail.cover).length > 0
- ? JSON.parse(this.courseDetail.cover)[0].url
- : mr
- : mr
- " alt />
- </div>
- <div class="right_box">
- <div class="rightT">
- <div class="right_box_title">{{ courseDetail.title }}</div>
- <div class="jd">{{ chapInfo.length }}阶段</div>
- <div class="jd">{{ rw }}任务</div>
- </div>
- <div class="cType">
- <div class="all_choose" v-for="(item, index) in courseType" :key="index">
- <span style="color: #6c6c6c">{{ item + ":" }}</span>
- <span class="type_children" v-for="(item2, index2) in courseTypeJson[item]" :key="index2">{{ item2
- }}</span>
- </div>
- </div>
- <div class="cType" style="font-size: 18px; color: #6c6c6c">
- <div style="min-width:150px">
- 创建者:<span style="color: #000">{{
- courseDetail.username
- }}</span>
- </div>
- <div class="Tname" v-if="Tname.length > 0" @click="TnameCheck = !TnameCheck">
- 协同人员:<span v-for="(tname, tIndex) in TnameCheck ? Tname : Tname.slice(0, 6)" :key="tIndex"
- style="margin: 0 5px; color: #000">{{ tname
- }}</span><span style="margin: 0 5px; color: #b2b2b2"
- v-if="!TnameCheck && Tname.length > 6">更多....</span>
- </div>
- </div>
- <div class="cType" style="font-size: 18px; color: #6c6c6c">
- </div>
- <div class="btnBox" v-if="false">
- <div class="now_study" @click="dialogVisible = true">
- 预览
- </div>
- <div class="now_study" @click="goToCongress">进展</div>
- </div>
- </div>
- </div>
- </div>
- <div class="student_body">
- <div class="sLeft" v-if="courseDetail.brief">
- <div class="courseT">课程详情</div>
- <div class="courseTd">{{ courseDetail.brief }}</div>
- </div>
- <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'">
- <div class="checkBox">
- <span :class="{ active: type == 1 }" @click="type = 1">阶段选择</span>
- <span :class="{ active: type == 2 }" @click="type = 2">项目进展</span>
- </div>
- <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-show="type == 1">
- <div class="blue_box_one" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
- <div>第{{ index + 1 }}阶段</div>
- <div :title="item.dyName">{{ item.dyName }}</div>
- <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
- </div>
- </div>
- <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-if="type == 2">
- <courseProgress :cid="id" :userid="userid" :oid="oid" :org="org"></courseProgress>
- </div>
- </div>
- </div>
- <el-dialog title="阶段选择" :visible.sync="dialogVisible" :append-to-body="true" width="700px"
- :before-close="handleClose" class="dialog_change">
- <div style="font-size: 20px">请选择阶段</div>
- <div style="
- padding: 20px 30px;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- ">
- <div class="blue_box" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
- <div>第{{ index + 1 }}阶段</div>
- <div>{{ item.dyName }}</div>
- <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
- </div>
- </div>
- </el-dialog>
- </div>
- </div>
- </div>
- </template>
- <script>
- import Heatmap from '../tools/heatmap.vue'
- import courseProgress from './courseProgress.vue'
- export default {
- components: {
- Heatmap,
- courseProgress
- },
- data() {
- return {
- choose: 0,
- dialogVisible: false,
- id: this.$route.query.courseId,
- userid: this.$route.query.userid,
- oid: this.$route.query.oid,
- org: this.$route.query.org,
- classId: this.$route.query.cid,
- tType: this.$route.query.tType,
- role: this.$route.query.role,
- screenType: this.$route.query.screenType,
- courseDetail: {},
- aStudentName: [],
- chapInfo: [],
- courseType: [],
- Tname: [],
- TnameCheck: false,
- courseTypeJson: {},
- userinfo: [],
- mr: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/noBanner1656409780264.jpg",
- rw: 0,
- chaptersJson: {},
- type: 1,
- };
- },
- methods: {
- handleClose(done) {
- done();
- },
- goTo(path) {
- this.$router.push(path);
- },
- goToCongress() {
- window.location.href = 'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/courseProgress?cid=' +
- this.id +
- '&userid=' +
- this.userid +
- '&oid=' +
- this.oid +
- '&org=' +
- this.org
- },
- addUserRate(i) {
- // var suid = this.userid;
- // if (
- // JSON.parse(this.courseDetail.course_student).indexOf(suid) == -1 &&
- // JSON.parse(this.courseDetail.userid) != suid
- // ) {
- // this.$message.error("你没有该权限");
- // return;
- // }
- // var a =
- // this.courseDetail.course_student != ""
- // ? JSON.parse(this.courseDetail.course_student)
- // : "";
- // if (this.courseDetail.userid != suid) {
- // if (this.userinfo.type == 2) {
- // if (a != "") {
- // if (
- // JSON.parse(this.courseDetail.course_student).indexOf(suid) == -1
- // ) {
- // this.$message.error("你没有该权限");
- // return;
- // }
- // } else {
- // this.$message.error("暂无项目学员,请联系老师添加项目学员!");
- // return;
- // }
- // }
- // }
- // let params = {
- // uid: this.userid,
- // cid: this.id,
- // };
- // this.ajax
- // .get(this.$store.state.api + "addUserR", params)
- // .then((res) => {
- // console.log(res.data);
- // this.updateVc();
- this.goTo(
- "/studyStudentS?type=" +
- i +
- "&courseId=" +
- this.id +
- "&userid=" +
- this.userid +
- "&oid=" +
- this.oid +
- "&org=" +
- this.org +
- "&cid=" +
- this.classId +
- '&role=' +
- this.role +
- "&tType=" +
- this.tType +
- "&screenType=" +
- this.screenType
- );
- // })
- // .catch((err) => {
- // console.error(err);
- // });
- },
- updateVc() {
- let params = {
- cid: this.id,
- };
- this.ajax
- .get(this.$store.state.api + "updateVc", params)
- .then((res) => {
- console.log(res.data);
- })
- .catch((err) => {
- console.error(err);
- });
- },
- getCourseDetail() {
- const loading = this.$loading.service({
- background: "rgba(255, 255, 255, 0.7)",
- target: document.querySelector(".student_table"),
- });
- let params = {
- courseId: this.id,
- };
- this.ajax
- .get(this.$store.state.api + "selectStudentCourseDetail2", params)
- .then((res) => {
- loading.close();
- // this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
- this.courseDetail = res.data[0][0];
- var a = res.data[0];
- var b = res.data[1];
- var c = res.data[2];
- for (var i = 0; i < b.length; i++) {
- // if (!this.id) {
- // this.courseType[b[i].id] = [];
- // }
- for (var j = 0; j < a.length; j++) {
- if (b[i].id == a[j].pid) {
- if (!this.courseTypeJson[b[i].name]) {
- this.courseType.push(b[i].name);
- this.courseTypeJson[b[i].name] = [];
- }
- this.courseTypeJson[b[i].name].push(a[j].name);
- }
- }
- }
- for (var k = 0; k < c.length; k++) {
- this.Tname.push(c[k].name);
- }
- console.log(this.courseTypeJson.length);
- this.aStudentName = res.data[2];
- this.chapInfo = JSON.parse(this.courseDetail.chapters);
- for (var z = 0; z < this.chapInfo.length; z++) {
- this.rw += this.chapInfo[z].chapterInfo[0].taskJson.length;
- }
- // debugger
- })
- .catch((err) => {
- loading.close();
- console.error(err);
- });
- },
- getUser() {
- let params = { uid: this.userid };
- this.ajax
- .get(this.$store.state.api + "getUser", params)
- .then((res) => {
- this.userinfo = res.data[0][0];
- })
- .catch((err) => {
- console.error(err);
- });
- },
- // getSName() {
- // let params = {
- // uid: JSON.stringify(this.courseDetail.course_student),
- // };
- // this.ajax
- // .get(this.$store.state.api + "selectSName", params)
- // .then((res) => {
- // this.aStudentName = res.data[0];
- // })
- // .catch((err) => {
- // console.error(err);
- // });
- // },
- },
- created() {
- this.getCourseDetail();
- this.getUser();
- document.scrollingElement.scrollTop = 0;
- // this.getSName();
- },
- };
- </script>
- <style scoped>
- @media screen and (max-width: 1024px) {
- /* .Tname {
- width: 500px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- } */
- }
- .body_student {
- margin: 10px auto;
- width: 98%;
- height: 100%;
- }
- .student_head {
- width: 100%;
- background: #fff;
- height: 30%;
- position: relative;
- }
- .wheel {
- width: 250px;
- max-height: 146px;
- display: flex;
- align-items: center;
- }
- .man {
- width: 16px;
- height: 16px;
- }
- .wheel>img,
- .man>img {
- width: 100%;
- height: 100%;
- }
- .box_course {
- display: flex;
- padding: 25px 0 20px 60px;
- }
- .right_box {
- display: flex;
- flex-direction: column;
- margin-left: 30px;
- align-items: flex-start;
- width: calc(100% - 350px);
- }
- .right_box_title {
- font-size: 23px;
- max-width: calc(100% - 190px);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .people {
- display: flex;
- margin-top: 20px;
- }
- .person {
- margin-left: 10px;
- /* line-height: 18px; */
- }
- .now_study {
- padding: 0 50px;
- height: 35px;
- color: #fff;
- background: #4a9eed;
- text-align: center;
- line-height: 35px;
- border-radius: 5px;
- font-size: 13px;
- cursor: pointer;
- margin-top: 30px;
- }
- .now_study+.now_study {
- margin-left: 10px;
- }
- .choose_who {
- display: flex;
- margin: 15px 0 0 25px;
- }
- .who_choose {
- height: 28px;
- cursor: pointer;
- }
- .choose_who>div:nth-child(2) {
- margin-left: 35px;
- }
- .choose {
- border-bottom: 5px solid #4a9eed;
- color: #4a9eed;
- }
- .student_body {
- display: flex;
- }
- .student_body,
- .right {
- width: 100%;
- margin: 10px auto;
- min-height: 688px;
- }
- .nav {
- margin: auto 25px;
- width: 80%;
- padding-top: 5px;
- text-indent: 25px;
- }
- .pic {
- width: 100%;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- height: 100%;
- justify-content: space-evenly;
- }
- .Img {
- /*width: 30%; */
- width: 300px;
- margin: 20px 50px;
- margin: 20px 10px;
- border: 1px solid #dbdbdb;
- border-radius: 5px;
- overflow: hidden;
- }
- .Img>img {
- width: 100%;
- height: 100%;
- }
- .student_body_one,
- .right_one {
- width: 100%;
- margin: 0 auto;
- background: #fff;
- margin-top: 10px;
- min-height: 688px;
- }
- .student {
- width: 85%;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: flex-start;
- margin: auto 10px;
- }
- .student>div {
- width: 12%;
- height: 35px;
- background: #e3759a;
- text-align: center;
- border: 1px solid #e3759a;
- border-radius: 5px;
- color: #fff;
- line-height: 35px;
- margin: 10px;
- }
- .dialog_change>>>.el-dialog {
- border-radius: 5px;
- }
- .dialog_change>>>.el-dialog__header {
- background: #303030;
- height: 36px;
- line-height: 36px;
- padding-left: 10px;
- padding: 0px 10px 0px;
- }
- .dialog_change>>>.el-dialog__headerbtn {
- top: 10px !important;
- right: 10px !important;
- }
- .dialog_change>>>.el-dialog__title {
- color: #fff;
- font-size: 14px;
- line-height: 5px;
- }
- .dialog_change>>>.el-dialog__body {
- background: #f5f5f5;
- }
- .blue_box {
- align-items: center;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .blue_box,
- .blue_box_one {
- width: 30%;
- height: 100px;
- text-align: center;
- color: #fff;
- background-image: linear-gradient(90deg, #477cd7, #65b9fc);
- border-radius: 15px;
- margin: 15px 0 15px 15px;
- cursor: pointer;
- }
- .blue_box_one {
- width: 200px;
- height: 200px;
- background-image: linear-gradient(90deg, #477cd7, #65b9fc);
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: center;
- justify-content: center;
- }
- .blue_box_one>div {
- margin: 5px 0;
- }
- .blue_box_one>div:nth-child(1) {
- font-size: 20px;
- font-weight: bold;
- }
- .blue_box>div:nth-child(2) {
- margin-top: 10px;
- }
- .blue_box_one>div:nth-child(2) {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- width: 100%;
- text-align: center;
- max-width: calc(100% - 85px);
- margin: 0 auto;
- }
- .return {
- background: #205cc6;
- width: 70px;
- height: 30px;
- color: #fff;
- text-align: center;
- line-height: 32px;
- margin-right: 20px;
- cursor: pointer;
- border-radius: 5px;
- position: absolute;
- right: 0;
- top: 24px;
- font-size: 14px;
- }
- .return>img {
- width: 100%;
- height: 100%;
- }
- .cType {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- margin-top: 20px;
- }
- .cType>div>span {
- font-size: 18px;
- }
- .type_children+.type_children {
- margin-left: 10px;
- }
- .all_choose {
- margin-right: 10px;
- /* max-width: 250px; */
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .rightT {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- width: calc(100% - 20px);
- }
- .jd {
- background: #4a9eed;
- margin-left: 15px;
- border-radius: 10px;
- color: #fff;
- width: 70px;
- height: 25px;
- text-align: center;
- line-height: 25px;
- }
- .sLeft {
- width: 14%;
- margin-right: 10px;
- background: rgb(255, 255, 255);
- padding: 20px 15px 0 15px;
- box-sizing: border-box;
- border-radius: 10px;
- }
- .courseT {
- border-left: 3px solid #2e66c9;
- padding-left: 5px;
- color: #2e66c9;
- font-weight: bold;
- }
- .courseTd {
- padding-top: 15px;
- height: 700px;
- overflow: auto;
- word-break: break-word;
- }
- .courseTd::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 6px;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 6px;
- }
- /*定义滚动条轨道 内阴影+圆角*/
- .courseTd::-webkit-scrollbar {
- border-radius: 10px;
- background-color: #eee;
- }
- /*定义滑块 内阴影+圆角*/
- .courseTd::-webkit-scrollbar-thumb {
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
- background-color: rgba(0, 0, 0, 0.1);
- }
- .rightTd,
- .noBRight {
- width: 84%;
- background: #fff;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- align-content: flex-start;
- align-items: center;
- justify-content: flex-start;
- }
- .noBRight {
- width: 100%;
- }
- .Tname {
- cursor: pointer;
- margin-left: 40px;
- word-break: break-all;
- width: auto;
- /* overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis; */
- }
- /* .TnameC{
- width:auto;
- overflow: unset;
- white-space: unset;
- text-overflow: unset;
- } */
- .detail {
- width: 100%;
- padding: 15px;
- box-sizing: border-box;
- }
- .statebox {
- display: flex;
- align-items: center;
- box-sizing: border-box;
- margin-left: 30px;
- }
- .statebox div {
- padding: 10px 20px;
- border-radius: 5px;
- background: #fff;
- display: flex;
- align-items: center;
- }
- .statebox div+div {
- margin-left: 20px;
- }
- .statebox div span {
- font-size: 16px;
- display: flex;
- align-items: center;
- }
- .statebox div span+span {
- margin-left: 10px;
- color: #1463eb;
- }
- .p_tool_box {
- display: flex;
- flex-wrap: wrap;
- background: rgb(217, 227, 239);
- /* color: #fff; */
- padding: 0 15px 10px;
- align-items: center;
- justify-content: space-evenly;
- border-radius: 5px;
- height: 200px;
- overflow: auto;
- }
- .p_tool {
- display: flex;
- margin-top: 10px;
- }
- .p_tool>div {
- display: flex;
- flex-direction: column;
- align-items: center;
- min-width: 60px;
- }
- .p_tool>div img {
- width: 50px;
- height: 50px;
- }
- .p_tool>div>div {
- margin-top: 5px;
- font-size: 12px;
- }
- .p_tool_box2 {
- padding: 10px 15px;
- }
- .p_tool2 {
- margin-right: 20px;
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- /* margin-bottom: 10px; */
- }
- .p_tool2>div:nth-child(1) {
- margin-bottom: 10px;
- }
- .toolBigBox {
- display: flex;
- flex-direction: column;
- }
- .toolSta {
- display: flex;
- margin: 20px 0 0;
- }
- .toolSta>div {
- display: flex;
- }
- .toolSta>div+div {
- margin-left: 50px;
- }
- .toolSta>div>div:nth-child(1) {
- margin: 10px 10px 0 0;
- }
- .toolSta>div>div:nth-child(2)>div {
- background: rgb(79, 140, 223);
- color: #fff;
- display: flex;
- padding: 10px 15px;
- min-width: 150px;
- font-size: 16px;
- align-items: center;
- border-radius: 5px;
- }
- .toolSta>div:nth-child(2)>div:nth-child(2)>div {
- background: rgb(53, 103, 172);
- }
- .toolSta>div>div:nth-child(2)>div+div {
- margin-top: 10px;
- }
- .toolSta>div>div:nth-child(2)>div>div+div {
- margin: 0 20px;
- }
- .p_tool2 .toolbox {
- display: flex;
- align-items: center;
- margin-top: 10px;
- }
- .checkBox {
- display: flex;
- padding: 20px 0 0 20px;
- box-sizing: border-box;
- width: 100%;
- }
- .checkBox span {
- padding: 0 10px 5px;
- cursor: pointer;
- font-size: 18px;
- }
- .checkBox span+span {
- margin-left: 20px;
- }
- .checkBox .active {
- border-bottom: 2px solid rgb(75, 151, 229);
- cursor: pointer;
- }
- .detail_box {
- background-color: rgb(231, 240, 247);
- padding: 15px 20px;
- box-sizing: border-box;
- width: 100%;
- }
- .detail_box+.detail_box {
- margin-top: 20px;
- }
- .detail_box .title {
- display: flex;
- align-items: center;
- }
- .detail_box .title>span:nth-child(1) {
- font-size: 20px;
- display: flex;
- align-items: center;
- }
- .detail_box .box {
- margin-top: 20px;
- background-color: #fff;
- padding: 15px 20px;
- border-radius: 5px;
- /* width: 100%; */
- box-sizing: border-box;
- overflow: auto;
- }
- .progress {
- display: -webkit-box;
- display: -ms-flexbox;
- width: 100%;
- overflow: auto;
- padding: 15px 0;
- }
- .chapter {
- margin-right: 10px;
- }
- .chapter+.chapter {
- padding-left: 10px;
- border-left: 1px solid rgb(220, 220, 220);
- }
- .chapter .stage {
- width: 100%;
- color: #fff;
- background: linear-gradient(90deg, #477cd7, #65b9fc);
- border-radius: 5px;
- height: 50px;
- line-height: 50px;
- font-size: 18px;
- text-align: center;
- }
- .chapter .task {
- display: flex;
- width: 100%;
- }
- .chapter .task .taskBox {
- min-width: 110px;
- max-width: 180px;
- height: 100%;
- }
- .chapter .task .taskBox+.taskBox {
- margin-left: 10px;
- }
- .chapter .task .taskBox .taskName {
- text-align: center;
- margin: 10px
- }
- .toolIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/toolion.png);
- background-size: 100% 100%;
- }
- .toolIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/toolion.png);
- background-size: 100% 100%;
- }
- .taskIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/task.png);
- background-size: 100% 100%;
- }
- .finishIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/finish.png);
- background-size: 100% 100%;
- }
- .learningIcon::before {
- content: '';
- width: 22px;
- height: 22px;
- display: inline-block;
- background-image: url(../../assets/icon/learning.png);
- background-size: 100% 100%;
- }
- .frequencyIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/frequency.png);
- background-size: 100% 100%;
- }
- .timeIcon::before {
- content: '';
- width: 26px;
- height: 26px;
- display: inline-block;
- background-image: url(../../assets/icon/time.png);
- background-size: 100% 100%;
- }
- .chapter_time_box {
- border-left: 5px solid #f0f0f0;
- padding: 0 30px;
- box-sizing: border-box;
- margin-top: 35px;
- }
- .c_box {
- padding-top: 40px;
- position: relative;
- margin-top: 45px;
- }
- .c_box .stage_box {
- display: flex;
- align-items: center;
- position: absolute;
- top: -20px;
- left: -45px;
- }
- .c_box .stage_box .yuan {
- width: 25px;
- height: 25px;
- background: rgb(244, 244, 244);
- border-radius: 25px;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 10px;
- }
- .c_box .stage_box .yuan::before {
- content: '';
- width: 15px;
- height: 15px;
- background: rgb(59, 149, 238);
- border-radius: 25px;
- }
- .c_box .stage_box .stage {
- background: linear-gradient(90deg, #477cd7, #65b9fc);
- border-radius: 5px;
- height: 50px;
- line-height: 50px;
- font-size: 18px;
- color: #fff;
- width: fit-content;
- padding: 0 20px;
- }
- .s_up {
- cursor: pointer;
- transition: all .5s;
- }
- .s_up img {
- width: 35px;
- }
- .s_up2 {
- transform: rotate(90deg);
- }
- .btnBox {
- display: flex;
- }
- .checkBox {
- display: flex;
- padding: 20px 0 0 20px;
- box-sizing: border-box;
- width: 100%;
- }
- .checkBox span {
- padding: 0 10px 5px;
- cursor: pointer;
- font-size: 18px;
- }
- .checkBox span+span {
- margin-left: 20px;
- }
- .checkBox .active {
- border-bottom: 2px solid rgb(75, 151, 229);
- cursor: pointer;
- }
- </style>
|