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
提交
730c9724
提交
730c9724
编写于
11月 22, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
预热页面ui图新增
上级
9873606b
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
134 行增加
和
86 行删除
+134
-86
index.less
assets/style/index.less
+112
-0
index.vue
pages/index.vue
+22
-86
未找到文件。
assets/style/index.less
0 → 100644
浏览文件 @
730c9724
.index-wrap{
div{
width: 375px;
img{
width: 375px;
display: block;
}
}
.wrap-join{
height: 72.5px;
background: url(../img/img4.png) no-repeat center center;
background-size: 100% 100%;
.wrap-count{
width: 325px;
height: 72.5px;
display: flex;
margin: 0 auto;
h1{
margin-top: 9px;
font-size:23px;
font-weight:700;
color:rgba(255,255,255,1);
line-height:32.5px;
text-align: center;
}
h5{
font-size:14px;
font-weight:400;
color:rgba(255,255,255,0.59);
line-height:20px;
text-align: center;
}
}
}
.btn-app-share{
img{
width: 312px;
height: 51.5px;
margin: 0 auto;
}
}
.btn-appoint{
height: 94.5px;
background: url(../img/img5.png) no-repeat center center;
background-size: 100% 100%;
img{
padding-top: 15px;
}
}
.btn-share{
height: 166px;
background: url(../img/img11.png) no-repeat center center;
background-size: 100% 100%;
img{
padding-top: 81px;
}
}
.rule-show{
background:rgba(254,124,86,1);
.bird{
width: 22.5px;
height: 28.5px;
margin: 0 auto;
padding: 24px 0;
}
.rule-bg{
width:345px;
margin:0 auto;
box-sizing: border-box;
background:rgba(236,107,69,1);
border-radius:12px;
padding: 15px;
section{
h1{
font-size:16px;
font-weight:700;
color:rgba(255,234,136,1);
line-height:18px;
margin-bottom: 12px;
}
p{
font-size:14px;
font-weight:500;
color:rgba(255,246,202,1);
line-height:19px;
margin-bottom: 9px;
span{
font-weight:700;
}
}
}
.margin-top-20{
margin-top: 20px;
}
.line{
margin-top: 20px;
width:309.5px;
height:.5px;
background: #FFF6CA;
}
.btn-rule{
width: 90px;
height: 15px;
font-size:15px;
color:rgba(255,255,255,1);
line-height:15px;
margin: 0 auto;
padding: 16.5px 0 1.5px 0;
}
}
}
}
\ No newline at end of file
pages/index.vue
浏览文件 @
730c9724
<
template
>
<section
class=
"index-wrap"
>
<div>
<div
id=
"imgHeight1"
>
<img
src=
"../assets/img/img1.png"
/>
<img
src=
"../assets/img/img2.png"
/>
<img
src=
"../assets/img/img3.png"
/>
</div>
<div
class=
"wrap-join"
>
<div
class=
"wrap-join"
id=
"imgHeight2"
>
<div
class=
"wrap-count"
>
<div>
<h1>
2394847
</h1>
...
...
@@ -30,12 +30,19 @@
<div
class=
"rule-show"
>
<img
src=
"../assets/img/rule_title.png"
/>
<div
class=
"rule-bg"
>
<h1>
每日任务,攒勤奋分
</h1>
<p><span>
比赛时间:
</span>
2019.12.16 10:00-2019.12.30 00:00
</p>
<p><span>
医生机构:
</span>
根据机构内注册医生的勤奋分总额排名,活动结束后机构榜单指定名次可获得云鹊豆,榜单第一可获得云鹊机构奖荣誉。
</p>
<p><span>
医生个人:
</span>
完成每日学习任务可积攒勤奋分和云鹊豆,每日个人排行榜前十可获得相应实物奖品,个人累计排行第一获得云鹊勤奋之星荣誉、iphone11(64G)一台及云鹊豆奖品。
</p>
<h1>
公布排名
</h1>
<p></p>
<section>
<h1>
每日任务,攒勤奋分
</h1>
<p><span>
比赛时间:
</span>
2019.12.16 10:00-2019.12.30 00:00
</p>
<p><span>
医生机构:
</span>
根据机构内注册医生的勤奋分总额排名,活动结束后机构榜单指定名次可获得云鹊豆,榜单第一可获得云鹊机构奖荣誉。
</p>
<p><span>
医生个人:
</span>
完成每日学习任务可积攒勤奋分和云鹊豆,每日个人排行榜前十可获得相应实物奖品,个人累计排行第一获得云鹊勤奋之星荣誉、iphone11(64G)一台及云鹊豆奖品。
</p>
</section>
<section
class=
"margin-top-20"
>
<h1>
公布排名
</h1>
<p><span>
公布时间:
</span>
2019.12.30 10:00-2020.1.5
</p>
<p>
公布个人获奖名单和机构获奖名单
</p>
</section>
<div
class=
"line"
></div>
<div
class=
"btn-rule"
>
查看规则详情
</div>
</div>
<img
class=
"bird"
src=
"../assets/img/bird.png"
>
</div>
...
...
@@ -62,88 +69,17 @@ export default {
},
created
()
{
},
mounted
()
{},
mounted
()
{
const
imgHeight1
=
document
.
getElementById
(
'imgHeight1'
);
// const imgHeight2 = document.getElementById('imgHeight2');
console
.
log
(
imgHeight1
.
offsetHeight
)
// console.log(this.$refs.imgHeight1)
},
methods
:
{
},
}
</
script
>
<
style
lang=
"less"
>
.index-wrap{
div{
width: 375px;
img{
width: 375px;
display: block;
}
}
.wrap-join{
height: 72.5px;
background: url(../assets/img/img4.png) no-repeat center center;
background-size: 100% 100%;
.wrap-count{
width: 325px;
height: 72.5px;
display: flex;
margin: 0 auto;
h1{
margin-top: 9px;
font-size:23px;
font-weight:700;
color:rgba(255,255,255,1);
line-height:32.5px;
text-align: center;
}
h5{
font-size:14px;
font-weight:400;
color:rgba(255,255,255,0.59);
line-height:20px;
text-align: center;
}
}
}
.btn-app-share{
img{
width: 312px;
height: 51.5px;
margin: 0 auto;
}
}
.btn-appoint{
height: 94.5px;
background: url(../assets/img/img5.png) no-repeat center center;
background-size: 100% 100%;
img{
padding-top: 15px;
}
}
.btn-share{
height: 166px;
background: url(../assets/img/img11.png) no-repeat center center;
background-size: 100% 100%;
img{
padding-top: 81px;
}
}
.rule-show{
background:rgba(254,124,86,1);
.bird{
width: 22.5px;
height: 28.5px;
margin: 0 auto;
padding: 24px 0;
}
.rule-bg{
width:345px;
height:368.5px;
margin:0 auto;
box-sizing: border-box;
background:rgba(236,107,69,1);
border-radius:12px;
padding: 15px;
}
}
}
@import '../assets/style/index.less';
</
style
>
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录