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
提交
8ea9ae38
提交
8ea9ae38
编写于
3月 20, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
任务列表刷新
上级
a6aa3450
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
30 行增加
和
9 行删除
+30
-9
index.vue
components/header/index.vue
+5
-1
task-activity.vue
components/task-activity.vue
+17
-5
index.vue
pages/index.vue
+6
-1
index.vue
pages/perdetails/index.vue
+1
-1
index.vue
pages/ranks/index.vue
+1
-1
share_new.png
static/images/share_new.png
+0
-0
未找到文件。
components/header/index.vue
浏览文件 @
8ea9ae38
...
...
@@ -5,7 +5,7 @@
<img
:src=
"headerLeftIcon"
/>
</div>
<div
:class=
"
{ active: isScroll }" class="content title">
<span>
{{
shareTitle
1
}}
</span>
<span>
{{
shareTitle
}}
</span>
</div>
<div
v-show=
"isShowRightIcon"
...
...
@@ -40,6 +40,10 @@ export default {
type
:
Boolean
,
default
:
false
},
shareTitle
:
{
type
:
String
,
default
:
''
},
shareTitle1
:
{
type
:
String
,
default
:
''
...
...
components/task-activity.vue
浏览文件 @
8ea9ae38
...
...
@@ -37,8 +37,8 @@
</div>
<span
class=
'has-bg'
v-if=
"item.resourceType == 1 && !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 finish'
v-if=
"(item.resourceType == 1 || item.resourceType ==
4 || item.resourceType ==
8) && item.isFinish"
>
已完成
</span>
<span
class=
'has-bg'
v-if=
"item.resourceType == 4
&& !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>
...
...
@@ -82,6 +82,10 @@ export default {
isWeb
:
{
type
:
Boolean
,
default
:
false
},
taskRefreshFlag
:
{
type
:
Boolean
,
default
:
false
}
},
watch
:
{
...
...
@@ -94,7 +98,12 @@ export default {
if
(
n
!=
o
)
{
this
.
getNewActivityDesc
();
}
}
},
taskRefreshFlag
(
n
,
o
)
{
if
(
n
!==
o
)
{
this
.
getNewActivityDesc
();
}
},
},
data
()
{
return
{
...
...
@@ -104,7 +113,8 @@ export default {
statusText
:
'去完成'
,
tokenFlag
:
false
,
textFlag
:
true
,
clickFlag
:
true
clickFlag
:
true
,
flag
:
false
}
},
created
()
{
...
...
@@ -122,10 +132,12 @@ export default {
// }else {
// if(!this.clickFlag) return;
// if(!this.isWeb) { this.clickFlag = false; }
this
.
flag
=
!
this
.
flag
;
let
data
=
{
id
:
item
.
id
,
href
:
item
.
linkId
,
resourceType
:
item
.
resourceType
resourceType
:
item
.
resourceType
,
flag
:
this
.
flag
};
this
.
$emit
(
'activityTaskJump'
,
data
);
// }
...
...
pages/index.vue
浏览文件 @
8ea9ae38
...
...
@@ -4,6 +4,7 @@
:isWeb=
"isWeb"
:token=
"token"
:is-scroll=
"isScroll"
:share-title=
"shareTitle"
:share-title1=
"shareTitle1"
:share-title2=
"shareTitle2"
:share-icon-url=
"shareIconUrl"
...
...
@@ -55,6 +56,7 @@
:acToken=
"token"
:userMobile=
"userMobile"
:acTempId=
"activityId"
:taskRefreshFlag=
"taskRefreshFlag"
@
activityTaskJump=
"activityTaskJump"
@
getTaskId=
"getTaskId"
@
getNewTaskId=
"getNewTaskId"
...
...
@@ -146,6 +148,7 @@ export default {
isWeb
:
false
,
activityId
:
0
,
token
:
''
,
shareTitle
:
'国际医生节特辑活动'
,
shareTitle1
:
''
,
shareTitle2
:
'做任务瓜分500W云鹊豆,点一下你也能获得75分哦'
,
shareTitle3
:
''
,
...
...
@@ -181,7 +184,8 @@ export default {
unableReason
:
0
,
//3分数不够,4未参加
isCarveTime
:
false
,
//是否是瓜分阶段
isFirstRefresh
:
true
,
//是否没有掉refresh方法
showLoading
:
false
//是否展示loading动画
showLoading
:
false
,
//是否展示loading动画
taskRefreshFlag
:
false
}
},
async
asyncData
({
$axios
})
{
...
...
@@ -409,6 +413,7 @@ export default {
},
// 活动任务
activityTaskJump
(
data
)
{
this
.
taskRefreshFlag
=
data
.
flag
;
let
shareUrl
=
''
;
const
{
NUXT_ENV_APP
}
=
process
.
env
;
if
(
data
.
resourceType
==
11
)
{
// 邀请好友点赞
...
...
pages/perdetails/index.vue
浏览文件 @
8ea9ae38
...
...
@@ -2,7 +2,7 @@
<section
class=
"personal-detail"
>
<Header
:is-scroll=
"isScroll"
:share-title
1
=
"shareTitle1"
:share-title=
"shareTitle1"
:share-title2=
"shareTitle2"
:prePage=
"prePage"
/>
...
...
pages/ranks/index.vue
浏览文件 @
8ea9ae38
...
...
@@ -2,7 +2,7 @@
<section
class=
"rank-container"
>
<Header
:is-scroll=
"isScroll"
:share-title
1
=
"shareTitle1"
:share-title=
"shareTitle1"
:share-title2=
"shareTitle2"
:prePage=
"prePage"
/>
...
...
static/images/share_new.png
0 → 100644
浏览文件 @
8ea9ae38
13.2 KB
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录