1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["other-page-finance-getCash2"],{"17b9":function(t,e,n){"use strict";var a=n("9760"),i=n.n(a);i.a},"253d":function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-popup[data-v-1cf18b62]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:29091!important}.tn-popup__content[data-v-1cf18b62]{display:block;position:absolute;transition:all .25s linear}.tn-popup__content--visible[data-v-1cf18b62]{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.tn-popup__content--visible.tn-popup--center[data-v-1cf18b62]{-webkit-transform:scale(1);transform:scale(1);opacity:1}.tn-popup__content__center_box[data-v-1cf18b62]{min-width:%?100?%;min-height:%?100?%;display:block;position:relative;background-color:#fff}.tn-popup__content__scroll-view[data-v-1cf18b62]{width:100%;height:100%}.tn-popup__content__center--animation-zoom[data-v-1cf18b62]{-webkit-transform:scale(1.15);transform:scale(1.15)}.tn-popup__scroll_view[data-v-1cf18b62]{width:100%;height:100%}.tn-popup--left[data-v-1cf18b62]{top:0;bottom:0;left:0;background-color:#fff}.tn-popup--right[data-v-1cf18b62]{top:0;bottom:0;right:0;background-color:#fff}.tn-popup--top[data-v-1cf18b62]{left:0;right:0;top:0;background-color:#fff}.tn-popup--bottom[data-v-1cf18b62]{left:0;right:0;bottom:0;background-color:#fff}.tn-popup--center[data-v-1cf18b62]{display:flex;flex-direction:column;bottom:0;top:0;left:0;right:0;justify-content:center;align-items:center;opacity:0}.tn-popup__close[data-v-1cf18b62]{position:absolute}.tn-popup__close--top-left[data-v-1cf18b62]{top:%?30?%;left:%?30?%}.tn-popup__close--top-right[data-v-1cf18b62]{top:%?30?%;right:%?30?%}.tn-popup__close--bottom-left[data-v-1cf18b62]{bottom:%?30?%;left:%?30?%}.tn-popup__close--bottom-right[data-v-1cf18b62]{bottom:%?30?%;right:%?30?%}.tn-popup__mask[data-v-1cf18b62]{width:100%;height:100%;position:fixed;top:0;left:0;right:0;border:0;background-color:rgba(0,0,0,.4);transition:.25s linear;transition-property:opacity;opacity:0}.tn-popup__mask--show[data-v-1cf18b62]{opacity:1}',""]),t.exports=e},3534:function(t,e,n){"use strict";n.r(e);var a=n("6f56"),i=n("7ad1");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("17b9");var s=n("828b"),r=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"4593fc1a",null,!1,a["a"],void 0);e["default"]=r.exports},"3b5f":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.AgentAdInfoApi=w,e.advertiseListApi=_,e.advertiseOrderListApi=x,e.alipayApi=$,e.applicationRecord=l,e.applyAccound=h,e.applyGetcash=p,e.applyGetcashAccound=f,e.aurrentDetaills=u,e.cardalteration=R,e.createAdvertiseOrderApi=k,e.createAgentAdvertiseOrderApi=C,e.createStoreRechargeOrderApi=m,e.currentDetail=g,e.default=void 0,e.divideDetailApi=S,e.financetList=s,e.getAgentAdListApi=y,e.getCardSettle=I,e.getCashType=L,e.keeptList=c,e.payAdvertiseOrderApi=A,e.payRechargeOrderApi=b,e.quickRechargeListApi=v,e.recordDetail=function(t){return o.default.get("api/manage.finance.GetCashRecord/detail",{params:t})},e.settleRecord=r,e.yucunjindeDetail=function(t){return o.default.get("api/manage.finance.index/yuncunjinDetail",{params:t})},e.yucunjindetail=d;var i=a(n("9b1b")),o=a(n("5b42"));function s(t){return o.default.get("api/manage.finance.index/index",{params:t})}function r(t){return o.default.post("api/manage.helibao.index/settleQuery",t)}function c(t,e){return util.request((0,i.default)({method:"get",url:"manage/statcenter/member/keep",data:t},e))}function u(t){return o.default.get("api/manage.finance.index/list",{params:t})}function l(t){return o.default.get("api/manage.finance.GetCashRecord/list",{params:t})}function d(t){return o.default.get("api/manage.finance.index/yuncunjinList",{params:t})}function p(t,e){return o.default.get("api/manage.finance.getCash/index",{params:t})}function f(t,e){return o.default.get("api/manage.finance.getCash/getCash",{params:t})}function h(t,e){return util.request((0,i.default)({method:"get",url:"manage/finance/account",data:t,isRecords:!1},e))}function g(t){return o.default.get("api/manage.finance.index/detail",{params:t})}function v(t){return o.default.get("api/manage.finance.recharge_order/quickRechargeList",{params:t})}function m(t){return o.default.post("api/manage.finance.recharge_order/createOrder",t)}function b(t){return o.default.post("api/manage.finance.recharge_order/pay",t)}function _(t){return o.default.get("api/manage.finance.advertise/advertiseList",{params:t})}function y(t){return o.default.get("api/manage.finance.advertise/getAgentAdList",{params:t})}function w(t){return o.default.get("api/manage.finance.advertise/getAgentAdInfo",{params:t})}function x(t){return o.default.get("api/manage.finance.advertise/advertiseOrderList",{params:t})}function k(t){return o.default.post("api/manage.finance.advertise/createOrder",t)}function C(t){return o.default.post("api/manage.finance.advertise/createAgentAdOrder",t)}function A(t){return o.default.post("api/manage.finance.advertise/pay",t)}function S(t){return o.default.get("api/manage.finance.index/divideDetail",{params:t})}function I(t){return o.default.get("api/manage.finance.getCash/getCardSettle",{params:t})}function R(t){return o.default.post("api/manage.finance.getCash/cardalteration",t)}function $(t){return o.default.post("api/manage.finance.recharge_order/initiatePayment",t)}function L(t){return o.default.get("api/manage.finance.get_cash/getCashType",t)}var O={financetList:s,keeptList:c,aurrentDetaills:u,applicationRecord:l,yucunjindetail:d,applyGetcash:p,applyAccound:h,applyGetcashAccound:f,currentDetail:g,quickRechargeListApi:v,createStoreRechargeOrderApi:m,payRechargeOrderApi:b,getAgentAdListApi:y,advertiseListApi:_,AgentAdInfoApi:w,advertiseOrderListApi:x,createAdvertiseOrderApi:k,createAgentAdvertiseOrderApi:C,payAdvertiseOrderApi:A,divideDetailApi:S,getCardSettle:I,cardalteration:R,settleRecord:r,alipayApi:$,getCashType:L};e.default=O},"5a78":function(t,e,n){"use strict";n.r(e);var a=n("6088"),i=n("ff33");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d346");var s=n("828b"),r=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"1cf18b62",null,!1,a["a"],void 0);e["default"]=r.exports},6088:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visibleSync?n("v-uni-view",{staticClass:"tn-popup-class tn-popup",style:[t.customStyle,t.popupStyle,{zIndex:t.elZIndex-1}],attrs:{"hover-stop-propagation":!0}},[n("v-uni-view",{staticClass:"tn-popup__mask",class:[{"tn-popup__mask--show":t.showPopup&&t.mask}],style:{zIndex:t.elZIndex-2},attrs:{"hover-stop-propagation":!0},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"tn-popup__content",class:["center"!==t.mode?t.backgroundColorClass:"",t.safeAreaInsetBottom?"tn-safe-area-inset-bottom":"","tn-popup--"+t.mode,t.showPopup?"tn-popup__content--visible":"",t.zoom&&"center"===t.mode?"tn-popup__content__center--animation-zoom":""],style:[t.contentStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:[function(e){arguments[0]=e=t.$handleEvent(e),t.modeCenterClose.apply(void 0,arguments)},function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}]}},["center"===t.mode?n("v-uni-view",{staticClass:"tn-popup__content__center_box",class:[t.backgroundColorClass],style:[t.centerStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t.closeBtn?n("v-uni-view",{staticClass:"tn-popup__close",class:["tn-icon-"+t.closeBtnIcon,"tn-popup__close--"+t.closeBtnPosition],style:[t.closeBtnStyle,{zIndex:t.elZIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),n("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2)],1):n("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2),"center"!==t.mode&&t.closeBtn?n("v-uni-view",{staticClass:"tn-popup__close",class:["tn-popup__close--"+t.closeBtnPosition],style:{zIndex:t.elZIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[n("v-uni-view",{class:["tn-icon-"+t.closeBtnIcon],style:[t.closeBtnStyle]})],1):t._e()],1)],1):t._e()},i=[]},"6d81":function(t,e,n){var a=n("253d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("66541396",a,!0,{sourceMap:!1,shadowMode:!1})},"6f56":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={tnNavBar:n("3703").default,tnRadioGroup:n("439e").default,tnRadio:n("bc0f").default,tnPopup:n("5a78").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("tn-nav-bar",{attrs:{fixed:!0}},[t._v("申请提现")]),n("v-uni-view",{staticClass:"shangpu-shadow",style:{marginTop:t.vuex_custom_bar_height+10+"px"}},[n("v-uni-view",{staticClass:"shangpu-shadowa tn-margin-sm tn-padding"},[t._v("账户可用余额:"),n("v-uni-text",{staticStyle:{color:"#33b2fd"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.account.amount2))])],1),n("v-uni-view",{staticClass:"shangpu-shadowa tn-margin-sm tn-padding"},[n("v-uni-view",{staticClass:"tn-margin-sm"},[t._v("提现金额")]),n("v-uni-view",{staticClass:"tn-margin-left-sm tn-border-solid shurukuang "},[n("v-uni-input",{staticClass:"shurukuang1",attrs:{type:"text",placeholder:"请输入提现金额"},model:{value:t.get_fee,callback:function(e){t.get_fee=t._n(e)},expression:"get_fee"}})],1),n("v-uni-view",{staticClass:"tn-margin-sm",staticStyle:{color:"#999999"}},[t._v("*最低提现金额"+t._s(t.account.fee_limit))]),n("v-uni-view",{staticClass:"tn-margin-sm",staticStyle:{color:"#999999"}},[t._v("*提现费率为"+t._s(t.account.fee_rate)+"%,最低收取"+t._s(t.account.fee_min)+",最高收取"+t._s(t.account.fee_max))]),n("v-uni-view",{staticClass:"tn-margin-sm"},[t._v("提现方式")]),n("v-uni-view",{staticClass:"tn-margin-sm"},[n("tn-radio-group",{model:{value:t.channel,callback:function(e){t.channel=e},expression:"channel"}},t._l(t.list,(function(e,a){return n("tn-radio",{key:a,attrs:{name:e.channel,disabled:e.disabled}},[n("v-uni-text",{staticStyle:{color:"#999999"}},[t._v(t._s(e.name))])],1)})),1)],1)],1),n("v-uni-view",{staticClass:"tn-margin tn-text-center tixian",attrs:{disabled:!t.islegal},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showTips.apply(void 0,arguments)}}},[t._v("提现")]),n("tn-popup",{attrs:{mode:"center",width:"520rpx",borderRadius:20},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("v-uni-view",{staticClass:"tn-margin-top tn-border-solid-bottom"},[n("v-uni-view",{staticClass:"tn-padding-sm tn-text-center"},[t._v("温馨提示")]),n("v-uni-view",{staticClass:"tn-margin tn-text-center",staticStyle:{color:"#6d6e6f"}},[t._v(t._s(t.tipsMsg))])],1),n("v-uni-view",{staticClass:"tn-text-center tn-padding tn-flex"},[n("v-uni-view",{staticClass:"tn-flex-1 tn-border-solid-right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1}}},[t._v("取消")]),n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#f23f53"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmit.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)},o=[]},"7ad1":function(t,e,n){"use strict";n.r(e);var a=n("b288"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},8888:function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa"),n("c223");var i=a(n("7caa")),o={mixins:[i.default],name:"tn-popup",props:{value:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},width:{type:String,default:""},height:{type:String,default:""},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},borderRadius:{type:Number,default:0},zIndex:{type:Number,default:0},closeBtn:{type:Boolean,default:!1},closeBtnIcon:{type:String,default:"close"},closeBtnPosition:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#AAAAAA"},closeIconSize:{type:Number,default:30},negativeTop:{type:Number,default:0},marginTop:{type:Number,default:0},popup:{type:Boolean,default:!0}},computed:{popupStyle:function(){var t={};return"top"!==this.mode&&"left"!==this.mode&&"right"!==this.mode||!this.marginTop||(t.marginTop=this.$t.string.getLengthUnitValue(this.marginTop,"px")),t},contentStyle:function(){var t={};if("left"===this.mode||"right"===this.mode?t={width:this.width?this.$t.string.getLengthUnitValue(this.width):this.$t.string.getLengthUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"===this.mode?"-100%":"100%",", 0px, 0px)")}:"top"!==this.mode&&"bottom"!==this.mode||(t={width:"100%",height:this.height?this.$t.string.getLengthUnitValue(this.height):this.$t.string.getLengthUnitValue(this.length),transform:"translate3D(0px, ".concat("top"===this.mode?"-100%":"100%",", 0px)")}),t.zIndex=this.elZIndex,this.borderRadius){switch(this.mode){case"left":t.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":t.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":t.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":t.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break}t.overflow="hidden"}return this.backgroundColorStyle&&"center"!==this.mode&&(t.backgroundColor=this.backgroundColorStyle),t},centerStyle:function(){var t={};return t.width=this.width?this.$t.string.getLengthUnitValue(this.width):this.$t.string.getLengthUnitValue(this.length),t.height=this.height?this.$t.string.getLengthUnitValue(this.height):"auto",t.zIndex=this.elZIndex,this.negativeTop&&(t.marginTop="-".concat(this.$t.string.getLengthUnitValue(this.negativeTop))),this.borderRadius&&(t.borderRadius="".concat(this.borderRadius,"rpx"),t.overflow="hidden"),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},closeBtnStyle:function(){var t={};return this.closeIconColor&&(t.color=this.closeIconColor),this.closeIconSize&&(t.fontSize=this.closeIconSize+"rpx"),t},elZIndex:function(){return this.zIndex?this.zIndex:this.$t.zIndex.popup}},data:function(){return{timer:null,visibleSync:!1,showPopup:!1,closeFromInner:!1}},watch:{value:function(t){if(t){if(this.visibleSync)return void(this.visibleSync=!1);this.open()}else this.closeFromInner||this.close();this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{maskClick:function(){this.maskCloseable&&this.close()},open:function(){this.change("visibleSync","showPopup",!0)},close:function(){this.closeFromInner=!0,this.change("showPopup","visibleSync",!1)},modeCenterClose:function(){"center"==this.mode&&this.maskCloseable&&this.close()},change:function(t,e,n){var a=this;!0===this.popup&&this.$emit("input",n),this[t]=n,this.timer=n?setTimeout((function(){a[e]=n,a.$emit(n?"open":"close"),clearTimeout(a.timer)}),10):setTimeout((function(){a[e]=n,a.$emit(n?"open":"close"),clearTimeout(a.timer)}),250)}}};e.default=o},9760:function(t,e,n){var a=n("9e80");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("85873aaa",a,!0,{sourceMap:!1,shadowMode:!1})},"9e80":function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tixian[data-v-4593fc1a]{height:%?80?%;line-height:%?80?%;color:#fff;background-color:#33aafc}.shangpu-shadowa[data-v-4593fc1a]{border-radius:%?15?%;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07);background-color:#fff}.shangpu-shadowa .shurukuang[data-v-4593fc1a]{height:%?80?%}.shangpu-shadowa .shurukuang .shurukuang1[data-v-4593fc1a]{height:%?80?%;line-height:%?80?%;margin-left:%?20?%}',""]),t.exports=e},b288:function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("e838"),n("c223");var i=a(n("2634")),o=a(n("2fdc")),s=a(n("3b5f")),r=a(n("05d8")),c={data:function(){return{show:!1,list:[{name:"支付宝提现",disabled:!1,channel:"alipay"},{name:"支付宝银行卡提现",disabled:!1,channel:"alipaybank"}],channel:"weixin",account:{},get_fee:"",showPreLoading:!0,islegal:!1,config:{},tips:"",getCashTimer:null,getCash:!0}},onLoad:function(){this._sid=this.util.getStorageSync("__sid"),this.applyGetcash()},methods:{applyGetcash:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n,a,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,s.default.applyGetcash({sid:n._sid});case 3:a=e.sent,o=a.data,o&&(n.islegal=!0,n.config=o.config,n.account=o.account);case 6:case"end":return e.stop()}}),e)})))()},showTips:function(){return isNaN(this.get_fee)||this.get_fee<=0?(r.default.$toast("提现金额有误"),!1):this.get_fee>this.account.amount2?(r.default.$toast("提现金额不能大于账户可用余额"),!1):void(this.show=!this.show)},onSubmit:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.show=!t.show,t.getCash){e.next=3;break}return e.abrupt("return",r.default.$toast("请不要重复申请提现!"));case 3:return t.getCash=!1,e.next=6,s.default.applyGetcashAccound({sid:t._sid,fee:t.get_fee,channel:t.channel,type:2});case 6:n=e.sent,n&&(t.getCash=!0,t.util.$toast(n.msg,t.util.getUrl({path:"/operation/business_data/asset/index"}),1e3));case 8:case"end":return e.stop()}}),e)})))()}},computed:{tipsMsg:function(){var t=(parseFloat(this.get_fee)*this.account.fee_rate/100).toFixed(2);t=Math.max(t,this.account.fee_min),this.account.fee_max>0&&(t=Math.min(t,this.account.fee_max)),t=parseFloat(t);var e=(parseFloat(this.get_fee)-t).toFixed(2);return"提现金额".concat(this.get_fee,",手续费").concat(t,",实际到账").concat(e,",确定提现吗?")}}};e.default=c},d346:function(t,e,n){"use strict";var a=n("6d81"),i=n.n(a);i.a},ff33:function(t,e,n){"use strict";n.r(e);var a=n("8888"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a}}]);
|