Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
f53c8194
提交
f53c8194
编写于
8月 25, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
登陆、跳转、下载等
上级
b34eb124
变更
12
展开全部
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
912 行增加
和
45 行删除
+912
-45
cell-list-detail-share.vue
src/components/business/cell-list-detail-share.vue
+591
-0
bind-card-button-share.vue
src/components/cme/bind-card-button-share.vue
+1
-1
common-advert-img.vue
src/components/common/common-advert-img.vue
+5
-0
course-button.vue
src/components/course/course-button.vue
+59
-0
course-covers.vue
src/components/course/course-covers.vue
+70
-0
pica-icon.png
src/images/cme/course/pica-icon.png
+0
-0
user.js
src/store/modules/user.js
+9
-9
env-config.js
src/utils/env-config.js
+1
-8
fetch.js
src/utils/fetch.js
+0
-1
mixins.js
src/utils/mixins.js
+0
-1
course-button.vue
src/views/course-button.vue
+59
-0
share-merge-detail.vue
src/views/share-merge-detail.vue
+117
-25
未找到文件。
src/components/business/cell-list-detail-share.vue
0 → 100644
浏览文件 @
f53c8194
此差异已折叠。
点击以展开。
src/components/cme/bind-card-button-share.vue
浏览文件 @
f53c8194
src/components/common/common-advert-img.vue
浏览文件 @
f53c8194
...
@@ -9,6 +9,7 @@ export default {
...
@@ -9,6 +9,7 @@ export default {
name
:
'common-title'
,
name
:
'common-title'
,
data
()
{
data
()
{
return
{
return
{
isWeb
:
window
.
__isWeb
,
showInfo
:
{
showInfo
:
{
imageUrl
:
''
,
imageUrl
:
''
,
jumpUrl
:
''
jumpUrl
:
''
...
@@ -52,6 +53,10 @@ export default {
...
@@ -52,6 +53,10 @@ export default {
// 广告位跳转
// 广告位跳转
jumpPage
()
{
jumpPage
()
{
if
(
this
.
isWeb
)
{
window
.
location
.
href
=
this
.
showInfo
.
jumpUrl
;
return
;
}
let
paramList
=
[
let
paramList
=
[
{
{
key
:
"pageUrl"
,
key
:
"pageUrl"
,
...
...
src/components/course/course-button.vue
0 → 100644
浏览文件 @
f53c8194
<
template
>
<span
class=
"course-button-wrapper button-default"
:class=
"type"
@
click=
"btnClick"
>
{{
btnText
}}
</span>
</
template
>
<
script
>
export
default
{
props
:
{
btnText
:
{
type
:
String
,
default
:
"去云鹊医App"
},
type
:
{
type
:
String
,
default
:
"primary"
}
},
data
()
{
return
{};
},
methods
:
{
btnClick
()
{
if
(
this
.
type
==
"disabled"
)
return
;
this
.
$emit
(
"btnClick"
);
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.course-button-wrapper {
display: inline-block;
text-align: center;
margin: 0 5px;
&.button-default {
display: inline-block;
padding: 0 16px;
text-align: center;
height: 30px;
line-height: 30px;
// width: 100%;
border-radius: 15px;
font-size: 12px;
font-weight: 700;
color: #ffffff;
background: #449284;
}
&.primary {
color: #ffffff;
background: #449284;
}
&.plain {
color: #ffffff;
background: none;
border: 1px solid rgba(255, 255, 255, 1);
}
&.disabled {
color: rgba(255, 255, 255, 0.95);
background: rgba(68, 146, 132, 0.4);
}
}
</
style
>
src/components/course/course-covers.vue
0 → 100644
浏览文件 @
f53c8194
<
template
>
<div
class=
"course-covers-wrapper"
>
<span
class=
"tips"
v-html=
"coverTips"
></span>
<div
v-if=
"isShowBtn"
class=
"course-button-group"
>
<CourseButton
v-if=
"!isSingle"
type=
"plain"
@
btnClick=
"btnClick(1)"
:btnText=
"leftBtnText"
></CourseButton>
<CourseButton
@
btnClick=
"btnClick(2)"
:btnText=
"rightBtnText"
></CourseButton>
</div>
</div>
</
template
>
<
script
>
import
CourseButton
from
"@/components/course/course-button"
;
export
default
{
components
:
{
CourseButton
},
props
:
{
coverTips
:
{
type
:
String
,
default
:
"上次观看至7分钟,正在续播"
},
isShowBtn
:
{
type
:
Boolean
,
default
:
true
},
isSingle
:
{
type
:
Boolean
,
default
:
false
},
leftBtnText
:
{
type
:
String
,
default
:
"学习下一节"
},
rightBtnText
:
{
type
:
String
,
default
:
"去云鹊医App"
}
},
data
()
{
return
{};
},
methods
:
{
btnClick
(
index
)
{
this
.
$emit
(
"btnClick"
,
index
);
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.course-covers-wrapper {
display: flex;
flex-direction: column;
width: 100%;
height: 210px;
background: rgba(0, 0, 0, 0.8);
justify-content: center;
align-content: center;
.tips {
display: inline-block;
margin-bottom: 15px;
color: #fff;
text-align: center;
font-size: 15px;
}
.course-button-group {
display: flex;
align-items: center;
justify-content:center;
}
}
</
style
>
src/images/cme/course/pica-icon.png
0 → 100755
浏览文件 @
f53c8194
1.7 KB
src/store/modules/user.js
浏览文件 @
f53c8194
...
@@ -44,14 +44,14 @@ const user = {
...
@@ -44,14 +44,14 @@ 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.log(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.log(err));
if
(
img1
)
{
//
if (img1) {
avatarUrl
=
img1
.
src
;
//
avatarUrl = img1.src;
}
//
}
if
(
img2
)
{
//
if (img2) {
avatarUrl
=
img2
.
src
;
//
avatarUrl = img2.src;
}
//
}
picapDoctor
.
avatar
=
avatarUrl
||
'https://file.yunqueyi.com/File/doctor_default.png'
;
picapDoctor
.
avatar
=
avatarUrl
||
'https://file.yunqueyi.com/File/doctor_default.png'
;
commit
(
'SET_USER_INFO'
,
{
...
picapDoctor
,
isExist
,
certifyDoc
});
commit
(
'SET_USER_INFO'
,
{
...
picapDoctor
,
isExist
,
certifyDoc
});
}
}
...
@@ -65,7 +65,7 @@ const user = {
...
@@ -65,7 +65,7 @@ const user = {
// 通过登陆
// 通过登陆
goLogin
()
{
goLogin
()
{
window
.
location
.
href
=
envConfig
[
process
.
env
.
BUILD_ENV
][
'
phomeDemain
'
]
+
"/pica_login?target_url="
+
encodeURIComponent
(
location
.
href
);
window
.
location
.
href
=
envConfig
[
process
.
env
.
BUILD_ENV
][
'
webPageUrl
'
]
+
"/pica_login?target_url="
+
encodeURIComponent
(
location
.
href
);
},
},
// 登出
// 登出
...
...
src/utils/env-config.js
浏览文件 @
f53c8194
...
@@ -14,13 +14,6 @@ export const envConfig = {
...
@@ -14,13 +14,6 @@ export const envConfig = {
hactiveUrl
:
'https://dev-hactive.yunqueyi.com'
,
hactiveUrl
:
'https://dev-hactive.yunqueyi.com'
,
appId
:
'wxf4e66242d31c81c2'
,
// 用于微信授权登录
appId
:
'wxf4e66242d31c81c2'
,
// 用于微信授权登录
// baseUrl: 'https://sc.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
// webPageUrl: 'https://phome.yunqueyi.com/',
// hactiveUrl: 'https://hactive.yunqueyi.com',
// appId: 'wx2c577552a2d28550', // 用于微信授权登录
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// apiUrl: 'https://test1-api.yunqueyi.com/',
// apiUrl: 'https://test1-api.yunqueyi.com/',
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
...
@@ -35,7 +28,7 @@ export const envConfig = {
...
@@ -35,7 +28,7 @@ export const envConfig = {
// apiUrl: 'https://api.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
// webPageUrl: 'https://phome.yunqueyi.com/',
// webPageUrl: 'https://phome.yunqueyi.com/',
// hactiveUrl: 'https://hactive.yunqueyi.com',
// hactiveUrl: 'https://hactive.yunqueyi.com',
// appId: 'wx2c577552a2d28550', // 用于微信授权登录
},
},
dev
:
{
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
...
src/utils/fetch.js
浏览文件 @
f53c8194
...
@@ -11,7 +11,6 @@ const service = axios.create({
...
@@ -11,7 +11,6 @@ const service = axios.create({
// request拦截器
// request拦截器
service
.
interceptors
.
request
.
use
(
config
=>
{
service
.
interceptors
.
request
.
use
(
config
=>
{
// debugger
if
(
config
.
data
&&
config
.
data
.
setEntry
)
{
if
(
config
.
data
&&
config
.
data
.
setEntry
)
{
config
.
headers
[
'sysCode'
]
=
config
.
data
.
sysCode
||
10
config
.
headers
[
'sysCode'
]
=
config
.
data
.
sysCode
||
10
if
(
config
.
data
.
token
){
if
(
config
.
data
.
token
){
...
...
src/utils/mixins.js
浏览文件 @
f53c8194
...
@@ -109,7 +109,6 @@ module.exports = {
...
@@ -109,7 +109,6 @@ module.exports = {
// 通用GET请求
// 通用GET请求
GET
(
api
,
para
,
callback
,
str
)
{
GET
(
api
,
para
,
callback
,
str
)
{
// debugger
para
.
token
=
para
.
token
||
this
.
token
||
''
para
.
token
=
para
.
token
||
this
.
token
||
''
let
url
=
api
+
this
.
getUrlPara
(
para
)
let
url
=
api
+
this
.
getUrlPara
(
para
)
return
fetch
({
return
fetch
({
...
...
src/views/course-button.vue
0 → 100644
浏览文件 @
f53c8194
<
template
>
<span
class=
"course-button-wrapper button-default"
:class=
"type"
@
click=
"btnClick"
>
{{
btnText
}}
</span>
</
template
>
<
script
>
export
default
{
props
:
{
btnText
:
{
type
:
String
,
default
:
"去云鹊医App"
},
type
:
{
type
:
String
,
default
:
"primary"
}
},
data
()
{
return
{};
},
methods
:
{
btnClick
()
{
if
(
this
.
type
==
"disabled"
)
return
;
this
.
$emit
(
"btnClick"
);
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.course-button-wrapper {
display: inline-block;
text-align: center;
margin: 0 5px;
&.button-default {
display: inline-block;
padding: 0 16px;
text-align: center;
height: 30px;
line-height: 30px;
// width: 100%;
border-radius: 15px;
font-size: 12px;
font-weight: 700;
color: #ffffff;
background: #449284;
}
&.primary {
color: #ffffff;
background: #449284;
}
&.plain {
color: #ffffff;
background: none;
border: 1px solid rgba(255, 255, 255, 1);
}
&.disabled {
color: rgba(255, 255, 255, 0.95);
background: rgba(68, 146, 132, 0.4);
}
}
</
style
>
src/views/share-merge-detail.vue
浏览文件 @
f53c8194
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<CommonSpliteLine></CommonSpliteLine>
<CommonSpliteLine></CommonSpliteLine>
<div
id=
"catalogue-content"
class=
"catalogue-content"
>
<div
id=
"catalogue-content"
class=
"catalogue-content"
>
<div
class=
"catalogue-title"
>
目录
</div>
<div
class=
"catalogue-title"
>
目录
</div>
<CellListDetail
<CellListDetail
Share
:projectComponent=
"projectComponentDTOS"
:projectComponent=
"projectComponentDTOS"
:actionList=
"actionList"
:actionList=
"actionList"
:detailNum=
"detailNum"
:detailNum=
"detailNum"
...
@@ -96,6 +96,8 @@
...
@@ -96,6 +96,8 @@
:hasBindCard=
"hasBindCard"
:hasBindCard=
"hasBindCard"
:limitTimes=
"limitTimes"
:limitTimes=
"limitTimes"
:cmeType=
"project.cmeType"
:cmeType=
"project.cmeType"
:logged=
"logged"
:projectId=
"projectId"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -164,7 +166,7 @@
...
@@ -164,7 +166,7 @@
></span>
></span>
</div>
</div>
<ShiKanCommonDialog
<
!--
<
ShiKanCommonDialog
class=
"shikan"
class=
"shikan"
needSubContent
needSubContent
content=
"试看结束"
content=
"试看结束"
...
@@ -172,7 +174,7 @@
...
@@ -172,7 +174,7 @@
confirmBtnText=
"去购买"
confirmBtnText=
"去购买"
:isShowDialog=
"isShowSkDialog"
:isShowDialog=
"isShowSkDialog"
@
handlerAction=
"goBuyKc"
@
handlerAction=
"goBuyKc"
/>
/>
-->
<IOSDownloadDialog
<IOSDownloadDialog
class=
"shikan"
class=
"shikan"
...
@@ -183,6 +185,30 @@
...
@@ -183,6 +185,30 @@
@
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/cme/course/pica-icon.png"
alt=
""
>
<span
:class=
"
{'short': needShort}">
{{
downloadTips
}}
</span>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -190,7 +216,7 @@ import CommonNavbar from "@/components/common/common-navbar";
...
@@ -190,7 +216,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 NoPermContent from "@/components/business/no-perm-content";
// import NoPermContent from "@/components/business/no-perm-content";
// import CommonBannerVideo from "@/components/common/common-banner-video";
// import CommonBannerVideo from "@/components/common/common-banner-video";
import
CommonTcPlayer
from
"@/components/common/common-tcplayer"
;
import
CommonTcPlayer
from
"@/components/common/common-tcplayer"
;
...
@@ -217,6 +243,7 @@ import { Toast } from "vant";
...
@@ -217,6 +243,7 @@ import { Toast } from "vant";
// import CardPopup from "@/components/cme/card-popup";
// import CardPopup from "@/components/cme/card-popup";
import
BindCardButtonShare
from
"@/components/cme/bind-card-button-share"
;
import
BindCardButtonShare
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
;
...
@@ -226,6 +253,7 @@ export default {
...
@@ -226,6 +253,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
:
""
,
...
@@ -287,7 +315,7 @@ export default {
...
@@ -287,7 +315,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"
,
//视频的显示高度,请尽量使用视频分辨率高度
...
@@ -321,14 +349,17 @@ export default {
...
@@ -321,14 +349,17 @@ export default {
continueStudyType
:
0
,
continueStudyType
:
0
,
skCourseId
:
0
,
skCourseId
:
0
,
isShowSkDialog
:
false
,
isShowSkDialog
:
false
,
isShowEndDialog
:
false
,
isShowFFDialog
:
false
,
isShowIOSDownloadDialog
:
false
,
isShowIOSDownloadDialog
:
false
,
needShort
:
false
};
};
},
},
components
:
{
components
:
{
CommonNavbar
,
CommonNavbar
,
CommonDescription
,
CommonDescription
,
CommonSpliteLine
,
CommonSpliteLine
,
CellListDetail
,
CellListDetail
Share
,
Loading
,
Loading
,
CommonTcPlayer
,
CommonTcPlayer
,
CmeStep
,
CmeStep
,
...
@@ -346,11 +377,12 @@ export default {
...
@@ -346,11 +377,12 @@ export default {
BindCardButtonShare
,
BindCardButtonShare
,
ChangeCard
,
ChangeCard
,
ShiKanCommonDialog
,
ShiKanCommonDialog
,
IOSDownloadDialog
IOSDownloadDialog
,
CourseCovers
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"userInfo"
])
...
mapGetters
([
"userInfo"
,
"logged"
])
},
},
created
()
{
created
()
{
...
@@ -363,6 +395,11 @@ export default {
...
@@ -363,6 +395,11 @@ export default {
// 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
.
getProjectParticularsV2
();
_this
.
getProjectParticularsV2
();
// 打开页面埋点
// 打开页面埋点
...
@@ -375,12 +412,25 @@ export default {
...
@@ -375,12 +412,25 @@ export default {
},
},
mounted
()
{
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
setTimeout
(()
=>
{
this
.
downloadTips
=
''
;
this
.
needShort
=
true
;
},
5000
);
},
},
beforeDestroyed
()
{
beforeDestroyed
()
{
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
()
{
this
.
showChangeCard
=
false
;
this
.
showChangeCard
=
false
;
...
@@ -698,7 +748,8 @@ export default {
...
@@ -698,7 +748,8 @@ export default {
getProjectParticularsV2
()
{
getProjectParticularsV2
()
{
let
_this
=
this
;
let
_this
=
this
;
let
param
=
{
let
param
=
{
token
:
_this
.
userInfo
.
userToken
||
this
.
token
,
// token: _this.userInfo.userToken || this.token,
token
:
this
.
$store
.
state
.
user
.
token
||
this
.
token
,
setEntry
:
true
setEntry
:
true
};
};
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
...
@@ -808,19 +859,18 @@ export default {
...
@@ -808,19 +859,18 @@ export default {
}
}
// let shareUrl = encodeURIComponent(location.href);
// let shareUrl = encodeURIComponent(location.href);
this
.
wxDisabledShare
();
this
.
wechatShare
(
// this.wechatShare(
{
// {
link
:
location
.
href
,
// link: location.href,
title
:
this
.
project
.
projectName
,
// title: this.project.projectName,
friendtitle
:
this
.
project
.
projectName
,
// friendtitle: this.project.projectName,
desc
:
this
.
project
.
projectName
,
// desc: this.project.projectName,
imgUrl
:
"https://file.yunqueyi.com/logo.png"
// imgUrl: "https://file.yunqueyi.com/logo.png"
},
// },
()
=>
{
// () => {
console
.
log
(
"share success..."
);
// console.log("share success...");
}
// }
);
// );
console
.
log
(
'hasBindCard, limitTimes'
,
_this
.
hasBindCard
,
_this
.
limitTimes
);
console
.
log
(
'hasBindCard, limitTimes'
,
_this
.
hasBindCard
,
_this
.
limitTimes
);
}
}
});
});
...
@@ -1109,4 +1159,46 @@ export default {
...
@@ -1109,4 +1159,46 @@ export default {
width: 100%;
width: 100%;
height: 40px;
height: 40px;
}
}
.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;
}
}
}
</
style
>
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录