1 line
34 KiB
JavaScript
1 line
34 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_cash-index"],{"04ec":function(t,e,a){"use strict";a.r(e);var i=a("952d3"),n=a("fa33");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("92bf");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"d5592626",null,!1,i["a"],void 0);e["default"]=s.exports},"0745":function(t,e,a){"use strict";var i=a("a9de"),n=a.n(i);n.a},"104c":function(t,e,a){"use strict";a.r(e);var i=a("1b25"),n=a("5bfe");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("0745");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"42119758",null,!1,i["a"],void 0);e["default"]=s.exports},"1b25":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t.isShowAuth&&t.code?a("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?a("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.isPay?"付款提醒":"授权提醒"))]):a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?a("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.isPay?t.payInfo:"请授权头像等信息,以便为您提供更好的服务!"))]):a("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),a("v-uni-view",{staticClass:"bottom flex"},[t.isPay?a("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t._v("取消")]):a("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),a("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?a("v-uni-text",{staticClass:"text"},[t._v(t._s(t.isPay?"去支付":"去授权"))]):a("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},n=[]},"1c0d":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a("736a");var i=a("26cb"),n={props:{payMode:{type:Array,default:function(){return[]}},pay_close:{type:Boolean,default:!1},order_id:{type:String,default:"0"}},computed:(0,i.mapGetters)(["viewColor"]),data:function(){return{type:"0"}},methods:{close:function(){this.$emit("payClose")},radioChange:function(t){this.type=t.detail.value,this.$emit("onChangeFun",{action:"payClose",type:this.type})}}};e.default=n},"2d40":function(t,e,a){"use strict";a.r(e);var i=a("5be1"),n=a("c94b");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("af39");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"0ab4e432",null,!1,i["a"],void 0);e["default"]=s.exports},"5bc1":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-d5592626]{background-color:#f5f5f5!important}body.?%PAGE?%[data-v-d5592626]{background-color:#f5f5f5!important}.mt25[data-v-d5592626]{margin-top:%?25?%}.cash-withdrawal .nav[data-v-d5592626]{height:%?130?%;padding:0 %?30?%;font-size:%?30?%;margin-bottom:%?20?%;background-color:#fff}.b-color[data-v-d5592626]{background-color:var(--view-theme)}.cash-withdrawal .nav .input[data-v-d5592626]{width:%?505?%}.cash-withdrawal .nav .input .more-content[data-v-d5592626]{display:flex;align-items:center}.cash-withdrawal .nav .input .more-content .more-content-left[data-v-d5592626]{width:90%}.cash-withdrawal .nav .input .more-content .more-content-left .type-icon[data-v-d5592626]{display:inline-block;width:%?56?%;height:%?56?%;text-align:center;line-height:%?56?%;background-color:#fe960f;margin-right:%?20?%;border-radius:50%}.cash-withdrawal .nav .input .more-content .more-content-left .type-icon .bankicon[data-v-d5592626]{font-size:%?36?%;color:#fff}.cash-withdrawal .nav .input .more-content .moreicon[data-v-d5592626]{width:10%;text-align:right}.cash-withdrawal .nav .item[data-v-d5592626]{font-size:%?26?%;flex:1;text-align:center}.cash-withdrawal .nav .item ~ .item[data-v-d5592626]{border-left:1px solid #f0f0f0}.cash-withdrawal .nav .item .iconfont[data-v-d5592626]{width:%?40?%;height:%?40?%;border-radius:50%;border:%?2?% solid #e93323;text-align:center;line-height:%?37?%;margin:0 auto %?6?% auto;font-size:%?22?%;box-sizing:border-box}.cash-withdrawal .nav .item .iconfont.on[data-v-d5592626]{background-color:#e93323;color:#fff;border-color:#e93323}.cash-withdrawal .nav .item .line[data-v-d5592626]{width:%?2?%;height:%?20?%;margin:0 auto;transition:height .3s}.cash-withdrawal .nav .item .line.on[data-v-d5592626]{height:%?39?%}.cash-withdrawal .wrapper .list[data-v-d5592626]{padding:0 %?30?%;background-color:#fff}.cash-withdrawal .wrapper .list .item[data-v-d5592626]{border-bottom:1px solid #eee;height:%?107?%;font-size:%?30?%;color:#333}.cash-withdrawal .wrapper .list .item.uploadItem[data-v-d5592626]{border-bottom:none;height:auto}.cash-withdrawal .wrapper .list .item.uploadItem .name[data-v-d5592626]{height:%?107?%}.picture[data-v-d5592626]{width:70px;height:70px;margin:0 0 17px 0;position:relative;font-size:11px;color:#bbb;border:.5px solid #ddd;box-sizing:border-box;margin-top:%?40?%}.picture uni-image[data-v-d5592626], .picture uni-image[data-v-d5592626]{width:100%;height:100%;border-radius:1px}.picture .icon-guanbi1[data-v-d5592626]{font-size:22px;position:absolute;top:-10px;right:-10px;color:#fc4141}.cash-withdrawal .wrapper .list .item .name[data-v-d5592626]{width:%?130?%}.cash-withdrawal .wrapper .list .item .input[data-v-d5592626]{width:%?505?%}.cash-withdrawal .wrapper .list .item .input .placeholder[data-v-d5592626]{color:#bbb}.cash-withdrawal .placeholder1[data-v-d5592626]{font-size:%?46?%}.cash-withdrawal .wrapper .list .tip[data-v-d5592626]{font-size:%?26?%;color:#999;margin-bottom:%?25?%}.cash-withdrawal .wrapper .list .btn-submit[data-v-d5592626]{background-color:#f5f5f5;margin:0 %?-30?%;padding:%?64?% %?30?%}.cash-withdrawal .wrapper .list .bnt[data-v-d5592626]{font-size:%?32?%;color:#fff;width:%?690?%;height:%?90?%;text-align:center;border-radius:%?50?%;line-height:%?90?%}[data-v-d5592626] .cash-withdrawal .wrapper .list .bnt.disabled{background:#e3e3e3!important;pointer-events:none}.cash-withdrawal .wrapper .list .tip2[data-v-d5592626]{font-size:%?26?%;color:#999;text-align:center;margin:%?44?% 0 %?20?% 0}.cash-withdrawal .wrapper .list .value[data-v-d5592626]{height:%?135?%;line-height:%?135?%;border-bottom:1px solid #eee;width:%?690?%;margin:0 auto}.cash-withdrawal .wrapper .list .value uni-input[data-v-d5592626]{font-size:%?80?%;color:#282828;height:%?135?%;text-align:center}.cash-withdrawal .wrapper .list .value .placeholder2[data-v-d5592626]{color:#bbb}.price[data-v-d5592626]{color:var(--view-priceColor)}.Bank[data-v-d5592626]{display:block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.auto_arrival[data-v-d5592626]{text-align:center;padding:%?20?% 0 0 0}.auto_arrival .input[data-v-d5592626]{width:100%;border-bottom:1px solid #eee;margin-top:%?10?%;color:#999;height:%?120?%}.auto_arrival .input[data-v-d5592626] uni-input, .auto_arrival .input uni-input[data-v-d5592626]{height:%?120?%;font-size:%?40?%}uni-toast.uni-mask[data-v-d5592626]{background-color:rgba(0,0,0,.5)!important}',""]),t.exports=e},"5be1":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[a("v-uni-view",{staticClass:"payment",class:t.pay_close?"on":""},[a("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[t._v("选择提现方式"),a("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.radioChange.apply(void 0,arguments)}}},t._l(t.payMode,(function(e,i){return a("v-uni-label",{key:i,staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"acea-row-left"},[a("v-uni-view",{staticClass:"icon-left",style:[{backgroundColor:e.bg_color}]},[a("v-uni-view",{staticClass:"iconfont",class:e.icon})],1),a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))])],1),a("v-uni-view",[a("v-uni-radio",{attrs:{value:e.id.toString(),checked:e.id==t.order_id}})],1)],1)})),1)],1),t.pay_close?a("v-uni-view",{ref:"close",staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],1)},n=[]},"5bfe":function(t,e,a){"use strict";a.r(e);var i=a("e40c"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"6d24":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.payment[data-v-0ab4e432]{position:fixed;bottom:0;left:0;width:100%;border-radius:%?16?% %?16?% 0 0;background-color:#fff;padding-bottom:%?60?%;z-index:99;transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.payment.on[data-v-0ab4e432]{-webkit-transform:translateZ(0);transform:translateZ(0)}[data-v-0ab4e432] uni-radio .uni-radio-input.uni-radio-input-checked{border:1px solid var(--view-theme)!important;background-color:var(--view-theme)!important}.payment .title[data-v-0ab4e432]{text-align:center;height:%?123?%;font-size:%?32?%;color:#282828;font-weight:700;padding-right:%?30?%;margin-left:%?30?%;position:relative;border-bottom:1px solid #eee}.payment .title .iconfont[data-v-0ab4e432]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?43?%;color:#8a8a8a;font-weight:400}.payment .item[data-v-0ab4e432]{border-bottom:1px solid #eee;height:%?130?%;margin-left:%?30?%;padding-right:%?30?%}.payment .item .acea-row-left .icon-left[data-v-0ab4e432]{display:inline-block;width:%?56?%;height:%?56?%;text-align:center;line-height:%?56?%;background-color:#fe960f;margin-right:%?20?%;border-radius:50%}.payment .item .acea-row-left .icon-left .iconfont[data-v-0ab4e432]{color:#fff;font-size:%?36?%}.payment .item .acea-row-left .name[data-v-0ab4e432]{display:inline-block}',""]),t.exports=e},"736a":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return n.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return n.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return n.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return n.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return n.default.get("order/delivery/".concat(t))},e.express=function(t){return n.default.post("order/express/"+t)},e.expressList=function(){return n.default.get("common/express")},e.getCallBackUrlApi=function(t){return n.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(t){return n.default.get("user/cart/count",t)},e.getCartList=function(t){return n.default.get("user/cart/lst",t)},e.getCouponsOrderPrice=function(t,e){return n.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return n.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return n.default.get("order/detail/"+t)},e.getOrderList=function(t){return n.default.get("order/list",t)},e.getPayOrder=function(t){return n.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return n.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t,e){return n.default.get("order/group_order_detail/"+t+"?product_type="+e)},e.groupOrderList=function(t){return n.default.get("order/group_order_list",t,{noAuth:!0})},e.ordeRefundReason=function(){return n.default.get("order/refund/reason")},e.orderAgain=function(t){return n.default.post("user/cart/again",t)},e.orderComment=function(t,e){return n.default.post("reply/"+t,e)},e.orderConfirm=function(t){return n.default.post("order/check",t)},e.orderCreate=function(t){return n.default.post("order/create",t,{noAuth:!0})},e.orderData=function(t){return n.default.get("order/number",t)},e.orderDel=function(t){return n.default.post("order/del/"+t)},e.orderPay=function(t,e){return n.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return n.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return n.default.post("order/refund/verify",t)},e.orderTake=function(t){return n.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return n.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return n.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return n.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return n.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return n.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return n.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return n.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return n.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return n.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return n.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return n.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return n.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return n.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return n.default.get("refund/product/"+t,e,{noAuth:!0})},e.refundlist=function(t){return n.default.get("refund/list",t)},e.unOrderCancel=function(t){return n.default.post("order/cancel/"+t)},e.verifyCode=function(t){return n.default.get("order/verify_code/"+t)},a("99af");var n=i(a("6860"))},"92bf":function(t,e,a){"use strict";var i=a("f45b"),n=a.n(i);n.a},"952d3":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[a("v-uni-view",{staticClass:"cash-withdrawal",attrs:{hidden:!t.loading}},[a("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("提现至")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-view",{staticClass:"more-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay(t.currentTab)}}},[a("v-uni-view",{staticClass:"more-content-left"},[a("v-uni-view",{staticClass:"type-icon",style:[{backgroundColor:t.handlePayColor()}]},[a("v-uni-view",{staticClass:"iconfont bankicon",class:t.navList[t.currentTab]["icon"]})],1),a("v-uni-text",[t._v(t._s(t.navList[t.currentTab]["name"]))])],1),a("v-uni-view",{staticClass:"moreicon"},[a("v-uni-view",{staticClass:"iconfont icon-jiantou"})],1)],1)],1)],1),a("v-uni-view",{staticClass:"wrapper"},[a("v-uni-view",{staticClass:"list",attrs:{hidden:0!=t.currentTab}},[a("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subCash.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("持卡人")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"请输入持卡人姓名","placeholder-class":"placeholder",name:"real_name"},model:{value:t.real_name,callback:function(e){t.real_name=e},expression:"real_name"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("卡号")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{type:"number",placeholder:"请填写卡号","placeholder-class":"placeholder",name:"bank_code"},model:{value:t.bank_code,callback:function(e){t.bank_code=e},expression:"bank_code"}})],1)],1),t.array.length>0?a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("银行")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-picker",{attrs:{value:t.index,range:t.array,"range-key":"name"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerChange.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"Bank"},[t._v(t._s(t.array[t.index]["name"]))]),a("v-uni-text",{staticClass:"iconfont icon-qiepian38"})],1)],1)],1):t._e(),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("支行信息")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"请输入支行信息","placeholder-class":"placeholder",name:"bank_address"},model:{value:t.bank_address,callback:function(e){t.bank_address=e},expression:"bank_address"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("提现")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"最低提现金额"+t.minPrice,"placeholder-class":"placeholder",name:"extract_price",type:"digit"},model:{value:t.extract_price,callback:function(e){t.extract_price=e},expression:"extract_price"}})],1)],1),a("v-uni-view",{staticClass:"tip mt25"},[t._v("当前可提现金额:"),a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.userInfo.brokerage_price)+",")]),t._v("冻结佣金:¥"+t._s(t.userInfo.lock_brokerage))],1),a("v-uni-view",{staticClass:"tip"},[t._v("说明: 每笔佣金的冻结期为"+t._s(t.userInfo.broken_day)+"天,到期后可提现")]),a("v-uni-view",{staticClass:"btn-submit"},[a("v-uni-button",{staticClass:"bnt b-color",class:t.load?"disabled":"",attrs:{formType:"submit",disabled:t.load}},[t._v("提现")])],1)],1)],1),a("v-uni-view",{staticClass:"list",attrs:{hidden:1!=t.currentTab}},[a("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subCash.apply(void 0,arguments)}}},[t.sys_extension_type?a("v-uni-view",{staticClass:"auto_arrival"},[a("v-uni-view",{staticClass:"tip"},[t._v("当前可提现金额:"),a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.userInfo.brokerage_price))])],1),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{"placeholder-class":"placeholder1",name:"extract_price",type:"digit",placeholder:t.placeholderValue},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.placeholderValue=""}},model:{value:t.extract_price,callback:function(e){t.extract_price=e},expression:"extract_price"}})],1),a("v-uni-view",{staticClass:"btn-submit"},[a("v-uni-button",{staticClass:"bnt b-color",class:t.load?"disabled":"",attrs:{formType:"submit",disabled:t.load}},[t._v("提现")])],1)],1):a("v-uni-view",{},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("账号")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"请填写您的微信账号","placeholder-class":"placeholder",name:"wechat"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("提现")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"最低提现金额"+t.minPrice,"placeholder-class":"placeholder",name:"extract_price",type:"digit"},model:{value:t.extract_price,callback:function(e){t.extract_price=e},expression:"extract_price"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper uploadItem"},[a("v-uni-view",{staticClass:"name"},[t._v("收款码")]),a("v-uni-view",{staticClass:"input upload acea-row row-middle"},[t._l(t.pics,(function(e,i){return a("v-uni-view",{key:i,staticClass:"picture"},[a("v-uni-image",{attrs:{src:e}}),a("v-uni-text",{staticClass:"iconfont icon-guanbi1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(i)}}})],1)})),t.pics.length<1?a("v-uni-view",{staticClass:"picture acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-icon25201"}),a("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1),a("v-uni-view",{staticClass:"tip mt25"},[t._v("当前可提现金额:"),a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.userInfo.brokerage_price)+",")]),t._v("冻结佣金:¥"+t._s(t.userInfo.lock_brokerage))],1),a("v-uni-view",{staticClass:"tip"},[t._v("说明: 每笔佣金的冻结期为"+t._s(t.userInfo.broken_day)+"天,到期后可提现")]),a("v-uni-button",{staticClass:"bnt b-color",class:t.load?"disabled":"",attrs:{formType:"submit",disabled:t.load}},[t._v("提现")])],1)],1)],1),a("v-uni-view",{staticClass:"list",attrs:{hidden:2!=t.currentTab}},[a("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subCash.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("账号")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"请填写您的支付宝账号","placeholder-class":"placeholder",name:"alipay_code"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[t._v("提现")]),a("v-uni-view",{staticClass:"input"},[a("v-uni-input",{attrs:{placeholder:"最低提现金额"+t.minPrice,"placeholder-class":"placeholder",name:"extract_price",type:"digit"},model:{value:t.extract_price,callback:function(e){t.extract_price=e},expression:"extract_price"}})],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper uploadItem"},[a("v-uni-view",{staticClass:"name"},[t._v("收款码")]),a("v-uni-view",{staticClass:"input upload acea-row row-middle"},[t._l(t.pics,(function(e,i){return a("v-uni-view",{key:i,staticClass:"picture"},[a("v-uni-image",{attrs:{src:e}}),a("v-uni-text",{staticClass:"iconfont icon-guanbi1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(i)}}})],1)})),t.pics.length<1?a("v-uni-view",{staticClass:"picture acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-icon25201"}),a("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1),a("v-uni-view",{staticClass:"tip mb25"},[t._v("当前可提现金额:"),a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.userInfo.brokerage_price)+",")]),t._v("冻结佣金:¥"+t._s(t.userInfo.lock_brokerage))],1),t.userInfo.broken_day>0?a("v-uni-view",{staticClass:"tip"},[t._v("说明: 每笔佣金的冻结期为"+t._s(t.userInfo.broken_day)+"天,到期后可提现")]):t._e(),a("v-uni-view",{staticClass:"btn-submit"},[a("v-uni-button",{staticClass:"bnt b-color",class:t.load?"disabled":"",attrs:{formType:"submit",disabled:t.load}},[t._v("提现")])],1)],1)],1)],1)],1),a("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),a("cash",{attrs:{payMode:t.pay_type,pay_close:t.pay_close,order_id:t.currentTab},on:{payClose:function(e){arguments[0]=e=t.$handleEvent(e),t.payClose.apply(void 0,arguments)},onChangeFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeFun.apply(void 0,arguments)}}})],1)},n=[]},a6ef:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d81d"),a("14d9"),a("a434"),a("a9e3");var n=i(a("5530")),r=a("33b4"),o=a("26cb"),s=i(a("104c")),c=i(a("2d40")),u=a("5315"),l={components:{cash:c.default,authorize:s.default},data:function(){return{navList:[{id:"0",ids:1,name:"银行卡",icon:"icon-yinhangqia",bg_color:"#FE960F"},{id:"1",ids:2,name:"微信",icon:"icon-weixin2",bg_color:"#41B035"},{id:"2",ids:3,name:"支付宝",icon:"icon-icon34",bg_color:"#00A9F2"}],currentTab:"0",extract_price:"",index:0,array:[],minPrice:0,userInfo:[],isClone:!1,isAuto:!1,isShowAuth:!1,loading:!0,load:!1,pics:[],extract_pic:"",placeholderValue:"0.00",payColor:"",pay_close:!1,real_name:"",bank_address:"",bank_code:"",pay_type:[]}},computed:(0,n.default)((0,n.default)({},(0,o.mapGetters)(["isLogin","viewColor"])),(0,u.configMap)(["sys_extension_type","withdraw_type"])),watch:{withdraw_type:{handler:function(){this.loadType()},immediate:!0}},onLoad:function(){this.isLogin?(this.getUserInfo(),this.getUserExtractBank(),this.getBankInfo()):(this.isAuto=!0,this.isShowAuth=!0)},methods:{loadType:function(){var t=this;this.pay_type=[];var e=this.withdraw_type;e.length>0&&this.navList.map((function(a,i){e.map((function(e){a.ids==e&&t.pay_type.push(a)}))})),this.currentTab=this.pay_type[0].id},onLoadFun:function(){this.isShowAuth=!1,this.getUserInfo()},authColse:function(t){this.isShowAuth=t},getBankInfo:function(){var t=this;(0,r.getBankInfo)().then((function(e){var a=e.data;t.real_name=a.real_name,t.bank_name=a.bank_name,t.bank_code=a.bank_code,t.bank_address=a.bank_address}))},getUserExtractBank:function(){var t=this;(0,r.extractBank)().then((function(e){var a=e.data;t.$set(t,"array",a)}))},getUserInfo:function(){var t=this;(0,r.spreadInfo)().then((function(e){t.userInfo=e.data,t.minPrice=e.data.user_extract_min}))},swichNav:function(t){this.currentTab=t,this.load=!1},bindPickerChange:function(t){this.index=t.detail.value},handlePayColor:function(){var t="";return t=1==this.currentTab?"#41B035":2==this.currentTab?"#00A9F2":"#FE960F ",t},uploadpic:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.pics.push(e.data.path),t.$set(t,"pics",t.pics),t.$set(t,"extract_pic",t.pics[0])}))},DelPic:function(t){this.pics[t];this.pics.splice(t,1),this.$set(this,"pics",this.pics)},subCash:function(t){var e=this,a=t.detail.value;if(!e.load){if(0==e.currentTab){if(0==a.real_name.length)return this.$util.Tips({title:"请填写持卡人姓名"});if(0==a.bank_code.length)return this.$util.Tips({title:"请填写卡号"});a.extract_type="bank",a.bank_name=e.array&&e.array.length?e.array[e.index].name:""}else if(1==e.currentTab){if(a.extract_type="weixin",!this.sys_extension_type){if(a.extract_pic=e.extract_pic,0==a.wechat.length)return this.$util.Tips({title:"请填写微信号"});if(0==a.extract_pic.length)return this.$util.Tips({title:"请上传收款码"})}}else if(2==e.currentTab){if(a.extract_type="alipay",a.extract_pic=e.extract_pic,0==a.alipay_code.length)return this.$util.Tips({title:"请填写账号"});if(0==a.extract_pic.length)return this.$util.Tips({title:"请上传收款码"})}if(0==a.extract_price.length)return this.$util.Tips({title:"请填写提现金额"});if(Number(a.extract_price)<e.minPrice)return this.$util.Tips({title:"提现金额不能低于"+e.minPrice});a.extract_type=this.currentTab,e.load=!0,e.sys_extension_type&&1==e.currentTab&&(a={extract_price:t.detail.value.extract_price,extract_type:3}),(0,r.extractCash)(a).then((function(t){e.getUserInfo(),e.load=!1,e.$util.Tips({title:t.message,icon:"success"}),setTimeout((function(){uni.navigateTo({url:"/pages/users/user_spread_user/index"})}),1e3)})).catch((function(t){return e.load=!1,e.$util.Tips({title:t})}))}},goPay:function(t){this.$set(this,"pay_close",!0)},payClose:function(){this.pay_close=!1},onChangeFun:function(t){var e=t,a=e.action||null,i=void 0!=e.value?e.value:null;a&&this[a]&&this[a](i),this.currentTab=e.type}}};e.default=l},a9de:function(t,e,a){var i=a("ee9e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0802872c",i,!0,{sourceMap:!1,shadowMode:!1})},af39:function(t,e,a){"use strict";var i=a("e3ea"),n=a.n(i);n.a},c94b:function(t,e,a){"use strict";a.r(e);var i=a("1c0d"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},e3ea:function(t,e,a){var i=a("6d24");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3331c007",i,!0,{sourceMap:!1,shadowMode:!1})},e40c:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530")),r=(i(a("a040")),a("cc48"),a("8a31"),a("26cb")),o=(i(a("8afb")),a("5315")),s=(i(a("1ba1")),a("5eb1")),c=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1},isPay:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),payInfo:"",canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,n.default)((0,n.default)({},(0,r.mapGetters)(["isLogin","userInfo","viewColor"])),(0,o.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setPayInfo:function(t){this.payInfo=t},setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=c},ee9e:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-42119758]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-42119758]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-42119758]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-42119758]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-42119758]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-42119758]{flex:1;width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-42119758]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-42119758]{width:%?500?%}.flex[data-v-42119758]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-42119758]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-42119758]{font-size:%?28?%;color:#fff}.mask[data-v-42119758]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},f45b:function(t,e,a){var i=a("5bc1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("99094f92",i,!0,{sourceMap:!1,shadowMode:!1})},fa33:function(t,e,a){"use strict";a.r(e);var i=a("a6ef"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a}}]); |