You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
35 KiB
1 lines
35 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_cash-index"],{"0bec":function(t,e,a){"use strict";a.r(e);var i=a("f98d"),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},"12db":function(t,e,a){"use strict";var i=a("647a"),n=a.n(i);n.a},"1c6c":function(t,e,a){"use strict";var i=a("d630"),n=a.n(i);n.a},"298b":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a("a60b");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},"2c34":function(t,e,a){"use strict";a.r(e);var i=a("9ec6"),n=a("0bec");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("4459");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"3c0e60da",null,!1,i["a"],void 0);e["default"]=s.exports},4459:function(t,e,a){"use strict";var i=a("a8e3"),n=a.n(i);n.a},"493d":function(t,e,a){"use strict";a.r(e);var i=a("e933"),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},"5ea7":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-3c0e60da]{background-color:#f5f5f5!important}body.?%PAGE?%[data-v-3c0e60da]{background-color:#f5f5f5!important}.mt25[data-v-3c0e60da]{margin-top:%?25?%}.cash-withdrawal .nav[data-v-3c0e60da]{height:%?130?%;padding:0 %?30?%;font-size:%?30?%;margin-bottom:%?20?%;background-color:#fff}.b-color[data-v-3c0e60da]{background-color:var(--view-theme)}.cash-withdrawal .nav .input[data-v-3c0e60da]{width:%?505?%}.cash-withdrawal .nav .input .more-content[data-v-3c0e60da]{display:flex;align-items:center}.cash-withdrawal .nav .input .more-content .more-content-left[data-v-3c0e60da]{width:90%}.cash-withdrawal .nav .input .more-content .more-content-left .type-icon[data-v-3c0e60da]{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-3c0e60da]{font-size:%?36?%;color:#fff}.cash-withdrawal .nav .input .more-content .moreicon[data-v-3c0e60da]{width:10%;text-align:right}.cash-withdrawal .nav .item[data-v-3c0e60da]{font-size:%?26?%;flex:1;text-align:center}.cash-withdrawal .nav .item ~ .item[data-v-3c0e60da]{border-left:1px solid #f0f0f0}.cash-withdrawal .nav .item .iconfont[data-v-3c0e60da]{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-3c0e60da]{background-color:#e93323;color:#fff;border-color:#e93323}.cash-withdrawal .nav .item .line[data-v-3c0e60da]{width:%?2?%;height:%?20?%;margin:0 auto;transition:height .3s}.cash-withdrawal .nav .item .line.on[data-v-3c0e60da]{height:%?39?%}.cash-withdrawal .wrapper .list[data-v-3c0e60da]{padding:0 %?30?%;background-color:#fff}.cash-withdrawal .wrapper .list .item[data-v-3c0e60da]{border-bottom:1px solid #eee;height:%?107?%;font-size:%?30?%;color:#333}.cash-withdrawal .wrapper .list .item.uploadItem[data-v-3c0e60da]{border-bottom:none;height:auto}.cash-withdrawal .wrapper .list .item.uploadItem .name[data-v-3c0e60da]{height:%?107?%}.picture[data-v-3c0e60da]{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-3c0e60da], .picture uni-image[data-v-3c0e60da]{width:100%;height:100%;border-radius:1px}.picture .icon-guanbi1[data-v-3c0e60da]{font-size:22px;position:absolute;top:-10px;right:-10px;color:#fc4141}.cash-withdrawal .wrapper .list .item .name[data-v-3c0e60da]{width:%?130?%}.cash-withdrawal .wrapper .list .item .input[data-v-3c0e60da]{width:%?505?%}.cash-withdrawal .wrapper .list .item .input .placeholder[data-v-3c0e60da]{color:#bbb}.cash-withdrawal .placeholder1[data-v-3c0e60da]{font-size:%?46?%}.cash-withdrawal .wrapper .list .tip[data-v-3c0e60da]{font-size:%?26?%;color:#999;margin-bottom:%?25?%}.cash-withdrawal .wrapper .list .btn-submit[data-v-3c0e60da]{background-color:#f5f5f5;margin:0 %?-30?%;padding:%?64?% %?30?%}.cash-withdrawal .wrapper .list .bnt[data-v-3c0e60da]{font-size:%?32?%;color:#fff;width:%?690?%;height:%?90?%;text-align:center;border-radius:%?50?%;line-height:%?90?%}[data-v-3c0e60da] .cash-withdrawal .wrapper .list .bnt.disabled{background:#e3e3e3!important;pointer-events:none}.cash-withdrawal .wrapper .list .tip2[data-v-3c0e60da]{font-size:%?26?%;color:#999;text-align:center;margin:%?44?% 0 %?20?% 0}.cash-withdrawal .wrapper .list .value[data-v-3c0e60da]{height:%?135?%;line-height:%?135?%;border-bottom:1px solid #eee;width:%?690?%;margin:0 auto}.cash-withdrawal .wrapper .list .value uni-input[data-v-3c0e60da]{font-size:%?80?%;color:#282828;height:%?135?%;text-align:center}.cash-withdrawal .wrapper .list .value .placeholder2[data-v-3c0e60da]{color:#bbb}.price[data-v-3c0e60da]{color:var(--view-priceColor)}.Bank[data-v-3c0e60da]{display:block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.auto_arrival[data-v-3c0e60da]{text-align:center;padding:%?20?% 0 0 0}.auto_arrival .input[data-v-3c0e60da]{width:100%;border-bottom:1px solid #eee;margin-top:%?10?%;color:#999;height:%?120?%}.auto_arrival .input[data-v-3c0e60da] uni-input, .auto_arrival .input uni-input[data-v-3c0e60da]{height:%?120?%;font-size:%?40?%}uni-toast.uni-mask[data-v-3c0e60da]{background-color:rgba(0,0,0,.5)!important}',""]),t.exports=e},"647a":function(t,e,a){var i=a("73ec");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("702ef7ed",i,!0,{sourceMap:!1,shadowMode:!1})},"6fab":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=[]},"73ec":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\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},"8e68":function(t,e,a){"use strict";a.r(e);var i=a("6fab"),n=a("d47f");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("12db");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},"9ec6":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=[]},a296:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Popup[data-v-ac292046]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000}.Popup .logo-auth[data-v-ac292046]{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-ac292046]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-ac292046]{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-ac292046]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-ac292046]{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-ac292046]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-ac292046]{width:%?500?%}.flex[data-v-ac292046]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-ac292046]{font-weight:700;background-color:#e93323;\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-ac292046]{font-size:%?28?%;color:#fff}.mask[data-v-ac292046]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},a60b: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(){return n.default.get("user/cart/count")},e.getCartList=function(){return n.default.get("user/cart/lst")},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){return n.default.get("order/group_order_detail/"+t)},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(){return n.default.get("order/number")},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.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("b5ef"))},a8e3:function(t,e,a){var i=a("5ea7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("54ae1c6e",i,!0,{sourceMap:!1,shadowMode:!1})},c15c: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;"},[a("v-uni-view",{staticClass:"logo-auth"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),t.isWeixin?a("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?a("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):a("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),a("v-uni-view",{staticClass:"bottom flex"},[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("去授权")]):a("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},n=[]},d47f:function(t,e,a){"use strict";a.r(e);var i=a("298b"),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},d630:function(t,e,a){var i=a("a296");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("8f383f98",i,!0,{sourceMap:!1,shadowMode:!1})},e933: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("ff56")),o=a("31bd"),s=a("5cac"),c=a("26cb"),u=i(a("dae1")),l=a("4f1b"),d=(i(a("8b6a")),a("713c")),p=getApp(),f={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),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,c.mapGetters)(["isLogin","userInfo","viewColor"])),(0,l.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:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,d.toLogin)(!0)},getUserProfile:function(){var t=this,e=this;u.default.getUserProfile().then((function(a){var i=a.userInfo;i.code=t.code,i.spread=p.globalData.spid,i.spread_code=p.globalData.code,(0,o.commonAuth)({auth:{type:"routine",auth:i}}).then((function(a){if(200!=a.data.status)return uni.setStorageSync("auth_token",a.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var i=a.data.result.expires_time-r.default.time();e.$store.commit("UPDATE_USERINFO",a.data.result.user),e.$store.commit("LOGIN",{token:a.data.result.token,time:i}),e.$store.commit("SETUID",a.data.result.user.uid),r.default.set(s.EXPIRES_TIME,a.data.result.expires_time,i),r.default.set(s.USER_INFO,a.data.result.user,i),t.$emit("onLoadFun",a.data.result.user),a.data.result.user.isNew&&t.mp_is_new&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1)}}};e.default=f},f272:function(t,e,a){"use strict";a.r(e);var i=a("c15c"),n=a("493d");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("1c6c");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"ac292046",null,!1,i["a"],void 0);e["default"]=s.exports},f98d: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("c6c3"),o=a("26cb"),s=i(a("f272")),c=i(a("8e68")),u=a("4f1b"),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}}]); |