Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
Y
year-end-activitiy
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.foundation.frontend
year-end-activitiy
提交
b3520c4f
提交
b3520c4f
编写于
12月 05, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
联调活动首页时间接口
上级
f6ba965b
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
25 行增加
和
7 行删除
+25
-7
index.vue
components/h5header/index.vue
+14
-1
in-activity.vue
pages/in-activity.vue
+11
-6
未找到文件。
components/h5header/index.vue
浏览文件 @
b3520c4f
...
@@ -19,6 +19,10 @@
...
@@ -19,6 +19,10 @@
export
default
{
export
default
{
name
:
'h5header'
,
name
:
'h5header'
,
props
:
{
props
:
{
isOpacity
:
{
// 是否需要透明背景
type
:
Boolean
,
default
:
true
},
scrollVal
:
{
// 实际滚动的距离
scrollVal
:
{
// 实际滚动的距离
type
:
Number
,
type
:
Number
,
default
:
25
default
:
25
...
@@ -60,6 +64,7 @@
...
@@ -60,6 +64,7 @@
}
}
},
},
mounted
(){
mounted
(){
this
.
isScroll
=
!
this
.
isOpacity
;
this
.
setHeaderHeight
();
this
.
setHeaderHeight
();
if
(
!
this
.
setedScroll
){
if
(
!
this
.
setedScroll
){
this
.
scrollHandleOwn
();
this
.
scrollHandleOwn
();
...
@@ -68,7 +73,13 @@
...
@@ -68,7 +73,13 @@
watch
:
{
watch
:
{
scrollVal
(
val
){
scrollVal
(
val
){
this
.
setScrollHandle
(
val
);
this
.
setScrollHandle
(
val
);
}
},
isScroll
(
val
){
if
(
val
){
this
.
leftIcon
=
leftimg2
;
this
.
rightIcon
=
rightimg2
;
}
}
},
},
methods
:
{
methods
:
{
// 从APP获取电池栏高度并设置高度
// 从APP获取电池栏高度并设置高度
...
@@ -83,7 +94,9 @@
...
@@ -83,7 +94,9 @@
this
.
bgColor
=
'#ccc'
;
this
.
bgColor
=
'#ccc'
;
this
.
statusBarHeight
=
res
.
statusBarHeight
/
dpr
;
this
.
statusBarHeight
=
res
.
statusBarHeight
/
dpr
;
}
}
this
.
$emit
(
'getHeaderHeight'
,
this
.
statusBarHeight
+
44
);
})
})
this
.
$emit
(
'getHeaderHeight'
,
20
+
44
);
},
},
goBack
(){
goBack
(){
this
.
$sendBuriedData
({
this
.
$sendBuriedData
({
...
...
pages/in-activity.vue
浏览文件 @
b3520c4f
<
template
>
<
template
>
<div
class=
"in-activity-wrap"
>
<div
class=
"in-activity-wrap"
:style=
"
{paddingTop: padTop + 'px'}"
>
<h5header
<h5header
v-if=
"!isWeb"
v-if=
"!isWeb"
title=
"云鹊奖2019"
title=
"云鹊奖2019"
:baseShowHeight=
"25"
:baseShowHeight=
"0"
:isOpacity=
"false"
:shareObj=
"shareObj"
:shareObj=
"shareObj"
:isCheckAuth=
"true"
:isCheckAuth=
"true"
@
checkAuth=
"handleLoginCheck"
@
checkAuth=
"handleLoginCheck"
@
getHeaderHeight=
"getHeaderHeight"
/>
/>
<!-- 顶部的四个阶段 进度条 -->
<!-- 顶部的四个阶段 进度条 -->
<ul
class=
"top-process-bar"
>
<ul
class=
"top-process-bar"
>
...
@@ -279,7 +281,8 @@
...
@@ -279,7 +281,8 @@
bean
:
5
,
bean
:
5
,
},
},
isWeb
:
false
,
isWeb
:
false
,
shareObj
:
{}
shareObj
:
{},
padTop
:
0
}
}
},
},
components
:
{
components
:
{
...
@@ -421,8 +424,8 @@
...
@@ -421,8 +424,8 @@
},
},
getUserActivityInfo
()
{
// 获取用户及参加活动的具体信息
getUserActivityInfo
()
{
// 获取用户及参加活动的具体信息
getUserScoreInfo
().
then
(
res
=>
{
getUserScoreInfo
().
then
(
res
=>
{
alert
(
'获取用户及分数信息。。。'
);
//
alert('获取用户及分数信息。。。');
alert
(
JSON
.
stringify
(
res
));
//
alert(JSON.stringify(res));
vm
.
doctorInfo
=
res
.
data
;
vm
.
doctorInfo
=
res
.
data
;
});
});
},
},
...
@@ -967,7 +970,9 @@
...
@@ -967,7 +970,9 @@
}
}
return
text
;
return
text
;
},
},
getHeaderHeight
(
val
){
this
.
padTop
=
val
;
},
},
},
}
}
</
script
>
>
</
script
>
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录