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
提交
1fdd36ab
提交
1fdd36ab
编写于
3月 10, 2020
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加瓜分云鹊豆去兑换,查看排名,点击X逻辑
上级
a837f7e3
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
10 行删除
+34
-10
index.vue
components/carve-up/index.vue
+26
-5
index.vue
pages/index.vue
+0
-1
enumerate.js
utils/enumerate.js
+8
-4
未找到文件。
components/carve-up/index.vue
浏览文件 @
1fdd36ab
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<section
class=
"carve-up-wrap"
>
<section
class=
"carve-up-wrap"
>
<div
class=
"inter-content carve-container"
v-if=
"joinStatus == 1"
>
<div
class=
"inter-content carve-container"
v-if=
"joinStatus == 1"
>
<img
class=
"main-bg"
src=
"~/assets/carve-up/main-bg.png"
alt=
""
>
<img
class=
"main-bg"
src=
"~/assets/carve-up/main-bg.png"
alt=
""
>
<img
class=
"cancel"
src=
"~/assets/icon-dialog-cancel.png"
alt=
""
>
<img
class=
"cancel"
src=
"~/assets/icon-dialog-cancel.png"
@
click=
"knowFn"
>
</div>
</div>
<div
class=
"success-content carve-container"
v-else-if=
"joinStatus == 2"
>
<div
class=
"success-content carve-container"
v-else-if=
"joinStatus == 2"
>
<div
class=
"success-bg"
>
<div
class=
"success-bg"
>
...
@@ -14,11 +18,15 @@
...
@@ -14,11 +18,15 @@
<p
class=
"awards-num"
>
500
<span>
云鹊豆
</span></p>
<p
class=
"awards-num"
>
500
<span>
云鹊豆
</span></p>
<p
class=
"tips"
>
所获云鹊豆将在1分钟内到账
</p>
<p
class=
"tips"
>
所获云鹊豆将在1分钟内到账
</p>
<div
class=
"btn-content"
>
<div
class=
"btn-content"
>
<div
class=
"btn btn1"
>
去兑换
</div>
<div
class=
"btn btn1"
@
click=
"goToBeanCenter"
>
去兑换
</div>
<div
class=
"btn btn2"
>
查看排名
</div>
<div
class=
"btn btn2"
@
click=
"knowFn"
>
查看排名
</div>
</div>
</div>
</div>
</div>
<img
class=
"cancel"
src=
"~/assets/icon-dialog-cancel.png"
alt=
""
>
<img
class=
"cancel"
src=
"~/assets/icon-dialog-cancel.png"
@
click=
"knowFn"
>
</div>
</div>
<div
class=
"defeat-content carve-container"
v-else
>
<div
class=
"defeat-content carve-container"
v-else
>
<div
class=
"defeat-bg"
>
<div
class=
"defeat-bg"
>
...
@@ -41,6 +49,8 @@
...
@@ -41,6 +49,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
ENV_CONFIG
}
from
'../../utils/enumerate'
const
{
NUXT_ENV_APP
}
=
process
.
env
;
export
default
{
export
default
{
name
:
"index"
,
name
:
"index"
,
data
()
{
data
()
{
...
@@ -50,7 +60,18 @@
...
@@ -50,7 +60,18 @@
},
},
methods
:
{
methods
:
{
knowFn
()
{
knowFn
()
{
this
.
$emit
(
'handlerKnow'
,
false
)
window
.
location
.
replace
(
'https://phome.yunqueyi.com/template_v2/?id=636'
)
},
goToBeanCenter
()
{
//跳转至云鹊豆中心
this
.
$rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
jsonString
:
[
{
"key"
:
"pageUrl"
,
"value"
:
ENV_CONFIG
[
NUXT_ENV_APP
].
beanCenterUrl
}
]
});
}
}
}
}
}
}
...
...
pages/index.vue
浏览文件 @
1fdd36ab
...
@@ -78,7 +78,6 @@
...
@@ -78,7 +78,6 @@
<!--瓜分云鹊豆模块———start-->
<!--瓜分云鹊豆模块———start-->
<carve-up
<carve-up
v-if=
"showCarveUp"
v-if=
"showCarveUp"
@
handlerKnow=
"goToWinnerList"
>
>
</carve-up>
</carve-up>
<!--瓜分云鹊豆模块 ————end-->
<!--瓜分云鹊豆模块 ————end-->
...
...
utils/enumerate.js
浏览文件 @
1fdd36ab
...
@@ -40,7 +40,8 @@ export const ENV_CONFIG = {
...
@@ -40,7 +40,8 @@ export const ENV_CONFIG = {
topicUrl
:
'https://dev-phome.yunqueyi.com/discuss'
,
topicUrl
:
'https://dev-phome.yunqueyi.com/discuss'
,
appId
:
'wxf4e66242d31c81c2'
,
// 用于微信授权登录(张平)
appId
:
'wxf4e66242d31c81c2'
,
// 用于微信授权登录(张平)
noticeUrl
:
'https://dev-notice.yunqueyi.com'
,
noticeUrl
:
'https://dev-notice.yunqueyi.com'
,
agreementUrl
:
"https://dev-scale.yunqueyi.com"
agreementUrl
:
"https://dev-scale.yunqueyi.com"
,
beanCenterUrl
:
"https://dev-phome.yunqueyi.com/integral/#/chirpCenter"
},
},
test
:
{
test
:
{
...
@@ -49,7 +50,8 @@ export const ENV_CONFIG = {
...
@@ -49,7 +50,8 @@ export const ENV_CONFIG = {
topicUrl
:
'https://test1-phome.yunqueyi.com/discuss'
,
topicUrl
:
'https://test1-phome.yunqueyi.com/discuss'
,
appId
:
'wxebc0cc65cca7694b'
,
// 用于微信授权登录(李军)
appId
:
'wxebc0cc65cca7694b'
,
// 用于微信授权登录(李军)
noticeUrl
:
'https://test1-notice.yunqueyi.com'
,
noticeUrl
:
'https://test1-notice.yunqueyi.com'
,
agreementUrl
:
"https://test1-scale.yunqueyi.com"
agreementUrl
:
"https://test1-scale.yunqueyi.com"
,
beanCenterUrl
:
"https://test1-phome.yunqueyi.com/integral/#/chirpCenter"
},
},
uat
:
{
uat
:
{
apiUrl
:
'https://uat-api.yunqueyi.com'
,
apiUrl
:
'https://uat-api.yunqueyi.com'
,
...
@@ -57,7 +59,8 @@ export const ENV_CONFIG = {
...
@@ -57,7 +59,8 @@ export const ENV_CONFIG = {
topicUrl
:
'https://uat-phome.yunqueyi.com/discuss'
,
topicUrl
:
'https://uat-phome.yunqueyi.com/discuss'
,
appId
:
'wx342ef0e5afee54a7'
,
// 用于微信授权登录(于蛟)
appId
:
'wx342ef0e5afee54a7'
,
// 用于微信授权登录(于蛟)
noticeUrl
:
'https://uat-notice.yunqueyi.com'
,
noticeUrl
:
'https://uat-notice.yunqueyi.com'
,
agreementUrl
:
"https://uat-scale.yunqueyi.com"
agreementUrl
:
"https://uat-scale.yunqueyi.com"
,
beanCenterUrl
:
"https://uat-phome.yunqueyi.com/integral/#/chirpCenter"
},
},
prod
:
{
prod
:
{
apiUrl
:
'https://api.yunqueyi.com'
,
apiUrl
:
'https://api.yunqueyi.com'
,
...
@@ -65,7 +68,8 @@ export const ENV_CONFIG = {
...
@@ -65,7 +68,8 @@ export const ENV_CONFIG = {
topicUrl
:
'https://phome.yunqueyi.com/discuss'
,
topicUrl
:
'https://phome.yunqueyi.com/discuss'
,
appId
:
'wx2c577552a2d28550'
,
// 用于微信授权登录
appId
:
'wx2c577552a2d28550'
,
// 用于微信授权登录
noticeUrl
:
'https://notice.yunqueyi.com'
,
noticeUrl
:
'https://notice.yunqueyi.com'
,
agreementUrl
:
"https://scale.yunqueyi.com"
agreementUrl
:
"https://scale.yunqueyi.com"
,
beanCenterUrl
:
"https://phome.yunqueyi.com/integral/#/chirpCenter"
}
}
}
}
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录