|
|
@@ -0,0 +1,1646 @@
|
|
|
+<template>
|
|
|
+ <div class="course-detail">
|
|
|
+ <Header></Header>
|
|
|
+ <section class="section">
|
|
|
+ <div class="container">
|
|
|
+ <div class="section__header">
|
|
|
+ <div class="container">
|
|
|
+ <el-breadcrumb separator="/">
|
|
|
+ <el-breadcrumb-item :to="{ path: '/index' }"
|
|
|
+ >首页</el-breadcrumb-item
|
|
|
+ >
|
|
|
+ <el-breadcrumb-item>讲义资料详情</el-breadcrumb-item>
|
|
|
+ </el-breadcrumb>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section__body">
|
|
|
+ <div class="container">
|
|
|
+ <div class="course-info">
|
|
|
+ <div class="course-info__header clearfix">
|
|
|
+ <div class="title">
|
|
|
+ <span>{{ goodsData.goodsName }}</span>
|
|
|
+ </div>
|
|
|
+ <el-main
|
|
|
+ class="left-box"
|
|
|
+ :style="{
|
|
|
+ backgroundColor: '#f4f4f4',
|
|
|
+ padding: 0
|
|
|
+ }"
|
|
|
+ v-loading="loading"
|
|
|
+ element-loading-text="资源加载中"
|
|
|
+ element-loading-spinner="el-icon-loading"
|
|
|
+ element-loading-background="rgba(0, 0, 0, 0.8)"
|
|
|
+ >
|
|
|
+ <vue-office-docx
|
|
|
+ style="width:100%;height: 452px!important;"
|
|
|
+ v-if="ShowAlist === 'docx'"
|
|
|
+ :src="readerResult"
|
|
|
+ />
|
|
|
+ <vue-office-excel
|
|
|
+ style="width:100%;height: 452px!important;"
|
|
|
+ v-else-if="ShowAlist === 'xlsx'"
|
|
|
+ :src="readerResult"
|
|
|
+ />
|
|
|
+ <vue-office-pdf
|
|
|
+ style="width:100%;height: 452px!important;"
|
|
|
+ v-else-if="ShowAlist === 'pdf'"
|
|
|
+ :src="readerResult"
|
|
|
+ />
|
|
|
+ </el-main>
|
|
|
+ <div class="right-box">
|
|
|
+ <div class="right-box__header">
|
|
|
+ <div class="tabs">
|
|
|
+ <el-tabs v-model="courseTabIndex">
|
|
|
+ <el-tab-pane
|
|
|
+ :name="tab.name"
|
|
|
+ v-for="(tab, index) in menuTab"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <div slot="label">
|
|
|
+ <span class="label">{{ tab.label }}</span>
|
|
|
+ </div>
|
|
|
+ <Hand-out
|
|
|
+ ref="handOut"
|
|
|
+ :goodsData="goodsData"
|
|
|
+ @backSwitchOfficeData="backSwitchOfficeData"
|
|
|
+ ></Hand-out>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="course-info__body">
|
|
|
+ <el-tabs v-model="activeName">
|
|
|
+ <el-tab-pane
|
|
|
+ v-for="(item, index) in tabList"
|
|
|
+ :key="index"
|
|
|
+ :name="item.name"
|
|
|
+ :label="item.label"
|
|
|
+ >
|
|
|
+ <template v-if="item.label == '学员须知'">
|
|
|
+ <div class="course-menu clearfix">
|
|
|
+ <div class="left-box">
|
|
|
+ <div class="left-box__body">
|
|
|
+ <div
|
|
|
+ class="buy-note"
|
|
|
+ v-html="
|
|
|
+ goodsData.buyNote &&
|
|
|
+ goodsData.buyNote.replace(/\n|\r\n/g, '<br>')
|
|
|
+ "
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="item.label == '讲义资料'">
|
|
|
+ <p
|
|
|
+ v-if="compyHandout(handoutList).length === 0"
|
|
|
+ style="text-align: center;"
|
|
|
+ >
|
|
|
+ 暂未拥有其他讲义资料
|
|
|
+ </p>
|
|
|
+ <ul class="list">
|
|
|
+ <li
|
|
|
+ class="course-item"
|
|
|
+ v-for="(itemy, index) in compyHandout(handoutList)"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <HandoutItem :item="itemy"></HandoutItem>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="item.label == '推荐课程'">
|
|
|
+ <p
|
|
|
+ v-if="
|
|
|
+ compyRecommend(recommendList.goodsList).length === 0
|
|
|
+ "
|
|
|
+ style="text-align: center;"
|
|
|
+ >
|
|
|
+ 暂无推荐课程
|
|
|
+ </p>
|
|
|
+ <ul class="list">
|
|
|
+ <li
|
|
|
+ class="course-item"
|
|
|
+ v-for="(itemy, index) in compyRecommend(
|
|
|
+ recommendList.goodsList
|
|
|
+ )"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <GoodsItem :item="itemy"></GoodsItem>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </template>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ <Footer></Footer>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import HandoutItem from "@/components/handoutItem/index";
|
|
|
+import GoodsItem from "@/components/goodsItem/index";
|
|
|
+import Footer from "@/components/footer/index";
|
|
|
+import Header from "@/components/header/index";
|
|
|
+import axios from "axios";
|
|
|
+import HandOut from "./components/HandOut.vue";
|
|
|
+//引入VueOfficeDocx组件
|
|
|
+import VueOfficeDocx from "@vue-office/docx";
|
|
|
+//引入VueOfficeExcel组件
|
|
|
+import VueOfficeExcel from "@vue-office/excel";
|
|
|
+//引入VueOfficePdf组件
|
|
|
+import VueOfficePdf from "@vue-office/pdf";
|
|
|
+//引入相关样式
|
|
|
+import "@vue-office/docx/lib/index.css";
|
|
|
+import "@vue-office/excel/lib/index.css";
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ HandoutItem,
|
|
|
+ GoodsItem,
|
|
|
+ Header,
|
|
|
+ Footer,
|
|
|
+ HandOut,
|
|
|
+ VueOfficeDocx,
|
|
|
+ VueOfficeExcel,
|
|
|
+ VueOfficePdf
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ loading: false,
|
|
|
+ goodsData: {},
|
|
|
+ goodsId: "",
|
|
|
+ orderGoodsId: "",
|
|
|
+ tabList: [],
|
|
|
+ activeName: "1",
|
|
|
+ courseTabIndex: "1",
|
|
|
+ switchPdf: {}, //pdf数据
|
|
|
+ readerResult: null,
|
|
|
+ recommendList: [],
|
|
|
+ handoutList: [],
|
|
|
+ sysTime: null,
|
|
|
+ menuTab: [
|
|
|
+ {
|
|
|
+ name: "1",
|
|
|
+ label: "讲义"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ };
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ShowAlist() {
|
|
|
+ if (this.switchPdf.urlName) {
|
|
|
+ console.log(
|
|
|
+ this.switchPdf.urlName.slice(this.switchPdf.urlName.indexOf(".") + 1)
|
|
|
+ );
|
|
|
+ return this.switchPdf.urlName.slice(
|
|
|
+ this.switchPdf.urlName.indexOf(".") + 1
|
|
|
+ );
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ },
|
|
|
+ compyHandout: function() {
|
|
|
+ return function(array) {
|
|
|
+ let ary = [];
|
|
|
+ if (array && array.length > 0) {
|
|
|
+ ary = array.filter((i, index) => {
|
|
|
+ return (
|
|
|
+ i.goodsId !== this.goodsData.goodsId &&
|
|
|
+ index < 5 &&
|
|
|
+ i.validityStartTime <= this.sysTime &&
|
|
|
+ i.validityEndTime > this.sysTime
|
|
|
+ );
|
|
|
+ });
|
|
|
+ }
|
|
|
+ return ary;
|
|
|
+ };
|
|
|
+ },
|
|
|
+ compyRecommend: function() {
|
|
|
+ return function(array) {
|
|
|
+ let ary = [];
|
|
|
+ if (array && array.length > 0) {
|
|
|
+ ary = array.filter((i, index) => index < 5);
|
|
|
+ }
|
|
|
+ return ary;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async mounted() {
|
|
|
+ this.sysTime = this.$tools.timest();
|
|
|
+ this.goodsId = this.$route.params.goodsId;
|
|
|
+ this.orderGoodsId = this.$route.query.orderGoodsId;
|
|
|
+ await this.getGoodsDetail();
|
|
|
+ this.getUserHandOutList();
|
|
|
+ this.getRecommend();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ 获取用户讲义列表
|
|
|
+ */
|
|
|
+ getUserHandOutList() {
|
|
|
+ this.$request
|
|
|
+ .courseGoodsHandoutsList({ pageSize: 99, pageNum: 1 })
|
|
|
+ .then(res => {
|
|
|
+ this.handoutList = res.rows;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ 获取推荐列表
|
|
|
+ */
|
|
|
+ getRecommend() {
|
|
|
+ this.$request
|
|
|
+ .appCommonActivityRecommendList({
|
|
|
+ businessId: this.goodsData.businessId,
|
|
|
+ type: 1
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.rows.length) {
|
|
|
+ this.recommendList = res.rows[0];
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ backSwitchOfficeData(item) {
|
|
|
+ this.switchPdf = item;
|
|
|
+ this.readerResult = null;
|
|
|
+ this.officeRender(this.$tools.splitImgHost(item.url));
|
|
|
+ },
|
|
|
+ //渲染xlsx
|
|
|
+ officeRender(url, fileName) {
|
|
|
+ this.loading = true;
|
|
|
+ axios({
|
|
|
+ method: "get",
|
|
|
+ responseType: "blob", // 设置响应文件格式
|
|
|
+ url: url
|
|
|
+ })
|
|
|
+ .then(({ data }) => {
|
|
|
+ var file = new File([data], fileName, {
|
|
|
+ type: "application/json",
|
|
|
+ lastModified: Date.now()
|
|
|
+ });
|
|
|
+ this.beforeUpload(file);
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ beforeUpload(file) {
|
|
|
+ let reader = new FileReader();
|
|
|
+ reader.readAsArrayBuffer(file);
|
|
|
+ reader.onload = loadEvent => {
|
|
|
+ let arrayBuffer = loadEvent.target.result;
|
|
|
+ this.readerResult = arrayBuffer;
|
|
|
+ };
|
|
|
+ reader.onloadend = e => {
|
|
|
+ this.loading = false;
|
|
|
+ };
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ getGoodsDetail() {
|
|
|
+ return new Promise(resolve => {
|
|
|
+ let self = this;
|
|
|
+ this.$request.goodsDetail(this.goodsId).then(res => {
|
|
|
+ self.goodsData = res.data;
|
|
|
+ if (this.goodsData.buyNote) {
|
|
|
+ this.tabList = [
|
|
|
+ { name: "1", label: "讲义资料" },
|
|
|
+ { name: "2", label: "推荐课程" },
|
|
|
+ { name: "3", label: "学员须知" }
|
|
|
+ ];
|
|
|
+ } else {
|
|
|
+ this.tabList = [
|
|
|
+ { name: "1", label: "讲义资料" },
|
|
|
+ { name: "2", label: "推荐课程" }
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ resolve();
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
+<style scoped lang="scss">
|
|
|
+.course-item {
|
|
|
+ float: left;
|
|
|
+ margin-bottom: 6px;
|
|
|
+}
|
|
|
+/deep/ .docx-wrapper {
|
|
|
+ padding: 0px;
|
|
|
+}
|
|
|
+/deep/ .docx-wrapper > section.docx {
|
|
|
+ padding: 4px !important;
|
|
|
+ width: auto !important;
|
|
|
+ min-height: auto !important;
|
|
|
+}
|
|
|
+.course-detail {
|
|
|
+ .section {
|
|
|
+ padding-bottom: 30px;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ height: 40px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .course-info {
|
|
|
+ &__header {
|
|
|
+ .title {
|
|
|
+ height: 40px;
|
|
|
+ border-bottom: 1px solid #999;
|
|
|
+ // color: #fff;
|
|
|
+
|
|
|
+ /deep/ .el-input__icon {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ border: 1px solid #eee;
|
|
|
+ border-radius: 4px;
|
|
|
+ margin-top: 10px;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/ .el-input__inner {
|
|
|
+ // color: #fff;
|
|
|
+ font-size: 16px;
|
|
|
+ background: none;
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .left-box {
|
|
|
+ width: 810px;
|
|
|
+ height: 455px;
|
|
|
+ float: left;
|
|
|
+ background-size: cover;
|
|
|
+ background-position: center center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ position: relative;
|
|
|
+ .smallBox {
|
|
|
+ position: absolute;
|
|
|
+ width: 162px;
|
|
|
+ height: 91px;
|
|
|
+ border-radius: 4px;
|
|
|
+ background: #fff;
|
|
|
+ right: 20px;
|
|
|
+ bottom: 75px;
|
|
|
+ z-index: 1998;
|
|
|
+ overflow: hidden;
|
|
|
+ /deep/ .pv-video-player {
|
|
|
+ // width: 100%!important;
|
|
|
+ // height: 100%!important;
|
|
|
+ transform-origin: 0 0;
|
|
|
+ transform: scale(0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .overStyle {
|
|
|
+ overflow: auto !important;
|
|
|
+ }
|
|
|
+ .switch {
|
|
|
+ position: absolute;
|
|
|
+ right: 22px;
|
|
|
+ bottom: 77px;
|
|
|
+ z-index: 1999;
|
|
|
+ font-size: 30px;
|
|
|
+ transition: all 0.3;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 4px;
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #000;
|
|
|
+ background-color: rgba(225, 225, 225, 0.8);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .hideSwitchBox {
|
|
|
+ position: absolute;
|
|
|
+ right: 22px;
|
|
|
+ bottom: 126px;
|
|
|
+ z-index: 1999;
|
|
|
+ font-size: 30px;
|
|
|
+ transition: all 0.3;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 4px;
|
|
|
+ cursor: pointer;
|
|
|
+ opacity: 0.5;
|
|
|
+ &:hover {
|
|
|
+ opacity: 1;
|
|
|
+ color: #000;
|
|
|
+ background-color: rgba(225, 225, 225, 0.9);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .switchPdf {
|
|
|
+ width: 810px;
|
|
|
+ height: 455px;
|
|
|
+ overflow: auto;
|
|
|
+ border: 1px solid #666;
|
|
|
+ }
|
|
|
+ .video {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .recordStyle {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 90px;
|
|
|
+ padding: 6px 12px;
|
|
|
+ left: 8px;
|
|
|
+ background-color: rgba(0, 0, 0, 0.4);
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 24px;
|
|
|
+ user-select: none;
|
|
|
+
|
|
|
+ .btn_sty {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ width: 462px;
|
|
|
+ height: 455px;
|
|
|
+ background: #3f4449;
|
|
|
+ border-radius: 0px;
|
|
|
+ float: right;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ .tabs {
|
|
|
+ /deep/.el-tabs__nav-wrap::after {
|
|
|
+ background-color: #999;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/ .el-tabs__header {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .label {
|
|
|
+ color: #fff;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ padding: 0 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .item {
|
|
|
+ &__title {
|
|
|
+ padding-left: 12px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ .el-icon-caret-right,
|
|
|
+ .el-icon-caret-bottom {
|
|
|
+ color: #999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ height: 40px;
|
|
|
+ border-bottom: 1px solid #999;
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ .select {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/ .el-input__icon {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ border: 1px solid #fff;
|
|
|
+ border-radius: 4px;
|
|
|
+ margin-top: 10px;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/ .el-input__inner {
|
|
|
+ color: #fff;
|
|
|
+ font-size: 16px;
|
|
|
+ background: none;
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ height: 374px;
|
|
|
+ overflow-y: scroll;
|
|
|
+
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ // width: 6px;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background-color: #060e1a;
|
|
|
+ -webkit-border-radius: 2em;
|
|
|
+ -moz-border-radius: 2em;
|
|
|
+ border-radius: 2em;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background-color: #eeeeee;
|
|
|
+ -webkit-border-radius: 2em;
|
|
|
+ -moz-border-radius: 2em;
|
|
|
+ border-radius: 2em;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ /deep/ .el-tabs__item {
|
|
|
+ padding: 0 20px !important;
|
|
|
+ height: 80px;
|
|
|
+ line-height: 80px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .course-img {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .course-menu {
|
|
|
+ margin-top: 25px;
|
|
|
+
|
|
|
+ .left-box {
|
|
|
+ width: 948px;
|
|
|
+ float: left;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ padding-right: 50px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .item {
|
|
|
+ width: auto;
|
|
|
+ margin-right: 24px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ background: #eeeeee;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 12px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &.canlearn {
|
|
|
+ background: #3f8dfd;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .buy-note {
|
|
|
+ margin-right: 50px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .item {
|
|
|
+ margin-top: 24px;
|
|
|
+ padding: 16px;
|
|
|
+ background: #eee;
|
|
|
+ border-radius: 10px;
|
|
|
+
|
|
|
+ &__title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+
|
|
|
+ .note {
|
|
|
+ display: inline-block;
|
|
|
+ margin-left: 20px;
|
|
|
+ width: 40px;
|
|
|
+ height: 24px;
|
|
|
+ border: 1px solid #ff3b30;
|
|
|
+ border-radius: 8px;
|
|
|
+ line-height: 22px;
|
|
|
+ color: #ff3b30;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ margin-top: 12px;
|
|
|
+ background: #f5f7fa;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ width: 255px;
|
|
|
+ float: right;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ text-shadow: 0px 6px 6px rgba(85, 158, 255, 0.08);
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .more {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .answer-question {
|
|
|
+ &__header {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+
|
|
|
+ .textarea-wrap {
|
|
|
+ background: #f9f9f9;
|
|
|
+ border: 1px solid #eeeeee;
|
|
|
+ border-radius: 8px;
|
|
|
+
|
|
|
+ .textarea {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .submit {
|
|
|
+ padding: 10px 20px;
|
|
|
+ border-radius: 20px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ margin: 10px 0;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .question-list {
|
|
|
+ &__item {
|
|
|
+ padding: 20px 0;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ &__avatar {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ display: table-cell;
|
|
|
+ border-radius: 50%;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ flex: 1;
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .nickname {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #fff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+
|
|
|
+ .replay {
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .del {
|
|
|
+ float: right;
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ff3b30;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .reply-list {
|
|
|
+ margin: 20px 0;
|
|
|
+ width: 100%;
|
|
|
+ background: #f9f9f9;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 0 0 0 20px;
|
|
|
+
|
|
|
+ &__item {
|
|
|
+ padding: 20px 0;
|
|
|
+ display: flex;
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
+
|
|
|
+ &:nth-last-of-type(1) {
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__avatar {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ display: table-cell;
|
|
|
+ border-radius: 50%;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ border-radius: 8px;
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .nickname {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #fff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+
|
|
|
+ .reply {
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ cursor: pointer;
|
|
|
+ user-select: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .del {
|
|
|
+ cursor: pointer;
|
|
|
+ margin-right: 20px;
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ff3b30;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .lecture-notes {
|
|
|
+ &__content {
|
|
|
+ .left-box {
|
|
|
+ float: left;
|
|
|
+ width: 462px;
|
|
|
+
|
|
|
+ .textarea {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+
|
|
|
+ .submit {
|
|
|
+ float: right;
|
|
|
+ width: 138px;
|
|
|
+ padding: 10px 0;
|
|
|
+ margin: 10px 0 25px 0;
|
|
|
+ border-radius: 20px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .note-list {
|
|
|
+ &__content {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+
|
|
|
+ &__title {
|
|
|
+ width: 216px;
|
|
|
+ height: 24px;
|
|
|
+ background: #ccc;
|
|
|
+ border-radius: 24px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666666;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 24px;
|
|
|
+ margin: 20px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__item {
|
|
|
+ display: flex;
|
|
|
+ padding: 15px;
|
|
|
+
|
|
|
+ .el-icon-video-play {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #3f8dfd;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .pagination {
|
|
|
+ margin-top: 30px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ width: 786px;
|
|
|
+ float: right;
|
|
|
+
|
|
|
+ .lecture-list {
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 8px;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ padding: 0 16px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 18px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+
|
|
|
+ .slide-btn {
|
|
|
+ cursor: pointer;
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .list {
|
|
|
+ &__item {
|
|
|
+ border-top: 1px solid #fff;
|
|
|
+ padding: 0 8px 0 16px;
|
|
|
+ height: 56px;
|
|
|
+ line-height: 55px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ flex: 1;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btns {
|
|
|
+ .btn {
|
|
|
+ cursor: pointer;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ width: 80px;
|
|
|
+ height: 32px;
|
|
|
+ background: #ffffff;
|
|
|
+ border: 1px solid #3f8dfd;
|
|
|
+ border-radius: 16px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 30px;
|
|
|
+ color: #3f8dfd;
|
|
|
+ margin: 0 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__footer {
|
|
|
+ margin-top: 24px;
|
|
|
+
|
|
|
+ .lecture-scan {
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 8px;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ padding: 0 16px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ height: 800px;
|
|
|
+ text-align: center;
|
|
|
+ overflow-y: scroll;
|
|
|
+
|
|
|
+ .iframe {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .take-photo {
|
|
|
+ /deep/ .el-dialog__header {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/ .el-dialog__body {
|
|
|
+ padding: 0;
|
|
|
+ overflow: unset;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__close {
|
|
|
+ cursor: pointer;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: -28px;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ line-height: 24px;
|
|
|
+ text-align: center;
|
|
|
+ color: #eee;
|
|
|
+ border: 1px solid #eee;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ height: 40px;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ padding-left: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ // height: 400px;
|
|
|
+ padding: 40px 24px;
|
|
|
+
|
|
|
+ .left-box {
|
|
|
+ width: 336px;
|
|
|
+ float: left;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ff3b30;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .content {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 28px;
|
|
|
+ margin-top: 32px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ float: right;
|
|
|
+ width: 400px;
|
|
|
+ height: 400px;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ video {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .mask {
|
|
|
+ width: 55%;
|
|
|
+ height: 200px;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ margin: 30px auto 0;
|
|
|
+ box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.4);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__footer {
|
|
|
+ height: 90px;
|
|
|
+ border-top: 1px solid #eee;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .take {
|
|
|
+ display: inline-block;
|
|
|
+ width: 200px;
|
|
|
+ height: 40px;
|
|
|
+ padding: 0;
|
|
|
+ border-radius: 20px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 40px;
|
|
|
+ margin: 24px auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .info {
|
|
|
+ &__content {
|
|
|
+ height: 500px;
|
|
|
+ overflow-y: scroll;
|
|
|
+
|
|
|
+ .handCenter {
|
|
|
+ width: 600px;
|
|
|
+ height: 300px;
|
|
|
+ background: #ccc;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-box {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: top;
|
|
|
+
|
|
|
+ .el-icon-error {
|
|
|
+ cursor: pointer;
|
|
|
+ z-index: 99;
|
|
|
+ position: absolute;
|
|
|
+ left: 100%;
|
|
|
+ bottom: 100%;
|
|
|
+ font-size: 20px;
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.answer-question {
|
|
|
+ max-height: 416px;
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 16px;
|
|
|
+ background: rgb(63, 68, 73);
|
|
|
+
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ border-bottom: 1px solid #555;
|
|
|
+
|
|
|
+ .textarea-wrap {
|
|
|
+ // background: #65696D;
|
|
|
+ border: 1px solid #555;
|
|
|
+ border-radius: 8px;
|
|
|
+
|
|
|
+ .textarea {
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ &::placeholder {
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .submit {
|
|
|
+ padding: 10px 20px;
|
|
|
+ border-radius: 2px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ margin: 10px 0;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .question-list {
|
|
|
+ &__item {
|
|
|
+ padding: 20px 0;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ &__avatar {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ display: table-cell;
|
|
|
+ border-radius: 50%;
|
|
|
+ text-align: center;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ flex: 1;
|
|
|
+ border-bottom: 1px solid #555555;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .nickname {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #f5f5f5;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #cccccc;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+
|
|
|
+ .replay {
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .del {
|
|
|
+ float: right;
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #fa8c16;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .reply-list {
|
|
|
+ margin: 20px 0;
|
|
|
+ width: 100%;
|
|
|
+ background-color: #2f3236;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 0 0 0 20px;
|
|
|
+
|
|
|
+ &__item {
|
|
|
+ padding: 20px 0;
|
|
|
+ display: flex;
|
|
|
+ border-bottom: 1px solid #555555;
|
|
|
+
|
|
|
+ &:nth-last-of-type(1) {
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__avatar {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ display: table-cell;
|
|
|
+ border-radius: 50%;
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ border-radius: 8px;
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .nickname {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #f5f5f5;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+
|
|
|
+ .reply {
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-right: 20px;
|
|
|
+ cursor: pointer;
|
|
|
+ user-select: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .del {
|
|
|
+ cursor: pointer;
|
|
|
+ margin-right: 20px;
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ff3b30;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.lecture-notes {
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ max-height: 416px;
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 16px;
|
|
|
+ background: rgb(63, 68, 73);
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ .left-boxs {
|
|
|
+ // float: left;
|
|
|
+ // width: 462px;
|
|
|
+
|
|
|
+ .textarea {
|
|
|
+ border-bottom: 1px solid #555555;
|
|
|
+
|
|
|
+ .submit {
|
|
|
+ padding: 10px 20px;
|
|
|
+ border-radius: 2px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ margin: 10px 0;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .note-list {
|
|
|
+ &__content {
|
|
|
+ border-bottom: 1px solid #555555;
|
|
|
+
|
|
|
+ &__title {
|
|
|
+ width: 216px;
|
|
|
+ height: 24px;
|
|
|
+ background: #ccc;
|
|
|
+ border-radius: 24px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666666;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 24px;
|
|
|
+ margin: 20px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__item {
|
|
|
+ display: flex;
|
|
|
+ padding: 15px;
|
|
|
+
|
|
|
+ .el-icon-video-play {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #3f8dfd;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__content {
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #3f8dfd;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .pagination {
|
|
|
+ margin-top: 30px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right-box {
|
|
|
+ width: 786px;
|
|
|
+ float: right;
|
|
|
+
|
|
|
+ .lecture-list {
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 8px;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ padding: 0 16px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 18px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+
|
|
|
+ .slide-btn {
|
|
|
+ cursor: pointer;
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ .list {
|
|
|
+ &__item {
|
|
|
+ border-top: 1px solid #fff;
|
|
|
+ padding: 0 8px 0 16px;
|
|
|
+ height: 56px;
|
|
|
+ line-height: 55px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ flex: 1;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btns {
|
|
|
+ .btn {
|
|
|
+ cursor: pointer;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ width: 80px;
|
|
|
+ height: 32px;
|
|
|
+ background: #ffffff;
|
|
|
+ border: 1px solid #3f8dfd;
|
|
|
+ border-radius: 16px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 30px;
|
|
|
+ color: #3f8dfd;
|
|
|
+ margin: 0 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &__footer {
|
|
|
+ margin-top: 24px;
|
|
|
+
|
|
|
+ .lecture-scan {
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 8px;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &__header {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ padding: 0 16px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ &__body {
|
|
|
+ height: 800px;
|
|
|
+ text-align: center;
|
|
|
+ overflow-y: scroll;
|
|
|
+
|
|
|
+ .iframe {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.user_notes {
|
|
|
+ border-bottom: 1px solid #555;
|
|
|
+
|
|
|
+ .p1 {
|
|
|
+ margin: 8px 0px;
|
|
|
+ color: #3f8dfd;
|
|
|
+ font-size: 14px;
|
|
|
+
|
|
|
+ span {
|
|
|
+ float: right;
|
|
|
+ color: #999;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .p2 {
|
|
|
+ margin-bottom: 8px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #ccc;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ textarea {
|
|
|
+ background: #65696d;
|
|
|
+ color: #c7c7c7;
|
|
|
+ border-color: transparent;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-input__count {
|
|
|
+ color: #999;
|
|
|
+ background: transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.lecture-notesjy {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ max-height: 416px;
|
|
|
+
|
|
|
+ .listItem {
|
|
|
+ padding-bottom: 14px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+
|
|
|
+ .titles {
|
|
|
+ color: #fff;
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: center;
|
|
|
+ padding: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btns {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .btn {
|
|
|
+ border-radius: 8px;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 6px 16px;
|
|
|
+ user-select: none;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background-color: #f2f7ff;
|
|
|
+ color: #3f8dfd;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .lecture-listFooter {
|
|
|
+ flex: 1;
|
|
|
+ overflow: auto;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|