(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-menu-My-index"],{"0c7b":function(t,e,a){"use strict";var o=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(a("c04c")),i=(o(a("89c5")),o(a("1359")),{data:function(){return{newName:"",MyInfo:{},transferCode:0,currentBalance:"",areaCode:"",androidUrl:"",myAList:[{id:"3",text:"Change Nick Name"},{id:"4",text:"Reset password"},{id:"5",text:"Android download"}]}},onLoad:function(){var t=this;this.areaCode=uni.getStorageSync("siteInfo").areaCode,this.androidUrl=uni.getStorageSync("siteInfo").androidUrl,console.log(this.androidUrl,78),this.currentBalance=uni.getStorageSync("currentBalance"),this.currencySymbol=uni.getStorageSync("siteInfo").currencySymbol;var e=n.default.userInfo({ticket:uni.getStorageSync("logInfo").data});e.then((function(e){t.MyInfo=e.data,console.log(t.MyInfo,9990),uni.setStorage({key:"MyInfo",data:e.data,success:function(){console.log("success")}}),console.log(e.data)})).catch((function(t){uni.showToast({title:t,icon:"none",duration:2500})}))},methods:{go:function(t){0==t&&(this.transferCode=1),1==t&&uni.navigateTo({url:"../../login/resetPassword/index"}),2==t&&(console.log(this.androidUrl),window.location.href=this.androidUrl)},changeName:function(){if(uni.showLoading({title:"loading"}),""!=this.newName){var t=n.default.updateNickname({ticket:uni.getStorageSync("logInfo").data,nickname:this.newName});t.then((function(t){1==t.success?(uni.showToast({title:"Modified successfully",icon:"success",duration:1500}),setTimeout((function(){location.reload()}),1e3)):uni.showToast({title:"Modification failed",icon:"none",duration:1500}),console.log(t.data,9990)})).catch((function(t){uni.showToast({title:t,icon:"none",duration:2500})}))}else uni.showToast({title:"The new user name cannot be empty",icon:"none",duration:1500})},goRecharge:function(){uni.navigateTo({url:"../recharge/index"})},goWithdraw:function(){uni.navigateTo({url:"../withdrawl/index"})},logout:function(){var t={ticket:uni.getStorageSync("logInfo").data},e=n.default.loginOut(t);e.then((function(t){uni.showLoading({title:"loading"}),1==t.success?(uni.showToast({title:"Log out successfully",icon:"success",duration:1500}),uni.removeStorageSync("logInfo"),uni.removeStorageSync("ticket"),setTimeout((function(){uni.navigateTo({url:"../../login/index"})}),2e3)):uni.showToast({title:"Exit failed",icon:"none",duration:1500}),console.log(t.data,9990)})).catch((function(t){console.log(t)}))}}});e.default=i},"385d":function(t,e,a){"use strict";var o=a("3bc7"),n=a.n(o);n.a},"3add":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return o}));var o={cont:a("1359").default,uMask:a("e8ea").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"my-head"},[a("v-uni-view",{staticClass:"my-info"},[a("v-uni-view",{staticClass:"my-a"},[a("v-uni-view",{staticClass:"my-img"},[a("v-uni-image",{attrs:{src:"https://apitest.luck-work.com/"+t.MyInfo.headImgPath,mode:""}})],1),a("v-uni-view",{staticClass:"my-nameid"},[a("v-uni-view",{staticClass:"my-name"},[t._v(t._s(t.MyInfo.nickname))]),a("v-uni-view",{staticClass:"my-id"},[t._v("ID: "+t._s(t.MyInfo.userId))])],1)],1),a("v-uni-view",{staticClass:"my-b"},[a("v-uni-view",{staticClass:"my-tel"},[t._v("Mobile: +"+t._s(t.areaCode)+" "+t._s(t.MyInfo.mobile))]),a("v-uni-view",{staticClass:"my-bal flex"},[a("v-uni-view",[t._v("Available Balance: "+t._s(t.currentBalance))])],1)],1),a("v-uni-view",{staticClass:"my-c flex"},[a("v-uni-view",{staticClass:"my-btn1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goRecharge()}}},[t._v("recharge")]),a("v-uni-view",{staticClass:"my-btn2",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goWithdraw.apply(void 0,arguments)}}},[t._v("Withdraw")])],1)],1)],1),a("v-uni-view",{staticClass:"my-bg"},[a("v-uni-view",{staticClass:"my-body"},t._l(t.myAList,(function(e,o){return a("v-uni-view",{key:e.id,staticClass:"my-body-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.go(o)}}},[t._v(t._s(e.text))])})),1),a("v-uni-view",{staticClass:"my-body-out",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.logout.apply(void 0,arguments)}}},[t._v("logout")]),a("cont")],1),a("u-mask",{attrs:{show:1==t.transferCode,"z-index":888}}),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==t.transferCode,expression:"transferCode==1"}],staticClass:"tc"},[a("v-uni-view",{staticClass:"title"},[t._v("change name")]),a("v-uni-view",{staticClass:"tc_body"},[a("v-uni-view",{staticClass:"body_item "},[a("v-uni-input",{attrs:{type:"text",value:"",placeholder:"New user name","placeholder-style":"color: #BFC2CC;font-size:14px;text-transform: capitalize;padding-left:24rpx"},model:{value:t.newName,callback:function(e){t.newName=e},expression:"newName"}})],1)],1),a("v-uni-view",{staticClass:"anniu_con flex"},[a("v-uni-view",{staticClass:"cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.transferCode=0}}},[t._v("cancel")]),a("v-uni-view",{staticClass:"cancel pupler",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeName()}}},[t._v("confirm")])],1)],1)],1)},i=[]},"3bc7":function(t,e,a){var o=a("fcd9");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=a("4f06").default;n("586f9e79",o,!0,{sourceMap:!1,shadowMode:!1})},"492b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAxElEQVQ4T52SQQqCYBCF39iFJGxddgF3QiVEKw8RoYQHiVpVeIT60WijtS7qABHuclk6bQoCLf6c/Tfz5r1HqDhUkUMBFCJSoZCRXDXPNCn7trgIhpEFKDOA5shulq7rjzK4VKrY7Idg9pixpDztlsFff1yHuxEBY2b2z0fq2LZ2/7z805xVELsKkcPM03az0ZcGRRA7IHKRY6K3tIEU+JYKkH86sJzUSuaIVxzEWHCe9qTjENtIRV4zkkv9vwLIVrByV5+ovFsPuRcSqAAAAABJRU5ErkJggg=="},"737c":function(t,e,a){"use strict";a.r(e);var o=a("3add"),n=a("7b05");for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);a("385d");var r,s=a("f0c5"),u=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"8aa78a10",null,!1,o["a"],r);e["default"]=u.exports},"7b05":function(t,e,a){"use strict";a.r(e);var o=a("0c7b"),n=a.n(o);for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);e["default"]=n.a},"89c5":function(t,e,a){"use strict";a("4d63"),a("ac1f"),a("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={checkEmail:function(t){return RegExp(/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/).test(t)},checkMobile:function(t){return RegExp(/^1[34578]\d{9}$/).test(t)},caculateTime:function(t,e){return e+1e3*t*60*60},formatyymmdd:function(t){var e=new Date(t);console.log(e,5555655);var a=e.getTime(),o=6e4*e.getTimezoneOffset(),n=a+o,i=8,r=n+36e5*i;e=new Date(r);var s=e.getFullYear(),u=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,c=e.getDate()<10?"0"+e.getDate():e.getDate();e.getHours(),e.getHours(),e.getMinutes(),e.getMinutes(),e.getSeconds(),e.getSeconds();return console.log(u+"/"+c+"/"+s,5454545454),u+"/"+c+"/"+s},formatyymmdd2:function(t){var e=new Date(t),a=e.getTime(),o=6e4*e.getTimezoneOffset(),n=a+o,i=8,r=n+36e5*i;e=new Date(r);var s=e.getFullYear(),u=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,c=e.getDate()<10?"0"+e.getDate():e.getDate();e.getHours(),e.getHours(),e.getMinutes(),e.getMinutes(),e.getSeconds(),e.getSeconds();return s+u+c},formatyymmddhhmmss:function(t){var e=new Date(t),a=e.getTime(),o=6e4*e.getTimezoneOffset(),n=a+o,i=8,r=n+36e5*i;e=new Date(r);var s=e.getFullYear(),u=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,c=e.getDate()<10?"0"+e.getDate():e.getDate(),d=e.getHours()<10?"0"+e.getHours():e.getHours(),l=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),f=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return s+"-"+u+"-"+c+" "+d+":"+l+":"+f},formathhmm:function(t){var e=new Date(t),a=e.getTime(),o=6e4*e.getTimezoneOffset(),n=a+o,i=8,r=n+36e5*i;e=new Date(r);e.getFullYear(),e.getMonth(),e.getMonth(),e.getDate(),e.getDate();var s=e.getHours()<10?"0"+e.getHours():e.getHours(),u=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes();e.getSeconds(),e.getSeconds();return s+":"+u},getBeijingtime:function(){var t=new Date,e=new Date,a=e.getHours(),o=-t.getTimezoneOffset()/60;return o<0?(o=Math.abs(o)+8,e.setHours(a+o)):(o-=8,e.setHours(a-o)),e}},n=o;e.default=n},c04c:function(t,e,a){"use strict";var o=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(a("e143")),i=(o(a("4328")),{siteInfo:function(){return n.default.prototype.$axios.get("/api/home/siteInfo")},register:function(t){return n.default.prototype.$axios.post("/api/home/register",t)},login:function(t){return n.default.prototype.$axios.post("/api/user/login",t)},loginOut:function(t){return n.default.prototype.$axios.post("/api/user/loginOut",t)},forgotPassword:function(t){return n.default.prototype.$axios.post("/api/user/forgotPassword",t)},updatePassword:function(t){return n.default.prototype.$axios.post("/api/user/updatePassword",t)},userInfo:function(t){return n.default.prototype.$axios.post("/api/user/userInfo",t)},updateNickname:function(t){return n.default.prototype.$axios.post("/api/user/updateNickname",t)},updateGender:function(t){return n.default.prototype.$axios.post("/api/user/updateGender",t)},imgCode:function(){return n.default.prototype.$axios.get("/api/home/imgCode")},sendSmsCode:function(t){return n.default.prototype.$axios.post("/api/home/sendSmsCode",t)},lotteryClassList:function(t){return n.default.prototype.$axios.post("/api/lottery/lotteryClassList",t)},nextLotteryPeriod:function(t){return n.default.prototype.$axios.post("/api/lottery/nextLotteryPeriod",t)},bettingConfig:function(t){return n.default.prototype.$axios.post("/api/lottery/bettingConfig",t)},betting:function(t){return n.default.prototype.$axios.post("/api/lottery/betting",t)},lotteryRecords:function(t){return n.default.prototype.$axios.post("/api/lottery/lotteryRecords",t)},myLotteryRecords:function(t){return n.default.prototype.$axios.post("/api/lottery/myLotteryRecords",t)},getPayType:function(t){return n.default.prototype.$axios.post("/api/recharge/getPayType",t)},rechargeConfig:function(t){return n.default.prototype.$axios.post("/api/recharge/rechargeConfig",t)},recharge:function(t){return n.default.prototype.$axios.post("/api/recharge/recharge",t)},rechargeList:function(t){return n.default.prototype.$axios.post("/api/recharge/rechargeList",t)},toPay:function(t){return n.default.prototype.$axios.post("/api/recharge/toPay",t)},withdrawConfig:function(t){return n.default.prototype.$axios.post("/api/withdraw/withdrawConfig",t)},withdrawServiceCharge:function(t){return n.default.prototype.$axios.post("/api/withdraw/withdrawServiceCharge",t)},withdraw:function(t){return n.default.prototype.$axios.post("/api/withdraw/withdraw",t)},withdrawList:function(t){return n.default.prototype.$axios.post("/api/withdraw/withdrawList",t)},billList:function(t){return n.default.prototype.$axios.post("/api/summary/billList",t)},inviteCode:function(t){return n.default.prototype.$axios.post("/api/user/inviteCode",t)},bonusOut:function(t){return n.default.prototype.$axios.post("/api/summary/bonusOut",t)},bonusOutRecords:function(t){return n.default.prototype.$axios.post("/api/summary/bonusOutRecords",t)},promotionRecords:function(t){return n.default.prototype.$axios.post("/api/summary/promotionRecords",t)},bonusRecords:function(t){return n.default.prototype.$axios.post("/api/summary/bonusRecords",t)}}),r=i;e.default=r},fcd9:function(t,e,a){var o=a("24fb"),n=a("1de5"),i=a("492b");e=o(!1);var r=n(i);e.push([t.i,'.content[data-v-8aa78a10]{padding-bottom:%?254?%;background-color:#f5f7fa!important;position:relative}.flex[data-v-8aa78a10]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;flex-flow:row wrap}.my-head[data-v-8aa78a10]{background-color:#34026b;padding:%?26?% %?26?%}.my-a[data-v-8aa78a10]{display:-webkit-box;display:-webkit-flex;display:flex}.my-img[data-v-8aa78a10]{width:%?76?%;height:%?76?%}.my-img uni-image[data-v-8aa78a10]{width:100%;height:100%}.my-nameid[data-v-8aa78a10]{margin-left:%?24?%}.my-name[data-v-8aa78a10]{color:#fff;font-size:%?36?%}.my-id[data-v-8aa78a10]{color:hsla(0,0%,100%,.5);font-size:%?28?%}.my-b[data-v-8aa78a10]{margin-top:%?26?%}.my-tel[data-v-8aa78a10]{color:#fff;font-size:%?27?%;text-transform:capitalize}.my-bal[data-v-8aa78a10]{color:#fff;font-size:%?27?%;text-transform:capitalize;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-top:%?24?%}.my-ap[data-v-8aa78a10]{width:%?118?%;line-height:%?44?%;background-color:#491c7a;border-radius:%?16?%;text-align:center;margin-left:%?26?%}.my-c[data-v-8aa78a10]{margin-top:%?26?%}.my-btn1[data-v-8aa78a10]{width:%?188?%;line-height:%?72?%;background-color:#954de3;border-radius:%?16?%;text-align:center;font-size:%?28?%;color:#fff;text-transform:capitalize}.my-btn2[data-v-8aa78a10]{font-size:%?28?%;width:%?312?%;line-height:%?72?%;background-color:#954de3;border-radius:%?16?%;text-align:center;margin-left:%?26?%;text-transform:capitalize;color:#fff}.my-body[data-v-8aa78a10]{padding:0 %?36?%;background-color:#fff}.my-body-item[data-v-8aa78a10]{width:100%;line-height:%?108?%;border-bottom:%?2?% solid #f5f7fa;color:#303133;font-size:%?30?%;text-transform:capitalize;position:relative}.my-body-item[data-v-8aa78a10]:last-child{border-bottom:none}.my-body-item[data-v-8aa78a10]::before{content:"";width:%?28?%;height:%?28?%;background:url('+r+")no-repeat;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.my-body-out[data-v-8aa78a10]{text-align:center;color:#303133;font-size:%?32?%;background-color:#fff;text-transform:capitalize;line-height:%?108?%;margin-top:%?48?%}.my-bg[data-v-8aa78a10]{background-color:#f5f7fa}.title[data-v-8aa78a10]{text-transform:capitalize;font-size:%?36?%;color:#303133;text-align:center}.cancel[data-v-8aa78a10]{width:50%;text-align:center;text-transform:capitalize;font-size:%?32?%;line-height:%?108?%}.body_item_info[data-v-8aa78a10]{font-size:%?28?%;color:#606266;text-transform:capitalize;margin-top:%?28?%;margin-bottom:%?20?%}.body_item uni-input[data-v-8aa78a10]{height:%?96?%;line-height:%?96?%;border-bottom:%?2?% solid #edeff2}.tc[data-v-8aa78a10]{width:%?600?%;background-color:#fff;border-radius:%?24?%;padding-top:%?48?%;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:999}.tc_body[data-v-8aa78a10]{padding:%?48?% %?36?%}.pupler[data-v-8aa78a10]{color:#954de3}",""]),t.exports=e}}]);