Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
6cb6c937
提交
6cb6c937
编写于
11月 13, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
22a02b79
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
21 行增加
和
20 行删除
+21
-20
home-new.vue
src/views/home/home-new.vue
+21
-20
未找到文件。
src/views/home/home-new.vue
浏览文件 @
6cb6c937
...
...
@@ -98,8 +98,7 @@ export default {
hideNewCourse
:
true
,
updateTotal
:
0
,
msgCount
:
''
,
systemType
:
''
,
appVersion
:
''
,
userToken
:
''
,
searchFix
:
false
,
statusBarHeight
:
20
,
...
...
@@ -128,17 +127,17 @@ export default {
_this
.
msgCount
=
params
.
msgNum
||
''
;
}
window
.
__getUserInfo
=
function
(
parm
){
///userMobile userName userToken systemType(Andriod: 1, iOS: 2) appVersion doctorId
_this
.
systemType
=
parm
.
systemType
;
_this
.
appVersion
=
parm
.
appVersion
;
_this
.
userToken
=
parm
.
userToken
;
_this
.
userMobile
=
parm
.
userMobile
;
//
window.__getUserInfo = function(parm){
//
///userMobile userName userToken systemType(Andriod: 1, iOS: 2) appVersion doctorId
//
_this.systemType = parm.systemType;
//
_this.appVersion = parm.appVersion;
//
_this.userToken = parm.userToken;
//
_this.userMobile = parm.userMobile;
if
(
!!
_this
.
systemType
&&
!!
_this
.
appVersion
){
_this
.
getSwiper
();
}
}
//
if(!!_this.systemType && !!_this.appVersion){
//
_this.getSwiper();
//
}
//
}
window
.
__getStatusBarHeight
=
function
(
parm
){
_this
.
statusBarHeight
=
parm
.
statusBarHeight
}
...
...
@@ -146,13 +145,15 @@ export default {
},
mounted
(){
console
.
log
(
this
);
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
this
.
getUserInfo
();
this
.
getStatusHight
();
this
.
getUpdateData
();
this
.
getMiddel
();
if
(
!!
this
.
systemType
&&
!!
this
.
appVersion
){
this
.
getSwiper
();
}
// this.getSwiper();
},
...
...
@@ -186,11 +187,11 @@ export default {
},
//获取版本号
getUserInfo
(){
rocNative
.
getUserInfo
({
__funcName
:
'__getUserInfo'
})
},
//
getUserInfo(){
//
rocNative.getUserInfo({
//
__funcName: '__getUserInfo'
//
})
//
},
//轮播图跳转
goLinkByswiper
(
item
){
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录