|
|
@ -1,13 +1,16 @@ |
|
|
|
<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="$router.back()" |
|
|
|
<el-page-header @back="$router.back()" |
|
|
|
:content="form.mall.productName"></el-page-header> |
|
|
|
:content="form.mall.productName"></el-page-header> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> --> |
|
|
|
|
|
|
|
|
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
|
|
|
|
<Breadcrumb ref="breadcrumb" |
|
|
|
|
|
|
|
:data.sync="routes" /> |
|
|
|
<div class="top"> |
|
|
|
<div class="top"> |
|
|
|
<el-carousel class="pics" |
|
|
|
<el-carousel class="pics" |
|
|
|
:interval="6000" |
|
|
|
:interval="6000" |
|
|
@ -209,10 +212,12 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import Util from "@/libs/util" |
|
|
|
import Util from "@/libs/util" |
|
|
|
import Setting from "@/setting" |
|
|
|
import Setting from "@/setting" |
|
|
|
|
|
|
|
import Breadcrumb from '@/components/breadcrumb' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
id: this.$route.query.id, |
|
|
|
id: this.$route.query.id, |
|
|
|
|
|
|
|
routes: {}, |
|
|
|
curTab: 0, |
|
|
|
curTab: 0, |
|
|
|
tabs: [ |
|
|
|
tabs: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -236,6 +241,9 @@ export default { |
|
|
|
qrcodeTop: '100px' |
|
|
|
qrcodeTop: '100px' |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
components: { |
|
|
|
|
|
|
|
Breadcrumb, |
|
|
|
|
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
// 是否没关联产品或者产品类型是数据前瞻,并且设置了链接 |
|
|
|
// 是否没关联产品或者产品类型是数据前瞻,并且设置了链接 |
|
|
|
withLink () { |
|
|
|
withLink () { |
|
|
@ -294,6 +302,19 @@ export default { |
|
|
|
e.interfaceDiagrams = pics |
|
|
|
e.interfaceDiagrams = pics |
|
|
|
} |
|
|
|
} |
|
|
|
this.form = e |
|
|
|
this.form = e |
|
|
|
|
|
|
|
this.routes = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '职站商城', |
|
|
|
|
|
|
|
path: '/index', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
id: 13, |
|
|
|
|
|
|
|
siteId: 1 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: e.mall.productName |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
this.chapterList = '' |
|
|
|
this.chapterList = '' |
|
|
|
e.mall.associatedProduct && this.getChapter() |
|
|
|
e.mall.associatedProduct && this.getChapter() |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
@ -520,6 +541,10 @@ export default { |
|
|
|
span { |
|
|
|
span { |
|
|
|
font-family: PingFangSC-Regular !important; |
|
|
|
font-family: PingFangSC-Regular !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
object-fit: cover; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.chapters { |
|
|
|
.chapters { |
|
|
|
margin-top: 16px; |
|
|
|
margin-top: 16px; |
|
|
@ -584,6 +609,7 @@ export default { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 140px; |
|
|
|
height: 140px; |
|
|
|
transition: 0.3s; |
|
|
|
transition: 0.3s; |
|
|
|
|
|
|
|
object-fit: cover; |
|
|
|
} |
|
|
|
} |
|
|
|
.my-school { |
|
|
|
.my-school { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -688,4 +714,42 @@ export default { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@media (max-width: 1200px) { |
|
|
|
|
|
|
|
.wrap { |
|
|
|
|
|
|
|
.inner { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.top { |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.pics { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.el-image__preview { |
|
|
|
|
|
|
|
object-fit: cover; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.right { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.course { |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.detail { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.products { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
margin-left: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@media (max-width: 480px) { |
|
|
|
|
|
|
|
.wrap { |
|
|
|
|
|
|
|
.tab { |
|
|
|
|
|
|
|
position: static; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |