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
提交
874f8d25
提交
874f8d25
编写于
12月 02, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
昨日获奖名单静态页面
上级
cfeaa4fc
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
176 行增加
和
5 行删除
+176
-5
normal-header.vue
components/normal-header.vue
+26
-5
index.less
pages/yesterday-prize/index.less
+96
-0
index.vue
pages/yesterday-prize/index.vue
+54
-0
未找到文件。
components/normal-header.vue
浏览文件 @
874f8d25
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<header
class=
"header-container"
>
<header
class=
"header-container"
>
<img
@
click=
"goBack"
src=
"~/assets/img/icon-back.png"
alt=
""
>
<img
@
click=
"goBack"
src=
"~/assets/img/icon-back.png"
alt=
""
>
{{
title
}}
{{
title
}}
<div
class=
"btn-right"
v-if=
"rightText"
>
{{
rightText
}}
</div>
</header>
</header>
</section>
</section>
</
template
>
</
template
>
...
@@ -18,6 +19,12 @@
...
@@ -18,6 +19,12 @@
return
''
return
''
}
}
},
},
rightText
:
{
type
:
String
,
default
:
function
()
{
return
''
}
},
backType
:
{
backType
:
{
type
:
Number
,
type
:
Number
,
default
:
function
()
{
default
:
function
()
{
...
@@ -69,15 +76,29 @@
...
@@ -69,15 +76,29 @@
background: #ffffff;
background: #ffffff;
color: #333333;
color: #333333;
font-size: 18px;
font-size: 18px;
display: flex;
/*
display: flex;
align-items: center;
align-items: center;
*/
line-height: 44Px;
line-height: 44Px;
text-align: center;
position: relative;
img {
img {
display: block;
width: 25px;
width: 25px;
height: 25px;
height: 25px;
margin-left: 15px;
position: absolute;
margin-right: 111.5px;
left: 13px;
top: 9px
}
/* .title {
margin: 0 auto;
}*/
.btn-right {
position: absolute;
right: 14.5px;
bottom: 13px;
font-size: 13px;
line-height: 14px;
color: #373839;
}
}
}
}
}
}
...
...
pages/yesterday-prize/index.less
0 → 100644
浏览文件 @
874f8d25
.yesterday-prize-wrap {
.prize-list {
padding-left: 25px ;
.item {
display: flex;
align-items: center;
// padding: 21px 0;
.ranking-icon {
width: 25px;
height: 30px;
}
.item-right {
flex: 1;
display: flex;
align-items: center;
position: relative;
padding: 21px 15px 21px 20px;
margin-left: 5px;
.icon-num {
width: 25px;
color: #373839;
font-size: 15px;
font-weight: 700;
text-align: center;
}
.doctor-photo {
width: 35px;
height: 35px;
border-radius: 100%;
}
.doctor-info {
margin-left: 10px;
.name {
color: #333333;
font-size: 16px;
font-weight: 700;
width: 130px;
line-height: 16px;
}
.grade {
font-size: 13px;
color: #979899;
line-height: 13px;
margin-top: 8px;
span {
color: #FD6239;
}
}
}
.awards {
color: #373839;
font-weight: 700;
font-size: 13px;
margin-left: auto;
}
}
.item-right:after {
position: absolute;
content: " ";
left: 0;
bottom: 0;
right: 0;
height: 1PX;
border-bottom: 1PX solid #F0F1F2;
color: #F0F1F2;
-webkit-transform-origin: 0 100%;
-ms-transform-origin: 0 100%;
transform-origin: 0 100%;
-webkit-transform: scaleY(0.5);
-ms-transform: scaleY(0.5);
transform: scaleY(0.5);
}
}
}
.footer-btn {
width: 100%;
height: 40px;
padding: 5px 0;
box-shadow:0px -1px 0px 0px rgba(237,237,237,1);
position: fixed;
bottom: 0;
.btn {
width: 345px;
height: 40px;
margin: 0 auto;
line-height: 40px;
text-align: center;
background: linear-gradient(270deg,rgba(255,88,36,1) 0%,rgba(254,163,86,1) 100%);
border-radius: 20px;
color: #FFFFFF;
font-weight: 700;
font-size: 15px;
}
}
}
\ No newline at end of file
pages/yesterday-prize/index.vue
0 → 100644
浏览文件 @
874f8d25
<
template
>
<section
class=
"yesterday-prize-wrap"
>
<normal-header
:title=
"title"
:rightText=
"rightText"
:barHeight=
"barHeight"
:barColor=
"barColor"
:backType=
"1"
>
</normal-header>
<div
class=
"prize-list"
:style=
"
{ marginTop: `${44+barHeight}Px`}">
<div
class=
"item"
>
<img
src=
"~/assets/img/person-ranking/icon-copper.png"
alt=
""
class=
"ranking-icon"
>
<div
class=
"item-right"
>
<img
src=
"https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg"
alt=
""
class=
"doctor-photo"
>
<div
class=
"doctor-info"
>
<p
class=
"name"
>
张医生
</p>
<p
class=
"grade"
>
昨日勤奋分:
<span>
1234
</span></p>
</div>
<p
class=
"awards"
>
小米电视机1台
</p>
</div>
</div>
</div>
<div
class=
"footer-btn"
>
<div
class=
"btn"
>
今日我要拿奖
</div>
</div>
</section>
</
template
>
<
script
>
import
NormalHeader
from
'@/components/normal-header'
export
default
{
name
:
"index"
,
components
:
{
NormalHeader
},
data
()
{
return
{
showPop
:
false
,
title
:
'昨日获奖名单'
,
barHeight
:
0
,
barColor
:
'#fff'
,
rightText
:
'如何领奖'
};
},
mounted
()
{
},
methods
:
{},
}
</
script
>
<
style
scoped
lang=
"less"
>
@import 'index.less';
</
style
>
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录