12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373 |
- <template>
- <!-- 课程详情 -->
- <div class="CourseDetail" v-if="CourseData">
- <div class="nav">
- <!-- 登录导航 -->
- <Header />
- <div class="shade"></div>
- </div>
- <HeaderOne text="123" :name="CourseData.name" title="教学" />
- <div class="main" v-if="CourseData" v-loading="loading">
- <div class="bookDetail">
- <div class="rightUp">
- <span>HOT</span>
- </div>
- <div class="text">
- <p class="p1">{{ CourseData.name }}</p>
- <p>Beijing language and Culture University</p>
- <p>{{ CourseData.teacher_list[0].teacher_name }}</p>
- <p>
- <!-- Learn to design data models, build data warehouses and data lakes,
- automate data pipelines, and work with massive datasets. At the end
- of the program, you’ll combine your new skills by completing a
- capstone project. -->
- {{ CourseData.intro }}
- </p>
- <p>
- <span> {{ CourseData.begin_date }} </span>
- <span>-</span>
- <span> {{ CourseData.end_date }} </span>
- </p>
- <div class="operation">
- <!-- <div class="countdown" v-if="backTime">
- <p>距离关闭购买渠道还有</p>
- <div class="time">
- <div>
- <p>{{ backTime.days }}</p>
- <p>天</p>
- </div>
- <div>
- <p>{{ backTime.hours }}</p>
- <p>小时</p>
- </div>
- <div>
- <p>{{ backTime.minutes }}</p>
- <p>分钟</p>
- </div>
- <div>
- <p>{{ backTime.seconds }}</p>
- <p>秒</p>
- </div>
- </div>
- </div>
- <div v-else>The purchase channel has been closed</div>-->
- <div>
- <span class="price">
- $
- <span
- class="price_1"
- v-text="changePrice('1', CourseData.price)"
- ></span>
- <span
- class="price_2"
- v-text="changePrice('2', CourseData.price)"
- ></span>
- </span>
- <button @click="getPurchase" v-if="!IsPurchase" class="get">
- 获取课程
- </button>
- <button @click="getPurchase" v-else class="acquired">
- ACQUIRED
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="more">
- <div class="moreTitle">教学材料</div>
- <div class="moreList">
- <div
- class="moreOne"
- v-for="(item, i) in CourseData.book_list"
- :key="i"
- >
- <div>
- <img :src="item.book_picture_url" alt="" />
- </div>
- <div class="text">
- <p class="p1">{{ item.book_name }}</p>
- <p>{{ item.book_org_name }}</p>
- <p>{{ item.book_author }}</p>
- <div class="operation">
- <span class="price">
- $
- <span
- class="price_1"
- v-text="changePrice('1', item.book_price)"
- ></span>
- <span
- class="price_2"
- v-text="changePrice('2', item.book_price)"
- ></span>
- </span>
- <button v-if="!IsPurchase" class="get">购买</button>
- <button v-else class="acquired">ACQUIRED</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="more">
- <div class="moreTitle">老师</div>
- <div class="moreList teacherList">
- <div
- class="moreOne"
- v-for="(item, i) in CourseData.teacher_list"
- :key="i"
- >
- <div>
- <img :src="item.teacher_image_url" alt="" />
- </div>
- <div class="text">
- <p class="p1">{{ item.teacher_name }}</p>
- <p>{{ item.teacher_org_name }}</p>
- <p>
- 拌铍痹柔宫搏疲执胰逊持侨懈赫蜘秩锥畴陵黑阎停拢狂员棕鸟今纪秘也害棍亩疫潜,荫畜凉劈押望鹏艇从地赏果汛*隔微颊剪法震占
- </p>
- </div>
- </div>
- </div>
- </div>
- <div class="coursearrangement">
- <div class="moreTitle">课程安排</div>
- <div
- class="angement"
- v-for="(item, i) in CourseData.cs_item_list"
- :key="i"
- >
- <div class="courseOne">
- <div class="title">
- <div>
- <span>{{ i + 1 }}.</span>
- <span>{{ item.name }}</span>
- </div>
- <div style="color: #737373">
- {{ item.begin_time }} ~ {{ item.end_time }}
- </div>
- </div>
- </div>
- <div class="content" style="width: 670px">
- <el-collapse @change="handleChange">
- <el-collapse-item :name="item.id">
- <div slot="title" class="Coursetasks">
- 课程任务
- <img
- v-show="openList.indexOf(item.id) != -1"
- class="open1"
- src="../../assets/learncenter/open1.png"
- alt=""
- />
- <img
- v-show="openList.indexOf(item.id) == -1"
- class="open2"
- src="../../assets/learncenter/open2.png"
- alt=""
- />
- </div>
- <div class="courseContent">
- <div class="tasks">
- <div class="title">
- <span></span>
- 课前任务
- </div>
- <div class="content">
- <el-collapse-item
- :name="it.id"
- v-for="(it, it_i) in item.pre_task_list"
- :key="it_i"
- >
- <div
- slot="title"
- :class="
- openList.indexOf(it.id) != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>{{ it.name }}</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span
- v-text="changeitTime(it.begin_time, it.end_time)"
- class="gray"
- >{{ it.begin_time }} ~ {{ it.end_time }}</span
- >
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- {{ it.content }}
- </p>
- </div>
- <div v-if="it.courseware_list.length > 0">
- <span>课件</span>
- <div>
- <div
- class="btn"
- v-for="(
- courseware, courseware_i
- ) in it.courseware_list"
- :key="courseware_i"
- >
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> {{ courseware.courseware_name }} </span>
- </div>
- </div>
- </div>
- <div v-if="it.accessory_list.length > 0">
- <span>附件</span>
- <div>
- <div
- class="btn"
- v-for="(
- accessory, accessory_i
- ) in it.accessory_list"
- :key="accessory_i"
- >
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> {{ accessory.file_name }} </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item>
- <!-- <el-collapse-item style="margin-top: 16px" name="1-2">
- <div
- slot="title"
- :class="
- openList.indexOf('1-2') != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>阅读</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span class="gray">08-21 06:00 ~ 11:00</span>
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- You need to complete the online courseware task.
- Choose one of the attached articles to read aloud
- and record it and upload it.
- </p>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- </div>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> The first class.doc </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item> -->
- </div>
- </div>
- <div class="tasks">
- <div class="title">
- <span></span>
- 课中任务
- </div>
- <div class="content">
- <el-collapse-item
- :name="it.id"
- v-for="(it, it_i) in item.mid_task_list"
- :key="it_i"
- >
- <div
- slot="title"
- :class="
- openList.indexOf(it.id) != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>{{ it.name }}</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span
- v-text="changeitTime(it.begin_time, it.end_time)"
- class="gray"
- >{{ it.begin_time }} ~ {{ it.end_time }}</span
- >
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- {{ it.content }}
- </p>
- </div>
- <div v-if="it.courseware_list.length > 0">
- <span>课件</span>
- <div>
- <div
- class="btn"
- v-for="(
- courseware, courseware_i
- ) in it.courseware_list"
- :key="courseware_i"
- >
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> {{ courseware.courseware_name }} </span>
- </div>
- </div>
- </div>
- <div v-if="it.accessory_list.length > 0">
- <span>附件</span>
- <div>
- <div
- class="btn"
- v-for="(
- accessory, accessory_i
- ) in it.accessory_list"
- :key="accessory_i"
- >
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> {{ accessory.file_name }} </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item>
- <!-- <el-collapse-item style="margin-top: 16px" name="1-4">
- <div
- slot="title"
- :class="
- openList.indexOf('1-4') != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>阅读</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span class="gray">08-21 06:00 ~ 11:00</span>
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- You need to complete the online courseware task.
- Choose one of the attached articles to read aloud
- and record it and upload it.
- </p>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- </div>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> The first class.doc </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item> -->
- </div>
- </div>
- <div class="tasks" v-if="item.after_task_list.length > 0">
- <div class="title">
- <span></span>
- 课后任务
- </div>
- <div class="content">
- <el-collapse-item
- :name="it.id"
- v-for="(it, it_i) in item.after_task_list"
- :key="it_i"
- >
- <div
- slot="title"
- :class="
- openList.indexOf(it.id) != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>{{ it.name }}</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span
- v-text="changeitTime(it.begin_time, it.end_time)"
- class="gray"
- >{{ it.begin_time }} ~ {{ it.end_time }}</span
- >
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- {{ it.content }}
- </p>
- </div>
- <div v-if="it.courseware_list.length > 0">
- <span>课件</span>
- <div>
- <div
- class="btn"
- v-for="(
- courseware, courseware_i
- ) in it.courseware_list"
- :key="courseware_i"
- >
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> {{ courseware.courseware_name }} </span>
- </div>
- </div>
- </div>
- <div v-if="it.accessory_list.length > 0">
- <span>附件</span>
- <div>
- <div
- class="btn"
- v-for="(
- accessory, courseware_i
- ) in it.accessory_list"
- :key="courseware_i"
- >
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> {{ accessory.file_name }} </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item>
- <!-- <el-collapse-item style="margin-top: 16px" name="1-6">
- <div
- slot="title"
- :class="
- openList.indexOf('1-6') != -1
- ? 'contenttitle2'
- : 'contenttitle'
- "
- >
- <span>阅读</span>
- <span>
- <span>
- <img
- src="../../assets/learncenter/people.png"
- alt=""
- />
- 姓名</span
- >
- <span class="gray">08-21 06:00 ~ 11:00</span>
- <span class="gray">···</span>
- </span>
- </div>
- <div class="detail">
- <div>
- <span>说明</span>
- <p>
- You need to complete the online courseware task.
- Choose one of the attached articles to read aloud
- and record it and upload it.
- </p>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- <div class="btn">
- <img
- src="../../assets/learncenter/file.png"
- alt=""
- />
- <span> say the Chinese number </span>
- </div>
- </div>
- </div>
- <div>
- <span>课件</span>
- <div>
- <div class="btn">
- <img
- src="../../assets/learncenter/fileType1.png"
- alt=""
- />
- <span> The first class.doc </span>
- </div>
- </div>
- </div>
- </div>
- </el-collapse-item> -->
- </div>
- </div>
- </div>
- </el-collapse-item>
- </el-collapse>
- </div>
- </div>
- </div>
- <el-dialog
- class="orderDialog"
- title="商品详情"
- :visible.sync="auditShow"
- width="720px"
- :before-close="closeaudit"
- >
- <Audit :data="data" :goods_type="201" />
- </el-dialog>
- </div>
- </div>
- </template>
- <script>
- //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
- //例如:import 《组件名称》from ‘《组件路径》';
- import Header from "@/components/Header";
- import HeaderOne from "@/components/learnCenter/HeaderOne";
- import Audit from "@/components/payment/Audit";
- import { cousrseAPI, LearnWebSI } from "@/api/api";
- export default {
- //import引入的组件需要注入到对象中才能使用
- components: {
- Header,
- HeaderOne,
- Audit,
- },
- props: {},
- data() {
- //这里存放数据
- return {
- enshrine: false,
- IsPurchase: false,
- SelectShow: "1", //选择展示课程资源还是下载
- courseRW: null,
- openList: [],
- timer: null, // 获取倒计时
- backTime: new Date(),
- CouserId: null,
- auditShow: false,
- loading: false,
- data: {
- articleId: "2",
- coverFileId: "00101-20210705-17-RBB2NLXL",
- coverUrl:
- "http://gcls.helxsoft.cn/GCLSFileStore/00101/D-WFXZJCY3AK1XES1JUR/F-EN7NXT1LSO6XZEZZLK.png",
- createTime: "2021-07-05 17:36:55",
- id: 2,
- isFavorite: false,
- isPurchased: false,
- name: "录播课程1",
- price: "19.9",
- status: 4,
- tag: [""],
- teacher: "王老师",
- tenantId: "2021052017-HFTZIRVKWOWPAUU",
- updateTime: "2021-07-05 17:39:42",
- userId: "20210702-1013-3JVWVHHRGVUX",
- videoDuration: 60,
- visitCount: 132,
- weight: 1,
- },
- CourseData: null,
- };
- },
- //计算属性 类似于data概念
- computed: {},
- //监控data中数据变化
- watch: {},
- //方法集合
- methods: {
- // 小节时间处理
- changeitTime(beginTime, endTime) {
- let arr1 = beginTime.split(" ");
- let arr2 = endTime.split(" ");
- if (arr1[0] == arr2[0]) {
- return arr1[0] + " " + arr1[1] + "~" + arr2[1];
- } else {
- return arr1[0] + " " + arr1[1] + "~" + arr2[0] + " " + arr2[1];
- }
- },
- // 课程任务的打开和关闭
- handleChange(val) {
- this.openList = val;
- },
- // 选择课程资源还是下载
- SelectShowEvent(num) {
- this.SelectShow = num;
- },
- // 处理价格
- changePrice(type, item) {
- if (item) {
- item = item + "";
- if (item.indexOf(".") != -1) {
- if (type == 1) {
- return item.split(".")[0];
- } else if (type == 2) {
- return "." + item.split(".")[1];
- }
- } else {
- if (type == 1) {
- return item;
- }
- }
- }
- },
- // 收藏
- enshrineEvent() {
- this.enshrine = !this.enshrine;
- },
- // 购买 需要先加入课程 审核 审核通过之后才能购买课程
- getPurchase() {
- // 购买通道关闭
- // if (!this.backTime) {
- // this.$message.warning("购买渠道已关闭");
- // return;
- // }
- this.auditShow = true;
- },
- closeaudit() {
- this.auditShow = false;
- },
- // 获取当前时间到指定时间的倒计时
- getBackTime() {
- let targetTime = new Date("2021-7-30 13:00").getTime();
- // 目标时间戳 - 当前时间戳 = 倒计时
- this.timer = setInterval(() => {
- let currentTime = new Date().getTime();
- let backTime = targetTime - currentTime;
- backTime = this.formatduring(backTime);
- this.backTime = backTime;
- }, 1000);
- },
- // 倒计时时间戳转换为 天 小时 分钟 秒
- formatduring(mss) {
- var days = parseInt(mss / (1000 * 60 * 60 * 24));
- var hours = parseInt((mss % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
- var minutes = parseInt((mss % (1000 * 60 * 60)) / (1000 * 60));
- var seconds = parseInt((mss % (1000 * 60)) / 1000);
- // 如果到时间了返回false 关闭购买通道 无法购买
- if (days <= 0 && hours <= 0 && minutes <= 0 && seconds <= 0) {
- return false;
- } else {
- return {
- days,
- hours,
- minutes,
- seconds,
- };
- }
- },
- },
- //生命周期 - 创建完成(可以访问当前this实例)
- created() {
- let Mname = "cominfo_query-course_query-GetCourseInfoBox";
- this.CouserId = this.$route.query.id;
- // 获取课程详情
- this.loading = true;
- cousrseAPI(Mname, {
- id: this.CouserId,
- })
- .then((res) => {
- this.CourseData = res;
- this.loading = false;
- })
- .catch(() => {
- this.loading = false;
- });
- this.getBackTime();
- },
- //生命周期 - 挂载完成(可以访问DOM元素)
- mounted() {},
- //生命周期-创建之前
- beforeCreated() {},
- //生命周期-挂载之前
- beforeMount() {},
- //生命周期-更新之前
- beforUpdate() {},
- //生命周期-更新之后
- updated() {},
- //生命周期-销毁之前
- beforeDestory() {
- // 清空定时器
- clearInterval(this.timer);
- this.timer = null;
- },
- //生命周期-销毁完成
- destoryed() {},
- //如果页面有keep-alive缓存功能,这个函数会触发
- activated() {},
- };
- </script>
- <style lang="scss" scoped>
- /* @import url(); 引入css类 */
- .CourseDetail {
- // height: 100%;
- .nav {
- background: #ffffff;
-
- background-size: 100% 100%;
- height: 64px;
- border-bottom-left-radius: 20px;
- border-bottom-right-radius: 20px;
- position: relative;
- .shade {
- position: absolute;
- top: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- color: #fff;
- font-weight: bold;
- font-size: 18px;
- justify-content: space-around;
- align-items: center;
- .el-menu-demo {
- background: rgba(0, 0, 0, 0);
- }
- // 取消组件默认的样式
- .el-menu.el-menu--horizontal {
- border-bottom: none;
- li:hover {
- background: none;
- }
- li {
- background: none;
- }
- }
- .nav_title {
- text-align: left;
- }
- .seek {
- input {
- width: 450px;
- height: 46px;
- background: #979797;
- border: none;
- outline: none;
- color: white;
- font-size: 18px;
- opacity: 0.5;
- }
- img {
- position: relative;
- right: 40px;
- top: 8px;
- cursor: pointer;
- }
- }
- }
- }
- .main {
- min-height: 100%;
- padding-top: 52px;
- background: #e5e5e5;
- padding-bottom: 20px;
- .bookDetail {
- width: 1200px;
- height: 452px;
- margin: 0 auto;
- background: url("../../assets/learncenter/Rectangle113.png");
- border-radius: 8px;
- display: flex;
- position: relative;
- overflow: hidden;
- .rightUp {
- margin: 0;
- width: 72px;
- height: 72px;
- background: url("../../assets/learncenter/Rectangle903.png");
- position: absolute;
- right: 0;
- top: 0;
- // text-align: right;
- span {
- display: inline-block;
- color: #fff;
- transform: rotateZ(45deg);
- position: absolute;
- left: 30px;
- top: 10px;
- }
- }
- > div {
- margin-top: 40px;
- margin-left: 40px;
- }
- .text {
- width: 1100px;
- color: white;
- p {
- font-size: 16px;
- }
- .p1 {
- font-size: 40px;
- margin-top: 16px;
- }
- > :not(.p1) {
- margin-top: 20px;
- }
- .price {
- font-size: 24px;
- .price_2 {
- font-size: 16px;
- }
- }
- .operation {
- display: flex;
- align-items: flex-end;
- justify-content: space-between;
- margin-top: 52px;
- .countdown {
- > p {
- color: rgba(255, 255, 255, 0.7);
- }
- .time {
- margin-top: 16px;
- display: flex;
- div {
- width: 48px;
- margin-right: 48px;
- text-align: center;
- p:nth-child(1) {
- font-size: 40px;
- }
- p:nth-child(2) {
- margin-top: 5px;
- font-size: 24px;
- }
- }
- }
- }
- }
- .get {
- width: 200px;
- height: 56px;
- background: #ff9900;
- border-radius: 4px;
- border: none;
- outline: none;
- color: #ffffff;
- font-size: 20px;
- margin-left: 30px;
- cursor: pointer;
- }
- .acquired {
- width: 120px;
- height: 40px;
- background: #d5d5d5;
- border-radius: 4px;
- border: none;
- outline: none;
- color: white;
- font-size: 16px;
- margin-left: 30px;
- cursor: pointer;
- }
- .enshrine {
- margin-left: 30px;
- img {
- width: 24px;
- cursor: pointer;
- }
- }
- }
- }
- .more {
- width: 1200px;
- margin: 0 auto;
- margin-top: 30px;
- .moreTitle {
- font-weight: 600;
- font-size: 20px;
- color: #000000;
- }
- .moreTitle::before {
- content: "|";
- background: #ff9900;
- color: #ff9900;
- margin-right: 16px;
- }
- .moreList {
- width: 1300px;
- margin: 0 auto;
- // margin-top: 20px;
- display: flex;
- flex-wrap: wrap;
- // overflow-y: hidden;
- // overflow-x: scroll;
- .moreOne {
- margin-right: 20px;
- margin-top: 20px;
- width: 598px;
- height: 236px;
- background: #ffffff;
- border-radius: 8px;
- display: flex;
- > div {
- margin-left: 32px;
- margin-top: 32px;
- img {
- width: 120px;
- height: 160px;
- }
- }
- .text {
- width: 390px;
- margin-right: 23px;
- > p:not(.p1) {
- font-size: 16px;
- color: #2c2c2c;
- opacity: 0.7;
- margin-top: 10px;
- }
- .p1 {
- font-weight: 600;
- font-size: 20px;
- color: #2c2c2c;
- }
- .operation {
- margin-top: 10px;
- text-align: right;
- }
- .get {
- width: 120px;
- height: 40px;
- background: #ff9900;
- border-radius: 4px;
- border: none;
- outline: none;
- color: white;
- font-size: 20px;
- margin-left: 30px;
- cursor: pointer;
- }
- .acquired {
- width: 120px;
- height: 40px;
- background: #d5d5d5;
- border-radius: 4px;
- border: none;
- outline: none;
- color: white;
- font-size: 16px;
- margin-left: 30px;
- cursor: pointer;
- }
- .price {
- font-size: 24px;
- .price_2 {
- font-size: 16px;
- }
- }
- }
- }
- }
- .teacherList {
- .moreOne {
- > div {
- img {
- width: 120px;
- height: 120px;
- border-radius: 50%;
- }
- }
- }
- }
- }
- .coursearrangement {
- width: 1200px;
- margin: 0 auto;
- margin-top: 30px;
- .moreTitle {
- font-weight: 600;
- font-size: 20px;
- color: #000000;
- }
- .moreTitle::before {
- content: "|";
- background: #ff9900;
- color: #ff9900;
- margin-right: 16px;
- }
- .angement {
- margin-top: 30px;
- width: 1200px;
- background: #fff;
- padding: 40px 68px 40px 40px;
- font-size: 18px;
- > :not(.courseOne) {
- padding-left: 40px;
- margin-top: 16px;
- }
- .courseOne {
- .title {
- display: flex;
- justify-content: space-between;
- > div:nth-child(1) {
- font-size: 20px;
- font-weight: bold;
- span {
- margin-right: 24px;
- }
- }
- }
- }
- .Coursetasks {
- cursor: pointer;
- display: flex;
- align-items: center;
- font-size: 16px;
- img {
- width: 24px;
- margin-left: 8px;
- }
- }
- .courseContent {
- .tasks {
- padding-left: 10px;
- .title {
- font-size: 16px;
- color: #2c2c2c;
- span {
- display: inline-block;
- width: 8px;
- height: 8px;
- background: #fe6d68;
- border-radius: 50%;
- position: relative;
- right: 3px;
- margin-right: 16px;
- }
- }
- .content {
- border-left: 1px solid #fe6d68;
- padding-left: 20px;
- margin-top: 16px;
- padding-bottom: 10px;
- .contenttitle {
- padding: 0 10px;
- // margin-top: 16px;
- width: 670px;
- // height: 44px;
- background: #ffffff;
- border: 1px solid #e6e6e6;
- box-sizing: border-box;
- border-radius: 8px;
- border-radius: 8px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 16px;
- cursor: pointer;
- img {
- width: 16px;
- margin-left: 8px;
- }
- span {
- margin-left: 16px;
- }
- .gray {
- opacity: 0.5;
- }
- }
- .contenttitle2 {
- padding: 0 10px;
- // margin-top: 16px;
- width: 670px;
- // height: 44px;
- background: #f9f9f9;
- border: 1px solid #e6e6e6;
- box-sizing: border-box;
- border-top-left-radius: 8px;
- border-top-right-radius: 8px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 16px;
- cursor: pointer;
- img {
- width: 16px;
- margin-left: 8px;
- }
- span {
- margin-left: 16px;
- }
- .gray {
- opacity: 0.5;
- }
- }
- .detail {
- width: 670px;
- background: #ffffff;
- border: 1px solid #e7e7e7;
- box-sizing: border-box;
- border-bottom-left-radius: 8px;
- border-bottom-right-radius: 8px;
- box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
- padding-bottom: 24px;
- > div {
- margin-top: 24px;
- display: flex;
- > :nth-child(1) {
- width: 78px;
- font-size: 16px;
- color: #000000;
- margin-left: 24px;
- }
- > :nth-child(2) {
- margin-left: 16px;
- img {
- width: 24px;
- }
- .btn {
- width: 270px;
- height: 40px;
- background: #ffffff;
- border: 1px solid #dbdbdb;
- box-sizing: border-box;
- border-radius: 4px;
- display: flex;
- align-items: center;
- cursor: pointer;
- img {
- margin-left: 16px;
- margin-right: 8px;
- }
- }
- .btn:not(:nth-child(1)) {
- margin-top: 8px;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- .cutDownOrimg {
- width: 1200px;
- margin: 0 auto;
- margin-top: 24px;
- .sele {
- width: 318px;
- height: 48px;
- background: #ebebeb;
- border-radius: 30px;
- color: #9f9f9f;
- font-size: 20px;
- display: flex;
- align-items: center;
- > div {
- width: 158px;
- height: 48px;
- border-radius: 30px;
- line-height: 48px;
- text-align: center;
- cursor: pointer;
- }
- .select {
- background: #ff9900;
- color: white;
- box-shadow: 0px 2px 8px rgba(255, 153, 0, 0.15);
- }
- }
- }
- .Catalogue {
- margin: 24px auto;
- width: 1200px;
- height: 710px;
- background: #ffffff;
- display: flex;
- .left {
- width: 340px;
- height: 710px;
- border-right: 1px solid #d9d9d9;
- .title {
- width: 80%;
- margin: 29px auto;
- font-weight: 600;
- font-size: 24px;
- color: #000000;
- }
- }
- .right {
- width: 860px;
- height: 710px;
- }
- }
- .Resources {
- margin: 24px auto;
- width: 1200px;
- height: 710px;
- background: #ffffff;
- display: flex;
- div {
- height: 40px;
- margin: 10px;
- border: 1px solid rgba(44, 44, 44, 0.15);
- border-radius: 4px;
- padding: 0 10px;
- margin-left: 10px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- img {
- width: 24px;
- margin: 0 10px;
- }
- span {
- width: 182px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- }
- }
- </style>
- <style lang="scss">
- .el-collapse {
- border: none;
- .el-collapse-item__header {
- border: none;
- height: none;
- .l-collapse-item__arrow,
- .el-icon-arrow-right {
- display: none;
- }
- }
- .el-collapse-item__wrap {
- border: none;
- }
- .el-collapse-item__content {
- padding-bottom: 0;
- }
- }
- .orderDialog {
- .el-dialog__header {
- padding: 32px 20px 24px 32px;
- .el-dialog__title {
- line-height: 150%;
- font-size: 20px;
- color: #000;
- }
- }
- .el-dialog__body {
- padding: 0px 32px 32px 32px;
- }
- }
- </style>
|