|
|
@ -1,78 +1,46 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<!-- 课程预览 --> |
|
|
|
<!-- 课程预览 --> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<el-card shadow="hover" |
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
class="m-b-20"> |
|
|
|
|
|
|
|
<div class="flex-between"> |
|
|
|
<div class="flex-between"> |
|
|
|
<el-page-header @back="goBack" |
|
|
|
<el-page-header @back="goBack" :content="'课程预览'"></el-page-header> |
|
|
|
:content="'课程预览'"></el-page-header> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex"> |
|
|
|
<div class="flex"> |
|
|
|
<div class="cover" |
|
|
|
<div class="cover" :class="{ 'is-word': showMask1 }"> |
|
|
|
:class="{'is-word': showMask1}"> |
|
|
|
<img v-if="coverUrl" :src="coverUrl" alt="" width="100%" height="100%"> |
|
|
|
<img v-if="coverUrl" |
|
|
|
|
|
|
|
:src="coverUrl" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
width="100%" |
|
|
|
|
|
|
|
height="100%"> |
|
|
|
|
|
|
|
<template v-else-if="iframeSrc"> |
|
|
|
<template v-else-if="iframeSrc"> |
|
|
|
<iframe class="inner fileIframe" |
|
|
|
<iframe class="inner fileIframe" id="fileIframe" :src="iframeSrc" frameborder="0"></iframe> |
|
|
|
id="fileIframe" |
|
|
|
|
|
|
|
:src="iframeSrc" |
|
|
|
|
|
|
|
frameborder="0"></iframe> |
|
|
|
|
|
|
|
<template v-if="showMask"> |
|
|
|
<template v-if="showMask"> |
|
|
|
<div class="mask" |
|
|
|
<div class="mask" style="width: 500px;height: 30px;top: 53px;right: 320px"></div> |
|
|
|
style="width: 500px;height: 30px;top: 53px;right: 320px"></div> |
|
|
|
<div class="mask" style="width: 175px;height: 30px;top: 53px;right: 5px"></div> |
|
|
|
<div class="mask" |
|
|
|
|
|
|
|
style="width: 175px;height: 30px;top: 53px;right: 5px"></div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-if="showMask1"> |
|
|
|
<template v-if="showMask1"> |
|
|
|
<div class="word-mask" |
|
|
|
<div class="word-mask" style="height: 40px;"></div> |
|
|
|
style="height: 40px;"></div> |
|
|
|
<div class="word-mask2" style="top: 55px;left: 28%;width: 44%;height: calc(100% - 80px);"></div> |
|
|
|
<div class="word-mask2" |
|
|
|
|
|
|
|
style="top: 55px;left: 28%;width: 44%;height: calc(100% - 80px);"></div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-if="showMask2"> |
|
|
|
<template v-if="showMask2"> |
|
|
|
<div class="excel-mask1" |
|
|
|
<div class="excel-mask1" style="height: 48px;"></div> |
|
|
|
style="height: 48px;"></div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<div class="pdf inner" |
|
|
|
<div class="pdf inner" v-else-if="pdfSrc"> |
|
|
|
v-else-if="pdfSrc"> |
|
|
|
|
|
|
|
<p class="arrow"> |
|
|
|
<p class="arrow"> |
|
|
|
<span @click="changePdfPage(0)" |
|
|
|
<span @click="changePdfPage(0)" class="turn el-icon-arrow-left" :class="{ grey: currentPage == 1 }"></span> |
|
|
|
class="turn el-icon-arrow-left" |
|
|
|
|
|
|
|
:class="{grey: currentPage==1}"></span> |
|
|
|
|
|
|
|
{{ currentPage }} / {{ pageCount }} |
|
|
|
{{ currentPage }} / {{ pageCount }} |
|
|
|
<span @click="changePdfPage(1)" |
|
|
|
<span @click="changePdfPage(1)" class="turn el-icon-arrow-right" |
|
|
|
class="turn el-icon-arrow-right" |
|
|
|
:class="{ grey: currentPage == pageCount }"></span> |
|
|
|
:class="{grey: currentPage==pageCount}"></span> |
|
|
|
|
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<pdf class="pdf-wrap" |
|
|
|
<pdf class="pdf-wrap" :src="pdfSrc" :page="currentPage" @num-pages="pageCount = $event" |
|
|
|
:src="pdfSrc" |
|
|
|
@page-loaded="currentPage = $event" @loaded="loadPdfHandler"> |
|
|
|
:page="currentPage" |
|
|
|
|
|
|
|
@num-pages="pageCount=$event" |
|
|
|
|
|
|
|
@page-loaded="currentPage=$event" |
|
|
|
|
|
|
|
@loaded="loadPdfHandler"> |
|
|
|
|
|
|
|
</pdf> |
|
|
|
</pdf> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="inner" |
|
|
|
<div class="inner" v-else-if="playAuth"> |
|
|
|
v-else-if="playAuth"> |
|
|
|
<div class="video_wid" id="player"></div> |
|
|
|
<div class="video_wid" |
|
|
|
|
|
|
|
id="player"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="inner" |
|
|
|
<div class="inner" v-else-if="videoSrc"> |
|
|
|
v-else-if="videoSrc"> |
|
|
|
<video class="video" :key="videoSrc" width="100%" height="100%" autoplay controls> |
|
|
|
<video class="video" |
|
|
|
<source :src="videoSrc" type="video/mp4"> |
|
|
|
:key="videoSrc" |
|
|
|
|
|
|
|
width="100%" |
|
|
|
|
|
|
|
height="100%" |
|
|
|
|
|
|
|
autoplay |
|
|
|
|
|
|
|
controls> |
|
|
|
|
|
|
|
<source :src="videoSrc" |
|
|
|
|
|
|
|
type="video/mp4"> |
|
|
|
|
|
|
|
您的浏览器不支持 video 标签。 |
|
|
|
您的浏览器不支持 video 标签。 |
|
|
|
</video> |
|
|
|
</video> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -81,49 +49,26 @@ |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
<h4 class="title">{{ courseName }}</h4> |
|
|
|
<h4 class="title">{{ courseName }}</h4> |
|
|
|
<div class="desc-wrap"> |
|
|
|
<div class="desc-wrap"> |
|
|
|
<div class="desc" |
|
|
|
<div class="desc" :class="{ active: desShrink }" v-html="description"></div> |
|
|
|
:class="{active: desShrink}" |
|
|
|
<i class="arrow" :class="{ active: desShrink }" v-if="description.length > 40"> |
|
|
|
v-html="description"></div> |
|
|
|
|
|
|
|
<i class="arrow" |
|
|
|
|
|
|
|
:class="{active: desShrink}" |
|
|
|
|
|
|
|
v-if="description.length > 40"> |
|
|
|
|
|
|
|
<span>...</span> |
|
|
|
<span>...</span> |
|
|
|
<img src="@/assets/img/arrow-down.png" |
|
|
|
<img src="@/assets/img/arrow-down.png" alt="" @click="desShrink = !desShrink"> |
|
|
|
alt="" |
|
|
|
|
|
|
|
@click="desShrink = !desShrink"> |
|
|
|
|
|
|
|
</i> |
|
|
|
</i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="chapters"> |
|
|
|
<div class="chapters"> |
|
|
|
<template v-if="videoList.length"> |
|
|
|
<template v-if="videoList.length"> |
|
|
|
<div class="chapter" |
|
|
|
<div class="chapter" v-for="(item, index) in videoList" :key="index"> |
|
|
|
v-for="(item,index) in videoList" |
|
|
|
|
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<div class="chapterName">{{ item.name }}</div> |
|
|
|
<div class="chapterName">{{ item.name }}</div> |
|
|
|
<div class="section" |
|
|
|
<div class="section" v-if="item.subsectionList.length"> |
|
|
|
v-if="item.subsectionList.length"> |
|
|
|
<div v-for="(section, i) in item.subsectionList" :key="i" @click="preview(section, item.name)"> |
|
|
|
<div v-for="(section,i) in item.subsectionList" |
|
|
|
<p class="sectionName" :class="{ active: curLink === `${item.name}${section.name}` }"> |
|
|
|
:key="i" |
|
|
|
<img v-if="section.fileType === 'pptx'" src="@/assets/img/exts/ppt.png" alt=""> |
|
|
|
@click="preview(section, item.name)"> |
|
|
|
<img v-else-if="section.fileType === 'mp4'" src="@/assets/img/exts/video.png" alt=""> |
|
|
|
<p class="sectionName" |
|
|
|
|
|
|
|
:class="{active: curLink === `${item.name}${section.name}`}"> |
|
|
|
|
|
|
|
<img v-if="section.fileType === 'pptx'" |
|
|
|
|
|
|
|
src="@/assets/img/exts/ppt.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<img v-else-if="section.fileType === 'mp4'" |
|
|
|
|
|
|
|
src="@/assets/img/exts/video.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<img v-else-if="section.fileType === 'doc' || section.fileType === 'docx'" |
|
|
|
<img v-else-if="section.fileType === 'doc' || section.fileType === 'docx'" |
|
|
|
src="@/assets/img/exts/word.png" |
|
|
|
src="@/assets/img/exts/word.png" alt=""> |
|
|
|
alt=""> |
|
|
|
<img v-else-if="section.fileType === 'txt'" src="@/assets/img/exts/txt.png" alt=""> |
|
|
|
<img v-else-if="section.fileType === 'txt'" |
|
|
|
<img v-else-if="section.fileType === 'pdf'" src="@/assets/img/exts/pdf.png" alt=""> |
|
|
|
src="@/assets/img/exts/txt.png" |
|
|
|
<img v-else src="@/assets/img/exts/pic.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
<img v-else-if="section.fileType === 'pdf'" |
|
|
|
|
|
|
|
src="@/assets/img/exts/pdf.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<img v-else |
|
|
|
|
|
|
|
src="@/assets/img/exts/pic.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
{{ section.name }} |
|
|
|
{{ section.name }} |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -320,7 +265,9 @@ export default { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
padding: 0 200px; |
|
|
|
padding: 0 200px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$height: 700px; |
|
|
|
$height: 700px; |
|
|
|
|
|
|
|
|
|
|
|
.video_wid, |
|
|
|
.video_wid, |
|
|
|
.cover { |
|
|
|
.cover { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
@ -328,9 +275,11 @@ $height: 700px; |
|
|
|
height: $height !important; |
|
|
|
height: $height !important; |
|
|
|
border: 0; |
|
|
|
border: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.page { |
|
|
|
.page { |
|
|
|
/deep/.des { |
|
|
|
/deep/.des { |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
|
|
|
div, |
|
|
|
div, |
|
|
|
p, |
|
|
|
p, |
|
|
|
span { |
|
|
|
span { |
|
|
@ -338,21 +287,27 @@ $height: 700px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.l-title { |
|
|
|
.l-title { |
|
|
|
font-size: 17px; |
|
|
|
font-size: 17px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cover { |
|
|
|
.cover { |
|
|
|
background-color: #252528; |
|
|
|
background-color: #252528; |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
border-radius: 8px; |
|
|
|
border-radius: 8px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.is-word { |
|
|
|
&.is-word { |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.fileIframe { |
|
|
|
.fileIframe { |
|
|
|
height: $height !important; |
|
|
|
height: $height !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.video_wid, |
|
|
|
.video_wid, |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
@ -360,25 +315,30 @@ $height: 700px; |
|
|
|
border: 0; |
|
|
|
border: 0; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cover.is-word { |
|
|
|
.cover.is-word { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
height: calc(100% + 38px) !important; |
|
|
|
height: calc(100% + 38px) !important; |
|
|
|
margin-top: -38px; |
|
|
|
margin-top: -38px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.video_wid:focus { |
|
|
|
.video_wid:focus { |
|
|
|
outline: none; |
|
|
|
outline: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.catalog { |
|
|
|
.catalog { |
|
|
|
width: 296px; |
|
|
|
width: 296px; |
|
|
|
padding: 16px; |
|
|
|
padding: 16px; |
|
|
|
margin-left: 12px; |
|
|
|
margin-left: 12px; |
|
|
|
background-color: #252528; |
|
|
|
background-color: #252528; |
|
|
|
|
|
|
|
|
|
|
|
.renew { |
|
|
|
.renew { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
margin-bottom: 16px; |
|
|
|
margin-bottom: 16px; |
|
|
|
font-size: 17px; |
|
|
|
font-size: 17px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.entry { |
|
|
|
.entry { |
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
@ -390,13 +350,16 @@ $height: 700px; |
|
|
|
line-height: 34px; |
|
|
|
line-height: 34px; |
|
|
|
background: url(../../../assets/img/entry.png) 0 0/100% 100% no-repeat; |
|
|
|
background: url(../../../assets/img/entry.png) 0 0/100% 100% no-repeat; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
opacity: 0.9; |
|
|
|
opacity: 0.9; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.types { |
|
|
|
.types { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
margin: 15px 0; |
|
|
|
margin: 15px 0; |
|
|
|
|
|
|
|
|
|
|
|
.item { |
|
|
|
.item { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
@ -407,53 +370,66 @@ $height: 700px; |
|
|
|
background-color: #4e4e4e; |
|
|
|
background-color: #4e4e4e; |
|
|
|
border-radius: 4px; |
|
|
|
border-radius: 4px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&:first-child { |
|
|
|
&:first-child { |
|
|
|
margin-right: 10px; |
|
|
|
margin-right: 10px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
background-color: #377be3; |
|
|
|
background-color: #377be3; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
background-color: $main-color; |
|
|
|
background-color: $main-color; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.icon { |
|
|
|
.icon { |
|
|
|
margin-right: 5px; |
|
|
|
margin-right: 5px; |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.list { |
|
|
|
.list { |
|
|
|
height: calc(700px - 82px); |
|
|
|
height: calc(700px - 82px); |
|
|
|
overflow-y: auto; |
|
|
|
overflow-y: auto; |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
.title { |
|
|
|
margin-bottom: 11px; |
|
|
|
margin-bottom: 11px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pro-title { |
|
|
|
.pro-title { |
|
|
|
margin-bottom: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
font-size: 12px; |
|
|
|
font-size: 12px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-progress-bar { |
|
|
|
/deep/.el-progress-bar { |
|
|
|
width: 92%; |
|
|
|
width: 92%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-progress__text { |
|
|
|
/deep/.el-progress__text { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.desc-wrap { |
|
|
|
.desc-wrap { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
.desc { |
|
|
|
.desc { |
|
|
|
font-size: 12px; |
|
|
|
font-size: 12px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
line-height: 22px; |
|
|
|
line-height: 22px; |
|
|
|
@include mul-ellipsis(2); |
|
|
|
@include mul-ellipsis(2); |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
overflow: visible; |
|
|
|
overflow: visible; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.arrow { |
|
|
|
.arrow { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
bottom: 2px; |
|
|
|
bottom: 2px; |
|
|
@ -462,41 +438,50 @@ $height: 700px; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
width: 46px; |
|
|
|
width: 46px; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
span { |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
color: rgba(0, 0, 0, 0.65); |
|
|
|
color: rgba(0, 0, 0, 0.65); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
width: 16px; |
|
|
|
width: 16px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
span { |
|
|
|
span { |
|
|
|
opacity: 0; |
|
|
|
opacity: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
transform: rotate(180deg); |
|
|
|
transform: rotate(180deg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.chapters { |
|
|
|
.chapters { |
|
|
|
margin-top: 16px; |
|
|
|
margin-top: 16px; |
|
|
|
max-height: calc(100% - 53px); |
|
|
|
max-height: calc(100% - 53px); |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.chapter { |
|
|
|
.chapter { |
|
|
|
margin-bottom: 20px; |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.chapterName { |
|
|
|
.chapterName { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.section { |
|
|
|
.section { |
|
|
|
padding: 5px 15px; |
|
|
|
padding: 5px 15px; |
|
|
|
margin-top: 12px; |
|
|
|
margin-top: 12px; |
|
|
|
background-color: #121214; |
|
|
|
background-color: #121214; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sectionName { |
|
|
|
.sectionName { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
padding-right: 15px; |
|
|
|
padding-right: 15px; |
|
|
@ -505,36 +490,44 @@ $height: 700px; |
|
|
|
color: #999; |
|
|
|
color: #999; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
@include ellipsis; |
|
|
|
@include ellipsis; |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
margin-right: 8px; |
|
|
|
margin-right: 8px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.icon { |
|
|
|
.icon { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
right: 0; |
|
|
|
right: 0; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
color: #00c935; |
|
|
|
color: #00c935; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.circle { |
|
|
|
.circle { |
|
|
|
width: 14px; |
|
|
|
width: 14px; |
|
|
|
height: 14px; |
|
|
|
height: 14px; |
|
|
|
border-radius: 50%; |
|
|
|
border-radius: 50%; |
|
|
|
border: 1px solid #ccc; |
|
|
|
border: 1px solid #ccc; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.buy { |
|
|
|
.buy { |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
|
|
|
.tips { |
|
|
|
.tips { |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
width: 85%; |
|
|
|
width: 85%; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-image-viewer__wrapper { |
|
|
|
.el-image-viewer__wrapper { |
|
|
|
transform: translateY(-10px); |
|
|
|
transform: translateY(-10px); |
|
|
|
transition: transform 0.5s; |
|
|
|
transition: transform 0.5s; |
|
|
@ -543,19 +536,23 @@ $height: 700px; |
|
|
|
transform: translateY(0); |
|
|
|
transform: translateY(0); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-image-viewer__close { |
|
|
|
.el-image-viewer__close { |
|
|
|
z-index: 2000; |
|
|
|
z-index: 2000; |
|
|
|
top: 15px; |
|
|
|
top: 15px; |
|
|
|
right: 15px; |
|
|
|
right: 15px; |
|
|
|
|
|
|
|
|
|
|
|
&.doc-close { |
|
|
|
&.doc-close { |
|
|
|
i { |
|
|
|
i { |
|
|
|
color: #000 !important; |
|
|
|
color: #000 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.list::-webkit-scrollbar { |
|
|
|
.list::-webkit-scrollbar { |
|
|
|
width: 4px; |
|
|
|
width: 4px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.list::-webkit-scrollbar-thumb { |
|
|
|
.list::-webkit-scrollbar-thumb { |
|
|
|
border-radius: 10px; |
|
|
|
border-radius: 10px; |
|
|
|
background: rgba(0, 0, 0, 0.06); |
|
|
|
background: rgba(0, 0, 0, 0.06); |
|
|
@ -566,6 +563,7 @@ $height: 700px; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
background-color: rgb(57, 58, 61); |
|
|
|
background-color: rgb(57, 58, 61); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.word-mask { |
|
|
|
.word-mask { |
|
|
|
z-index: 9; |
|
|
|
z-index: 9; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -574,6 +572,7 @@ $height: 700px; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
background-color: rgb(243, 242, 241); |
|
|
|
background-color: rgb(243, 242, 241); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.word-mask1 { |
|
|
|
.word-mask1 { |
|
|
|
z-index: 9; |
|
|
|
z-index: 9; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -582,11 +581,13 @@ $height: 700px; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
background-color: #185abd; |
|
|
|
background-color: #185abd; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.word-mask2 { |
|
|
|
.word-mask2 { |
|
|
|
z-index: 9; |
|
|
|
z-index: 9; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
background-color: transparent; |
|
|
|
background-color: transparent; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.excel-mask1 { |
|
|
|
.excel-mask1 { |
|
|
|
z-index: 9; |
|
|
|
z-index: 9; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -595,30 +596,38 @@ $height: 700px; |
|
|
|
width: 60%; |
|
|
|
width: 60%; |
|
|
|
background-color: #107c41; |
|
|
|
background-color: #107c41; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.pdf-dia { |
|
|
|
/deep/.pdf-dia { |
|
|
|
border-radius: 0 !important; |
|
|
|
border-radius: 0 !important; |
|
|
|
|
|
|
|
|
|
|
|
.el-dialog__header { |
|
|
|
.el-dialog__header { |
|
|
|
display: none; |
|
|
|
display: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-dialog__body { |
|
|
|
.el-dialog__body { |
|
|
|
padding: 0; |
|
|
|
padding: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.el-dialog__headerbtn { |
|
|
|
.el-dialog__headerbtn { |
|
|
|
top: 10px; |
|
|
|
top: 10px; |
|
|
|
|
|
|
|
|
|
|
|
.el-dialog__close { |
|
|
|
.el-dialog__close { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pdf { |
|
|
|
.pdf { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
.full { |
|
|
|
.full { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 7px; |
|
|
|
top: 7px; |
|
|
|
right: 10px; |
|
|
|
right: 10px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.arrow { |
|
|
|
.arrow { |
|
|
|
padding: 10px 0; |
|
|
|
padding: 10px 0; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
@ -627,27 +636,32 @@ $height: 700px; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
background-color: #333; |
|
|
|
background-color: #333; |
|
|
|
|
|
|
|
|
|
|
|
.turn { |
|
|
|
.turn { |
|
|
|
margin: 0 10px; |
|
|
|
margin: 0 10px; |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pdf-wrap { |
|
|
|
.pdf-wrap { |
|
|
|
width: 80%; |
|
|
|
width: 80%; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.project-dia { |
|
|
|
/deep/.project-dia { |
|
|
|
.el-dialog__body { |
|
|
|
.el-dialog__body { |
|
|
|
padding: 28px 32px; |
|
|
|
padding: 28px 32px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.projects { |
|
|
|
.projects { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
flex-wrap: wrap; |
|
|
|
max-height: 400px; |
|
|
|
max-height: 400px; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -657,21 +671,26 @@ $height: 700px; |
|
|
|
background-color: #f6f8fa; |
|
|
|
background-color: #f6f8fa; |
|
|
|
border-radius: 16px; |
|
|
|
border-radius: 16px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
span { |
|
|
|
span { |
|
|
|
color: #007eff; |
|
|
|
color: $main-color; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(3n) { |
|
|
|
&:nth-child(3n) { |
|
|
|
margin-right: 0; |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
background-color: #f2f7ff; |
|
|
|
background-color: #f2f7ff; |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
span { |
|
|
|
color: #3988ff; |
|
|
|
color: #3988ff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
span { |
|
|
|
max-width: 140px; |
|
|
|
max-width: 140px; |
|
|
|
margin-left: 14px; |
|
|
|
margin-left: 14px; |
|
|
@ -679,10 +698,12 @@ $height: 700px; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tabs { |
|
|
|
.tabs { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
margin: 10px 0; |
|
|
|
margin: 10px 0; |
|
|
|
|
|
|
|
|
|
|
|
.item { |
|
|
|
.item { |
|
|
|
padding: 0 10px; |
|
|
|
padding: 0 10px; |
|
|
|
margin-right: 16px; |
|
|
|
margin-right: 16px; |
|
|
@ -692,12 +713,14 @@ $height: 700px; |
|
|
|
line-height: 50px; |
|
|
|
line-height: 50px; |
|
|
|
border-bottom: 3px solid transparent; |
|
|
|
border-bottom: 3px solid transparent; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
color: #007eff; |
|
|
|
color: $main-color; |
|
|
|
border-color: #007eff; |
|
|
|
border-color: $main-color; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tab-content { |
|
|
|
.tab-content { |
|
|
|
width: calc(100% - 308px); |
|
|
|
width: calc(100% - 308px); |
|
|
|
} |
|
|
|
} |
|
|
|