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
提交
c47811f6
提交
c47811f6
编写于
3月 19, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
任务显示修改
上级
3455ac61
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
8 行删除
+23
-8
task-activity.vue
components/task-activity.vue
+13
-2
index.vue
pages/login-point/index.vue
+5
-1
point-result.vue
pages/point-result.vue
+5
-5
未找到文件。
components/task-activity.vue
浏览文件 @
c47811f6
...
@@ -23,14 +23,21 @@
...
@@ -23,14 +23,21 @@
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
元现金红包/人
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
元现金红包/人
</div>
</div>
<div
class=
"task-b"
v-if=
"handleData(item.rewardJsonInfo)[0].rewardType == 3"
>
<div
class=
"task-b"
v-if=
"handleData(item.rewardJsonInfo)[0].rewardType == 3"
>
<span
class=
"score"
>
+
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
</span><span
v-if=
"item.resourceType == 11 || item.resourceType == 8 || item.resourceType == 9"
>
勤奋分/人
</span><span
v-if=
"item.resourceType == 1"
>
勤奋分/门
</span><span
v-if=
"item.resourceType == 4"
>
勤奋分/份
</span>
<span
class=
"score"
>
+
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
</span>
<span
v-if=
"item.resourceType == 11 || item.resourceType == 9"
>
勤奋分/人
</span>
<span
v-if=
"item.resourceType == 8 && item.taskFrequency == 1"
>
勤奋分
{{
item
.
doctorFinishFrequency
}}
/
{{
item
.
finishFrequency
}}
</span>
<span
v-if=
"item.resourceType == 8 && item.taskFrequency == 2"
>
勤奋分
{{
item
.
nowCumulativeFrequency
}}
/
{{
item
.
cumulativeFrequency
}}
</span>
<span
v-if=
"item.resourceType == 1 && item.taskFrequency == 1"
>
勤奋分
{{
item
.
doctorFinishFrequency
}}
/
{{
item
.
finishFrequency
}}
</span>
<span
v-if=
"item.resourceType == 1 && item.taskFrequency == 2"
>
勤奋分
{{
item
.
nowCumulativeFrequency
}}
/
{{
item
.
cumulativeFrequency
}}
</span>
<span
v-if=
"item.resourceType == 4 && item.taskFrequency == 1"
>
勤奋分
{{
item
.
doctorFinishFrequency
}}
/
{{
item
.
finishFrequency
}}
</span>
<span
v-if=
"item.resourceType == 4 && item.taskFrequency == 2"
>
勤奋分
{{
item
.
nowCumulativeFrequency
}}
/
{{
item
.
cumulativeFrequency
}}
</span>
</div>
</div>
<div
class=
"task-b"
v-if=
"handleData(item.rewardJsonInfo)[0].rewardType == 4"
>
<div
class=
"task-b"
v-if=
"handleData(item.rewardJsonInfo)[0].rewardType == 4"
>
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
条短信额度/人
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
条短信额度/人
</div>
</div>
<span
class=
'has-bg'
v-if=
"item.resourceType == 1 && !item.isFinish"
>
去学习
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 1 && !item.isFinish"
>
去学习
</span>
<span
class=
'has-bg'
v-if=
"(item.resourceType == 1 || item.resourceType == 8) && item.isFinish"
>
已完成
</span>
<span
class=
'has-bg
finish
'
v-if=
"(item.resourceType == 1 || item.resourceType == 8) && item.isFinish"
>
已完成
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 4"
>
去参加
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 4"
>
去参加
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 11 || (item.resourceType == 8 && !item.isFinish)"
>
去邀请
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 11 || (item.resourceType == 8 && !item.isFinish)"
>
去邀请
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 9"
>
去绑定
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 9"
>
去绑定
</span>
...
@@ -243,6 +250,10 @@ export default {
...
@@ -243,6 +250,10 @@ export default {
background:linear-gradient(270deg,rgba(255,88,36,1) 0%,rgba(254,163,86,1) 100%);
background:linear-gradient(270deg,rgba(255,88,36,1) 0%,rgba(254,163,86,1) 100%);
border-radius:35px;
border-radius:35px;
}
}
span.finish {
color: #F68367;
background: rgba(253,234,228,1);
}
.task-b {
.task-b {
text-align: center;
text-align: center;
font-size: 12px;
font-size: 12px;
...
...
pages/login-point/index.vue
浏览文件 @
c47811f6
...
@@ -166,6 +166,10 @@ export default {
...
@@ -166,6 +166,10 @@ export default {
},
},
// 点赞登录
// 点赞登录
gotoPoint
()
{
gotoPoint
()
{
if
(
!
this
.
mobilePhone
)
{
this
.
$toast
(
'请填写手机号码'
);
return
;
}
this
.
loadingFlag
=
true
;
this
.
loadingFlag
=
true
;
let
param
=
{
let
param
=
{
mobile
:
this
.
mobilePhone
,
mobile
:
this
.
mobilePhone
,
...
@@ -180,7 +184,7 @@ export default {
...
@@ -180,7 +184,7 @@ export default {
if
(
res
.
data
==
'900001'
)
{
if
(
res
.
data
==
'900001'
)
{
this
.
$toast
(
'不能给自己点赞哦'
);
this
.
$toast
(
'不能给自己点赞哦'
);
}
else
{
}
else
{
this
.
$router
.
push
({
path
:
"/
login-point/
point-result"
,
query
:
{
code
:
res
.
data
}});
this
.
$router
.
push
({
path
:
"/point-result"
,
query
:
{
code
:
res
.
data
}});
}
}
}
else
if
(
res
.
code
==
'300000'
)
{
}
else
if
(
res
.
code
==
'300000'
)
{
this
.
$toast
(
res
.
message
);
this
.
$toast
(
res
.
message
);
...
...
pages/
login-point/
point-result.vue
→
pages/point-result.vue
浏览文件 @
c47811f6
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<section
class=
"point-container"
>
<section
class=
"point-container"
>
<div
class=
"point-bg"
>
<div
class=
"point-bg"
>
<div
class=
"point-status"
>
<div
class=
"point-status"
>
<img
v-if=
"status == 1 || status == 3"
src=
"../
../
static/images/point-success-nobg.png"
/>
<img
v-if=
"status == 1 || status == 3"
src=
"../static/images/point-success-nobg.png"
/>
<img
v-if=
"status == 2"
src=
"../
../
static/images/point-fail.png"
/>
<img
v-if=
"status == 2"
src=
"../static/images/point-fail.png"
/>
</div>
</div>
<div
class=
"status-text"
>
<div
class=
"status-text"
>
<p
class=
"fw"
>
{{
pointText1
}}
</p>
<p
class=
"fw"
>
{{
pointText1
}}
</p>
...
@@ -11,11 +11,11 @@
...
@@ -11,11 +11,11 @@
</div>
</div>
<div
class=
"point-award"
>
<div
class=
"point-award"
>
<div
v-if=
"status != 3"
class=
"award-con"
>
<div
v-if=
"status != 3"
class=
"award-con"
>
<img
src=
"../
../
static/images/point-award-new.png"
/>
<img
src=
"../static/images/point-award-new.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
<button
@
click=
"openApp"
v-bp=
"
{ component_tag: '361#3600
0
10'}">
{{
btnText
}}
</button>
<button
@
click=
"openApp"
v-bp=
"
{ component_tag: '361#360010'}">
{{
btnText
}}
</button>
<button
@
click=
"downloadApp"
>
下载APP
</button>
<button
@
click=
"downloadApp"
>
下载APP
</button>
</div>
</div>
</div>
</div>
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
.point-bg {
.point-bg {
width: 100%;
width: 100%;
height: 100vh;
height: 100vh;
background-image:url('../
../
static/images/result-bg.png');
background-image:url('../static/images/result-bg.png');
background-size: 100% 100%;
background-size: 100% 100%;
}
}
.point-status {
.point-status {
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录