Commit aa81b3a0 by 曾经

未关注服务号文案提示

parent 13540d67
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-12608054.b4827a90.css" rel="prefetch"><link href="css/chunk-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-27bd14e0.0ae407ec.css" rel="prefetch"><link href="css/chunk-29a146f8.185fbb6d.css" rel="prefetch"><link href="css/chunk-2b22ecfb.e4d72dea.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-4dc8764e.31ee0d3d.css" rel="prefetch"><link href="css/chunk-5e763b86.2a2f1112.css" rel="prefetch"><link href="css/chunk-7107f620.2476efe0.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-7841c25a.c4473de3.css" rel="prefetch"><link href="css/chunk-ff0867f0.3c63d4b8.css" rel="prefetch"><link href="js/chunk-12608054.564a5f31.js" rel="prefetch"><link href="js/chunk-19f41208.efc78480.js" rel="prefetch"><link href="js/chunk-27bd14e0.29371a5a.js" rel="prefetch"><link href="js/chunk-29a146f8.08587388.js" rel="prefetch"><link href="js/chunk-2b22ecfb.c9c0d99e.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-390246b3.90503edf.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.6141fb50.js" rel="prefetch"><link href="js/chunk-4dc8764e.0db119f9.js" rel="prefetch"><link href="js/chunk-5e763b86.81302a13.js" rel="prefetch"><link href="js/chunk-7107f620.e29d7579.js" rel="prefetch"><link href="js/chunk-71639305.a1545bf5.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-7841c25a.d2479c09.js" rel="prefetch"><link href="js/chunk-ff0867f0.79bd53e4.js" rel="prefetch"><link href="js/app.fb450515.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.fb450515.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-018fead9.e808a530.css" rel="prefetch"><link href="css/chunk-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-27bd14e0.0ae407ec.css" rel="prefetch"><link href="css/chunk-29a146f8.185fbb6d.css" rel="prefetch"><link href="css/chunk-2b22ecfb.e4d72dea.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-3cda9db4.d5389a0b.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-561479c8.da19085f.css" rel="prefetch"><link href="css/chunk-5e763b86.2a2f1112.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-7841c25a.c4473de3.css" rel="prefetch"><link href="css/chunk-ff0867f0.3c63d4b8.css" rel="prefetch"><link href="js/chunk-018fead9.ae5bb815.js" rel="prefetch"><link href="js/chunk-19f41208.2a892c39.js" rel="prefetch"><link href="js/chunk-27bd14e0.29371a5a.js" rel="prefetch"><link href="js/chunk-29a146f8.08587388.js" rel="prefetch"><link href="js/chunk-2b22ecfb.c9c0d99e.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-390246b3.e3380720.js" rel="prefetch"><link href="js/chunk-3cda9db4.6423a3df.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.2125efec.js" rel="prefetch"><link href="js/chunk-561479c8.a4b83cc3.js" rel="prefetch"><link href="js/chunk-5e763b86.81302a13.js" rel="prefetch"><link href="js/chunk-71639305.132f4ae5.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-7841c25a.d2479c09.js" rel="prefetch"><link href="js/chunk-ff0867f0.79bd53e4.js" rel="prefetch"><link href="js/app.ad7db848.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.ad7db848.js"></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,7 +6,7 @@
<div class="content">
<div class="content-detail-bg">
<div class="content-detail">
<div class="title">您还未认证会员</div>
<div class="title">您还未关注服务号</div>
<div class="subtitle">关注服务号,助力赢好礼</div>
<div class="qrcode-box">
<div class="image-box">
......
<template>
<div class="box">
<div class="page-bg" v-if="game && game.gameExt && game.gameExt.bgHelpUrl">
<img
:src="game.gameExt.bgHelpUrl"
class="bg-img"
mode="widthFix"
/>
<img :src="game.gameExt.bgHelpUrl" class="bg-img" mode="widthFix" />
</div>
<div class="content">
<div class="content-top">
<img v-if="game && game.gameExt && game.gameExt.bgBannerHelpUrl"
<img
v-if="game && game.gameExt && game.gameExt.bgBannerHelpUrl"
:src="game.gameExt.bgBannerHelpUrl"
class="top-img"
mode="widthFix"
......@@ -26,7 +23,9 @@
</div>
<div class="friend-name">你的好友 {{ helpDetail.shareMemberName }}</div>
<div class="tip-text">正在请求您的助力</div>
<div class="handle-btn disable" v-if="helpDetail.helpStatus == 2">我已助力</div>
<div class="handle-btn disable" v-if="helpDetail.helpStatus == 2">
我已助力
</div>
<div class="handle-btn red" @click="support" v-else>为好友助力</div>
<div class="handle-btn blue" @click="toPlayGame">我要参加游戏</div>
</div>
......@@ -38,7 +37,7 @@
<div class="iconfont icon-duobianxing"></div>
</div>
<div class="reward-box">
<div class="reward-item-box" v-for="item in gameReward" :key="item">
<div class="reward-item-box" v-for="item in gameReward" :key="item">
<div class="reward-item-detail">
<div class="img-box">
<img
......@@ -58,7 +57,6 @@
<alert-dialog v-bind.sync="alertOptions"></alert-dialog>
<fwh-qrcode-dialog v-bind.sync="fwhQrcodeOptions"></fwh-qrcode-dialog>
<share-select-dialog
:show.sync="showShareSelectDialog"
v-show="showShareSelectDialog"
......@@ -98,20 +96,20 @@ export default {
AlertDialog,
ShareSelectDialog,
ShareImgDialog,
FwhQrcodeDialog
FwhQrcodeDialog,
},
data() {
return {
alertOptions:{},
game:{},
alertOptions: {},
game: {},
helpDetail: {},
fwhQrcodeOptions: {
show: false,
qrcodeUrl: '',
qrcodeUrl: "",
},
gameReward: [],
showShareSelectDialog: false,
showShareImgDialog: false
showShareImgDialog: false,
};
},
created() {
......@@ -131,28 +129,29 @@ export default {
this.getGameReward();
this.getHelpDetail();
},
async getGameInfo(){
async getGameInfo() {
let query = this.$route.query;
this.game = await getGameInfo({
enterpriseId: query.enterpriseId,
gameId: query.gameId,
})
});
},
async getGameReward(){
async getGameReward() {
let query = this.$route.query;
this.gameReward = await getGameReward({
enterpriseId: query.enterpriseId,
gameId: query.gameId,
})
});
},
async getHelpDetail(){
async getHelpDetail() {
let query = this.$route.query;
this.helpDetail = await getHelpDetail({
enterpriseId: query.enterpriseId,
shareMemberId: query.shareMemberId,
gameId: query.gameId,
helpMemberId: query.memberId || '',
}) || {};
this.helpDetail =
(await getHelpDetail({
enterpriseId: query.enterpriseId,
shareMemberId: query.shareMemberId,
gameId: query.gameId,
helpMemberId: query.memberId || "",
})) || {};
},
async getGameRule() {
let rule = await getGameRule({
......@@ -181,13 +180,13 @@ export default {
path: "/cmh/1",
query: {
gameId: query.gameId,
memberId: query.memberId || '',
memberId: query.memberId || "",
enterpriseId: query.enterpriseId,
isAttest: query.isAttest,
},
});
},
support(){
support() {
this.manager.support();
},
async shareWx() {
......@@ -229,6 +228,18 @@ export default {
await this.manager.checkPlay();
this.showShareSelectDialog = true;
},
async shareFwh() {
let result = await getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 2,
});
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
},
},
};
</script>
......@@ -312,7 +323,7 @@ export default {
}
/* 好友助力 */
.header-img-box{
.header-img-box {
padding: 40px 0 14px;
}
.header-img {
......@@ -351,7 +362,7 @@ export default {
.handle-btn:last-child {
margin-bottom: 23px;
}
.handle-btn.disable{
.handle-btn.disable {
background: #c7c7c7;
}
......@@ -380,7 +391,7 @@ export default {
}
.cell-top .title {
color: #21252B;
color: #21252b;
font-size: 17px;
padding: 0 10px;
font-weight: 600;
......
......@@ -6,7 +6,7 @@
<div class="content">
<div class="content-detail-bg">
<div class="content-detail">
<div class="title">您还未认证会员</div>
<div class="title">您还未关注服务号</div>
<div class="subtitle">关注服务号,助力赢好礼</div>
<div class="qrcode-box">
<div class="image-box">
......
......@@ -229,6 +229,18 @@ export default {
await this.manager.checkPlay();
this.showShareSelectDialog = true;
},
async shareFwh() {
let result = await getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 2,
});
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
},
},
};
</script>
......
......@@ -6,7 +6,7 @@
<div class="content">
<div class="content-detail-bg">
<div class="content-detail">
<div class="title">您还未认证会员</div>
<div class="title">您还未关注服务号</div>
<div class="subtitle">关注服务号,助力赢好礼</div>
<div class="qrcode-box">
<div class="image-box">
......
......@@ -229,6 +229,18 @@ export default {
await this.manager.checkPlay();
this.showShareSelectDialog = true;
},
async shareFwh() {
let result = await getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 2,
});
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
},
},
};
</script>
......
......@@ -482,7 +482,7 @@ export function Manager(component) {
}
} else if (conditionObj.type == 12) {
// 关注服务号
_component.sharePyq(conditionObj);
_component.shareFwh(conditionObj);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment