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
提交
fd99b214
提交
fd99b214
编写于
3月 20, 2020
作者:
wensu.huang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-new-campaign-0302' into 'release'
新活动开发 code reviewer : 张平 新活动开发 code reviewer : 张平 See merge request
!2
上级
f8451bb8
a6aa3450
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
16 行删除
+26
-16
index.vue
components/header/index.vue
+1
-1
task-activity.vue
components/task-activity.vue
+23
-14
nuxt.config.js
nuxt.config.js
+1
-1
enumerate.js
utils/enumerate.js
+1
-0
未找到文件。
components/header/index.vue
浏览文件 @
fd99b214
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<img
:src=
"headerLeftIcon"
/>
<img
:src=
"headerLeftIcon"
/>
</div>
</div>
<div
:class=
"
{ active: isScroll }" class="content title">
<div
:class=
"
{ active: isScroll }" class="content title">
<span>
国际医生节特辑活动
</span>
<span>
{{
shareTitle1
}}
</span>
</div>
</div>
<div
<div
v-show=
"isShowRightIcon"
v-show=
"isShowRightIcon"
...
...
components/task-activity.vue
浏览文件 @
fd99b214
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
<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
class=
"score"
>
+
{{
handleData
(
item
.
rewardJsonInfo
)[
0
].
rewardQuantity
}}
</span>
<span
v-if=
"item.resourceType == 11 || item.resourceType == 9"
>
勤奋分/人
</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 == 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 == 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 == 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 == 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 == 1"
>
勤奋分
{{
item
.
doctorFinishFrequency
}}
/
{{
item
.
finishFrequency
}}
</span>
<span
v-if=
"item.resourceType == 4 && item.taskFrequency == 2"
>
勤奋分
{{
item
.
nowCumulativeFrequency
}}
/
{{
item
.
cumulativeFrequency
}}
</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
}}
条短信额度/人
...
@@ -205,26 +205,31 @@ export default {
...
@@ -205,26 +205,31 @@ export default {
.task-con {
.task-con {
position: relative;
position: relative;
padding-bottom: 5px;
padding-bottom: 5px;
width: 335px;
height: 70px;
img {
img {
width: 100%;
width: 335px;
height: 70px;
}
}
.task-item {
.task-item {
position: absolute;
position: absolute;
left: 0;
left: 0;
top: 0;
top: 0;
width: 94%;
width: 335px;
height: 90%;
height: 70px;
padding: 0px 10px;
padding: 0px 10px 0px 14px;
box-sizing: border-box;
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
img {
img {
width:
50
px;
width:
35
px;
height:
50
px;
height:
35
px;
}
}
.task-l {
.task-l {
width: 167px;
width: 162px;
padding-left: 13px;
.task-t {
.task-t {
padding-bottom: 25px;
padding-bottom: 25px;
font-size: 16px;
font-size: 16px;
...
@@ -233,6 +238,7 @@ export default {
...
@@ -233,6 +238,7 @@ export default {
}
}
}
}
.task-r {
.task-r {
width: 86px;
text-align: right;
text-align: right;
// height: 39px;
// height: 39px;
span.has-bg {
span.has-bg {
...
@@ -256,8 +262,11 @@ export default {
...
@@ -256,8 +262,11 @@ export default {
}
}
.task-b {
.task-b {
text-align: center;
text-align: center;
font-size:
12
px;
font-size:
0
px;
color: #979899;
color: #979899;
span {
font-size: 12px;
}
span.score {
span.score {
display: inline-block;
display: inline-block;
color: #CC2646;
color: #CC2646;
...
...
nuxt.config.js
浏览文件 @
fd99b214
...
@@ -4,7 +4,7 @@ module.exports = {
...
@@ -4,7 +4,7 @@ module.exports = {
** Headers of the page
** Headers of the page
*/
*/
head
:
{
head
:
{
title
:
'
医生节
活动'
,
title
:
'
国际医生节特辑
活动'
,
meta
:
[
meta
:
[
{
charset
:
'utf-8'
},
{
charset
:
'utf-8'
},
// { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui' },
// { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui' },
...
...
utils/enumerate.js
浏览文件 @
fd99b214
...
@@ -3,6 +3,7 @@ const { NUXT_ENV_APP } = process.env;
...
@@ -3,6 +3,7 @@ const { NUXT_ENV_APP } = process.env;
export
const
BASE_URL
=
{
export
const
BASE_URL
=
{
dev
:
'https://dev-sc.yunqueyi.com'
,
dev
:
'https://dev-sc.yunqueyi.com'
,
test
:
'https://test1-sc.yunqueyi.com'
,
test
:
'https://test1-sc.yunqueyi.com'
,
uat
:
'https://uat-sc.yunqueyi.com'
,
prod
:
'https://sc.yunqueyi.com'
prod
:
'https://sc.yunqueyi.com'
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录