Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-new-compaign
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-new-compaign
提交
43842e07
提交
43842e07
编写于
3月 17, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
头部样式调整
上级
5a618f91
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
35 行增加
和
9 行删除
+35
-9
status-bar.vue
components/bussiness/status-bar.vue
+4
-3
index.vue
components/header/index.vue
+1
-1
index.vue
pages/index.vue
+30
-5
head_bg_new.png
static/images/head_bg_new.png
+0
-0
未找到文件。
components/bussiness/status-bar.vue
浏览文件 @
43842e07
...
...
@@ -72,9 +72,9 @@ export default {
if
(
minValue
<
100
)
{
htmlText
=
`还差<span style="color">
${
100
-
minValue
}
</span>分,就有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦!`
}
else
if
(
minValue
<
200
)
{
htmlText
=
`已经有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦,继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
htmlText
=
`已经有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦,
</br>
继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
}
else
if
(
minValue
<
300
)
{
htmlText
=
`已经有资格瓜分<span style="color: #FFE8A5">300</span>万云鹊豆啦,继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
htmlText
=
`已经有资格瓜分<span style="color: #FFE8A5">300</span>万云鹊豆啦,
</br>
继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
}
else
{
htmlText
=
`天啦撸,你有资格瓜分500万云鹊豆哦!`
}
...
...
@@ -98,12 +98,13 @@ export default {
<
style
lang=
"less"
scoped
>
.status-wrapper {
background: #9A1F36;
height:
88
px;
height:
100
px;
.status-text {
text-align: center;
font-size: 12px;
padding: 10px 0 13px;
color: #fff;
height: 35px;
.no-login {
color: #FFE8A5
}
...
...
components/header/index.vue
浏览文件 @
43842e07
...
...
@@ -5,7 +5,7 @@
<img
:src=
"headerLeftIcon"
/>
</div>
<div
:class=
"
{ active: isScroll }" class="content title">
<span>
{{
shareTitle1
}}
</span>
<span>
国际医生节特辑活动
</span>
</div>
<div
v-show=
"isShowRightIcon"
...
...
pages/index.vue
浏览文件 @
43842e07
...
...
@@ -194,12 +194,38 @@ export default {
_this
.
getUserInfo
();
};
_this
.
getActivityTime
();
let
timeOutId
=
null
;
window
.
addEventListener
(
'scroll'
,
()
=>
{
if
(
timeOutId
)
{
clearTimeout
(
timeOutId
);
}
timeOutId
=
setTimeout
(
this
.
handleScroll
,
50
);
},
false
);
_this
.
$sendBuriedData
({
action
:
'查看量'
,
component_tag
:
'360#360000'
});
},
methods
:
{
handleScroll
()
{
// const contentDiv = document.getElementsByClassName('content-box')[1];
var
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
// console.log(scrollTop)
if
(
scrollTop
>
25
)
{
this
.
isScroll
=
true
;
}
else
{
this
.
isScroll
=
false
;
}
},
// 获取服务器当前时间
getActivityTime
()
{
getActivityTime
().
then
(
res
=>
{
...
...
@@ -475,8 +501,8 @@ export default {
.top-container {
position: relative;
width: 100%;
height:
430
px;
background-image:url('../static/images/head_bg.png');
height:
264
px;
background-image:url('../static/images/head_bg
_new
.png');
background-size: 100% 100%;
.rule {
position: absolute;
...
...
@@ -491,7 +517,7 @@ export default {
.progress-container {
position: absolute;
left: 0;
top:
33
0px;
top:
19
0px;
width: 94%;
margin: 0px 10px 15px;
.score-info {
...
...
@@ -533,7 +559,6 @@ export default {
}
.progress-bar {
padding: 5px 17px;
height: 87px;
border-radius: 0px 0px 10px 10px;
}
}
...
...
@@ -542,7 +567,7 @@ export default {
width: 100%;
}
.title-text.st {
margin-top:
65
px;
margin-top:
90
px;
}
.activity-step {
margin: 0 10px 15px;
...
...
static/images/head_bg_new.png
0 → 100644
浏览文件 @
43842e07
261.8 KB
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录