提交 1fdd36ab 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

增加瓜分云鹊豆去兑换,查看排名,点击X逻辑

上级 a837f7e3
...@@ -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
}
]
});
} }
} }
} }
......
...@@ -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-->
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册