12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028 |
- <template>
- <div class="pb_content">
- <div class="pb_content_body" style="display: flex; min-height: 800px">
- <div
- style="
- width: 20%;
- margin-right: 10px;
- background: #fff;
- padding-right: 10px;
- "
- >
- <div class="courseTitle">
- {{ courseDetail.title }}
- </div>
- <div class="ml">目录</div>
- <div
- class="blue_box_one"
- v-for="(item, index) in chapInfoList"
- :key="index"
- @click="get(index)"
- >
- <div>第{{ index + 1 }}阶段</div>
- <div>{{ item.dyName }}</div>
- </div>
- </div>
- <div class="body_student">
- <div class="study_top">
- <div class="checkbox">
- <div
- class="check"
- :class="{ checked: type == 1 }"
- @click="type = 1"
- >
- <div v-if="type == 1">
- <img src="../assets/icon/videoActive.png" alt="" />
- </div>
- <div v-else><img src="../assets/icon/video.png" alt="" /></div>
- 视频
- </div>
- <div
- class="check"
- :class="{ checked: type == 2 }"
- @click="type = 2"
- >
- <div v-if="type == 2">
- <img src="../assets/icon/navActive.png" alt="" />
- </div>
- <div v-else><img src="../assets/icon/nav.png" alt="" /></div>
- 文档资料
- </div>
- <div
- class="check"
- :class="{ checked: type == 3 }"
- @click="type = 3"
- >
- <div v-if="type == 3">
- <img src="../assets/icon/wordActive.png" alt="" />
- </div>
- <div v-else><img src="../assets/icon/word.png" alt="" /></div>
- 附件
- </div>
- <div
- class="check"
- :class="{ checked: type == 4 }"
- @click="type = 4"
- >
- <div v-if="type == 4">
- <img src="../assets/icon/workActive.png" alt="" />
- </div>
- <div v-else><img src="../assets/icon/work.png" alt="" /></div>
- 作业与测验
- </div>
- </div>
- <div
- class="returnBtn"
- @click.stop="
- goTo(
- '/courseDetail?userid=' +
- userid +
- '&oid=' +
- oid +
- '&courseId=' +
- id
- )
- "
- >
- 返回
- </div>
- </div>
- <div class="student_head" v-if="type == 1">
- <div class="box_course">
- <div class="wheel" v-if="vedio.length > 0">
- <div class="workd_media">
-
- <video-player
- class="video-player vjs-custom-skin"
- ref="videoPlayer"
- :playsinline="true"
- :options="playerO"
- @play="onPlayerPlay($event)"
- style="width: 65%; height: 100%; margin: 20px auto"
- ></video-player>
- </div>
-
-
- {{ index + 1 }}
-
-
- </div>
- <div style="font-size: 18px; margin: 15px">
- {{ chapInfo.dyName }}
- </div>
- </div>
- </div>
- <div class="student_body">
- <div class="videoTop">
- <div v-if="type == 1">视频列表</div>
- <div v-if="type == 3">{{ chapInfo.dyName }}</div>
- <div v-else></div>
- <div
- @click="openAddWork"
- class="upbtn"
- v-if="type == 1 || type == 2"
- >
- 提交实践作业
- </div>
- </div>
- <div class="project_box" v-if="type == 2">
- <div class="detail_content_top">
- <div class="detail_title">{{ chapInfo.dyName }}</div>
- <div class="detail_time">{{ courseDetail.time }}</div>
- </div>
- <div class="detail_content" v-html="courseDetail.template"></div>
- </div>
- <div class="project_box" v-if="type == 1 && vedio.length > 0">
- <div class="filebox">
- <div class="media" v-for="(media, index) in vedio" :key="index">
- <img
- :src="
- media.cover != null && media.cover != ''
- ? JSON.parse(media.cover).length > 0
- ? JSON.parse(media.cover)[0].url
- : mr
- : mr
- "
- alt=""
- />
- <div class="title">{{ media.name }}</div>
- <div class="btn" @click="lookVedio(media.url)">点击播放</div>
- </div>
- </div>
- </div>
- <div class="project_box" v-if="type == 1 && vedio.length == 0">
- 暂无视频
- </div>
- <div class="project_box" v-if="type == 3">
- <div class="filebox">
- <div
- class="file"
- v-for="(f, index) in file"
- :key="index"
- @click="downFile(index)"
- >
- <img :src="require('../assets/file.png')" alt="" />
- <div>{{ f.name }}</div>
- </div>
- </div>
- <div class="upFile" v-if="type == 3 || type == 4">提交</div>
- </div>
- <div class="project_box" v-if="type == 4">
- <div class="filebox">
- 暂无数据
-
- {{ f.name }}
- </div>
- <div class="upFile" v-if="type == 3 || type == 4">提交</div>
- </div>
- </div>
- <el-dialog
- title="提交实践作业"
- :visible.sync="dialogVisible"
- :append-to-body="true"
- width="500px"
- :before-close="handleClose"
- class="dialog_change"
- >
- <div class="first">
- <div>作业名称:</div>
- <div>{{ chapInfo.dyName }}</div>
- </div>
- <div style="font-size: 20px; margin-bottom: 10px">上传作业</div>
- <el-input
- type="textarea"
- resize="none"
- rows="7"
- placeholder="输入文字描述..."
- v-model="studyJuri[0].content"
- >
- </el-input>
- <div class="marginT">
- <div>上传图片</div>
- <div
- class="chapter_add"
- v-if="studyJuri[0].cover.length == 0"
- @click="addImg($event)"
- >
- <div class="up_photo">
- <img src="../assets/photo.png" alt="" />
- </div>
- <input
- type="file"
- accept="image/png,image/gif,image/jpeg"
- style="display: none"
- @change="beforeUpload1($event, 1)"
- />
- </div>
- <div class="chapter_add" v-else>
- <img
- :src="
- studyJuri[0].cover[0].url != null &&
- studyJuri[0].cover[0].url != ''
- ? studyJuri[0].cover[0].url
- : mr
- "
- alt=""
- />
- <span>{{ studyJuri[0].cover[0].name }}</span>
- <div class="deleteWord" @click="clean(1)">
- <img src="../assets/icon/delete.png" alt="" />
- </div>
- </div>
- </div>
- <div class="marginT">
- <div>上传视频</div>
- <div
- class="chapter_add"
- v-if="studyJuri[0].upVedio.length == 0"
- @click="addImg($event)"
- >
- <div class="up_photo">
- <img src="../assets/vidio.png" alt="" />
- </div>
- <input
- type="file"
- accept="video/mp4,video/quicktime,video/x-msvideo"
- style="display: none"
- @change="beforeUpload2($event, 2)"
- />
- </div>
- <div class="chapter_add" v-else>
- <img :src="mr" alt="" />
- <span>{{ studyJuri[0].upVedio[0].name }}</span>
- <div class="deleteWord" @click="clean(2)">
- <img src="../assets/icon/delete.png" alt="" />
- </div>
- </div>
- </div>
-
- {{ studyJuri[0].upFile[0].name }}
- <div class="upload_send" @click="addWork">提交</div>
- </el-dialog>
- </div>
- </div>
- </div>
- </template>
- <script>
- import "../common/aws-sdk-2.235.1.min.js";
- export default {
- data() {
- return {
- dialogVisible: false,
- id: this.$route.query.courseId,
- userid: this.$route.query.userid,
- courseType: this.$route.query.type,
- oid: this.$route.query.oid,
- type: 1,
- vedio: [],
- file: [],
- rateList: {
- ca: 0,
- },
- rateParams: [],
- colors: ["#000", "#000", "#000"],
- studyJuri: [
- {
- content: "",
- cover: [],
- upVedio: [],
- upFile: [],
- },
- ],
- mr: require("../assets/tu4.png"),
- courseDetail: {},
- chapInfo: [],
- chapInfoList: [],
- playerOptions: {
- playbackRates: [0.7, 1.0, 1.5, 2.0],
- autoplay: false,
- muted: false,
- loop: false,
- preload: "auto",
- language: "zh-CN",
- aspectRatio: "16:9",
- fluid: true,
- sources: [
- {
- type: "video/mp4",
- src: "",
- },
- ],
-
-
- notSupportedMessage: "此视频暂无法播放,请稍后再试",
- controlBar: {
- timeDivider: true,
- durationDisplay: true,
- remainingTimeDisplay: false,
- fullscreenToggle: true,
- },
- },
- playerO: {},
- noneBtnImg: false,
- };
- },
- methods: {
- goTo(path) {
- this.$router.push(path);
- },
- clean(type) {
- if (type == 1) {
- this.studyJuri[0].cover.splice(0, 1);
- } else if (type == 2) {
- this.studyJuri[0].upVedio.splice(0, 1);
- } else {
- this.studyJuri[0].upFile.splice(0, 1);
- }
- },
- handleClose(done) {
- done();
-
-
-
-
-
-
-
-
- },
- imgChange(file, fileList, type) {
- if (type == 1) {
- var _tmp = this.studyJuri[0].cover;
- } else if (type == 2) {
- var _tmp = this.studyJuri[0].upVedio;
- } else {
- var _tmp = this.studyJuri[0].upFile;
- }
- this.noneBtnImg = _tmp.length >= 1;
- },
- addImg(e) {
- var el = e.currentTarget;
- el.getElementsByTagName("input")[0].click();
- },
- beforeUpload1(event, type) {
- var file = event.target.files[0];
- var credentials = {
- accessKeyId: "AKIATLPEDU37QV5CHLMH",
- secretAccessKey: "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",
- };
- window.AWS.config.update(credentials);
- window.AWS.config.region = "cn-northwest-1";
- var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } });
- var _this = this;
- if (file) {
- var params = {
- Key:
- file.name.split(".")[0] +
- new Date().getTime() +
- "." +
- file.name.split(".")[1],
- ContentType: file.type,
- Body: file,
- "Access-Control-Allow-Credentials": "*",
- ACL: "public-read",
- };
- var options = {
- partSize: 2048 * 1024 * 1024,
- queueSize: 2,
- leavePartsOnError: true,
- };
- bucket
- .upload(params, options)
- .on("httpUploadProgress", function (evt) {
-
-
- })
- .send(function (err, data) {
- if (err) {
- var a = _this.$refs.upload1.uploadFiles;
- a.splice(a.length - 1, a.length);
- _this.$message.error("上传失败");
- } else {
- _this.studyJuri[0].cover.push({
- name: file.name,
- url: data.Location,
- uid: file.uid,
- });
- _this.imgChange(null, null, type);
- console.log(data.Location);
- }
- });
- }
- },
- beforeUpload2(event, type) {
- var file = event.target.files[0];
- var credentials = {
- accessKeyId: "AKIATLPEDU37QV5CHLMH",
- secretAccessKey: "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",
- };
- window.AWS.config.update(credentials);
- window.AWS.config.region = "cn-northwest-1";
- var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } });
- var _this = this;
- if (file) {
- var params = {
- Key:
- file.name.split(".")[0] +
- new Date().getTime() +
- "." +
- file.name.split(".")[1],
- ContentType: file.type,
- Body: file,
- "Access-Control-Allow-Credentials": "*",
- ACL: "public-read",
- };
- var options = {
- partSize: 2048 * 1024 * 1024,
- queueSize: 2,
- leavePartsOnError: true,
- };
- bucket
- .upload(params, options)
- .on("httpUploadProgress", function (evt) {
-
-
- })
- .send(function (err, data) {
- if (err) {
- var a = _this.$refs.upload1.uploadFiles;
- a.splice(a.length - 1, a.length);
- _this.$message.error("上传失败");
- } else {
- if (type == 2) {
- _this.studyJuri[0].upVedio.push({
- name: file.name,
- url: data.Location,
- uid: file.uid,
- });
- _this.imgChange(null, null, type);
- } else if (type == 3) {
- _this.studyJuri[0].upFile.push({
- name: file.name,
- url: data.Location,
- uid: file.uid,
- });
- _this.imgChange(null, null, type);
- }
- console.log(data.Location);
- }
- });
- }
- },
- get(i) {
- this.courseType = i;
- this.getCourseDetail();
- },
- getCourseDetail() {
- const loading = this.$loading.service({
- background: "rgba(255, 255, 255, 0.7)",
- target: document.querySelector(".student_table"),
- });
- var t = this.courseType;
- let params = {
- courseId: this.id,
- };
- this.ajax
- .get(this.$store.state.api + "selectCourseDetail", params)
- .then((res) => {
- loading.close();
-
- var a = JSON.parse(res.data[0][0].chapters)[t].chapterInfo[0]
- .chapterData;
- var b = [
- "AVI",
- "NAVI",
- "MPEG",
- "ASF",
- "MOV",
- "WMV",
- "3GP",
- "RM",
- "RMVB",
- "FLV",
- "F4V",
- "H.264",
- "H.265",
- "REAL VIDEO",
- "MKV",
- "WebM",
- "HDDVD",
- "MP4",
- "MPG",
- "M4V",
- "MGV",
- "OGV",
- "QTM",
- "STR",
- "AMC",
- "DVX",
- "EVO",
- "DAT",
- "OGG",
- "OGM",
- ];
- this.vedio = [];
- this.file = [];
- for (var i = 0; i < a.length; i++) {
- if (
- b.indexOf(
- a[i].url
- .split(".")
- [a[i].url.split(".").length - 1].toLocaleUpperCase()
- ) != -1
- ) {
- this.vedio.push(a[i]);
- } else {
- this.file.push(a[i]);
- }
- }
-
- console.log(this.vedio);
- console.log(this.file);
-
- this.courseDetail = res.data[0][0];
- this.chapInfo = JSON.parse(this.courseDetail.chapters)[t];
- this.chapInfoList = JSON.parse(this.courseDetail.chapters);
-
- this.playerOptions.sources[0].src =
- this.vedio.length > 0
- ? this.vedio[0].url
- : require("../assets/icon/wheel.png");
- console.log(this.playerOptions.sources[0].src);
- this.playerO = this.playerOptions;
- })
- .catch((err) => {
- loading.close();
- console.error(err);
- });
- },
- switchVideo(media, index) {
- this.playerO = {};
- this.playerOptions.poster = "";
- this.playerOptions.sources[0].src = media;
- this.playerO = this.playerOptions;
- },
- onPlayerPlay() {},
- lookVedio(u) {
- this.playerOptions.sources[0].src = u;
- this.playerO = this.playerOptions;
- },
- downFile(i) {
- window.open(this.file[i].url);
- },
- openAddWork() {
- this.dialogVisible = true;
- this.studyJuri = [
- {
- content: "",
- cover: [],
- upVedio: [],
- upFile: [],
- },
- ];
- },
- addWork() {
- let params = [
- {
- uid: this.userid,
- cid: this.id,
- stage: this.courseType,
- content: JSON.stringify(this.studyJuri),
- },
- ];
- this.ajax
- .post(this.$store.state.api + "addWorks", params)
- .then((res) => {
- this.$message({
- message: "提交成功",
- type: "success",
- });
- this.dialogVisible = false;
-
-
-
-
-
-
-
-
- })
- .catch((err) => {
- this.$message.error("提交失败");
- console.error(err);
- });
- },
- },
- created() {
- this.getCourseDetail();
- document.scrollingElement.scrollTop = 0;
- },
- };
- </script>
- <style scoped>
- .body_student {
- margin: 0px auto;
- width: 80%;
- height: 100%;
- min-height: 800px;
- }
- .student_head {
- width: 100%;
- margin: 0 auto;
- background: #fff;
- }
- .wheel > img,
- .project > img,
- .star > img,
- .evaluate > img,
- .up_photo > img,
- .chapter_add > img,
- .deleteWord > img {
- width: 100%;
- height: 100%;
- }
- .chapter_add {
- width: 120px;
- margin-top: 20px;
- position: relative;
- text-align: center;
- }
- .deleteWord {
- width: 22px;
- height: 22px;
- position: absolute;
- right: -10px;
- top: -10px;
- cursor: pointer;
- }
- .box_course {
- display: flex;
- flex-direction: column;
- }
- .wheel {
- width: 100%;
- }
- .right_box {
- display: flex;
- flex-direction: column;
- margin-left: 30px;
- justify-content: space-around;
- }
- .right_box_title {
- font-size: 23px;
- }
- .people {
- display: flex;
- }
- .student_body {
- width: 100%;
- margin: 0 auto;
- background: #fff;
- margin-top: 20px;
- padding: 0 0 20px;
- }
- .study_top {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- background: #fff;
- margin: 10px 0;
- height: 60px;
- align-items: center;
- }
- .study_top .checkbox {
- display: flex;
- align-items: center;
- margin-left: 25px;
- }
- .study_top .check {
- margin: 0 15px 0 0;
-
- padding-bottom: 5px;
- text-align: center;
- color: rgb(170, 170, 170);
- cursor: pointer;
- height: 30px;
- box-sizing: border-box;
- display: flex;
- }
- .study_top .checked {
- border-bottom: 4px solid #3fc6a0;
- padding-bottom: 5px;
- color: #3fc6a0;
- display: flex;
- }
- .study_top .checked > div,
- .study_top .check > div {
- margin-right: 10px;
- }
- .videoTop {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- background: #fff;
- height: 60px;
- align-items: center;
- width: 95%;
- margin: 10px auto;
- border-bottom: 2px solid #ededed;
- }
- .upbtn {
- margin: 25px;
- background: #70afdb;
- color: #fff;
- width: 120px;
- text-align: center;
- height: 30px;
- line-height: 30px;
- font-size: 13px;
- border-radius: 5px;
- cursor: pointer;
- }
- .project_box {
- padding: 0 30px 10px 21px;
- }
- .filebox {
- display: flex;
- flex-wrap: wrap;
- }
- .file {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin: 0 20px 20px 0;
- cursor: pointer;
- }
- .file div {
- margin-top: 10px;
- width: 150px;
- text-align: center;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .media {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin: 0 20px 20px 0;
- cursor: pointer;
- width: 250px;
- overflow: hidden;
- box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%),
- 0px 2px 1px -1px rgb(0 0 0 / 12%);
- border-radius: 0 0 5px 5px;
-
- box-sizing: border-box;
- }
- .media img {
- width: 250px;
- height: 150px;
- object-fit: cover;
- }
- .media .title {
- padding: 5px;
- text-align: left;
- width: 100%;
- box-sizing: border-box;
- }
- .media .btn {
- width: 100%;
- height: 35px;
- line-height: 35px;
- color: #fff;
- background: #606060;
- text-align: center;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .detail_content_top {
- width: 100%;
- padding: 25px 0 25px 0;
- }
- .detail_title {
- text-align: center;
- font-size: 24px;
- }
- .detail_time {
- font-size: 13px;
- padding: 15px 0 0 40px;
- }
- .detail_content {
- line-height: 2pc;
- width: 90%;
- margin: 0 auto;
- padding-top: 30px;
- text-indent: 30px;
- }
- .score_box >>> .el-rate {
- margin-left: 10px;
- }
- .dialog_change >>> .el-dialog {
- border-radius: 5px;
- }
- .dialog_change >>> .el-dialog__header {
- background: #f2f2f2;
- text-align: center;
- }
- .dialog_change >>> .el-dialog__title {
- line-height: 5px;
- }
- .dialog_change >>> .el-dialog__body {
- background: #fff;
- padding: 10px 20px;
- }
- .score_box {
- display: flex;
- align-items: center;
- margin-bottom: 18px;
- margin-top: 20px;
- }
- .up_photo {
- width: 60px;
- cursor: pointer;
- margin-top: 10px;
- }
- .upload_send {
- margin: 20px auto;
- width: 60%;
- background: #169bd6;
- text-align: center;
- height: 35px;
- line-height: 35px;
- color: #fff;
- border-radius: 5px;
- cursor: pointer;
- }
- .marginT {
- margin-top: 20px;
- }
- .workd_media {
- width: 100%;
- }
- .cd_content_steps {
- display: flex;
- width: 90%;
- justify-content: space-around;
- border-top: 1px solid #eeeeee;
- }
- .cd_steps_box {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- cursor: pointer;
- }
- .first {
- display: flex;
- align-items: center;
- margin: 15px 0 20px 0;
- font-size: 20px;
- }
- .first > div:nth-child(2) {
- font-size: 16px !important;
- padding-left: 10px;
- line-height: 26px;
- box-sizing: border-box;
- }
- .blue_box_one {
- text-align: center;
- color: #fff;
- background-image: linear-gradient(to right, #30c499, #75ceba);
- border-radius: 7px;
- margin: 10px;
- cursor: pointer;
- width: 95%;
- height: 45px;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- }
- .blue_box_one > div:nth-child(1) {
- line-height: 65px;
- margin: 0 10px;
- width: 40%;
- }
- .blue_box_one > div:nth-child(2) {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- width: 60%;
- }
- .blue_box_one > div:nth-child(2):hover {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- cursor: pointer;
- }
- .upFile {
- margin: 0 auto;
- width: 120px;
- background: #70afdb;
- color: #fff;
- height: 30px;
- text-align: center;
- line-height: 30px;
- border-radius: 5px;
- font-size: 14px;
- cursor: pointer;
- }
- .courseTitle {
- background: #329c74;
- width: 95%;
- margin: 10px auto;
- height: 40px;
- color: #fff;
- line-height: 40px;
- text-indent: 15px;
- }
- .ml {
- margin-left: 15px;
- color: #d1d1d1;
- }
- .return {
- width: 2rem;
- height: 2rem;
- cursor: pointer;
- }
- .return > img {
- width: 100%;
- height: 100%;
- }
- .returnBtn {
- background: #3ec6a0;
- width: 58px;
- height: 30px;
- color: #fff;
- text-align: center;
- line-height: 32px;
- margin-right: 20px;
- cursor: pointer;
- }
- </style>
|