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
提交
45abba41
提交
45abba41
编写于
8月 01, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
请您下载新版本App
上级
aa349114
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
28 行增加
和
23 行删除
+28
-23
env-config.js
src/utils/env-config.js
+8
-8
merge-detail.vue
src/views/merge-detail.vue
+20
-15
未找到文件。
src/utils/env-config.js
浏览文件 @
45abba41
...
@@ -8,10 +8,10 @@ export const envConfig = {
...
@@ -8,10 +8,10 @@ export const envConfig = {
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://192.168.140.14:10201/',
// baseUrl: 'http://192.168.140.14:10201/',
//
apiUrl: 'https://dev-api.yunqueyi.com/',
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
//
webPageUrl: 'https://dev-phome.yunqueyi.com/',
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
//
baseUrl: 'https://dev-sc.yunqueyi.com/',
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
//
hactiveUrl: 'https://dev-hactive.yunqueyi.com',
hactiveUrl
:
'https://dev-hactive.yunqueyi.com'
,
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
...
@@ -19,10 +19,10 @@ export const envConfig = {
...
@@ -19,10 +19,10 @@ export const envConfig = {
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
//
baseUrl: 'https://uat-sc.yunqueyi.com/',
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
//
apiUrl: 'https://uat-api.yunqueyi.com/',
webPageUrl
:
'https://uat-phome.yunqueyi.com/'
,
//
webPageUrl: 'https://uat-phome.yunqueyi.com/',
hactiveUrl
:
'https://uat-hactive.yunqueyi.com'
,
//
hactiveUrl: 'https://uat-hactive.yunqueyi.com',
// baseUrl: 'https://sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
...
...
src/views/merge-detail.vue
浏览文件 @
45abba41
...
@@ -17,14 +17,13 @@
...
@@ -17,14 +17,13 @@
></CommonNavbar>
></CommonNavbar>
<div
class=
"page-content list-container"
>
<div
class=
"page-content list-container"
>
<!-- banner图片 -->
<!-- banner图片 -->
<
!--
<
div
@
click=
"gotoCourse()"
v-if=
"bannerType == 1"
class=
"page-content-img-container"
style=
"position:relative;"
>
<div
@
click=
"gotoCourse()"
v-if=
"bannerType == 1"
class=
"page-content-img-container"
style=
"position:relative;"
>
<img
class=
"banner-img"
:src=
"attachmentUrl"
/>
<img
class=
"banner-img"
:src=
"attachmentUrl"
/>
<img
v-show=
"project.status == 5"
class=
"banner-img-5"
src=
"../images/status-keep-on.png"
/>
<img
v-show=
"project.status == 5"
class=
"banner-img-5"
src=
"../images/status-keep-on.png"
/>
<img
v-show=
"project.status == 10"
class=
"banner-img-10"
src=
"../images/status-end-cme.png"
/>
<img
v-show=
"project.status == 10"
class=
"banner-img-10"
src=
"../images/status-end-cme.png"
/>
</div>
</div>
-->
<!-- banner视频 -->
<!-- banner视频 -->
<CommonTcPlayer
v-if=
"bannerType == 2"
style=
"flex"
:options=
"videoOptions"
@
sk-tip=
"isShowSkDialog=true"
></CommonTcPlayer>
<CommonTcPlayer
ref=
"commonTcPlayer"
v-if=
"bannerType == 2"
style=
"flex"
:options=
"videoOptions"
@
sk-tip=
"isShowSkDialog=true"
></CommonTcPlayer>
<div
class=
"sk-btn-cover-new"
@
click=
"continueStudy()"
v-if=
"bannerType == 2 && hasBindCard"
>
<div
class=
"sk-btn-cover-new"
@
click=
"continueStudy()"
v-if=
"bannerType == 2 && hasBindCard"
>
<span>
继续学习
</span>
<span>
继续学习
</span>
</div>
</div>
...
@@ -364,6 +363,13 @@ export default {
...
@@ -364,6 +363,13 @@ export default {
console
.
log
(
"__getUserInfo64Comp"
,
param
);
console
.
log
(
"__getUserInfo64Comp"
,
param
);
_this
.
token
=
param
.
userToken
;
_this
.
token
=
param
.
userToken
;
_this
.
setUserInfo
(
param
);
_this
.
setUserInfo
(
param
);
let
appVersion
=
param
.
appVersion
||
'300'
;
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
// 如果是iOS系统并且版本小于344,则提示升级
if
(
__isIOS
&&
appVersionNum
<
344
)
{
_this
.
isShowIOSDownloadDialog
=
true
;
}
_this
.
checkToken
();
_this
.
checkToken
();
_this
.
getProjectParticularsV2
();
_this
.
getProjectParticularsV2
();
};
};
...
@@ -396,12 +402,6 @@ export default {
...
@@ -396,12 +402,6 @@ export default {
this
.
getAdvertInfoList
();
this
.
getAdvertInfoList
();
},
},
mounted
()
{
mounted
()
{
let
appVersion
=
this
.
userInfo
.
appVersion
||
'300'
;
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
// 如果是iOS系统并且版本小于344,则提示升级
if
(
__isIOS
&&
appVersionNum
<
344
)
{
this
.
isShowIOSDownloadDialog
=
true
;
}
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
const
_this
=
this
;
const
_this
=
this
;
},
},
...
@@ -567,6 +567,11 @@ export default {
...
@@ -567,6 +567,11 @@ export default {
},
1000
);
},
1000
);
},
},
// 关闭视频
closePlayer
()
{
},
// 跳转前判断是否有机构,否则使用定位信息
// 跳转前判断是否有机构,否则使用定位信息
preJumper
()
{
preJumper
()
{
// TODO 测试代码
// TODO 测试代码
...
@@ -905,8 +910,8 @@ export default {
...
@@ -905,8 +910,8 @@ export default {
token
:
_this
.
userInfo
.
userToken
||
this
.
token
,
token
:
_this
.
userInfo
.
userToken
||
this
.
token
,
setEntry
:
true
setEntry
:
true
};
};
this
.
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
if
(
this
.
videoUrl
)
{
if
(
videoUrl
)
{
param
.
trySeeFlag
=
0
;
param
.
trySeeFlag
=
0
;
}
else
{
}
else
{
param
.
trySeeFlag
=
1
;
param
.
trySeeFlag
=
1
;
...
@@ -917,12 +922,12 @@ export default {
...
@@ -917,12 +922,12 @@ export default {
// 先设置视频URL再显示视频组件 ------------ BEGIN
// 先设置视频URL再显示视频组件 ------------ BEGIN
// 首先使用配置中的参数中的获取视频地址及视频时间
// 首先使用配置中的参数中的获取视频地址及视频时间
if
(
this
.
videoUrl
)
{
if
(
videoUrl
)
{
_this
.
videoOptions
.
mp4
=
this
.
videoUrl
;
_this
.
videoOptions
.
mp4
=
videoUrl
;
this
.
limitTimes
=
this
.
$route
.
query
.
trySeeTime
||
300000
;
this
.
limitTimes
=
this
.
$route
.
query
.
trySeeTime
||
300000
;
}
else
{
}
else
{
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
_this
.
videoOptions
.
trySeeTime
=
res
.
data
.
trySeeTime
;
_this
.
videoOptions
.
trySeeTime
=
res
.
data
.
trySeeTime
||
300000
;
}
}
if
(
this
.
hasBindCard
)
{
if
(
this
.
hasBindCard
)
{
_this
.
videoOptions
.
trySeeTime
=
300000
;
_this
.
videoOptions
.
trySeeTime
=
300000
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录