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
提交
0775fa31
提交
0775fa31
编写于
12月 11, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev-stage2-20191125' into dev-stage2-20191125
上级
08dc1c4a
d47c3e93
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
84 行增加
和
8 行删除
+84
-8
index.less
pages/hospital-ranking/index.less
+17
-0
index.vue
pages/hospital-ranking/index.vue
+16
-2
index.vue
pages/invite-details/index.vue
+3
-3
index.vue
pages/person-detail/index.vue
+1
-1
index.less
pages/person-ranking/index.less
+17
-0
index.vue
pages/person-ranking/index.vue
+8
-1
index.less
pages/yesterday-prize/index.less
+17
-1
index.vue
pages/yesterday-prize/index.vue
+5
-0
未找到文件。
pages/hospital-ranking/index.less
浏览文件 @
0775fa31
...
@@ -160,6 +160,23 @@
...
@@ -160,6 +160,23 @@
}
}
}
}
}
}
.no-more {
height: 62px;
display: flex;
justify-content: center;
align-items: center;
.line {
display: inline-block;
width: 84px;
height: 1px;
background:#F7F7F7;
}
.text {
color: #BEC2CC;
font-size: 13px;
margin: 0 8px;
}
}
.no-data {
.no-data {
margin-top: 112px;
margin-top: 112px;
img {
img {
...
...
pages/hospital-ranking/index.vue
浏览文件 @
0775fa31
...
@@ -60,19 +60,29 @@
...
@@ -60,19 +60,29 @@
<span
class=
"marginAuto"
>
{{
activeBtnType
?
'机构勤奋分'
:
'贡献勤奋分'
}}
</span>
<span
class=
"marginAuto"
>
{{
activeBtnType
?
'机构勤奋分'
:
'贡献勤奋分'
}}
</span>
</div>
</div>
<div
class=
"ranking-list"
:style=
"
{marginBottom: `${50+homeIndicatorHeight}` + 'Px'}">
<div
class=
"ranking-list"
:style=
"
{marginBottom: `${50+homeIndicatorHeight}` + 'Px'}">
<div
class=
"item"
v-if=
"activeBtnType"
v-for=
"(itemH,indexH) in
hospitalRanking.topRankList
"
:key=
"indexH"
>
<div
class=
"item"
v-if=
"activeBtnType"
v-for=
"(itemH,indexH) in
topRankListH
"
:key=
"indexH"
>
<img
v-if=
"indexH
<
=
2
"
:src=
"dealRankIcon(indexH)"
alt=
""
class=
"ranking-icon"
>
<img
v-if=
"indexH
<
=
2
"
:src=
"dealRankIcon(indexH)"
alt=
""
class=
"ranking-icon"
>
<p
v-else
class=
"icon-num"
>
{{
indexH
+
1
}}
</p>
<p
v-else
class=
"icon-num"
>
{{
indexH
+
1
}}
</p>
<p
class=
"hospital-name"
>
{{
itemH
.
name
}}
</p>
<p
class=
"hospital-name"
>
{{
itemH
.
name
}}
</p>
<p
class=
"num"
>
{{
itemH
.
score
}}
</p>
<p
class=
"num"
>
{{
itemH
.
score
}}
</p>
</div>
</div>
<div
class=
"item"
v-if=
"!activeBtnType"
v-for=
"(itemD,indexD) in
contributionRanking.topRankList
"
:key=
"indexD"
>
<div
class=
"item"
v-if=
"!activeBtnType"
v-for=
"(itemD,indexD) in
topRankListC
"
:key=
"indexD"
>
<img
v-if=
"indexD
<
=
2
"
:src=
"dealRankIcon(indexD)"
alt=
""
class=
"ranking-icon"
>
<img
v-if=
"indexD
<
=
2
"
:src=
"dealRankIcon(indexD)"
alt=
""
class=
"ranking-icon"
>
<p
v-else
class=
"icon-num"
>
{{
indexD
+
1
}}
</p>
<p
v-else
class=
"icon-num"
>
{{
indexD
+
1
}}
</p>
<img
:src=
"itemD.avatarImageUrl"
alt=
""
class=
"doctor-photo"
>
<img
:src=
"itemD.avatarImageUrl"
alt=
""
class=
"doctor-photo"
>
<p
class=
"doctor-name"
>
{{
itemD
.
name
}}
</p>
<p
class=
"doctor-name"
>
{{
itemD
.
name
}}
</p>
<p
class=
"num"
>
{{
itemD
.
score
}}
</p>
<p
class=
"num"
>
{{
itemD
.
score
}}
</p>
</div>
</div>
<div
class=
"no-more"
v-if=
"activeBtnType&&topRankListH.length>=10"
>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
</div>
<div
class=
"no-more"
v-if=
"!activeBtnType&&topRankListC.length>=10"
>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"main-content"
v-if=
"noContributionRanking"
>
<div
class=
"main-content"
v-if=
"noContributionRanking"
>
...
@@ -111,7 +121,9 @@
...
@@ -111,7 +121,9 @@
},
},
activeBtnType
:
true
,
//true机构,false人员
activeBtnType
:
true
,
//true机构,false人员
hospitalRanking
:
{},
hospitalRanking
:
{},
topRankListH
:
[],
//机构排行
contributionRanking
:
{},
contributionRanking
:
{},
topRankListC
:
[],
//贡献排行
btnText
:
'助力机构 创造佳绩'
,
btnText
:
'助力机构 创造佳绩'
,
btnType
:
true
,
btnType
:
true
,
noContributionRanking
:
false
//是否有人员贡献榜单数据
noContributionRanking
:
false
//是否有人员贡献榜单数据
...
@@ -156,6 +168,7 @@
...
@@ -156,6 +168,7 @@
getHospitalRanking
().
then
(
res
=>
{
getHospitalRanking
().
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
hospitalRanking
=
res
.
data
;
this
.
hospitalRanking
=
res
.
data
;
this
.
topRankListH
=
res
.
data
.
topRankList
}
}
})
})
},
},
...
@@ -163,6 +176,7 @@
...
@@ -163,6 +176,7 @@
getContributionRanking
().
then
(
res
=>
{
getContributionRanking
().
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
contributionRanking
=
res
.
data
;
this
.
contributionRanking
=
res
.
data
;
this
.
topRankListC
=
res
.
data
.
topRankList
if
(
this
.
contributionRanking
.
topRankList
.
length
)
{
if
(
this
.
contributionRanking
.
topRankList
.
length
)
{
this
.
noContributionRanking
=
false
;
this
.
noContributionRanking
=
false
;
}
else
{
}
else
{
...
...
pages/invite-details/index.vue
浏览文件 @
0775fa31
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
</p>
</p>
</div>
</div>
</div>
</div>
<div
class=
"no-more"
v-if=
"noMore&&inviteList.length"
>
<div
class=
"no-more"
v-if=
"noMore&&inviteList.length
>=10
"
>
<span
class=
"line"
></span>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
<span
class=
"line"
></span>
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
this
.
pageNo
++
this
.
pageNo
++
this
.
getOneInviteDetails
();
this
.
getOneInviteDetails
();
this
.
getInviteDetailAward
();
this
.
getInviteDetailAward
();
const
_this
=
this
window
.
addEventListener
(
'scroll'
,
function
(
e
)
{
window
.
addEventListener
(
'scroll'
,
function
(
e
)
{
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
console.log('headDivHeight',headDivHeight);*/
console.log('headDivHeight',headDivHeight);*/
const
tabNab
=
document
.
getElementsByClassName
(
'tab-nav'
)[
0
];
const
tabNab
=
document
.
getElementsByClassName
(
'tab-nav'
)[
0
];
if
(
recordDetailsHeight
<=
headDivHeight
)
{
if
(
recordDetailsHeight
<=
headDivHeight
)
{
tabNab
.
setAttribute
(
'style'
,
`position:fixed;top:
${
44
}
px;`
);
tabNab
.
setAttribute
(
'style'
,
`position:fixed;top:
${
44
+
_this
.
statusBarHeight
}
px;`
);
}
else
{
}
else
{
tabNab
.
removeAttribute
(
'style'
);
tabNab
.
removeAttribute
(
'style'
);
}
}
...
...
pages/person-detail/index.vue
浏览文件 @
0775fa31
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"no-more"
v-if=
"noMore&&personDetails.length"
>
<div
class=
"no-more"
v-if=
"noMore&&personDetails.length
>=10
"
>
<span
class=
"line"
></span>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
<span
class=
"line"
></span>
...
...
pages/person-ranking/index.less
浏览文件 @
0775fa31
...
@@ -130,5 +130,22 @@
...
@@ -130,5 +130,22 @@
}
}
}
}
}
}
.no-more {
height: 62px;
display: flex;
justify-content: center;
align-items: center;
.line {
display: inline-block;
width: 84px;
height: 1px;
background:#F7F7F7;
}
.text {
color: #BEC2CC;
font-size: 13px;
margin: 0 8px;
}
}
}
}
}
}
\ No newline at end of file
pages/person-ranking/index.vue
浏览文件 @
0775fa31
...
@@ -38,13 +38,18 @@
...
@@ -38,13 +38,18 @@
<span
class=
"marginAuto"
>
{{
activeBtnType
?
'今日'
:
'累计'
}}
勤奋分
</span>
<span
class=
"marginAuto"
>
{{
activeBtnType
?
'今日'
:
'累计'
}}
勤奋分
</span>
</div>
</div>
<div
class=
"ranking-list"
:style=
"
{marginBottom: `${50+homeIndicatorHeight}Px`}">
<div
class=
"ranking-list"
:style=
"
{marginBottom: `${50+homeIndicatorHeight}Px`}">
<div
class=
"item"
v-for=
"(item,index) in
rankData.
topRankList"
:key=
"index"
>
<div
class=
"item"
v-for=
"(item,index) in topRankList"
:key=
"index"
>
<img
v-if=
"index
<
=
2
"
:src=
"dealRankIcon(index)"
alt=
""
class=
"ranking-icon"
>
<img
v-if=
"index
<
=
2
"
:src=
"dealRankIcon(index)"
alt=
""
class=
"ranking-icon"
>
<p
v-else
class=
"icon-num"
>
{{
index
+
1
}}
</p>
<p
v-else
class=
"icon-num"
>
{{
index
+
1
}}
</p>
<img
:src=
"item.avatarImageUrl"
alt=
""
class=
"doctor-photo"
>
<img
:src=
"item.avatarImageUrl"
alt=
""
class=
"doctor-photo"
>
<p
class=
"doctor-name"
>
{{
item
.
name
}}
</p>
<p
class=
"doctor-name"
>
{{
item
.
name
}}
</p>
<p
class=
"num"
>
{{
item
.
score
}}
</p>
<p
class=
"num"
>
{{
item
.
score
}}
</p>
</div>
</div>
<div
class=
"no-more"
v-if=
"topRankList.length>=10"
>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
</div>
</div>
</div>
<footer-button
<footer-button
:btnText=
"btnText"
:btnText=
"btnText"
...
@@ -71,6 +76,7 @@
...
@@ -71,6 +76,7 @@
showPop
:
false
,
showPop
:
false
,
title
:
'个人明细'
,
title
:
'个人明细'
,
rankData
:
{},
rankData
:
{},
topRankList
:
[],
//排行榜list
rightBtn
:
''
,
rightBtn
:
''
,
headBtn
:
{
headBtn
:
{
leftName
:
'今日排行榜'
,
leftName
:
'今日排行榜'
,
...
@@ -139,6 +145,7 @@
...
@@ -139,6 +145,7 @@
getTodayUserRanking
().
then
(
res
=>
{
getTodayUserRanking
().
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
rankData
=
res
.
data
;
this
.
rankData
=
res
.
data
;
this
.
topRankList
=
res
.
data
.
topRankList
this
.
getRankAwards
(
this
.
rankData
,
res
.
data
.
todayDate
);
this
.
getRankAwards
(
this
.
rankData
,
res
.
data
.
todayDate
);
this
.
todayDate
=
res
.
data
.
todayDate
;
this
.
todayDate
=
res
.
data
.
todayDate
;
if
(
this
.
rankData
.
score
)
{
if
(
this
.
rankData
.
score
)
{
...
...
pages/yesterday-prize/index.less
浏览文件 @
0775fa31
...
@@ -78,6 +78,22 @@
...
@@ -78,6 +78,22 @@
transform: scaleY(0.5);
transform: scaleY(0.5);
}
}
}
}
.no-more {
height: 62px;
display: flex;
justify-content: center;
align-items: center;
.line {
display: inline-block;
width: 84px;
height: 1px;
background:#F7F7F7;
}
.text {
color: #BEC2CC;
font-size: 13px;
margin: 0 8px;
}
}
}
}
}
}
\ No newline at end of file
pages/yesterday-prize/index.vue
浏览文件 @
0775fa31
...
@@ -21,6 +21,11 @@
...
@@ -21,6 +21,11 @@
<p
class=
"awards"
v-if=
"index>2"
>
体温计*1支
</p>
<p
class=
"awards"
v-if=
"index>2"
>
体温计*1支
</p>
</div>
</div>
</div>
</div>
<div
class=
"no-more"
v-if=
"rewardsList.length>=10"
>
<span
class=
"line"
></span>
<span
class=
"text"
>
到底啦
</span>
<span
class=
"line"
></span>
</div>
</div>
</div>
<footer-button
<footer-button
:btnText=
"btnText"
:btnText=
"btnText"
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录