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
提交
f4ee83dc
提交
f4ee83dc
编写于
12月 03, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
封装明细排行页底部按钮组件
上级
8eef3493
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
54 行增加
和
108 行删除
+54
-108
index.less
pages/hospital-ranking/index.less
+0
-20
index.vue
pages/hospital-ranking/index.vue
+11
-6
index.less
pages/invite-details/index.less
+0
-21
index.vue
pages/invite-details/index.vue
+13
-9
index.vue
pages/person-detail/index.vue
+4
-1
index.less
pages/person-ranking/index.less
+0
-20
index.vue
pages/person-ranking/index.vue
+15
-5
index.less
pages/yesterday-prize/index.less
+0
-20
index.vue
pages/yesterday-prize/index.vue
+11
-6
未找到文件。
pages/hospital-ranking/index.less
浏览文件 @
f4ee83dc
...
...
@@ -159,25 +159,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/hospital-ranking/index.vue
浏览文件 @
f4ee83dc
...
...
@@ -74,19 +74,22 @@
<p
class=
"num"
>
{{
itemD
.
score
}}
</p>
</div>
</div>
<div
class=
"footer-btn"
>
<div
class=
"btn"
>
助力机构 创造佳绩
</div>
</div>
<footer-button
:btnText=
"btnText"
:btnType=
"btnType"
>
</footer-button>
</div>
</section>
</
template
>
<
script
>
import
RankingHeader
from
'@/components/ranking-header'
import
RankingHeader
from
'@/components/ranking-header'
;
import
FooterButton
from
'@/components/footer-button'
;
export
default
{
name
:
'hospital-ranking'
,
components
:
{
RankingHeader
RankingHeader
,
FooterButton
},
data
()
{
return
{
...
...
@@ -100,7 +103,9 @@
},
activeBtnType
:
true
,
//true机构,false人员
hospitalRanking
:
{},
contributionRanking
:
{}
contributionRanking
:
{},
btnText
:
'助力机构 创造佳绩'
,
btnType
:
true
};
},
computed
:
{
...
...
pages/invite-details/index.less
浏览文件 @
f4ee83dc
...
...
@@ -238,26 +238,5 @@
width: 300px;
}
}
.footer-btn {
width: 100%;
height: 40px;
padding: 5px 0;
box-shadow:0px -1px 0px 0px rgba(237,237,237,1);
position: fixed;
bottom: 0;
background: #fff;
.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/invite-details/index.vue
浏览文件 @
f4ee83dc
...
...
@@ -50,8 +50,8 @@
<p
class=
"active-line"
v-if=
"recordType==2"
></p>
</div>
</div>
<div
class=
"record-list"
>
<p
class=
"sum"
v-if=
"recordTotal"
>
共
{{
recordTotal
}}
人
</p>
<div
class=
"record-list"
v-if=
"inviteList.length"
>
<p
class=
"sum"
>
共
{{
recordTotal
}}
人
</p>
<div
class=
"loadMore"
v-infinite-scroll=
"loadMore"
infinite-scroll-disabled=
"busy"
infinite-scroll-distance=
"10"
>
<div
class=
"record-item"
v-if=
"inviteList.length"
v-for=
"item in inviteList"
>
...
...
@@ -80,22 +80,24 @@
<p
v-if=
"recordType==1"
>
提醒您的医生好友领取课程您将获得奖励哦!
</p>
<p
v-if=
"recordType==2"
class=
"text-get"
>
提醒您的医生好友领取课程后登录云鹊医APP您将再获得奖励哦!
</p>
</div>
<div
class=
"footer-btn"
>
<div
class=
"btn"
>
去邀请
</div>
</div>
<footer-button
:btnText=
"btnText"
:btnType=
"btnType"
>
</footer-button>
</div>
</div>
</section>
</
template
>
<
script
>
import
NormalHeader
from
'@/components/normal-header'
import
{
getOneInviteDetails
,
getTwoInviteDetails
}
from
'@/service/detailsAndRanking'
import
NormalHeader
from
'@/components/normal-header'
;
import
FooterButton
from
'@/components/footer-button'
;
import
{
getOneInviteDetails
,
getTwoInviteDetails
}
from
'@/service/detailsAndRanking'
;
export
default
{
name
:
"index"
,
components
:
{
NormalHeader
NormalHeader
,
FooterButton
,
},
data
()
{
return
{
...
...
@@ -110,6 +112,8 @@
pageNo
:
0
,
pageSize
:
10
,
noMore
:
false
,
//分页参数--end
btnText
:
'去邀请'
,
btnType
:
true
};
},
mounted
()
{
...
...
pages/person-detail/index.vue
浏览文件 @
f4ee83dc
...
...
@@ -57,7 +57,7 @@
<div
class=
"no-data"
v-if=
"!personDetails.length"
>
<img
src=
"~/assets/img/icon-nodata.png"
alt=
""
>
<p>
暂无记录,您还没有参加活动
</p>
<div
class=
"button"
>
立即参加
</div>
<div
class=
"button"
@
click=
"goInActivity"
>
立即参加
</div>
</div>
</div>
</section>
...
...
@@ -92,6 +92,9 @@
this
.
getPersonDetails
();
},
methods
:
{
goInActivity
()
{
this
.
$router
.
push
(
'/in-activity'
)
},
detailTaskIcon
(
taskName
)
{
if
(
taskName
==
'打卡'
)
{
return
require
(
'../../assets/img/person-detail/icon-invite.png'
)
...
...
pages/person-ranking/index.less
浏览文件 @
f4ee83dc
...
...
@@ -130,25 +130,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/person-ranking/index.vue
浏览文件 @
f4ee83dc
...
...
@@ -46,19 +46,22 @@
<p
class=
"num"
>
{{
item
.
score
}}
</p>
</div>
</div>
<div
class=
"footer-btn"
>
<div
class=
"btn"
>
获得更多勤奋分
</div>
</div>
<footer-button
:btnText=
"btnText"
:btnType=
"btnType"
>
</footer-button>
</div>
</section>
</
template
>
<
script
>
import
RankingHeader
from
'@/components/ranking-header'
import
RankingHeader
from
'@/components/ranking-header'
;
import
FooterButton
from
'@/components/footer-button'
;
export
default
{
name
:
'person-ranking'
,
components
:
{
RankingHeader
RankingHeader
,
FooterButton
},
data
()
{
return
{
...
...
@@ -73,6 +76,8 @@
rightName
:
'累计排行榜'
},
activeBtnType
:
true
,
//true今日,false累计
btnText
:
'获得更多勤奋分'
,
btnType
:
true
};
},
computed
:
{
...
...
@@ -135,6 +140,11 @@
}
],
}
if
(
this
.
rankData
.
score
)
{
this
.
btnText
=
'获得更多勤奋分'
}
else
{
this
.
btnText
=
'参与活动得勤奋分'
}
}
},
};
...
...
pages/yesterday-prize/index.less
浏览文件 @
f4ee83dc
...
...
@@ -80,24 +80,4 @@
}
}
.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
浏览文件 @
f4ee83dc
...
...
@@ -21,18 +21,21 @@
</div>
</div>
</div>
<div
class=
"footer-btn"
>
<div
class=
"btn"
>
今日我要拿奖
</div>
</div>
<footer-button
:btnText=
"btnText"
:btnType=
"btnType"
>
</footer-button>
</section>
</
template
>
<
script
>
import
NormalHeader
from
'@/components/normal-header'
import
NormalHeader
from
'@/components/normal-header'
;
import
FooterButton
from
'@/components/footer-button'
;
export
default
{
name
:
"index"
,
components
:
{
NormalHeader
NormalHeader
,
FooterButton
},
data
()
{
return
{
...
...
@@ -41,7 +44,9 @@
barHeight
:
0
,
barColor
:
'#fff'
,
rightText
:
'如何领奖'
,
rewardsList
:
[]
rewardsList
:
[],
btnText
:
'今日我要拿奖'
,
btnType
:
true
};
},
mounted
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录