Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
a73409e4
提交
a73409e4
编写于
11月 08, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
ff60f25e
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
163 行增加
和
41 行删除
+163
-41
yqy-adjust.vue
src/components/business-new/yqy-adjust.vue
+39
-4
yqy-category-three-1.vue
src/components/business-new/yqy-category-three-1.vue
+2
-1
yqy-five-minutes.vue
src/components/business-new/yqy-five-minutes.vue
+1
-1
yqy-home-adv.vue
src/components/business-new/yqy-home-adv.vue
+1
-0
yqy-home-banner.vue
src/components/business-new/yqy-home-banner.vue
+2
-1
yqy-home-header.vue
src/components/business-new/yqy-home-header.vue
+11
-2
topNav.vue
src/components/common/topNav.vue
+2
-1
index.js
src/utils/index.js
+2
-2
mixins.js
src/utils/mixins.js
+21
-0
yqyServerRegister.js
src/utils/yqyServerRegister.js
+1
-1
activity.vue
src/views/activity/activity.vue
+25
-12
home-new.vue
src/views/home/home-new.vue
+56
-16
未找到文件。
src/components/business-new/yqy-adjust.vue
浏览文件 @
a73409e4
...
...
@@ -23,7 +23,7 @@
</p>
<div
class=
"course-opt"
>
<span
class=
"opt-info"
>
{{
item
.
showTime
==
''
?
''
:
item
.
showTime
+
' |'
}}
{{
item
.
joinNum
}}
人已学
</span>
<span
:class=
"item.whetherFavors==2?'opt collect':'opt collected'"
@
click=
"collectFun(item.whetherFavors,item.id)"
>
<span
:class=
"item.whetherFavors==2?'opt collect':'opt collected'"
@
click=
"collectFun(item.whetherFavors,item.id
,item.name
)"
>
{{
item
.
whetherFavors
==
2
?
'收藏'
:
'已收藏'
}}
</span>
...
...
@@ -80,6 +80,14 @@ export default {
//跳转
goToPage
(
item
){
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_recommend'
,
actionCode
:
'c_course'
,
labelId
:
item
.
id
,
labelvalue
:
item
.
name
,
})
let
itemData
=
{
"title"
:
item
.
name
,
"imageUrl"
:
""
,
...
...
@@ -113,6 +121,13 @@ export default {
//换一批
changeFun
(){
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_recommend'
,
actionCode
:
'c_change'
,
})
this
.
clientHeight
=
document
.
documentElement
.
clientHeight
+
'px'
;
document
.
documentElement
.
scrollTop
=
document
.
documentElement
.
scrollTop
-
20
;
document
.
body
.
scrollTop
=
document
.
body
.
scrollTop
-
20
;
...
...
@@ -131,7 +146,13 @@ export default {
_this
.
pageNo
+=
1
;
_this
.
isLoading
=
true
;
this
.
loading
=
true
;
//埋点
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_recommend'
,
actionCode
:
'c_load_more'
})
setTimeout
(()
=>
{
_this
.
getData
(
'loadMore'
);
},
500
)
...
...
@@ -140,7 +161,15 @@ export default {
},
//收藏 取消收藏
collectFun
(
status
,
id
){
collectFun
(
status
,
id
,
name
){
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_recommend'
,
actionCode
:
'c_collect'
,
labelId
:
id
,
labelvalue
:
name
,
})
let
_this
=
this
,
parm
=
{
token
:
this
.
token
,
...
...
@@ -196,12 +225,18 @@ export default {
_this
.
list
=
res
.
data
||
[];
}
}
else
{
alert
(
res
.
message
)
_this
.
isLoading
=
false
;
_this
.
noMore
=
false
;
_this
.
loading
=
false
;
}
_this
.
clientHeight
=
'auto'
_this
.
isLoading
=
false
;
_this
.
loading
=
false
;
},
function
(){
_this
.
isLoading
=
false
;
_this
.
noMore
=
false
;
_this
.
loading
=
false
;
})
}
}
...
...
src/components/business-new/yqy-category-three-1.vue
浏览文件 @
a73409e4
...
...
@@ -52,7 +52,8 @@ export default {
let
_this
=
this
,
para
=
{
category
:
1
,
position
:
3
position
:
3
,
setEntry
:
'headers'
}
this
.
GET
(
'contents/HomeColumn/Information'
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
...
...
src/components/business-new/yqy-five-minutes.vue
浏览文件 @
a73409e4
...
...
@@ -39,7 +39,7 @@ export default {
methods
:
{
goToPage
(
item
){
let
url
=
pageJumpUrl
();
console
.
log
(
url
);
//
console.log(url);
let
itemData
=
{
"title"
:
item
.
name
,
"imageUrl"
:
""
,
...
...
src/components/business-new/yqy-home-adv.vue
浏览文件 @
a73409e4
...
...
@@ -90,6 +90,7 @@ export default {
para
=
{
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
setEntry
:
'headers'
}
this
.
GET
(
'contents/HomeLecturer/LecturerInformation'
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
...
...
src/components/business-new/yqy-home-banner.vue
浏览文件 @
a73409e4
...
...
@@ -81,7 +81,8 @@ export default {
let
_this
=
this
,
para
=
{
category
:
1
,
position
:
1
position
:
1
,
setEntry
:
'headers'
}
this
.
GET
(
'contents/HomeColumn/Information'
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
...
...
src/components/business-new/yqy-home-header.vue
浏览文件 @
a73409e4
...
...
@@ -4,7 +4,7 @@
<input
type=
"search"
:class=
"isTransparent?'search-transparent':''"
class=
"input"
v-model=
"searchVal"
:placeholder=
"placeholder"
:disabled=
"disabled"
/>
<img
class=
"search-img"
src=
'../../images/Group2@2x.png'
>
</div>
<div
class=
"header-right"
>
<div
class=
"header-right"
@
click=
"goToPage"
>
<img
class=
"info"
src=
'../../images/msg1.png'
>
<div
:class=
"isMax?'num-max':'num-min'"
class=
"info-count fs10"
v-show=
"isShowMsg"
>
{{
count
}}
</div>
</div>
...
...
@@ -43,7 +43,15 @@ export default {
},
methods
:
{
goToPage
(){
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_notification'
,
actionCode
:
'c_notification'
,
})
rocNative
.
readMessage
();
}
},
...
...
@@ -74,6 +82,7 @@ html,body{
width
:
px2rem
(
20px
);
height
:
px2rem
(
20px
);
position
:
relative
;
margin-top
:px2rem
(
5px
)
;
img
{
width
:
100%
;
height
:
100%
;
...
...
src/components/common/topNav.vue
浏览文件 @
a73409e4
...
...
@@ -49,8 +49,9 @@
//返回
goBack
(){
this
.
$router
.
back
(
-
1
);
//rocNative.backPreviousPage();
rocNative
.
goBack
();
//
rocNative.goBack();
},
//分享
...
...
src/utils/index.js
浏览文件 @
a73409e4
...
...
@@ -222,8 +222,8 @@ export function pageJumpUrl(){
// test1地址
const
baseUrl
=
'http://10.177.10.238:10201/'
||
'http://test1-sc.yunqueyi.com/'
const
apiUrl
=
'http://10.177.10.238:10201'
||
'http://test1-api.yunqueyi.com/'
const
baseUrl
=
'http://
dev-sc.yunqueyi.com/'
||
'http://
10.177.10.238:10201/'
||
'http://test1-sc.yunqueyi.com/'
const
apiUrl
=
'http://
dev-sc.yunqueyi.com/'
||
'http://
10.177.10.238:10201'
||
'http://test1-api.yunqueyi.com/'
// // uat地址
...
...
src/utils/mixins.js
浏览文件 @
a73409e4
...
...
@@ -34,6 +34,27 @@ module.exports = {
}
return
''
},
pageBurialPoin
(
options
){
let
opt
=
{
menuLevel
:
options
.
menuLevel
||
''
,
functionCode
:
options
.
functionCode
||
''
,
actionCode
:
options
.
actionCode
||
''
,
label
:
options
.
label
||
''
,
labelId
:
options
.
labelId
||
''
,
labelvalue
:
options
.
labelvalue
||
''
,
createdTime
:
options
.
createdTime
||
new
Date
().
getTime
(),
type
:
options
.
type
||
''
,
menuCode
:
options
.
menuCode
||
''
,
// menuToCode:options.menuToCode || '',
duration
:
options
.
duration
||
0
,
menuFromCode
:
options
.
menuFromCode
||
''
,
params
:
options
.
params
||
''
,
session
:
options
.
session
||
''
,
}
console
.
log
(
opt
);
rocNative
.
appBuryingPointEntrust
(
opt
)
},
setRouterParm
(
paramList
){
let
parm
=
{};
...
...
src/utils/yqyServerRegister.js
浏览文件 @
a73409e4
...
...
@@ -37,7 +37,7 @@
return
true
;
}
if
(
e
.
webkit
&&
window
.
webkit
.
messageHandlers
.
rociOS
)
{
alert
(
r
)
//
alert(r)
window
.
webkit
.
messageHandlers
.
rociOS
.
postMessage
(
r
)
// e.__isIOS = true;
return
true
;
...
...
src/views/activity/activity.vue
浏览文件 @
a73409e4
...
...
@@ -22,10 +22,10 @@ import BackTop from '../../components/common/backTop';
export
default
{
data
(){
return
{
tittle
:
'
活动掠影
'
,
tittle
:
''
,
list
:[],
bgColor
:
'#fff'
,
navTitle
:
'
活动掠影
'
,
navTitle
:
''
,
isBorder
:
true
,
isNavFix
:
true
,
id
:
'1'
,
...
...
@@ -39,13 +39,23 @@ export default {
BackTop
},
mounted
(){
console
.
log
(
this
.
$route
.
query
);
///
console.log(this.$route.query);
this
.
id
=
this
.
$route
.
query
.
categoryId
this
.
getTabData
();
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
},
beforeDestroyed
(){
window
.
removeEventListener
(
'scroll'
,
this
.
scrollFun
)
},
methods
:{
scrollFun
(){
let
scrollTop
=
document
.
documentElement
.
scrollTop
;
this
.
isShowBackTop
=
scrollTop
>
0
?
true
:
false
;
// if(scrollTop > 0){
// this.isShowBackTop = true;
// }
},
goToPage
(
itemData
){
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
rocNative
.
dispatchEventByModuleCode
({
...
...
@@ -54,16 +64,20 @@ export default {
})
},
//查询tab
getTabData
(){
let
_this
=
this
,
parm
=
{
id
:
_this
.
id
id
:
_this
.
id
,
setEntry
:
'headers'
}
_this
.
GET
(
'contents/contentList/tabById'
,
parm
).
then
(
function
(
res
){
if
(
res
.
code
===
'000000'
){
_this
.
tabName
=
res
.
data
.
name
||
''
;
_this
.
navTitle
=
res
.
data
.
name
||
''
;
_this
.
tabName
=
_this
.
tabList
[
0
]
||
''
;
// if(_this.tabList.length>0){
// _this.tabName = _this.tabList[0] || '';
// }
...
...
@@ -79,7 +93,8 @@ export default {
let
_this
=
this
,
parm
=
{
id
:
_this
.
id
,
tabName
:
_this
.
tabName
tabName
:
_this
.
tabName
,
setEntry
:
'headers'
}
// if(_this.tabName != ''){
// parm.tabName = _this.tabName
...
...
@@ -88,10 +103,7 @@ export default {
if
(
res
.
code
===
'000000'
){
_this
.
list
=
res
.
data
.
contentList
&&
res
.
data
.
contentList
.
contentList
||
[];
let
scrollTop
=
document
.
documentElement
.
scrollTop
;
if
(
scrollTop
>
0
){
_this
.
isShowBackTop
=
true
;
}
}
})
}
...
...
@@ -113,12 +125,13 @@ export default {
.activity-item
{
position
:
relative
;
width
:
px2rem
(
345px
);
height
:
px2rem
(
170px
);
/* height: px2rem(170px);*/
margin-top
:px2rem
(
15px
)
;
box-shadow
:
0
px2rem
(
2px
)
px2rem
(
6px
)
RGBA
(
42
,
94
,
161
,
0
.15
);
.img
{
width
:
100%
;
height
:
100%
;
display
:
block
;
}
.time
{
position
:
absolute
;
...
...
src/views/home/home-new.vue
浏览文件 @
a73409e4
...
...
@@ -8,9 +8,9 @@
<YqyHomeHeader
:msgCount=
"msgCount"
/>
</div>
<div
class=
"swiper"
>
<mt-swipe
:auto=
"0"
:s
topPropagation=
"stopPropagation"
:prevent=
"stopPropagation"
:s
peed=
"speedSwiper"
>
<mt-swipe-item
v-for=
"(item,index) in listSwiper"
:key=
"index"
>
<img
:src=
"item.picturePath"
/>
<mt-swipe
:auto=
"0"
:speed=
"speedSwiper"
>
<mt-swipe-item
v-for=
"(item,index) in listSwiper"
:key=
"index"
>
<img
:src=
"item.picturePath"
@
click=
"goLinkByswiper(item)"
/>
</mt-swipe-item>
<!--
<mt-swipe-item>
<img
src=
"../../images/552064153@2x.png"
/>
...
...
@@ -126,12 +126,13 @@ export default {
}
window
.
__getUserInfo
=
function
(
parm
){
// alert("11111");
// alert(parm);
// let params = JSON.parse(parm);
_this
.
systemType
=
parm
.
systemType
;
_this
.
appVersion
=
parm
.
appVersion
;
_this
.
userToken
=
parm
.
userToken
;
alert
(
parm
.
userToken
);
///
alert(parm.userToken);
if
(
!!
_this
.
systemType
&&
!!
_this
.
appVersion
){
_this
.
getSwiper
();
}
...
...
@@ -140,7 +141,7 @@ export default {
},
mounted
(){
this
.
listSwiper
=
[{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/04/18/20180418110556320-5fdbc235.jpg"
,
"pictureName"
:
"云鹊医典"
,
"pictureIntro"
:
"242"
,
"link"
:
"https://test
-file.yunqueyi.comnull
"
,
"moduleCode"
:
"M015"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.com/File/2.jpeg"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/09/18/20180918152451538-0e8f6d4e.png"
,
"pictureName"
:
"chc大会"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/chcNew.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/chcNew.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
"chc大会阿萨德发"
,
"param2"
:
"阿萨德飞机看看哈看电视发射的健康发哈思考多久发货咳嗽的好达克赛德啊"
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/16/20181016105038941-a77a2121.png"
,
"pictureName"
:
"老年病竞赛"
,
"pictureIntro"
:
null
,
"link"
:
"https://dev-phome.yunqueyi.com/gdcHG.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://dev-phome.yunqueyi.com/gdcHG.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/15/20181015105400428-b0715da5.png"
,
"pictureName"
:
"眼科专场"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/ykzc.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/ykzc.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/21/20181021141114910-4349f2bb.jfif"
,
"pictureName"
:
"大赛"
,
"pictureIntro"
:
null
,
"link"
:
"https://dev-phome.yunqueyi.com/chcNew.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R004"
,
"params"
:
"https://dev-phome.yunqueyi.com/chcNew.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/08/29/20180829153915489-623841ff.png"
,
"pictureName"
:
"让前沿科技助力智慧管理"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/psa.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/psa.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/17/2018101713591225-9fd47e86.jpg"
,
"pictureName"
:
"CHC测试大赛风采回顾风采"
,
"pictureIntro"
:
null
,
"link"
:
"https://test-file.yunqueyi.comnull"
,
"moduleCode"
:
"M027"
,
"type"
:
4
,
"userRoleList"
:
"R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
"CHC测试大赛风采回顾风采"
,
"param2"
:
"2018年8月由中华医学会、国家心血管中心等联合主办的中国心脏大会 (CHC) 在京举行。
\n
本次大会汇集了国内外心血管领域的顶尖专家,对心血管科各个疾病的最新临床研究进展,做了精彩的学术报告和经验分享。"
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/16/20181016134846454-1b78fd74.png"
,
"pictureName"
:
"学霸带你来学习"
,
"pictureIntro"
:
null
,
"link"
:
"https://test-file.yunqueyi.comnull"
,
"moduleCode"
:
"M020"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/comp.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/09/27/20180927140657640-d507fd69.png"
,
"pictureName"
:
"奥测未来,精准之测"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/nde.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/nde.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/15/2018101513463874-239e7499.jpg"
,
"pictureName"
:
"链接测试"
,
"pictureIntro"
:
null
,
"link"
:
"http://10.177.10.121:8080/web/index.html#/gpranking"
,
"moduleCode"
:
""
,
"type"
:
1
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
}]
this
.
listSwiper
=
[{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/04/18/20180418110556320-5fdbc235.jpg"
,
"pictureName"
:
"云鹊医典"
,
"pictureIntro"
:
"242"
,
"link"
:
"https://test
1-phome.yunqueyi.com/psa.js
"
,
"moduleCode"
:
"M015"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.com/File/2.jpeg"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/09/18/20180918152451538-0e8f6d4e.png"
,
"pictureName"
:
"chc大会"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/chcNew.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/chcNew.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
"chc大会阿萨德发"
,
"param2"
:
"阿萨德飞机看看哈看电视发射的健康发哈思考多久发货咳嗽的好达克赛德啊"
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/16/20181016105038941-a77a2121.png"
,
"pictureName"
:
"老年病竞赛"
,
"pictureIntro"
:
null
,
"link"
:
"https://dev-phome.yunqueyi.com/gdcHG.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://dev-phome.yunqueyi.com/gdcHG.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/15/20181015105400428-b0715da5.png"
,
"pictureName"
:
"眼科专场"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/ykzc.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/ykzc.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/21/20181021141114910-4349f2bb.jfif"
,
"pictureName"
:
"大赛"
,
"pictureIntro"
:
null
,
"link"
:
"https://dev-phome.yunqueyi.com/chcNew.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R004"
,
"params"
:
"https://dev-phome.yunqueyi.com/chcNew.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/08/29/20180829153915489-623841ff.png"
,
"pictureName"
:
"让前沿科技助力智慧管理"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/psa.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/psa.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/17/2018101713591225-9fd47e86.jpg"
,
"pictureName"
:
"CHC测试大赛风采回顾风采"
,
"pictureIntro"
:
null
,
"link"
:
"https://test-file.yunqueyi.comnull"
,
"moduleCode"
:
"M027"
,
"type"
:
4
,
"userRoleList"
:
"R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
"CHC测试大赛风采回顾风采"
,
"param2"
:
"2018年8月由中华医学会、国家心血管中心等联合主办的中国心脏大会 (CHC) 在京举行。
\n
本次大会汇集了国内外心血管领域的顶尖专家,对心血管科各个疾病的最新临床研究进展,做了精彩的学术报告和经验分享。"
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/10/16/20181016134846454-1b78fd74.png"
,
"pictureName"
:
"学霸带你来学习"
,
"pictureIntro"
:
null
,
"link"
:
"https://test-file.yunqueyi.comnull"
,
"moduleCode"
:
"M020"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/comp.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/png/2018/09/27/20180927140657640-d507fd69.png"
,
"pictureName"
:
"奥测未来,精准之测"
,
"pictureIntro"
:
null
,
"link"
:
"https://test1-phome.yunqueyi.com/nde.js"
,
"moduleCode"
:
"M025"
,
"type"
:
4
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"https://test1-phome.yunqueyi.com/nde.js"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
},{
"picturePath"
:
"https://test-file.yunqueyi.com/image/jpeg/2018/10/15/2018101513463874-239e7499.jpg"
,
"pictureName"
:
"链接测试"
,
"pictureIntro"
:
null
,
"link"
:
"http://10.177.10.121:8080/web/index.html#/gpranking"
,
"moduleCode"
:
""
,
"type"
:
1
,
"userRoleList"
:
"R001,R002,R003,R004"
,
"params"
:
"0"
,
"hasBannerDetail"
:
0
,
"bannerPicPath"
:
"https://test-file.yunqueyi.comnull"
,
"shareUrl"
:
""
,
"medicalDisplayType"
:
null
,
"param1"
:
null
,
"param2"
:
null
}]
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
this
.
getUserInfo
();
this
.
getUpdateData
();
...
...
@@ -176,12 +177,50 @@ export default {
})
},
//轮播图跳转
goLinkByswiper
(
item
){
///alert("0000");
console
.
log
(
item
);
let
itemData
=
{
"title"
:
item
.
name
,
"imageUrl"
:
""
,
"appModuleInfo"
:{
"code"
:
"M100"
,
"type"
:
4
,
"name"
:
"名师风采个人展示"
,
"paramFlag"
:
1
,
"paramList"
:[
{
"key"
:
"jsName"
,
"value"
:
item
.
link
,
"type"
:
4
,
"seqNo"
:
1
},
// {
// "key":keyName,
// "value":`${item.link}`,
// "type":1,
// "seqNo":2
// }
]
}
};
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
paramList
})
},
//有更新数据
getUpdateData
(){
let
_this
=
this
,
para
=
{
token
:
_this
.
token
token
:
_this
.
token
,
setEntry
:
'headers'
}
//alert("000");
this
.
GET
(
'contents/courses/queryCourseCount'
,
para
).
then
(
res
=>
{
...
...
@@ -213,21 +252,25 @@ export default {
this
.
showNewCorse
=
false
;
}
else
{
//alert("000");
this
.
showNewCorse
=
true
;
if
(
_this
.
updateTotal
.
length
>
0
){
this
.
showNewCorse
=
true
;
}
}
},
scrollFun
(){
let
scrollTop
=
document
.
body
.
scrollTop
||
document
.
documentElement
.
scrollTop
;
this
.
showNewCorse
=
false
;
clearTimeout
(
this
.
scrollTimer
);
if
(
this
.
hideNewCourse
){
this
.
scrollTop
=
scrollTop
;
clearTimeout
(
this
.
scrollTimer
);
this
.
scrollTimer
=
setTimeout
(
this
.
scrollEndFun
,
1
00
);
this
.
scrollTimer
=
setTimeout
(
this
.
scrollEndFun
,
2
00
);
}
if
(
scrollTop
>
0
&&
this
.
isIntStyle
==
'font-style pull-down'
){
if
(
this
.
isIntStyle
==
'font-style pull-down'
){
this
.
isIntStyle
=
'font-style pull-up'
;
this
.
isShowEvluat
=
false
;
}
...
...
@@ -299,7 +342,8 @@ export default {
let
_this
=
this
,
para
=
{
category
:
1
,
position
:
2
position
:
2
,
setEntry
:
'headers'
}
this
.
GET
(
'contents/HomeColumn/Information'
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
...
...
@@ -312,10 +356,6 @@ export default {
//中间栏跳转
goToPatholo
(
itemData
){
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
// alert(JSON.stringify({
// modeCode: itemData.appModuleInfo.code,
// jsonString: paramList
// }))
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
paramList
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录