Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-annual-summary
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-annual-summary
提交
5970a177
提交
5970a177
编写于
8月 25, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
登陆、跳转、下载等
上级
ab1f5525
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
1519 行增加
和
48 行删除
+1519
-48
webpack.base.conf.js
build/webpack.base.conf.js
+7
-7
cell-list-detail-share-cmd.vue
src/components/business/cell-list-detail-share-cmd.vue
+589
-0
cell-list-detail-share.vue
src/components/business/cell-list-detail-share.vue
+648
-0
bind-card-button-share.vue
src/components/cme/bind-card-button-share.vue
+110
-0
common-advert-img.vue
src/components/common/common-advert-img.vue
+21
-15
pica-icon.png
src/images/course/pica-icon.png
+0
-0
user.js
src/store/modules/user.js
+3
-3
wxShare.js
src/utils/wxShare.js
+3
-1
share-merge-detail.vue
src/views/share-merge-detail.vue
+138
-22
未找到文件。
build/webpack.base.conf.js
浏览文件 @
5970a177
...
@@ -71,13 +71,13 @@ module.exports = {
...
@@ -71,13 +71,13 @@ module.exports = {
browsers
:
[
'last 10 versions'
]
browsers
:
[
'last 10 versions'
]
}),
}),
require
(
'postcss-pxtorem'
)({
require
(
'postcss-pxtorem'
)({
rootValue
:
37.5
,
rootValue
:
37.5
,
unitPrecision
:
5
,
unitPrecision
:
5
,
propWhiteList
:
[],
propWhiteList
:
[],
selectorBlackList
:
[
/^html$/
],
selectorBlackList
:
[
/^html$/
],
replace
:
true
,
replace
:
true
,
mediaQuery
:
false
,
mediaQuery
:
false
,
minPixelValue
:
2
minPixelValue
:
2
})
})
]
]
}
}
...
...
src/components/business/cell-list-detail-share-cmd.vue
0 → 100644
浏览文件 @
5970a177
此差异已折叠。
点击以展开。
src/components/business/cell-list-detail-share.vue
0 → 100644
浏览文件 @
5970a177
此差异已折叠。
点击以展开。
src/components/cme/bind-card-button-share.vue
0 → 100644
浏览文件 @
5970a177
<
template
>
<section
class=
"bind-cart-wrapper"
>
<article
class=
"left"
>
<div
class=
"top"
>
<!--
<span
class=
"discount"
>
¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</span>
-->
<span
class=
"discount"
>
¥
{{
(
cardInfo
.
couponPrice
||
cardInfo
.
preferentialPrice
||
cardInfo
.
costPrice
)
|
formatMoney
}}
</span>
<span
v-show=
"cardInfo.couponPrice || cardInfo.preferentialPrice"
class=
"price"
>
<del>
原价¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</del>
</span>
</div>
<div
class=
"bottom"
>
<img
src=
"../../images/cme/phrase2/info.png"
/>
<span>
激活或购买后可学习课程
</span>
</div>
</article>
<article
class=
"right"
>
<span
class=
"left"
@
click=
"download"
>
APP购买更优惠
</span>
</article>
</section>
</
template
>
<
script
>
export
default
{
props
:
{
cardInfo
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{};
},
methods
:
{
download
()
{
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
},
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.bind-cart-wrapper {
position: fixed;
left: 0;
bottom: 0;
z-index: 100;
width: 100%;
display: flex;
flex-direction: row;
height: 60px;
line-height: 1;
justify-content: space-between;
padding: 10px 15px;
font-size: 14px;
background: rgba(255, 255, 255, 1);
box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.1);
.left {
display: flex;
flex-direction: column;
height: 40px;
line-height: 1;
font-size: 12px;
// align-items: ;
.top {
margin-top: 3px;
height: 24px;
.discount {
color: #fb5b52;
font-size: 18px;
font-weight: 700;
margin-right: 4px;
}
.price {
color: #979899;
}
}
.bottom {
display: flex;
flex-direction: row;
img {
width: 12px;
height: 12px;
margin-left: 1px;
margin-right: 4px;
}
color: #979899;
}
}
.right {
display: flex;
flex-direction: row;
span {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 138px;
font-size: 14px;
font-weight: 700;
text-align: center;
&.left {
border: 1px solid rgba(255, 122, 75, 1);
border-right-style: none;
color: #FFFFFF;
background:linear-gradient(137deg,rgba(255,166,95,1) 0%,rgba(255,122,75,1) 100%);
border-radius: 20px;
}
}
}
}
</
style
>
src/components/common/common-advert-img.vue
浏览文件 @
5970a177
<
template
>
<
template
>
<div
class=
"common-adert-wrapper"
>
<div
class=
"common-adert-wrapper"
>
<img
:class=
"
{'margin-top-20': needPadTop}" v-if="showInfo.imageUrl" @click="jumpPage" :src="showInfo.imageUrl" alt="">
<img
:class=
"
{'margin-top-20': needPadTop}"
v-if="showInfo.imageUrl"
@click="jumpPage"
:src="showInfo.imageUrl"
alt
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
EMLINK
}
from
'constants'
;
import
{
EMLINK
}
from
"constants"
;
export
default
{
export
default
{
name
:
'common-title'
,
name
:
"common-title"
,
data
()
{
data
()
{
return
{
return
{
isWeb
:
window
.
__isWeb
,
showInfo
:
{
showInfo
:
{
imageUrl
:
''
,
imageUrl
:
""
,
jumpUrl
:
''
jumpUrl
:
""
}
}
};
};
},
},
...
@@ -31,9 +38,9 @@ export default {
...
@@ -31,9 +38,9 @@ export default {
},
},
watch
:
{
watch
:
{
advertInfoList
:
{
advertInfoList
:
{
handler
(
list
)
{
handler
(
list
)
{
list
.
forEach
(
element
=>
{
list
.
forEach
(
element
=>
{
if
(
element
.
position
==
this
.
position
)
{
if
(
element
.
position
==
this
.
position
)
{
this
.
showInfo
=
element
;
this
.
showInfo
=
element
;
}
}
});
});
...
@@ -42,16 +49,15 @@ export default {
...
@@ -42,16 +49,15 @@ export default {
}
}
},
},
created
()
{},
created
()
{},
mounted
()
{
mounted
()
{},
computed
:
{},
},
computed
:
{
},
methods
:
{
methods
:
{
// 广告位跳转
// 广告位跳转
jumpPage
()
{
jumpPage
()
{
if
(
this
.
isWeb
)
{
window
.
location
.
href
=
this
.
showInfo
.
jumpUrl
;
return
;
}
let
paramList
=
[
let
paramList
=
[
{
{
key
:
"pageUrl"
,
key
:
"pageUrl"
,
...
@@ -59,7 +65,7 @@ export default {
...
@@ -59,7 +65,7 @@ export default {
type
:
4
,
type
:
4
,
seqNo
:
1
seqNo
:
1
}
}
]
]
;
rocNative
.
dispatchEventByModuleCode
({
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
"M300"
,
modeCode
:
"M300"
,
jsonString
:
paramList
jsonString
:
paramList
...
...
src/images/course/pica-icon.png
0 → 100755
浏览文件 @
5970a177
1.7 KB
src/store/modules/user.js
浏览文件 @
5970a177
...
@@ -44,8 +44,8 @@ const user = {
...
@@ -44,8 +44,8 @@ const user = {
if
(
picapDoctor
.
id
)
{
if
(
picapDoctor
.
id
)
{
let
avatar
=
picapDoctor
.
avatar_image_url
||
''
;
let
avatar
=
picapDoctor
.
avatar_image_url
||
''
;
let
avatarUrl
=
''
;
let
avatarUrl
=
''
;
const
img1
=
await
preLoadImg
(
`https://test-file.yunqueyi.com
${
avatar
}
`
).
catch
(
err
=>
console
.
log
(
err
));
const
img1
=
await
preLoadImg
(
`https://test-file.yunqueyi.com
${
avatar
}
`
).
catch
(
err
=>
console
.
error
(
err
));
const
img2
=
await
preLoadImg
(
`https://file.yunqueyi.com
${
avatar
}
`
).
catch
(
err
=>
console
.
log
(
err
));
const
img2
=
await
preLoadImg
(
`https://file.yunqueyi.com
${
avatar
}
`
).
catch
(
err
=>
console
.
error
(
err
));
if
(
img1
)
{
if
(
img1
)
{
avatarUrl
=
img1
.
src
;
avatarUrl
=
img1
.
src
;
}
}
...
@@ -59,7 +59,7 @@ const user = {
...
@@ -59,7 +59,7 @@ const user = {
errCallBack
()
errCallBack
()
}
}
}
catch
(
err
)
{
}
catch
(
err
)
{
console
.
log
(
err
);
console
.
error
(
err
);
}
}
},
},
...
...
src/utils/wxShare.js
浏览文件 @
5970a177
...
@@ -106,6 +106,8 @@ export const wechatShare = async (option = {}, successCB = () => {}) => {
...
@@ -106,6 +106,8 @@ export const wechatShare = async (option = {}, successCB = () => {}) => {
wxShare
(
shareOption
,
successCB
);
wxShare
(
shareOption
,
successCB
);
};
};
Vue
.
prototype
.
wechatShare
=
wechatShare
Vue
.
prototype
.
wechatShare
=
wechatShare
;
Vue
.
prototype
.
wxDisabledShare
=
wxDisabledShare
;
src/views/share-merge-detail.vue
浏览文件 @
5970a177
...
@@ -81,13 +81,15 @@
...
@@ -81,13 +81,15 @@
<span
class=
"c-title"
>
目录
</span>
<span
class=
"c-title"
>
目录
</span>
<span
v-if=
"needShowUpdate"
class=
"c-sub"
>
每周更新课程
</span>
<span
v-if=
"needShowUpdate"
class=
"c-sub"
>
每周更新课程
</span>
</div>
</div>
<CellListDetail
<CellListDetail
Share
:projectComponent=
"projectComponentDTOS"
:projectComponent=
"projectComponentDTOS"
:actionList=
"actionList"
:actionList=
"actionList"
:detailNum=
"detailNum"
:detailNum=
"detailNum"
:courseRequire=
"courseRequire"
:courseRequire=
"courseRequire"
:hasBindCard=
"hasBindCard"
:hasBindCard=
"hasBindCard"
:limitTimes=
"limitTimes"
:limitTimes=
"limitTimes"
:logged=
"logged"
:projectId=
"projectId"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -97,14 +99,22 @@
...
@@ -97,14 +99,22 @@
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
</div>
</div>
<div
v-if=
"!hasBindCard && !isWeb"
style=
"padding-top: 30px"
></div>
<div
style=
"padding-top: 20px"
></div>
<!--
<div
v-if=
"!hasBindCard && !isWeb"
style=
"padding-top: 30px"
></div>
-->
<BindCardButton
<
!--
<
BindCardButton
v-if=
"!hasBindCard && !isWeb"
v-if=
"!hasBindCard && !isWeb"
:cardInfo=
"cardInfo"
:cardInfo=
"cardInfo"
@
changeClick=
"changeClick"
@
changeClick=
"changeClick"
@
gotoBuy=
"confirm"
@
gotoBuy=
"confirm"
></BindCardButton>
></BindCardButton>
-->
<BindCardButtonShare
v-if=
"!hasBindCard"
:cardInfo=
"cardInfo"
@
changeClick=
"changeClick"
@
gotoBuy=
"confirm"
></BindCardButtonShare>
<!--去激活-->
<!--去激活-->
<ChangeCard
<ChangeCard
...
@@ -124,7 +134,7 @@
...
@@ -124,7 +134,7 @@
></span>
></span>
</div>
</div>
<ShiKanCommonDialog
<
!--
<
ShiKanCommonDialog
class=
"shikan"
class=
"shikan"
needSubContent
needSubContent
content=
"试看结束"
content=
"试看结束"
...
@@ -132,7 +142,7 @@
...
@@ -132,7 +142,7 @@
confirmBtnText=
"去购买"
confirmBtnText=
"去购买"
:isShowDialog=
"isShowSkDialog"
:isShowDialog=
"isShowSkDialog"
@
handlerAction=
"goBuyKc"
@
handlerAction=
"goBuyKc"
/>
/>
-->
<IOSDownloadDialog
<IOSDownloadDialog
class=
"shikan"
class=
"shikan"
...
@@ -142,6 +152,46 @@
...
@@ -142,6 +152,46 @@
:isShowDialog=
"isShowIOSDownloadDialog"
:isShowDialog=
"isShowIOSDownloadDialog"
@
handlerAction=
"goBack"
@
handlerAction=
"goBack"
/>
/>
<!-- 未登录提示 -->
<div
class=
"course-tips"
v-if=
"!logged"
>
<CourseCovers
isSingle
coverTips=
"登录后马上学习课程"
rightBtnText=
"去登录"
@
btnClick=
"btnClick"
></CourseCovers>
</div>
<!-- 试看结束 -->
<div
class=
"course-tips"
v-if=
"isShowSkDialog"
>
<CourseCovers
isSingle
coverTips=
"试看结束
<br>
学习完整版课程,请来云鹊医App购买"
rightBtnText="APP购买更优惠"
@btnClick="download(1)"
>
</CourseCovers>
</div>
<!-- 播放结束 -->
<div
class=
"course-tips"
v-if=
"isShowEndDialog"
>
<CourseCovers
isSingle
coverTips=
"播放结束
<br>
更多其他课程,请前往云鹊医APP学习"
rightBtnText="APP购买更优惠"
@btnClick="download(1)"
>
</CourseCovers>
</div>
<!-- 本课程为付费课程 -->
<div
class=
"course-tips"
v-if=
"isShowFFDialog"
>
<CourseCovers
isSingle
coverTips=
"本课程为付费课程
<br>
学习完整版课程,请来云鹊医App购买"
rightBtnText="APP购买更优惠"
@btnClick="download(1)"
>
</CourseCovers>
</div>
<div
class=
"download-abs"
@
click=
"download"
>
<img
src=
"../images/course/pica-icon.png"
alt
/>
<span
:class=
"
{'short': needShort}">
{{
downloadTips
}}
</span>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -149,7 +199,7 @@ import CommonNavbar from "@/components/common/common-navbar";
...
@@ -149,7 +199,7 @@ import CommonNavbar from "@/components/common/common-navbar";
import
CommonDescription
from
"@/components/common/common-description"
;
import
CommonDescription
from
"@/components/common/common-description"
;
import
CommonSpliteLine
from
"@/components/common/common-splite-line"
;
import
CommonSpliteLine
from
"@/components/common/common-splite-line"
;
import
CellListDetail
from
"@/components/business/cell-list-detail
"
;
import
CellListDetail
Share
from
"@/components/business/cell-list-detail-share
"
;
import
CommonTcPlayer
from
"@/components/common/common-tcplayer"
;
import
CommonTcPlayer
from
"@/components/common/common-tcplayer"
;
import
Loading
from
"@/components/common/common-loading"
;
import
Loading
from
"@/components/common/common-loading"
;
...
@@ -169,8 +219,10 @@ import { getWebPageUrl, gotoPage, getAppVersion } from "@/utils/index";
...
@@ -169,8 +219,10 @@ import { getWebPageUrl, gotoPage, getAppVersion } from "@/utils/index";
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
vueFilters
from
"@/utils/filter"
;
import
vueFilters
from
"@/utils/filter"
;
import
{
Toast
}
from
"vant"
;
import
{
Toast
}
from
"vant"
;
import
BindCardButton
from
"@/components/cme/bind-card-button
"
;
import
BindCardButton
Share
from
"@/components/cme/bind-card-button-share
"
;
import
ChangeCard
from
"@/components/cme/change-card"
;
import
ChangeCard
from
"@/components/cme/change-card"
;
import
CourseCovers
from
"@/components/course/course-covers"
;
let
cataOffsetTop
=
0
;
let
cataOffsetTop
=
0
;
let
intorOffsetTop
=
0
;
let
intorOffsetTop
=
0
;
let
titleOffsetHeight
=
50
;
let
titleOffsetHeight
=
50
;
...
@@ -179,6 +231,7 @@ export default {
...
@@ -179,6 +231,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
// token: "9B62E5874DA94979A54DB3E9DFC1443F",
// token: "9B62E5874DA94979A54DB3E9DFC1443F",
downloadTips
:
"打开云鹊医APP"
,
isWeb
:
window
.
__isWeb
,
isWeb
:
window
.
__isWeb
,
isAndroid
:
__isAndroid
,
isAndroid
:
__isAndroid
,
textContent
:
""
,
textContent
:
""
,
...
@@ -228,7 +281,7 @@ export default {
...
@@ -228,7 +281,7 @@ export default {
bannerType
:
1
,
// 1 图片 2视频
bannerType
:
1
,
// 1 图片 2视频
videoOptions
:
{
videoOptions
:
{
mp4
:
""
,
mp4
:
""
,
autoplay
:
tru
e
,
//iOS下safari浏览器,以及大部分移动端浏览器是不开放视频自动播放这个能力的
autoplay
:
fals
e
,
//iOS下safari浏览器,以及大部分移动端浏览器是不开放视频自动播放这个能力的
coverpic
:
require
(
"../images/video-cover.png"
),
coverpic
:
require
(
"../images/video-cover.png"
),
width
:
"415"
,
//视频的显示宽度,请尽量使用视频分辨率宽度
width
:
"415"
,
//视频的显示宽度,请尽量使用视频分辨率宽度
height
:
"210"
,
//视频的显示高度,请尽量使用视频分辨率高度
height
:
"210"
,
//视频的显示高度,请尽量使用视频分辨率高度
...
@@ -264,14 +317,17 @@ export default {
...
@@ -264,14 +317,17 @@ export default {
needShowUpdate
:
false
,
needShowUpdate
:
false
,
skCourseId
:
0
,
skCourseId
:
0
,
isShowSkDialog
:
false
,
isShowSkDialog
:
false
,
isShowIOSDownloadDialog
:
false
isShowEndDialog
:
false
,
isShowFFDialog
:
false
,
isShowIOSDownloadDialog
:
false
,
needShort
:
false
};
};
},
},
components
:
{
components
:
{
CommonNavbar
,
CommonNavbar
,
CommonDescription
,
CommonDescription
,
CommonSpliteLine
,
CommonSpliteLine
,
CellListDetail
,
CellListDetail
Share
,
Loading
,
Loading
,
CommonTcPlayer
,
CommonTcPlayer
,
BasicInfo
,
BasicInfo
,
...
@@ -283,14 +339,15 @@ export default {
...
@@ -283,14 +339,15 @@ export default {
ExjumperButton
,
ExjumperButton
,
CommonAdertImg
,
CommonAdertImg
,
NoMoreContent
,
NoMoreContent
,
BindCardButton
,
BindCardButton
Share
,
ChangeCard
,
ChangeCard
,
ShiKanCommonDialog
,
ShiKanCommonDialog
,
IOSDownloadDialog
IOSDownloadDialog
,
CourseCovers
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"userInfo"
])
...
mapGetters
([
"userInfo"
,
"logged"
])
},
},
created
()
{
created
()
{
...
@@ -299,11 +356,14 @@ export default {
...
@@ -299,11 +356,14 @@ export default {
this
.
projectId
=
this
.
$route
.
query
.
id
||
1
;
this
.
projectId
=
this
.
$route
.
query
.
id
||
1
;
console
.
log
(
"#######location"
,
location
);
console
.
log
(
"#######location"
,
location
);
// TODO TOKEN问题,登陆问题
// TODO TOKEN问题,登陆问题
// TODO 要先解码URL
// TODO 要先解码URL
// _this.checkToken();
// _this.checkToken();
// _this.setUserInfo(param);
// _this.setUserInfo(param);
const
{
token
,
info
}
=
this
.
$store
.
state
.
user
;
if
(
token
&&
!
info
.
id
)
{
this
.
$store
.
dispatch
(
'getUserInfo'
);
}
_this
.
getProjectInfoById
();
_this
.
getProjectInfoById
();
// 调用广告位接口
// 调用广告位接口
...
@@ -311,14 +371,26 @@ export default {
...
@@ -311,14 +371,26 @@ export default {
},
},
mounted
()
{
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
const
_this
=
this
;
setTimeout
(()
=>
{
this
.
downloadTips
=
''
;
this
.
needShort
=
true
;
},
5000
);
},
},
beforeDestroyed
()
{
beforeDestroyed
()
{
this
.
$refs
.
tcPlayerRef
&&
this
.
$refs
.
tcPlayerRef
.
pause
();
this
.
$refs
.
tcPlayerRef
&&
this
.
$refs
.
tcPlayerRef
.
pause
();
window
.
removeEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
removeEventListener
(
"scroll"
,
this
.
scrollFun
);
},
},
methods
:
{
methods
:
{
...
mapActions
([
"setUserInfo"
]),
...
mapActions
([
"setUserInfo"
,
"goLogin"
]),
btnClick
()
{
this
.
goLogin
();
},
download
()
{
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
},
// 关闭激活弹框
// 关闭激活弹框
cancleChangeCard
()
{
cancleChangeCard
()
{
...
@@ -545,10 +617,11 @@ export default {
...
@@ -545,10 +617,11 @@ export default {
getProjectInfoById
()
{
getProjectInfoById
()
{
let
_this
=
this
;
let
_this
=
this
;
let
param
=
{
let
param
=
{
token
:
// token:
_this
.
userInfo
.
userToken
||
// _this.userInfo.userToken ||
this
.
token
||
// this.token ||
"47993ED00ECB46CE8D31ECF3AE34B4AA"
,
// "47993ED00ECB46CE8D31ECF3AE34B4AA",
token
:
this
.
$store
.
state
.
user
.
token
||
this
.
token
,
setEntry
:
true
setEntry
:
true
};
};
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
""
;
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
""
;
...
@@ -664,6 +737,7 @@ export default {
...
@@ -664,6 +737,7 @@ export default {
// });
// });
// 二次分享
// 二次分享
// let shareUrl = encodeURIComponent(location.href);
let
shareUrl
=
location
.
href
;
let
shareUrl
=
location
.
href
;
this
.
wechatShare
(
this
.
wechatShare
(
{
{
...
@@ -821,7 +895,7 @@ export default {
...
@@ -821,7 +895,7 @@ export default {
// 跳转到课程(H5)
// 跳转到课程(H5)
gotoCourseNew
:
function
()
{
gotoCourseNew
:
function
()
{
this
.
$refs
.
tcPlayerRef
&&
this
.
$refs
.
tcPlayerRef
.
pause
();
this
.
$refs
.
tcPlayerRef
&&
this
.
$refs
.
tcPlayerRef
.
pause
();
window
.
location
.
href
=
""
window
.
location
.
href
=
""
;
},
},
goBuyKc
(
type
)
{
goBuyKc
(
type
)
{
...
@@ -971,6 +1045,48 @@ export default {
...
@@ -971,6 +1045,48 @@ export default {
height: 50px;
height: 50px;
}
}
}
}
.course-tips {
width: 100%;
position: absolute;
z-index: 100;
top: 0;
left: 0;
}
.download-abs {
display: flex;
// width: 100%;
position: absolute;
z-index: 101;
top: 15px;
right: 0;
height: 30px;
align-items: center;
img {
position: relative;
left: 15px;
width: 30px;
height: 30px;
}
span {
display: inline-block;
height: 30px;
line-height: 30px;
padding: 0 8px 0 23px;
font-size: 12px;
font-weight: 700;
color: #5ba99b;
background: #fff;
width: 120px;
&.short {
width: 10px;
transition: width 1s;
-moz-transition: width 1s; /* Firefox 4 */
-webkit-transition: width 1s; /* Safari 和 Chrome */
-o-transition: width 1s; /* Opera */
padding: 0 12px;
}
}
}
}
}
.no-more-bottom {
.no-more-bottom {
position: relative;
position: relative;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录