(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{1148:function(t,e,n){"use strict";var a=n("a691"),o=n("1d80");t.exports=function(t){var e=String(o(this)),n="",r=a(t);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},1276:function(t,e,n){"use strict";var a=n("d784"),o=n("44e7"),r=n("825a"),i=n("1d80"),c=n("4840"),s=n("8aa5"),l=n("50c4"),u=n("14c3"),h=n("9263"),d=n("9f7f"),f=n("d039"),p=d.UNSUPPORTED_Y,g=[].push,v=Math.min,m=4294967295,y=!f((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var a=String(i(this)),r=void 0===n?m:n>>>0;if(0===r)return[];if(void 0===t)return[a];if(!o(t))return e.call(a,t,r);var c,s,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=new RegExp(t.source,d+"g");while(c=h.call(p,a)){if(s=p.lastIndex,s>f&&(u.push(a.slice(f,c.index)),c.length>1&&c.index=r))break;p.lastIndex===c.index&&p.lastIndex++}return f===a.length?!l&&p.test("")||u.push(""):u.push(a.slice(f)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=i(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,o,n):a.call(String(o),e,n)},function(t,o){var i=n(a,this,t,o,a!==e);if(i.done)return i.value;var h=r(this),d=String(t),f=c(h,RegExp),g=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(p?"g":"y"),b=new f(p?"^(?:"+h.source+")":h,y),w=void 0===o?m:o>>>0;if(0===w)return[];if(0===d.length)return null===u(b,d)?[d]:[];var A=0,x=0,I=[];while(x=51||!a((function(){var e=[],n=e.constructor={};return n[i]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"2e60":function(t,e,n){"use strict";n.r(e);var a,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.order?n("div",{staticClass:"mianBox"},[n("van-row",{staticClass:"headerBox"},[t.fanhui?n("van-icon",{attrs:{name:"arrow-left"},on:{click:function(e){return t.$router.go(-1)}}}):t._e(),t._v(" 充值 ")],1),n("van-row",{staticClass:"contentBox",staticStyle:{"padding-top":"10px"}},[n("van-field",{attrs:{readonly:"",label:"¥",placeholder:"请输入充值金额( 元 )","label-width":"10px",clickable:"",value:t.money},nativeOn:{touchstart:function(e){e.stopPropagation(),t.show=!0}}}),n("van-number-keyboard",{attrs:{theme:"custom",show:t.show,title:"¥"+t.money,"hide-on-click-outside":!1,maxlength:8,"extra-key":".","close-button-text":"确定"},on:{input:t.handleInput,delete:t.handleDelete,close:t.handleClose,blur:function(e){t.show=!1}}})],1),n("van-overlay",{attrs:{show:t.overlayShow},on:{click:function(e){t.overlayShow=!1}}}),n("van-row",{staticClass:"select_amount",attrs:{gutter:"26px"}},[n("van-col",{style:t.state1,attrs:{span:"8",data:"50"},on:{click:t.btn50}},[t._v("50")]),n("van-col",{style:t.state2,attrs:{span:"8",data:"100"},on:{click:t.btn100}},[t._v("100")]),n("van-col",{style:t.state3,attrs:{span:"8",data:"150"},on:{click:t.btn150}},[t._v("150")]),n("van-col",{style:t.state4,attrs:{span:"8",data:"200"},on:{click:t.btn200}},[t._v("200")]),n("van-col",{style:t.state5,attrs:{span:"8",data:"250"},on:{click:t.btn250}},[t._v("250")]),n("van-col",{style:t.state6,attrs:{span:"8",data:"300"},on:{click:t.btn300}},[t._v("300")])],1),n("van-row",{staticClass:"pay_money",attrs:{type:"flex",justify:"space-around"}},[n("van-col",{staticClass:"left",attrs:{span:"12"}},[t._v("到账金额")]),n("van-col",{staticClass:"right",attrs:{span:"12"}},[t._v("¥"+t._s(Number(t.money-t.proportion*t.money).toFixed(2))+"元")])],1),n("van-row",{staticClass:"tip"},[t._v(" 服务费 ¥"+t._s(Number(t.proportion*t.money).toFixed(2)||0)+"元 "),n("br"),t._v(" 费率 "+t._s(100*t.proportion||0)+"% ")]),n("van-button",{staticClass:"amount",attrs:{round:"",type:"danger"},on:{click:t.recharge}},[t._v("立即充值")]),t.loading?n("van-loading",{staticStyle:{"z-index":"999999",position:"fixed",top:"40%",left:"0",right:"0"},attrs:{size:"24px",vertical:""}},[t._v("加载中...")]):t._e(),n("van-overlay",{staticStyle:{"z-index":"100",position:"fixed"},attrs:{show:t.loading}})],1):t._e()},r=[],i=n("1da1"),c=n("ade3"),s=(n("96cf"),n("b0c0"),n("d3b7"),n("25f0"),n("b680"),n("a9e3"),n("bc3a")),l=n.n(s),u=n("565f"),h=n("7bd9"),d=n("2241"),f=n("d399"),p={data:function(){return{cardBalance:void 0,show:!1,loading:!1,overlayShow:!1,money:"0",env:null,state1:"color:#000;background: #ccc;",state2:"color:#000;background: #ccc;",state3:"color:#000;background: #ccc;",state4:"color:#000;background: #ccc;",state5:"color:#000;background: #ccc;",state6:"color:#000;background: #ccc;",channelId:void 0,fanhui:!1,proportion:0,order:!0}},watch:{money:function(t){/^0[1-9]/.test(t)&&(this.money=t.substring(1))}},components:(a={},Object(c["a"])(a,u["a"].name,u["a"]),Object(c["a"])(a,h["a"].name,h["a"]),Object(c["a"])(a,d["a"].name,d["a"]),Object(c["a"])(a,f["a"].name,f["a"]),a),created:function(){if(this.$route.query.type)this.channelId=this.$route.query.type,localStorage.setItem("type",this.channelId),console.log("channelId游客充值=",this.channelId),this.proportionData();else if(this.$route.query.backOrder){this.order=!1;var t=JSON.parse(this.$route.query.backOrder),e=t.money;e.toString().indexOf(".")<1&&(e+=".00"),l.a.post("/dxtop/order/topScanPayApi",{money:e,payType:t.payType,scene:t.scene,userId:t.userId}).then((function(t){500==t.data.code?Object(f["a"])(t.data.msg):window.location.href=t.data.msg})).catch((function(){})),this.proportionData()}else localStorage.getItem("user")?(this.fanhui=!0,this.proportionData()):this.fanhui=!0},methods:{proportionData:function(){var t=this;localStorage.getItem("user")&&l.a.get("/dxtop/staff/one",{params:{id:"0001T11000000000V6UQ"}}).then((function(e){console.log(e),e.data.data.proportion&&(t.proportion=Number(1-e.data.data.proportion).toFixed(2))})).catch((function(t){console.log(t)}))},handleInput:function(t){if(this.state1="color:#000;background: #ccc;",this.state2="color:#000;background: #ccc;",this.state3="color:#000;background: #ccc;",this.state4="color:#000;background: #ccc;",this.state5="color:#000;background: #ccc;",this.state6="color:#000;background: #ccc;",this.money=this.money+"",""===this.money&&"."===t)this.money="0";else{if(-1!==this.money.indexOf(".")&&"."===t)return;if(-1!==this.money.indexOf("0")&&1===this.money.length&&0===t)return;if(/\.\d{2}$/.test(this.money))return}this.money+=t},handleDelete:function(){this.money=this.money+"",this.money&&(this.money=this.money.substring(0,this.money.length-1)||0)},handleClose:function(){this.money=Number(this.money),this.overlayShow=!1},isWeixinOrAlipay:function(){var t=window.navigator.userAgent;t.indexOf("MicroMessenger")>0&&(this.env="WeiXin"),t.indexOf("Alipay")>0&&(this.env="Alipay")},pay:function(t,e,n,a){var o=this;return Object(i["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:t.toString().indexOf(".")<1&&(t+=".00",console.log(t)),l.a.post("/dxtop/order/topScanPayApi",{money:t,topPayType:e,payType:n,channelId:a,scene:2}).then((function(t){o.loading=!1,500==t.data.code?Object(f["a"])(t.data.msg):window.location.href=t.data.msg}));case 2:case"end":return r.stop()}}),r)})))()},jumpMode:function(){if(this.money)if("0"==this.money||"0.0"==this.money||"0."==this.money)d["a"].confirm({title:"提示",message:"充值金额不能为0元!"});else if(this.channelId)"WeiXin"==this.env?(console.log("微信环境充值--游客"),this.loading=!0,this.pay(this.money,"W06","2",this.channelId)):"Alipay"==this.env?(console.log("支付宝环境充值--游客"),this.loading=!0,this.pay(this.money,"A01","2",this.channelId)):(console.log("有channelId的其他扫描--游客"),this.$router.push({path:"/recharge",query:{money:this.money,channelId:void 0}}));else{localStorage.getItem("user")?console.log("userid 进入"):console.log("无channelId 进入");var t=this.money.toString();t.indexOf(".")<1&&(t+=".00"),this.$router.push({path:"/recharge",query:{money:t,channelId:void 0}})}else d["a"].confirm({title:"提示",message:"充值金额不能为0元!"})},recharge:function(){this.isWeixinOrAlipay(),this.jumpMode()},btn50:function(){this.state1="color:#fff;background:rgba(242, 46, 60, 1);",this.state2="color:#000;background: #ccc;",this.state3="color:#000;background: #ccc;",this.state4="color:#000;background: #ccc;",this.state5="color:#000;background: #ccc;",this.state6="color:#000;background: #ccc;",this.money=50},btn100:function(){this.state1="color:#000;background: #ccc;",this.state2="color:#fff;background: rgba(242, 46, 60, 1);",this.state3="color:#000;background: #ccc;",this.state4="color:#000;background: #ccc;",this.state5="color:#000;background: #ccc;",this.state6="color:#000;background: #ccc;",this.money=100},btn150:function(){this.state1="color:#000;background: #ccc;",this.state2="color:#000;background: #ccc;",this.state3="color:#fff;background: rgba(242, 46, 60, 1);",this.state4="color:#000;background: #ccc;",this.state5="color:#000;background: #ccc;",this.state6="color:#000;background: #ccc;",this.money=150},btn200:function(){this.state1="color:#000;background: #ccc;",this.state2="color:#000;background: #ccc;",this.state3="color:#000;background: #ccc;",this.state4="color:#fff;background: rgba(242, 46, 60, 1);",this.state5="color:#000;background: #ccc;",this.state6="color:#000;background: #ccc;",this.money=200},btn250:function(){this.state1="color:#000;background: #ccc;",this.state2="color:#000;background: #ccc;",this.state3="color:#000;background: #ccc;",this.state4="color:#000;background: #ccc;",this.state5="color:#fff;background: rgba(242, 46, 60, 1);",this.state6="color:#000;background: #ccc;",this.money=250},btn300:function(){this.state1="color:#000;background: #ccc;",this.state2="color:#000;background: #ccc;",this.state3="color:#000;background: #ccc;",this.state4="color:#000;background: #ccc;",this.state5="color:#000;background: #ccc;",this.state6="color:#fff;background: rgba(242, 46, 60, 1);",this.money=300}}},g=p,v=(n("aa27"),n("2877")),m=Object(v["a"])(g,o,r,!1,null,"31cb7c1b",null);e["default"]=m.exports},"33e5":function(t,e,n){},"3bd1":function(t,e,n){},"3e69":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABWCAYAAABVVmH3AAAJs0lEQVR4Xu2de3QU1R3Hv3dfeUDeybIJbwUTkqC1pR6wth5tT6UChYMC1T5UtJxDeRROlEDBYoAYEh4RRGx7Ki0tniNwQGvFYnnYiqf2tLa1khcIhMRAkt2N2WRDkn1Oz106m33v3NnJbEhm/tud7+93f7/P/HbuvTNzZwmibRxIdp2mknBYQ0C00eTDeT8HzsERvGQudJaCgIuUKwm3M+VjZCcnaZo5jiQNZ1hicyOE6+vtc06wzoA5lI+QYPU1mpMAeUhsoyPLjnvPWOycHZhzEFh9jaYHIKNGFpxYs+VuGIudo329+IHV12isAPETxNrkyLHneozFzhQ+Xy/YnFrNO4Qjc0YOCOkz5Qh3wlTknEs9e8Cm1iIzkdN2SN/UyPPYTxxZ3UX4wgN2TK2mV+n9pSkCOlpoL3Im09EY0ddq3dK4VbxQAsYih4pk1+gqVeDWKUikI+AGqSI5NRr7SJ9RSYf0pic6QyP6Gm3EqZnUjY4UfwrYQTrSClgF7CARGCS3SsUOZ7CZ6ky8YNiBRWmPQ0XUQame6n4XG9vWoMlxdZAwSO82rhX7/fSl2D32F0xZlbWtx/6O3Uw28RDHBWwC0eHqtK6Q1SkEAgcOk+vS0Mf1C5HHRSM72HxdAT6Y+qlfsu9bT8Hq6sZ30x8JC8HsNCFbk+O3/4FLX0adrSYu4KI1KivYLHU26gqu+8U0vWEcjC6j57tkkoTGwi6//Q39tbj/8t3e7xqndSJZNXAdPr9eD4vbEi1P2ffLCra9yB6U4Jhand93gZrc2gS4fe7bTdROwj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wslxajjwdKf/E7TNlh9FrVt0G+Bjug8UOnGn2urjFvR6Rr4I6JAsBZn6NfwpWvSZZ2htdlac387+Wibd4VwybXlZ7RE+yAjI8nlQi/73a7Lx2X7BU/7o1QpuOG2Sh4Lq0MH5zi7a+yrnjf7+C29Lr22so8QhkVUrC0PYz3Hufsrx+7z/vdZ0Jr20usr+wgUuCw1wMHdX5k3ADWoYnlnJdd+8lct0bC94IolkmGkdXDOD3aN3X9/YEph/9pv2dUf5GboMq7KOVq4lXjT3r/T3jnpV5MOhez0w4Llk1x0ZJF6wr1ZuzQq7Uq5Z2hDDTSdUTndjn3Nf+soObr4aMSx//8AHkzY6p0inY4AAAAASUVORK5CYII="},"408a":function(t,e,n){var a=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=a(t))throw TypeError("Incorrect invocation");return+t}},"466d":function(t,e,n){"use strict";var a=n("d784"),o=n("825a"),r=n("50c4"),i=n("1d80"),c=n("8aa5"),s=n("14c3");a("match",(function(t,e,n){return[function(e){var n=i(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](String(n))},function(t){var a=n(e,this,t);if(a.done)return a.value;var i=o(this),l=String(t);if(!i.global)return s(i,l);var u=i.unicode;i.lastIndex=0;var h,d=[],f=0;while(null!==(h=s(i,l))){var p=String(h[0]);d[f]=p,""===p&&(i.lastIndex=c(l,r(i.lastIndex),u)),f++}return 0===f?null:d}]}))},"4fd8":function(t,e,n){"use strict";n("aed0")},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var a=n("1d80"),o=n("5899"),r="["+o+"]",i=RegExp("^"+r+r+"*"),c=RegExp(r+r+"*$"),s=function(t){return function(e){var n=String(a(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5a23":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mianBox"},[a("van-row",{staticClass:"headerBox"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:function(e){return t.$router.go(-1)}}}),t._v(" 账户余额 ")],1),a("van-row",{staticClass:"contentBox"},[a("van-col",{attrs:{span:24}},[t._v("账户余额(元)")]),t.balance?t._e():a("van-col",{attrs:{span:24}},[a("van-image",{attrs:{src:n("b23e")}})],1),t.balance?a("van-col",{attrs:{span:24}},[t._v(t._s(t.balance||0)+" "),a("span",{staticClass:"iconfont icon-shuaxin",on:{click:t.shuaxin}})]):t._e(),t.balance?a("van-col",{attrs:{span:24}},[t._v(t._s(t.createdTime||0))]):t._e()],1),a("van-button",{staticClass:"amount",attrs:{round:"",type:"danger"},on:{click:function(e){return t.$router.push("/amount")}}},[t._v("充值")])],1)},o=[],r=(n("b680"),n("a9e3"),n("a193")),i={data:function(){return{balance:void 0,num:0,createdTime:void 0}},mounted:function(){},created:function(){var t=this;if(localStorage.getItem("balance"))this.balance=localStorage.getItem("balance"),this.createdTime="更新时间:"+localStorage.getItem("getBalanceTime");else var e=function(){localStorage.getItem("balance")&&(t.balance=localStorage.getItem("balance"),t.createdTime="更新时间:"+localStorage.getItem("getBalanceTime"),clearInterval(n)),t.num++,t.num>15&&(clearInterval(n),t.balance="查询失败",t.createdTime="更新时间:"+Object(r["a"])())},n=setInterval(e,1e3)},methods:{shuaxin:function(){this.cardBalance()},cardBalance:function(){this.balance=void 0;var t=this;axios.get("/dxtop/staff/one?id=0001T11000000000V6UQ").then((function(e){axios.get("/dxtop/staff/cardBalance",{params:{card:e.data.data.cardId}}).then((function(e){axios.get("/dxtop/msglog/one",{params:{id:e.data.msg}}).then((function(n){n.data.data.msgFlag;var a=0,o=function(){axios.get("/dxtop/msglog/one",{params:{id:e.data.msg}}).then((function(e){if(4==e.data.data.msgFlag){var n=JSON.parse(e.data.data.consequence);1==n.code&&(t.balance=Number(n.balance).toFixed(2),localStorage.setItem("getBalanceTime",Object(r["a"])()),t.createdTime="更新时间:"+localStorage.getItem("getBalanceTime"),clearInterval(i))}})),a+=2,console.log("余额加载秒数",a),a>14&&(t.balance="查询失败",localStorage.setItem("getBalanceTime",Object(r["a"])()),t.createdTime="更新时间:"+localStorage.getItem("getBalanceTime"),clearInterval(i))},i=setInterval(o,2e3)})).catch((function(t){console.log(t)}))})).catch((function(t){console.log(t)}))})).catch((function(){}))}}},c=i,s=(n("8eff"),n("2877")),l=Object(s["a"])(c,a,o,!1,null,"4914cfc5",null);e["default"]=l.exports},"62f2":function(t,e,n){"use strict";n.r(e);var a,o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mianBox"},[a("van-row",{staticClass:"headerBox"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:function(e){return t.$router.go(-1)}}}),t._v(" 选择充值方式 ")],1),a("van-row",{staticClass:"contentBox"},[a("van-row",[a("van-col",{on:{click:function(e){return t.openApp({app:"weixin://scanqrcode",downA:"https://dldir1.qq.com/weixin/android/weixin8011android1980_arm64.apk",downI:"https://itunes.apple.com/cn/app/wei/id414478124"})}}},[a("van-image",{attrs:{src:n("3e69")}})],1),a("van-col",{on:{click:function(e){return t.openApp({app:"alipayqr",downA:"https://t.alipayobjects.com/L1/71/100/and/alipay_wap_main.apk",downI:"https://itunes.apple.com/cn/app/id333206289?mt=8"})}}},[a("van-image",{attrs:{src:n("d7cf")}})],1)],1),a("van-row",[t._v(" 请选择微信、支付宝进行充值。")]),t.user&&t.version||t.user&&t.huawei?a("van-row",{staticStyle:{color:"red","margin-top":"4px"}},[t._v("(华为、Android10系统在选择微信支付时,需要开启微信的“浮窗”和“允许在其他上层应用上打开”这两个权限) ")]):t._e(),t.loading?a("van-loading",{staticStyle:{"z-index":"999999",position:"fixed",top:"40%",left:"0",right:"0"},attrs:{size:"24px",vertical:""}},[t._v("加载中...")]):t._e(),a("van-overlay",{staticStyle:{"z-index":"100",position:"fixed"},attrs:{show:t.loading}})],1)],1)},r=[],i=n("1da1"),c=n("ade3"),s=(n("96cf"),n("b0c0"),n("ac1f"),n("1276"),n("466d"),n("99af"),n("bc3a")),l=n.n(s),u=n("f564"),h=n("2241"),d=n("d399"),f={components:(a={},Object(c["a"])(a,u["a"].Component.name,u["a"].Component),Object(c["a"])(a,h["a"].Component.name,h["a"].Component),a),data:function(){return{iosApp:"",url:"",loading:!1,money:null,channelId:void 0,userId:void 0,version:!1,huawei:!1}},mounted:function(){var t=navigator.userAgent.toLowerCase();if(/android/i.test(navigator.userAgent)){var e=/android\s([\w.]+)/,n=e.exec(t),a=n[1].split(".")[0];a>=10&&(this.version=!0)}var o=this.judgeBrand(navigator.userAgent.toLowerCase());"huawei"==o&&(this.huawei=!0)},created:function(){this.money=this.$route.query.money,this.channelId=this.$route.query.channelId,localStorage.getItem("user")&&(this.user=localStorage.getItem("user"))},methods:{judgeBrand:function(t){var e="iphone"==t.match(/iphone/i),n="huawei"==t.match(/huawei/i),a="honor"==t.match(/honor/i),o="oppo"==t.match(/oppo/i),r="pacm00"==t.match(/pacm00/i),i="vivo"==t.match(/vivo/i),c="mi "==t.match(/mi\s/i),s="mix "==t.match(/mix\s/i),l="redmi"==t.match(/redmi/i),u="sm-"==t.match(/sm-/i);return e?"iphone":n||a?"huawei":o||r?"oppo":i?"vivo":c||l||s?"xiaomi":u?"samsung":"default"},randomString:function(){for(var t=32,e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",n=e.length,a="",o=0;o0&&void 0!==t[0]?t[0]:"",a){n.next=3;break}return n.abrupt("return");case 3:window.navigator.userAgent.toLowerCase(),navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)?e.channelId?"alipayqr"===a.app?(console.log("苹果游客支付宝url"),e.pay(e.money,"A01","3",e.channelId)):"weixin://scanqrcode"===a.app&&(console.log("苹果游客微信支付url"),e.pay(e.money,"W06","2",e.channelId)):localStorage.getItem("user")?"alipayqr"===a.app?(e.loading=!0,console.log("苹果app支付宝"),e.pay(e.money,"A01","3","",localStorage.getItem("user"))):"weixin://scanqrcode"===a.app&&(e.loading=!0,console.log("苹果app微信小程序"),e.weixin()):"alipayqr"===a.app?(e.pay(e.money,"A01","3",""),console.log("苹果游客支付宝url")):"weixin://scanqrcode"===a.app&&(console.log("苹果游客微信支付url"),e.pay(e.money,"W06","2","")):navigator.userAgent.match(/android/i)?e.channelId?"alipayqr"===a.app?(console.log("安卓游客支付宝url"),e.pay(e.money,"A01","3",e.channelId)):"weixin://scanqrcode"===a.app&&(console.log("安卓游客微信支付url"),e.pay(e.money,"W06","2",e.channelId)):localStorage.getItem("user")?"alipayqr"===a.app?(console.log("苹果app支付宝"),e.pay(e.money,"A01","3","",localStorage.getItem("user")),e.loading=!1):"weixin://scanqrcode"===a.app&&(console.log("安卓app微信小程序"),e.weixin()):"alipayqr"===a.app?(e.pay(e.money,"A01","3",56),console.log("苹果游客支付宝url")):"weixin://scanqrcode"===a.app&&(console.log("苹果游客微信支付url"),e.pay(e.money,"W06","2",56)):Object(d["a"])("请使用手机端支付");case 5:case"end":return n.stop()}}),n)})))()}}},p=f,g=(n("c3b1"),n("2877")),v=Object(g["a"])(p,o,r,!1,null,"6cb2d026",null);e["default"]=v.exports},"65f0":function(t,e,n){var a=n("861d"),o=n("e8b5"),r=n("b622"),i=r("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?a(n)&&(n=n[i],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"6ba5":function(t,e,n){"use strict";n("b111")},"7abe":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mianBox"},[a("van-row",{staticClass:"headerBox"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:function(e){return t.$router.go(-1)}}}),t._v(" 一卡通 ")],1),a("van-row",{staticClass:"contentBox"},[t.user?a("van-row",{on:{click:function(e){return t.$router.push("/balance")}}},[a("van-image",{attrs:{src:n("13ed")}}),a("van-col",{attrs:{span:24}},[t._v("账户余额")]),a("van-col",{attrs:{span:24}},[t._v("个人账户余额信息")])],1):t._e(),a("van-row",{on:{click:function(e){return t.$router.push("/amount")}}},[a("van-image",{attrs:{src:n("8aca")}}),a("van-col",{attrs:{span:24}},[t._v("充值")]),a("van-col",{attrs:{span:24}},[t._v("对余额进行充值")])],1),t.user?a("van-row",{on:{click:function(e){return t.$router.push("/record")}}},[a("van-image",{attrs:{src:n("7b6a")}}),a("van-col",{attrs:{span:24}},[t._v("消费记录")]),a("van-col",{attrs:{span:24}},[t._v("查看消费记录和充值记录")])],1):t._e()],1)],1)},o=[],r=(n("b680"),n("a9e3"),n("ac1f"),n("1276"),n("bc3a")),i=n.n(r),c=n("a193"),s={data:function(){return{user:void 0,type:void 0}},created:function(){var t=window.location.href;this.getQueryVariable("token")||t.indexOf("token")>1?(console.log("app进入"),this.user="0001T11000000000V6UQ",localStorage.removeItem("type"),localStorage.setItem("user","0001T11000000000V6UQ"),localStorage.getItem("balance")||this.cardBalance()):this.getQueryVariable("type")?(console.log("扫码游客进入"),localStorage.removeItem("type"),localStorage.removeItem("user"),localStorage.setItem("type",this.type)):(console.log("app进入"),localStorage.removeItem("type"),localStorage.removeItem("user"),localStorage.setItem("user","0001T11000000000V6UQ"),this.user="0001T11000000000V6UQ",localStorage.getItem("balance")||this.cardBalance())},mounted:function(){},methods:{cardBalance:function(){i.a.get("/dxtop/staff/one?id=0001T11000000000V6UQ").then((function(t){i.a.get("/dxtop/staff/cardBalance",{params:{card:t.data.data.cardId}}).then((function(t){i.a.get("/dxtop/msglog/one",{params:{id:t.data.msg}}).then((function(e){e.data.data.msgFlag;var n=0,a=function(){i.a.get("/dxtop/msglog/one",{params:{id:t.data.msg}}).then((function(t){if(4==t.data.data.msgFlag){var e=JSON.parse(t.data.data.consequence);1==e.code&&(localStorage.setItem("balance",Number(e.balance).toFixed(2)),localStorage.setItem("getBalanceTime",Object(c["a"])()),clearInterval(o))}})),n+=2,console.log("余额加载秒数",n),n>14&&clearInterval(o)},o=setInterval(a,2e3)})).catch((function(t){console.log(t)}))})).catch((function(t){console.log(t)}))})).catch((function(){Toast("用户未录入充值系统")}))},getQueryVariable:function(t){for(var e=window.location.hash.substring(3),n=e.split("&"),a=0;a=0;--r){var i=this.tryEntries[r],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var a=n.completion;if("throw"===a.type){var o=a.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:O(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=a}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},"99af":function(t,e,n){"use strict";var a=n("23e7"),o=n("d039"),r=n("e8b5"),i=n("861d"),c=n("7b0b"),s=n("50c4"),l=n("8418"),u=n("65f0"),h=n("1dde"),d=n("b622"),f=n("2d00"),p=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",m=f>=51||!o((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),y=h("concat"),b=function(t){if(!i(t))return!1;var e=t[p];return void 0!==e?!!e:r(t)},w=!m||!y;a({target:"Array",proto:!0,forced:w},{concat:function(t){var e,n,a,o,r,i=c(this),h=u(i,0),d=0;for(e=-1,a=arguments.length;eg)throw TypeError(v);for(n=0;n=g)throw TypeError(v);l(h,d++,r)}return h.length=d,h}})},"9c4e":function(t,e,n){},a193:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=new Date,o=(a.getDay(),a.getDate(),a.getMonth(),a.getYear());a.getHours(),a.getMinutes(),a.getSeconds();o+=o<2e3?1900:0;var r=new Date;r.setDate(1),r.setMonth(r.getMonth()-1);r.getMonth();function i(){var t=new Date,e=t.getDate(),n=t.getMonth()+1,a=t.getYear();a+=a<2e3?1900:0;var o=t.getHours(),r=t.getMinutes(),i=t.getSeconds();return n<10&&(n="0"+n),e<10&&(e="0"+e),o<10&&(o="0"+o),r<10&&(r="0"+r),i<10&&(i="0"+i),console.log(a+"-"+n+"-"+e+" "+o+":"+r+":"+i),a+"-"+n+"-"+e+" "+o+":"+r+":"+i}},a9e3:function(t,e,n){"use strict";var a=n("83ab"),o=n("da84"),r=n("94ca"),i=n("6eeb"),c=n("5135"),s=n("c6b6"),l=n("7156"),u=n("c04e"),h=n("d039"),d=n("7c73"),f=n("241c").f,p=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,m="Number",y=o[m],b=y.prototype,w=s(d(b))==m,A=function(t){var e,n,a,o,r,i,c,s,l=u(t,!1);if("string"==typeof l&&l.length>2)if(l=v(l),e=l.charCodeAt(0),43===e||45===e){if(n=l.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:a=2,o=49;break;case 79:case 111:a=8,o=55;break;default:return+l}for(r=l.slice(2),i=r.length,c=0;co)return NaN;return parseInt(r,a)}return+l};if(r(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,I=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof I&&(w?h((function(){b.valueOf.call(n)})):s(n)!=m)?l(new y(A(e)),n,I):A(e)},k=a?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;k.length>T;T++)c(y,x=k[T])&&!c(I,x)&&g(I,x,p(y,x));I.prototype=b,b.constructor=I,i(o,m,I)}},aa27:function(t,e,n){"use strict";n("3bd1")},ade3:function(t,e,n){"use strict";function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return a}))},aed0:function(t,e,n){},b0c0:function(t,e,n){var a=n("83ab"),o=n("9bf2").f,r=Function.prototype,i=r.toString,c=/^\s*function ([^ (]*)/,s="name";a&&!(s in r)&&o(r,s,{configurable:!0,get:function(){try{return i.call(this).match(c)[1]}catch(t){return""}}})},b111:function(t,e,n){},b23e:function(t,e){t.exports="data:image/gif;base64,R0lGODlhZABkAIABAPf39wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpmMmExZTI4NS0zMGVhLWExNDktYjdmYy1lZjY0MWI2ZWY0YTIiIHhtcE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tciHl8TMQciycKbcva1Fx1TZU95Yg2R4zpLT5OXm5+jp6uvs7e7v4OHy8/T19vf4+fr7/P3+//DzCgwIEECxqEVwAAIfkEBQoAAQAsAAAAAGQAZAAAAuqMj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwql8ym8wmNSqfUqgqABSiyWquBiz2Aw95x1+wNoNXj9HrtBIvbbHmc/qbzuAn+3J5nt6MX6FeYtUeItwiolwN3SBbZpQPJaHiJOKjY2Ikp+Mj5OaoJFyo4+ZVJVilaunrmiGPp+VrLeupXRyoJ2+PaexsLmkupqrlry2u8lJqMy4TqWzZt5WxdXQXMTKV7DJ0WLj5OXm5+jp6uvs7e7v4OHy8/T19vf4+fr7/P3+//DzCgwIEECxpMUAAAOw=="},b680:function(t,e,n){"use strict";var a=n("23e7"),o=n("a691"),r=n("408a"),i=n("1148"),c=n("d039"),s=1..toFixed,l=Math.floor,u=function(t,e,n){return 0===e?n:e%2===1?u(t,e-1,n*t):u(t*t,e/2,n)},h=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},d=function(t,e,n){var a=-1,o=n;while(++a<6)o+=e*t[a],t[a]=o%1e7,o=l(o/1e7)},f=function(t,e){var n=6,a=0;while(--n>=0)a+=t[n],t[n]=l(a/e),a=a%e*1e7},p=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var a=String(t[e]);n=""===n?a:n+i.call("0",7-a.length)+a}return n},g=s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){s.call({})}));a({target:"Number",proto:!0,forced:g},{toFixed:function(t){var e,n,a,c,s=r(this),l=o(t),g=[0,0,0,0,0,0],v="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(v="-",s=-s),s>1e-21)if(e=h(s*u(2,69,1))-69,n=e<0?s*u(2,-e,1):s/u(2,e,1),n*=4503599627370496,e=52-e,e>0){d(g,0,n),a=l;while(a>=7)d(g,1e7,0),a-=7;d(g,u(10,a,1),0),a=e-1;while(a>=23)f(g,1<<23),a-=23;f(g,1<0?(c=m.length,m=v+(c<=l?"0."+i.call("0",l-c)+m:m.slice(0,c-l)+"."+m.slice(c-l))):m=v+m,m}})},c3b1:function(t,e,n){"use strict";n("33e5")},caae:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mianBox"},[n("van-row",{staticClass:"headerBox"},[n("van-icon",{attrs:{name:"arrow-left"},on:{click:function(e){return t.$router.go(-1)}}}),t._v(" 交易记录 ")],1),n("van-tabs",{staticClass:"type",attrs:{color:"red","line-width":"60px"},on:{click:t.tab},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[n("van-tab",{attrs:{title:"充值记录"}},[n("van-list",{staticClass:"listData",style:t.height,attrs:{finished:t.finished,"finished-text":"没有更多了","line-width":"60px","immediate-check":!1},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.recharge,(function(e,a){return n("van-row",{key:a,staticClass:"listBoxCell"},[n("van-col",{attrs:{span:"18"}},[n("van-row",{staticClass:"jlName"},[t._v(t._s(e.shopName))]),n("van-row",{staticClass:"jlTime"},[t._v("时间:"+t._s(e.createTime))]),n("van-row",{staticClass:"jlBalance"},[t._v("余额:"+t._s(e.balance)+" 元")])],1),n("van-col",{staticClass:"jlMoney just",attrs:{span:"6"}},[t._v("+"+t._s(e.amt)+"元")])],1)})),1)],1),n("van-tab",{attrs:{title:"消费记录"}},[n("van-list",{staticClass:"listData",attrs:{finished:t.finished,"finished-text":"没有更多了","immediate-check":!1},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.consumption,(function(e,a){return n("van-row",{key:a,staticClass:"listBoxCell"},[n("van-col",{attrs:{span:"18"}},[n("van-row",{staticClass:"jlName"},[t._v(t._s(e.shopName))]),n("van-row",{staticClass:"jlTime"},[t._v("时间:"+t._s(e.createTime))]),n("van-row",{staticClass:"jlBalance"},[t._v("余额:"+t._s(e.balance)+" 元")])],1),n("van-col",{staticClass:"jlMoney negative",attrs:{span:"6"}},[t._v(" - "+t._s(e.amt)+"元")])],1)})),1)],1)],1),n("van-cell",{staticClass:"timeSelect",attrs:{title:"选择日期区间",value:t.date},on:{click:function(e){t.show=!0}}}),n("van-calendar",{attrs:{type:"range","min-date":t.minDate},on:{confirm:t.onConfirm},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}})],1)},o=[],r=n("ade3"),i=(n("b0c0"),n("99af"),n("fb6a"),n("d399")),c={data:function(){return{recharge:[],consumption:[],loading:!1,finished:!1,refreshing:!0,height:{height:!1},active:0,date:"",show:!1,minDate:new Date(2020,1,1),page1:1,page2:1,current:20,isref:!0,starTime:void 0,endTime:void 0}},components:Object(r["a"])({},i["a"].name,i["a"]),created:function(){this.height.height=document.documentElement.clientHeight-120+"px",localStorage.getItem("user")?this.charge():this.finished=!0},methods:{tab:function(t,e){this.date="",this.active=t,0==t?(0==this.recharge.length&&this.charge(),this.starTime=void 0,this.endTime=void 0):0==this.consumption.length&&this.dish()},formatDate:function(t){return"".concat(t.getMonth()+1,"/").concat(t.getDate())},onConfirm:function(t){this.show=!1;var e=new Date(t[0]);this.starTime=e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" 00:00:00";var n=new Date(t[1]);this.endTime=n.getFullYear()+"-"+(n.getMonth()+1)+"-"+n.getDate()+" 23:59:59",this.date=this.starTime.slice(0,10)+" 至 "+this.endTime.slice(0,10),this.isref=!0,0==this.active?(this.page1=1,this.charge(),this.recharge=[]):(this.page2=1,this.consumption=[],this.dish())},charge:function(){var t=this;axios.post("/dxtop/charge/page",{startTime:this.starTime,endTime:this.endTime,size:this.current,current:this.page1,userId:"0001T11000000000V6UQ"}).then((function(e){var n,a;if((null===e||void 0===e||null===(n=e.data)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.records.length)>0){for(var o=e.data.data.records,r=0;r0){for(var o=e.data.data.records,r=0;r