You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
15 KiB
1 lines
15 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-menu-promotion-index"],{"077a":function(t,e,o){t.exports=o.p+"static/img/[email protected]"},"0f6f":function(t,e,o){var a=o("24fb"),i=o("1de5"),n=o("077a");e=a(!1);var r=i(n);e.push([t.i,".pro-head[data-v-cb05b190]{text-align:center;color:#fff;line-height:%?108?%;font-size:%?36?%;text-transform:capitalize;background-color:#34026b;position:relative;padding:0 %?36?%}.pro-hea-rig[data-v-cb05b190]{position:absolute;right:%?36?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.pro-hea-rig .img1[data-v-cb05b190]{width:%?36?%;height:%?36?%;margin-right:%?48?%}.pro-hea-rig .img2[data-v-cb05b190]{width:%?28?%;height:%?24?%}.pro-body[data-v-cb05b190]{padding:0 %?36?%;padding-bottom:%?200?%}.pro-body-p1[data-v-cb05b190]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?44?%;color:#303133;text-align:center;padding:%?60?% 0;text-transform:capitalize}.pro-body-p1 .s1[data-v-cb05b190]{font-family:din;padding-left:%?8?%;vertical-align:bottom}.category-sigh[data-v-cb05b190]{font-size:%?36?%;padding-left:%?16?%}.pro-body-btn1[data-v-cb05b190]{text-align:center;color:#fff;text-transform:capitalize;line-height:%?96?%;background:#34026b;border-radius:%?16?%}.pro-body-lea[data-v-cb05b190]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:space-around;justify-content:space-around}.lea-item[data-v-cb05b190]{width:40%;text-align:center;padding-bottom:%?80?%}.lea-item .p1[data-v-cb05b190]{color:#909399;line-height:%?96?%;font-size:%?32?%}.lea-item .p2[data-v-cb05b190]{color:#909399;margin-top:%?36?%;font-size:%?28?%}.lea-item .p3[data-v-cb05b190]{color:#303133;margin-top:%?20?%;font-size:%?36?%}.lea-item .p1.on[data-v-cb05b190]{color:#34026b;border-bottom:%?4?% solid #34026b}.pro-body-code[data-v-cb05b190]{background:url("+r+")no-repeat;background-size:contain;padding:%?36?%}.code-item1 .p1[data-v-cb05b190]{font-size:%?28?%;color:hsla(0,0%,100%,.4)}.code-item1 .p2[data-v-cb05b190]{font-size:%?32?%;margin-top:%?16?%;color:#fff}.code-item1[data-v-cb05b190]:nth-child(2){margin-top:%?36?%}.code-btn[data-v-cb05b190]{text-align:center;line-height:%?96?%;color:#fff;border-radius:%?16?%;margin-top:%?36?%;background-color:#954de3}.invite-more[data-v-cb05b190]{width:%?750?%;height:%?480?%;background:#fff;border-radius:%?48?% %?48?% 0 0;position:fixed;bottom:0;z-index:9999}.more-a[data-v-cb05b190]{text-transform:capitalize;font-size:%?32?%;color:#303133;text-align:center;line-height:%?108?%}.invite-con[data-v-cb05b190]{padding:%?24?% 0}.invite-con2[data-v-cb05b190]{background-color:#f5f7fa;padding-bottom:%?68?%}.msg-box-bg[data-v-cb05b190]{width:100%;height:100%;position:fixed;left:0;top:0;z-index:1001;background-color:rgba(0,0,0,.5)}.appl_Ba[data-v-cb05b190]{width:%?600?%;background-color:#fff;position:fixed;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:%?24?%;z-index:9999}.appl_Ba .top[data-v-cb05b190]{padding:%?48?% %?48?% 0 %?48?%}.appl_Ba .title[data-v-cb05b190]{color:#303133;font-size:%?36?%;text-align:center;text-transform:capitalize}.appl_Ba .input[data-v-cb05b190]{margin-top:%?48?%;line-height:%?96?%;height:%?96?%}.appl_Ba .input uni-input[data-v-cb05b190]{height:100%;border-bottom:%?2?% solid #edeff2}.appl_Ba .all[data-v-cb05b190]{line-height:%?96?%;background-color:#34026b;border-radius:%?16?%;text-align:center;color:#fff;margin-top:%?48?%}.appl_Ba .btn_con[data-v-cb05b190]{margin-top:%?48?%;border-top:%?2?% solid #f7f9fc;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;text-transform:capitalize}.appl_Ba .btn_con .btn1[data-v-cb05b190]{width:50%;text-align:center;color:#606266;font-size:%?32?%;line-height:%?108?%}.appl_Ba .btn_con .btn1[data-v-cb05b190]:nth-child(1){border-right:%?2?% solid #f7f9fc}.puple[data-v-cb05b190]{color:#954de3!important}",""]),t.exports=e},1026:function(t,e,o){"use strict";o.r(e);var a=o("3af9"),i=o("59c0");for(var n in i)"default"!==n&&function(t){o.d(e,t,(function(){return i[t]}))}(n);o("b2e8");var r,s=o("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"cb05b190",null,!1,a["a"],r);e["default"]=c.exports},"1f3b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAApElEQVRIS+2WsQ3CQBAE5yUCAoqgA5ybEuiDhJyEgIAi7C6QcAmmCySKwAHZogtsIUH4dw7sK2BHO/rTX5J0BE7ACt/pgEuS9AqA9VU6A96AnW+5If1qwAWwDQK2KQg0YGZgduMTUCppAxwAWw/PeQOV7eETWHuSvrIfowALYA8snVua0noCr9RZ40/8rDS78f4DLrMn/w+8R58YzShHVOSZeP4ApiU6RMV5JlwAAAAASUVORK5CYII="},"3af9":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){return a}));var a={cont:o("1359").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"pro-head"},[t._v("promotion"),a("v-uni-view",{staticClass:"pro-hea-rig"},[a("v-uni-image",{staticClass:"img1",attrs:{src:o("bcef"),mode:"aspectFit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goInviteRule()}}}),a("v-uni-image",{staticClass:"img2",attrs:{src:o("1f3b"),mode:"aspectFit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.invMore=!0,t.msShow=!0}}})],1)],1),a("v-uni-view",{staticClass:"pro-body"},[a("v-uni-view",{staticClass:"pro-body-p1"},[t._v("bonus:"),a("span",{staticClass:"category-sigh"},[t._v(t._s(t.currencySymbol))]),a("span",{staticClass:"s1"},[t._v(t._s(t.inviteRule.bonusCapital))])]),a("v-uni-view",{staticClass:"pro-body-btn1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.appl=!0,t.msShow=!0}}},[t._v("Apply to balance")]),a("v-uni-view",{staticClass:"pro-body-lea"},t._l(t.proLeav,(function(e,o){return a("v-uni-view",{key:e.id,staticClass:"lea-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leaIdChange(o)}}},[a("p",{class:["p1",t.leaId==o?"on":""]},[t._v(t._s(e.lea))]),a("p",{staticClass:"p2"},[t._v(t._s(e.lea2))]),a("p",{staticClass:"p3"},[t._v(t._s(e.leanum))])])})),1),a("v-uni-view",{staticClass:"pro-body-code"},[a("v-uni-view",{staticClass:"code-item1"},[a("p",{ref:"",staticClass:"p1"},[t._v("My Promotion Code")]),a("p",{staticClass:"p2"},[t._v(t._s(t.inviteRule.inviteCode))])]),a("v-uni-view",{staticClass:"code-item1"},[a("p",{staticClass:"p1"},[t._v("My Promotion Link")]),a("p",{staticClass:"p2"},[t._v(t._s(t.copyText))])]),a("v-uni-view",{staticClass:"code-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copyTextMethod()}}},[t._v("Copy")])],1),a("cont")],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.invMore,expression:"invMore"}],staticClass:"invite-more"},[a("v-uni-view",{staticClass:"invite-con"},[a("v-uni-view",{staticClass:"more-a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goProRe.apply(void 0,arguments)}}},[t._v("promotion record")]),a("v-uni-view",{staticClass:"more-a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBouns.apply(void 0,arguments)}}},[t._v("bonus record")]),a("v-uni-view",{staticClass:"more-a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.applyRecord.apply(void 0,arguments)}}},[t._v("apply record")])],1),a("v-uni-view",{staticClass:"invite-con2"},[a("v-uni-view",{staticClass:"more-a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.invMore=!1,t.msShow=!1}}},[t._v("cancel")])],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.appl,expression:"appl"}],staticClass:"appl_Ba"},[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"title"},[t._v("apply to balance")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{type:"text",value:"",placeholder:"bonus","placeholder-style":"color: #BFC2CCFF;font-size:28rpx;text-transform: capitalize"},model:{value:t.tranAmt,callback:function(e){t.tranAmt=e},expression:"tranAmt"}})],1),a("v-uni-view",{staticClass:"all",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.applyAll()}}},[t._v("Apply all")])],1),a("v-uni-view",{staticClass:"btn_con"},[a("v-uni-view",{staticClass:"btn1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.appl=!1,t.msShow=!1}}},[t._v("cancel")]),a("v-uni-view",{staticClass:"btn1 puple",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bountOut()}}},[t._v("confirm")])],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.msShow,expression:"msShow"}],staticClass:"msg-box-bg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.invMore=!1,t.msShow=!1,t.appl=!1}}})],1)},n=[]},"59c0":function(t,e,o){"use strict";o.r(e);var a=o("d6c3"),i=o.n(a);for(var n in a)"default"!==n&&function(t){o.d(e,t,(function(){return a[t]}))}(n);e["default"]=i.a},b2e8:function(t,e,o){"use strict";var a=o("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pPktoma21nwZPey/Sk19QEFMWG30Q6J9f4ekyAAAAAAElFTkSuQmCC"},bfca:function(t,e,o){var a=o("0f6f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("4f06").default;i("937e70e2",a,!0,{sourceMap:!1,shadowMode:!1})},c04c:function(t,e,o){"use strict";var a=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(o("e143")),n=(a(o("4328")),{siteInfo:function(){return i.default.prototype.$axios.get("/api/home/siteInfo")},register:function(t){return i.default.prototype.$axios.post("/api/home/register",t)},login:function(t){return i.default.prototype.$axios.post("/api/user/login",t)},loginOut:function(t){return i.default.prototype.$axios.post("/api/user/loginOut",t)},forgotPassword:function(t){return i.default.prototype.$axios.post("/api/user/forgotPassword",t)},updatePassword:function(t){return i.default.prototype.$axios.post("/api/user/updatePassword",t)},userInfo:function(t){return i.default.prototype.$axios.post("/api/user/userInfo",t)},updateNickname:function(t){return i.default.prototype.$axios.post("/api/user/updateNickname",t)},updateGender:function(t){return i.default.prototype.$axios.post("/api/user/updateGender",t)},imgCode:function(){return i.default.prototype.$axios.get("/api/home/imgCode")},sendSmsCode:function(t){return i.default.prototype.$axios.post("/api/home/sendSmsCode",t)},lotteryClassList:function(t){return i.default.prototype.$axios.post("/api/lottery/lotteryClassList",t)},nextLotteryPeriod:function(t){return i.default.prototype.$axios.post("/api/lottery/nextLotteryPeriod",t)},bettingConfig:function(t){return i.default.prototype.$axios.post("/api/lottery/bettingConfig",t)},betting:function(t){return i.default.prototype.$axios.post("/api/lottery/betting",t)},lotteryRecords:function(t){return i.default.prototype.$axios.post("/api/lottery/lotteryRecords",t)},myLotteryRecords:function(t){return i.default.prototype.$axios.post("/api/lottery/myLotteryRecords",t)},getPayType:function(t){return i.default.prototype.$axios.post("/api/recharge/getPayType",t)},rechargeConfig:function(t){return i.default.prototype.$axios.post("/api/recharge/rechargeConfig",t)},recharge:function(t){return i.default.prototype.$axios.post("/api/recharge/recharge",t)},rechargeList:function(t){return i.default.prototype.$axios.post("/api/recharge/rechargeList",t)},toPay:function(t){return i.default.prototype.$axios.post("/api/recharge/toPay",t)},withdrawConfig:function(t){return i.default.prototype.$axios.post("/api/withdraw/withdrawConfig",t)},withdrawServiceCharge:function(t){return i.default.prototype.$axios.post("/api/withdraw/withdrawServiceCharge",t)},withdraw:function(t){return i.default.prototype.$axios.post("/api/withdraw/withdraw",t)},withdrawList:function(t){return i.default.prototype.$axios.post("/api/withdraw/withdrawList",t)},billList:function(t){return i.default.prototype.$axios.post("/api/summary/billList",t)},inviteCode:function(t){return i.default.prototype.$axios.post("/api/user/inviteCode",t)},bonusOut:function(t){return i.default.prototype.$axios.post("/api/summary/bonusOut",t)},bonusOutRecords:function(t){return i.default.prototype.$axios.post("/api/summary/bonusOutRecords",t)},promotionRecords:function(t){return i.default.prototype.$axios.post("/api/summary/promotionRecords",t)},bonusRecords:function(t){return i.default.prototype.$axios.post("/api/summary/bonusRecords",t)}}),r=n;e.default=r},d6c3:function(t,e,o){"use strict";var a=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a(o("1359"));var i=a(o("c04c")),n={data:function(){return{currencySymbol:"",leaId:0,inviteRule:[],tranAmt:"",proLeav:[{id:0,lea:"level1",lea2:"Total people",leanum:0},{id:1,lea:"level2",lea2:"Contribution",leanum:0}],copyText:"",invMore:!1,appl:!1,msShow:!1}},onLoad:function(){var t=this,e=i.default.inviteCode({ticket:uni.getStorageSync("logInfo").data});e.then((function(e){t.inviteRule=e.data,t.copyText=t.inviteRule.qrcodeUrl,console.log(e.data,9999)})).catch((function(t){uni.showToast({title:t,icon:"none",duration:2500})}))},methods:{goInviteRule:function(){uni.navigateTo({url:"../rule/inviteRule/index"})},applyAll:function(){this.tranAmt=this.inviteRule.bonusCapital},bountOut:function(){var t=i.default.bonusOut({ticket:uni.getStorageSync("logInfo").data,tranAmt:this.tranAmt});t.then((function(t){t&&(1==t.success?uni.showToast({title:"Commission successfully transferred out to balance",icon:"success",duration:1500}):uni.showToast({title:t.errMsg,icon:"none",duration:1500}))})).catch((function(t){uni.showToast({title:t,icon:"none",duration:2500})}))},goProRe:function(){uni.navigateTo({url:"./promotionRecord/index"})},goBouns:function(){uni.navigateTo({url:"./bounsRecord/index"})},applyRecord:function(){uni.navigateTo({url:"./applyRecord/index"})},copyTextMethod:function(){this.$copyText(this.copyText).then((function(t){uni.showToast({title:"Copy succeeded",icon:"success"})}))},leaIdChange:function(t){this.leaId=t}}};e.default=n}}]);
|