(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-zhuanyue"],{"0e4f":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.uni-noticebar[data-v-56d2140c]{display:flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;padding:6px 12px;margin-bottom:10px}.uni-noticebar-close[data-v-56d2140c]{margin-right:5px}.uni-noticebar-icon[data-v-56d2140c]{margin-right:5px}.uni-noticebar__content-wrapper[data-v-56d2140c]{flex:1;flex-direction:column;overflow:hidden}.uni-noticebar__content-wrapper--single[data-v-56d2140c]{line-height:18px}.uni-noticebar__content-wrapper--single[data-v-56d2140c],\n.uni-noticebar__content-wrapper--scrollable[data-v-56d2140c]{flex-direction:row}.uni-noticebar__content-wrapper--scrollable[data-v-56d2140c]{position:relative;height:18px}.uni-noticebar__content--scrollable[data-v-56d2140c]{flex:1;display:block;overflow:hidden}.uni-noticebar__content--single[data-v-56d2140c]{display:flex;flex:none;width:100%;justify-content:center}.uni-noticebar__content-text[data-v-56d2140c]{font-size:14px;line-height:18px;word-break:break-all}.uni-noticebar__content-text--single[data-v-56d2140c]{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uni-noticebar__content-text--scrollable[data-v-56d2140c]{position:absolute;display:block;height:18px;line-height:18px;white-space:nowrap;padding-left:100%;-webkit-animation:notice-data-v-56d2140c 10s 0s linear infinite both;animation:notice-data-v-56d2140c 10s 0s linear infinite both;-webkit-animation-play-state:paused;animation-play-state:paused}.uni-noticebar__more[data-v-56d2140c]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;padding-left:5px}.uni-noticebar__more-text[data-v-56d2140c]{font-size:14px}@-webkit-keyframes notice-data-v-56d2140c{100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes notice-data-v-56d2140c{100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}',""]),t.exports=e},"12bf":function(t,e,a){var n=a("0e4f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("4f06").default;o("01b28e11",n,!0,{sourceMap:!1,shadowMode:!1})},"158a":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"content-money"},[a("v-uni-view",{staticClass:"flex ",staticStyle:{width:"750rpx","justify-content":"space-around","margin-left":"0"}},[a("v-uni-view",{staticClass:"buttom"},[a("v-uni-view",{staticClass:"icon"},[t._v(t._s(t._f("getMoneyStyle")(t.money)))]),a("v-uni-text",{staticClass:"text"},[t._v("可转佣金")])],1)],1)],1),a("v-uni-view",{staticClass:"row-box"},[a("v-uni-view",{staticClass:"title"},[t._v("转换金额")]),a("v-uni-view",{staticClass:"row"},[a("v-uni-text",{staticClass:"tit"},[t._v("¥")]),a("v-uni-input",{staticClass:"input",attrs:{type:"number",placeholder:"请输入佣金数量","placeholder-class":"placeholder"},model:{value:t.withdrawal,callback:function(e){t.withdrawal=e},expression:"withdrawal"}}),a("v-uni-view",{staticClass:"buttom",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.withdrawal=t.money}}},[t._v("全部转换")])],1)],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.tabRadio.apply(void 0,arguments)}}})],1),a("v-uni-button",{staticClass:"add-btn up",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("提交申请")])],1)},i=[]},"1a05":function(t,e,a){"use strict";var n=a("93b6"),o=a.n(n);o.a},"1f11":function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var o=n(a("1da1")),i=n(a("5530")),r=a("7201"),d=a("b587"),l=(a("7eca"),a("26cb")),u=n(a("5bb2")),c={filters:{getMoneyStyle:r.getMoneyStyle},components:{uniNoticeBar:u.default},computed:(0,i.default)((0,i.default)({},(0,l.mapState)("user",["userInfo","orderInfo","hasLogin"])),{},{real:function(){return 1*(this.withdrawal-this.withdrawal*this.sxf).toFixed(2)}}),data:function(){return{type:"alipay",money:"0.00",freeze:"0.0",withdrawal:"",minPrice:"",aliData:{},sxf:0,bankData:{},alipay_code:"",alipay_name:"",bank_code:"",bank_people:"",bank_name:"",weichatBsrowser:!1}},onLoad:function(t){this.weichatBsrowser=uni.getStorageSync("weichatBrowser"),this.loadData()},methods:(0,i.default)((0,i.default)({},(0,l.mapMutations)("user",["setUserInfo","setOrderInfo"])),{},{loadData:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:(0,d.extractBank)({}).then((function(e){var a=e.data;console.log(a,"data"),t.sxf=a.sxf,t.money=a.brokerage_price,t.minPrice=a.minPrice}));case 1:case"end":return e.stop()}}),e)})))()},navTo:function(t){uni.navigateTo({url:t})},tabRadio:function(t){this.type=t.detail.value,console.log(this.type)},confirm:function(){var t=this;(0,d.rechargeWechat)({price:this.withdrawal,type:1}).then((function(e){uni.showToast({title:"转换成功",duration:2e3,position:"top"}),t.loadData()})).catch((function(t){console.log(t)}))}})};e.default=c},3695:function(t,e,a){"use strict";var n=a("12bf"),o=a.n(n);o.a},4986:function(t,e,a){"use strict";a.r(e);var n=a("158a"),o=a("5c5e");for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("1a05");var r,d=a("f0c5"),l=Object(d["a"])(o["default"],n["b"],n["c"],!1,null,"f5d26a34",null,!1,n["a"],r);e["default"]=l.exports},5559:function(t,e,a){"use strict";var n=a("4ea4");a("a9e3"),a("d3b7"),a("ac1f"),a("25f0"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(a("1694")),i={name:"UniNoticeBar",components:{uniIcons:o.default},props:{text:{type:String,default:""},moreText:{type:String,default:""},backgroundColor:{type:String,default:"#fffbe8"},speed:{type:Number,default:100},color:{type:String,default:"#de8c17"},moreColor:{type:String,default:"#999999"},single:{type:[Boolean,String],default:!1},scrollable:{type:[Boolean,String],default:!1},showIcon:{type:[Boolean,String],default:!1},showGetMore:{type:[Boolean,String],default:!1},showClose:{type:[Boolean,String],default:!1}},data:function(){var t="Uni_".concat(Math.ceil(1e6*Math.random()).toString(36)),e="Uni_".concat(Math.ceil(1e6*Math.random()).toString(36));return{textWidth:0,boxWidth:0,wrapWidth:"",webviewHide:!1,elId:t,elIdBox:e,show:!0,animationDuration:"none",animationPlayState:"paused",animationDelay:"0s"}},mounted:function(){var t=this;this.$nextTick((function(){t.initSize()}))},methods:{initSize:function(){var t=this;if(this.scrollable){var e=[],a=new Promise((function(e,a){uni.createSelectorQuery().in(t).select("#".concat(t.elId)).boundingClientRect().exec((function(a){t.textWidth=a[0].width,e()}))})),n=new Promise((function(e,a){uni.createSelectorQuery().in(t).select("#".concat(t.elIdBox)).boundingClientRect().exec((function(a){t.boxWidth=a[0].width,e()}))}));e.push(a),e.push(n),Promise.all(e).then((function(){t.animationDuration="".concat(t.textWidth/t.speed,"s"),t.animationDelay="-".concat(t.boxWidth/t.speed,"s"),setTimeout((function(){t.animationPlayState="running"}),1e3)}))}},loopAnimation:function(){},clickMore:function(){this.$emit("getmore")},close:function(){this.show=!1,this.$emit("close")},onClick:function(){this.$emit("click")}}};e.default=i},5845:function(t,e,a){"use strict";a.r(e);var n=a("5559"),o=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},"5bb2":function(t,e,a){"use strict";a.r(e);var n=a("fca3"),o=a("5845");for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("3695");var r,d=a("f0c5"),l=Object(d["a"])(o["default"],n["b"],n["c"],!1,null,"56d2140c",null,!1,n["a"],r);e["default"]=l.exports},"5c5e":function(t,e,a){"use strict";a.r(e);var n=a("1f11"),o=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},7201:function(t,e,a){"use strict";function n(t){var e=/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/;return!1!==e.test(t)||(console.log(t),!1)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"string"==typeof t&&(t=(+t).toFixed(2)),"number"==typeof t&&(t=t.toFixed(2));var e=t.split(""),a=e.reverse().map((function(t,e,a){return e%3==0&&e/3>1&&e!=a.length?t+",":t}));return a=a.reverse().join(""),a}function i(t){var e=(new Date).getTime(),a=t-e;a<0&&(a*=-1);var n=Math.floor(a/1e3/60/60/24),o=Math.floor(a/1e3/60/60%24),i=Math.floor(a/1e3/60%60),r=Math.floor(a/1e3%60);return{hours:o,minutes:i,seconds:r,day:n}}function r(t){return new Promise((function(t,e){wx.getSetting({success:function(a){a.authSetting["scope.userLocation"]?t():wx.showModal({title:"提示",content:"请求获取位置权限",success:function(a){if(0==a.confirm)return e(),!1;wx.openSetting({success:function(e){e.authSetting["scope.userLocation"]?t():wx.showToast({title:"此功能需获取位置信息,请重新设置",duration:3e3,icon:"none"})}})}})}})}))}function d(t){for(var e=13-(t+"").length,a=1,n=0;n