first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/wallet/withdraw.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/wallet/withdraw.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/wallet/withdraw"],{"0b38":function(e,n,t){"use strict";(function(e){var t;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{items:[],config:null,form:{money:"",acc_id:"",code:""},shopinfo:{mobile:""},w:{day:"",min_money:""},money:0,rules:{money:[{required:!0,message:"请输入提现金额",trigger:["blur","change"]}],code:[{required:!0,message:"请输入验证码",trigger:["blur","change"]}]},code:{tips:"获取验证码",seconds:60},list_table:[{title:"计划到账时间",name:"arrive_day"},{title:"提现-申请时间",name:"apply_min"},{title:"提现-手续费",name:"fee"}],list_data:[]}},onLoad:function(e){t=this,e&&e.id&&(t.form.acc_id=e.id),t.shopinfo=t.$store.state.auth.user,this.tableList()},onShow:function(){t.getAccountItems()},onReady:function(){t.$refs.uForm.setRules(t.rules)},methods:{tableList:function(){var n=this;t.$http.get("/shop/v10/withdraw_config/items",t.form).then((function(t){var o=t.data,u=t.success,i=t.msg;u?n.list_data=o:e.showToast({title:i,icon:"none"})}))},codeChange:function(e){t.code.tips=e},getCode:function(){11==t.shopinfo.mobile.length?t.$refs.uCode.canGetCode?(e.showLoading({title:"正在获取验证码"}),t.$http.get("/com/sms/sendcode",{mobile:t.shopinfo.mobile}).then((function(n){n.success&&(e.hideLoading(),e.$u.toast("验证码已发送,有效期5分钟"),t.$refs.uCode.start())}))):e.$u.toast("倒计时结束后再发送"):e.$u.toast("请输入手机号")},end:function(){},start:function(){},tochard:function(){e.navigateTo({url:"/pages/wallet/account/index?show=1"})},check:function(e){t.form.acc_id=e.id},withdraw:function(){this.$refs.uForm.validate().then((function(n){t.$http.get("/shop/v10/wallet/withdraw",t.form).then((function(n){n.data;var t=n.success,o=n.msg;t?e.navigateBack():e.showToast({title:o,icon:"none"})}))})).catch((function(n){e.$u.toast(n[0].message)}))},getAccountItems:function(){t.$http.get("/shop/v10/account/items").then((function(e){var n=e.data;e.success;t.items=n.items,t.config=n.config,t.w=n.shop_withdraw,t.money=n.money,n.items.length&&(t.form.acc_id=n.items[0].id)}))}}};n.default=o}).call(this,t("df3c")["default"])},2249:function(e,n,t){"use strict";t.r(n);var o=t("0b38"),u=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=u.a},"323b":function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var o={"u-Form":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--form/u--form")]).then(t.bind(null,"8b7a"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"1237"))},"u-Input":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--input/u--input")]).then(t.bind(null,"2ee7"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-input/u-input")]).then(t.bind(null,"d804"))},uCodeInput:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-code-input/u-code-input")]).then(t.bind(null,"bbe7"))},uToast:function(){return t.e("node-modules/uview-ui/components/u-toast/u-toast").then(t.bind(null,"a526"))},uCode:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-code/u-code")]).then(t.bind(null,"0b2d"))},uButton:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-button/u-button")]).then(t.bind(null,"e1a8"))},uDivider:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-divider/u-divider")]).then(t.bind(null,"c144"))},uTag:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-tag/u-tag")]).then(t.bind(null,"45f4"))}},u=function(){var e=this.$createElement;this._self._c},i=[]},3371:function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("4233");o(t("3240"));var u=o(t("7cd6"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},4093:function(e,n,t){},"7cd6":function(e,n,t){"use strict";t.r(n);var o=t("323b"),u=t("2249");for(var i in u)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(i);t("8959");var c=t("828b"),s=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=s.exports},8959:function(e,n,t){"use strict";var o=t("4093"),u=t.n(o);u.a}},[["3371","common/runtime","common/vendor"]]]);
|
||||
Reference in New Issue
Block a user