Commit a09b197a by 曾经

分享保存

parent fe2c83bd
.box[data-v-b61cea84]{position:relative}.page-bg[data-v-b61cea84]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-b61cea84]{width:100%}.content[data-v-b61cea84]{position:relative;z-index:1}.content-cell[data-v-b61cea84]{border-radius:8px;border:1px solid #21252b;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-b61cea84]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#e8fccf,rgba(238,247,225,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-b61cea84]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-b61cea84]{color:#21252b;font-size:15px}.reward-box[data-v-b61cea84]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-b61cea84]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-b61cea84]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-b61cea84]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-b61cea84]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-b61cea84]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-b61cea84]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-b61cea84]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-b61cea84],.reward-item-detail .reward-name[data-v-b61cea84]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-b61cea84]{font-size:11px;font-weight:300;margin:4px 0 7px;min-height:17px}.rule-item[data-v-b61cea84]{padding:15px 13px 0}.rule-item[data-v-b61cea84]:last-child{padding-bottom:16px}.rule-item .title[data-v-b61cea84]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-b61cea84]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ No newline at end of file
.box[data-v-29aa9d8e]{position:relative}.page-bg[data-v-29aa9d8e]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-29aa9d8e]{width:100%}.content[data-v-29aa9d8e]{position:relative;z-index:1}.content-cell[data-v-29aa9d8e]{border-radius:8px;border:1px solid #21252b;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-29aa9d8e]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#e8fccf,rgba(238,247,225,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-29aa9d8e]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-29aa9d8e]{color:#21252b;font-size:15px}.reward-box[data-v-29aa9d8e]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-29aa9d8e]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-29aa9d8e]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-29aa9d8e]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-29aa9d8e]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-29aa9d8e]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-29aa9d8e]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-29aa9d8e]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-29aa9d8e],.reward-item-detail .reward-name[data-v-29aa9d8e]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-29aa9d8e]{font-size:11px;font-weight:300;margin:4px 0 7px}.rule-item[data-v-29aa9d8e]{padding:15px 13px 0}.rule-item[data-v-29aa9d8e]:last-child{padding-bottom:16px}.rule-item .title[data-v-29aa9d8e]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-29aa9d8e]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ No newline at end of file
.box[data-v-c9771f7c]{position:relative}.page-bg[data-v-c9771f7c]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-c9771f7c]{width:100%}.content[data-v-c9771f7c]{position:relative;z-index:1}.content-cell[data-v-c9771f7c]{border-radius:8px;border:1px solid #06b0b2;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-c9771f7c]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#dff7f4,rgba(223,247,244,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-c9771f7c]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-c9771f7c]{color:#38bdcd;font-size:15px}.reward-box[data-v-c9771f7c]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-c9771f7c]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-c9771f7c]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-c9771f7c]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-c9771f7c]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-c9771f7c]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-c9771f7c]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-c9771f7c]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-c9771f7c],.reward-item-detail .reward-name[data-v-c9771f7c]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-c9771f7c]{font-size:11px;font-weight:300;margin:4px 0 7px;min-height:17px}.rule-item[data-v-c9771f7c]{padding:15px 13px 0}.rule-item[data-v-c9771f7c]:last-child{padding-bottom:16px}.rule-item .title[data-v-c9771f7c]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-c9771f7c]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ No newline at end of file
.box[data-v-4aa18a6a]{position:relative}.page-bg[data-v-4aa18a6a]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-4aa18a6a]{width:100%}.content[data-v-4aa18a6a]{position:relative;z-index:1}.content-cell[data-v-4aa18a6a]{border-radius:8px;border:1px solid #21252b;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-4aa18a6a]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#d9fcf5,rgba(238,247,225,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-4aa18a6a]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-4aa18a6a]{color:#21252b;font-size:15px}.reward-box[data-v-4aa18a6a]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-4aa18a6a]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-4aa18a6a]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-4aa18a6a]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-4aa18a6a]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-4aa18a6a]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-4aa18a6a]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-4aa18a6a]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-4aa18a6a],.reward-item-detail .reward-name[data-v-4aa18a6a]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-4aa18a6a]{font-size:11px;font-weight:300;margin:4px 0 7px}.rule-item[data-v-4aa18a6a]{padding:15px 13px 0}.rule-item[data-v-4aa18a6a]:last-child{padding-bottom:16px}.rule-item .title[data-v-4aa18a6a]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-4aa18a6a]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ No newline at end of file
.box[data-v-49910def]{position:relative}.page-bg[data-v-49910def]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-49910def]{width:100%}.content[data-v-49910def]{position:relative;z-index:1}.content-cell[data-v-49910def]{border-radius:8px;border:1px solid #21252b;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-49910def]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#d9fcf5,rgba(238,247,225,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-49910def]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-49910def]{color:#21252b;font-size:15px}.reward-box[data-v-49910def]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-49910def]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-49910def]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-49910def]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-49910def]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-49910def]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-49910def]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-49910def]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-49910def],.reward-item-detail .reward-name[data-v-49910def]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-49910def]{font-size:11px;font-weight:300;margin:4px 0 7px;min-height:17px}.rule-item[data-v-49910def]{padding:15px 13px 0}.rule-item[data-v-49910def]:last-child{padding-bottom:16px}.rule-item .title[data-v-49910def]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-49910def]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ No newline at end of file
.box[data-v-f6709206]{position:relative}.page-bg[data-v-f6709206]{position:fixed;z-index:0;left:0;top:0;width:100%;height:100%;background:#addfcd}.page-bg .bg-img[data-v-f6709206]{width:100%}.content[data-v-f6709206]{position:relative;z-index:1}.content-cell[data-v-f6709206]{border-radius:8px;border:1px solid #06b0b2;background:#fff;margin:12px 12px 3px;width:calc(100% - 24px);box-sizing:border-box}.cell-top[data-v-f6709206]{display:flex;align-items:center;justify-content:center;height:50px;background:linear-gradient(180deg,#dff7f4,rgba(223,247,244,.3));border-radius:8px 8px 0 0}.cell-top .title[data-v-f6709206]{color:#21252b;font-size:17px;padding:0 10px;font-weight:600}.cell-top .iconfont[data-v-f6709206]{color:#38bdcd;font-size:15px}.reward-box[data-v-f6709206]{padding:15px 0 6px;display:flex;flex-wrap:wrap}.reward-item-box[data-v-f6709206]{width:calc(50% - 19px);padding:0 6px 12px}.reward-item-box[data-v-f6709206]:nth-child(odd){padding-left:13px}.reward-item-box[data-v-f6709206]:nth-child(2n+2){padding-right:13px}.reward-item-detail[data-v-f6709206]{background:#f6f6f6;border-radius:4px;padding:6px}.reward-item-detail .img-box[data-v-f6709206]{padding-top:100%;position:relative;background:#fff}.reward-item-detail .img-box .reward-img[data-v-f6709206]{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 20px);height:calc(100% - 20px)}.reward-item-detail .reward-name[data-v-f6709206]{font-size:14px;font-weight:500;margin:11px 0 0}.reward-item-detail .reward-des[data-v-f6709206],.reward-item-detail .reward-name[data-v-f6709206]{color:#21252b;word-break:break-all;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.reward-item-detail .reward-des[data-v-f6709206]{font-size:11px;font-weight:300;margin:4px 0 7px}.rule-item[data-v-f6709206]{padding:15px 13px 0}.rule-item[data-v-f6709206]:last-child{padding-bottom:16px}.rule-item .title[data-v-f6709206]{color:#21252b;font-size:14px;font-weight:600}.rule-item .value[data-v-f6709206]{color:#21252b;font-size:13px;margin-top:8px;word-break:break-all;white-space:pre-wrap}
\ 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-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-1da76712.88c29ef2.css" rel="prefetch"><link href="css/chunk-2f733f66.2b3e4278.css" rel="prefetch"><link href="css/chunk-36269bc6.8ec43a85.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-3c0350fd.81bcd3ad.css" rel="prefetch"><link href="css/chunk-3d2ea37b.b33bcbc8.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-59271e63.125fb2d1.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-8a06765c.0e7d2819.css" rel="prefetch"><link href="css/chunk-8ee9d0e4.e2e31a79.css" rel="prefetch"><link href="css/chunk-b7af6880.829c93bd.css" rel="prefetch"><link href="js/chunk-19f41208.64f37e0c.js" rel="prefetch"><link href="js/chunk-1da76712.e3f344d3.js" rel="prefetch"><link href="js/chunk-2f733f66.7dba2fe0.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-36269bc6.6d0636dd.js" rel="prefetch"><link href="js/chunk-390246b3.22a54d49.js" rel="prefetch"><link href="js/chunk-3c0350fd.5bc34cae.js" rel="prefetch"><link href="js/chunk-3d2ea37b.df33b060.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.5c467034.js" rel="prefetch"><link href="js/chunk-59271e63.9e325365.js" rel="prefetch"><link href="js/chunk-71639305.5785be32.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-8a06765c.7e1b68c7.js" rel="prefetch"><link href="js/chunk-8ee9d0e4.08963a48.js" rel="prefetch"><link href="js/chunk-b7af6880.c13d59c5.js" rel="prefetch"><link href="js/app.95885c64.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.95885c64.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-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-24d6284a.894d8efa.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-43f16bec.93471f91.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-57e5af0e.2e9267f4.css" rel="prefetch"><link href="css/chunk-5bb0cafd.6e7ac050.css" rel="prefetch"><link href="css/chunk-69ba95ca.dcc6a9b2.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-7335cd0c.375d042e.css" rel="prefetch"><link href="css/chunk-93a2772c.fdb7175e.css" rel="prefetch"><link href="css/chunk-9a21adb8.977c7e3c.css" rel="prefetch"><link href="css/chunk-d289896c.93b3d2aa.css" rel="prefetch"><link href="js/chunk-19f41208.64f37e0c.js" rel="prefetch"><link href="js/chunk-24d6284a.4b2e916a.js" rel="prefetch"><link href="js/chunk-3566c97c.3f1cfa5e.js" rel="prefetch"><link href="js/chunk-390246b3.22a54d49.js" rel="prefetch"><link href="js/chunk-43f16bec.26ba19af.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.5c467034.js" rel="prefetch"><link href="js/chunk-57e5af0e.03b5328f.js" rel="prefetch"><link href="js/chunk-5bb0cafd.c7cf5bf3.js" rel="prefetch"><link href="js/chunk-69ba95ca.9ac7c839.js" rel="prefetch"><link href="js/chunk-71639305.5785be32.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-7335cd0c.ff79e635.js" rel="prefetch"><link href="js/chunk-93a2772c.c381918d.js" rel="prefetch"><link href="js/chunk-9a21adb8.984dab97.js" rel="prefetch"><link href="js/chunk-d289896c.08a53e49.js" rel="prefetch"><link href="js/app.491b484f.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.491b484f.js"></script></body></html>
\ No newline at end of file
......@@ -56,9 +56,14 @@ const gameApiMap = {
// 获取分享码
getGameShareQrCodeUrl: {
type:"post",
url: '/gic-wx-app/game/share'
url: '/gic-wx-app/game/share_qr'
},
// 保存记录分享
saveGameShare: {
type:"post",
url: '/gic-wx-app/game/share'
},
// 获取助力详情
getHelpDetail: '/gic-wx-app/game/help_detail',
......
......@@ -167,6 +167,7 @@ const {
getGamePlayBarrage,
getIntegral,
getGameRule,
saveGameShare,
getGameShareQrCodeUrl,
shareEvent,
} = gameRequestApi;
......@@ -302,6 +303,13 @@ export default {
this.getIntegral();
this.getGamePlayBarrage();
this.lookBuryPoint();
document.addEventListener("WeixinJSBridgeReady", ()=> {
/**musicStar为音乐audio的 id**/
if(this.audio.src && this.isPlay){
this.audio.play();
}
}, false);
},
mounted() {
this.manager.startPolling();
......@@ -339,7 +347,7 @@ export default {
this.animationEnd = true;
}, 1000);
this.audio.src = res.gameExt.backMusicUrl;
this.isPlay = true;
if (this.isPlay) {
this.audio.play();
} else {
......@@ -436,13 +444,14 @@ export default {
},
async shareWx() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -454,13 +463,14 @@ export default {
},
async sharePyq() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: options.type == 12 ? 2 : 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
this.pyqOptions = {
bgImage: options.shareReport,
......
......@@ -239,6 +239,7 @@ export default {
font-size: 11px;
font-weight: 300;
margin: 4px 0 7px;
min-height: 17px;
word-break: break-all;
text-overflow: -o-ellipsis-lastline;
......
......@@ -81,6 +81,7 @@ const {
getHelpDetail,
getGameReward,
getGameInfo,
saveGameShare,
getGameShareQrCodeUrl,
getGameRule,
} = gameRequestApi;
......@@ -194,15 +195,17 @@ export default {
support() {
this.manager.support();
},
shareWx() {
async shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -215,15 +218,17 @@ export default {
this.manager.showTips(err.message);
});
},
sharePyq() {
async sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
......
......@@ -156,6 +156,7 @@ const {
getGamePlayBarrage,
getIntegral,
getGameRule,
saveGameShare,
getGameShareQrCodeUrl,
shareEvent,
} = gameRequestApi;
......@@ -423,13 +424,14 @@ export default {
},
async shareWx() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -441,12 +443,14 @@ export default {
},
async sharePyq() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: options.type == 12 ? 2 : 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
this.pyqOptions = {
bgImage: options.shareReport,
......
......@@ -239,7 +239,8 @@ export default {
font-size: 11px;
font-weight: 300;
margin: 4px 0 7px;
min-height: 17px;
word-break: break-all;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
......
......@@ -83,6 +83,7 @@ const {
getHelpDetail,
getGameReward,
getGameInfo,
saveGameShare,
getGameShareQrCodeUrl,
getGameRule,
} = gameRequestApi;
......@@ -195,15 +196,17 @@ export default {
support(){
this.manager.support();
},
shareWx() {
async shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -216,15 +219,17 @@ export default {
this.manager.showTips(err.message);
});
},
sharePyq() {
async sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
......
......@@ -156,6 +156,7 @@ const {
getGamePlayBarrage,
getIntegral,
getGameRule,
saveGameShare,
getGameShareQrCodeUrl,
shareEvent,
} = gameRequestApi;
......@@ -411,13 +412,14 @@ export default {
},
async shareWx() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -429,12 +431,14 @@ export default {
},
async sharePyq() {
let options = this.shareConditionObj;
let result = await getGameShareQrCodeUrl({
let data = {
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: options.type == 12 ? 2 : 1,
});
};
await saveGameShare(data).catch(()=>{});
let result = await getGameShareQrCodeUrl(data);
this.pyqOptions = {
bgImage: options.shareReport,
......
......@@ -239,6 +239,7 @@ export default {
font-size: 11px;
font-weight: 300;
margin: 4px 0 7px;
min-height: 17px;
word-break: break-all;
text-overflow: -o-ellipsis-lastline;
......
......@@ -83,6 +83,7 @@ const {
getHelpDetail,
getGameReward,
getGameInfo,
saveGameShare,
getGameShareQrCodeUrl,
getGameRule,
} = gameRequestApi;
......@@ -195,15 +196,17 @@ export default {
support(){
this.manager.support();
},
shareWx() {
async shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -216,15 +219,17 @@ export default {
this.manager.showTips(err.message);
});
},
sharePyq() {
async sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
let data = {
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result) => {
};
await saveGameShare(data).catch(()=>{});
getGameShareQrCodeUrl(data).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
......
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