pages-member-buy-pay.44a33783.js 24 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-buy-pay"],{"0607":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.getVrOrderpayInfo=t.buyStep2=t.buyStep1=void 0;var n=i("887c");t.buyStep1=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,n.requestApi)("/membervrbuy/buy_step1","POST",Object.assign({goods_id:e,quantity:t},i),"member")};t.buyStep2=function(e,t,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return(0,n.requestApi)("/membervrbuy/buy_step2","POST",Object.assign({goods_id:e,quantity:t,buyer_phone:i,buyer_msg:a},o),"member")};t.getVrOrderpayInfo=function(e){return(0,n.requestApi)("/membervrbuy/pay","POST",{pay_sn:e},"member")}},"08408":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAIu0lEQVRoQ+1ZaVBUVxb+XtPdr1maHWR/jeiAuNCIIK6IK0YHcI8THBh3KReSQmesInRrDGCUCaKl5YZEqBCXGcEwBpNhREaduI1oyCDpRgGDghJkM+IS3tS9DLQdGnk9TFXGKs4feO9995zvu+ece+97zeANN+YN549+Ab90Bvsz0J+BPs5Afwn1cQL7PPy1GdBKFW+D4dcCGNdbpHy5G7KsvHDd1K43qO65rRjwYgEnifAxOuRFgF/ZowCN1EPNMIxKiOd02yFItxsiBKrDuEiAAHPjxnRDM0UGBZTJFAopz5fyQK8RaiRmCPOYhqciE+FkpAwwTg5YiISP6QFpUECFjFvK8zgsxPsJSwU2DxgpBKrDuEsBpZlxYwyjqwwK0LKK/aS+hERIcPTHZ1aeQqA6zHBTQMEaN8YwOstwBliuhAf8hESY7TEFt1krIVAdZoIcsDai5Hr23r2Jq1l3r+cQaYUwqpKYY4pihhCoDiMTAdMsjRvTE/onkU+3DGik3DsMg2wx5waJhyteVNfgZdX3EFlbgh0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/4OqBesMt2F1HjXp/gDaySDeAlF0AGubtCdRtapFYZv+QbnxHQNaUch0Ax5eZ1LuQ4gvcP9m69k/ZUcq0u7v70mbBYg9Ae0iIrWY8OrzU0V9SBgjUZmqRLrvzv+kWmwB6CMw3iDDBzBNM/nGFeILS9PPkwfpRWdBCR79gAAJOmZq6L9xtrGeBfplUz71qEI47P/2cUDWJ0YehKM1gbmHgEVnoQtfA7tmqVZ/7p29+BWCDbJBbdlMMPqkIDJgHo+fd+gaTw2t97N/JQDOAJ0q3BgJ4kKZ5GxP1FSh+wZzBXSkt2ibbP9xjPIBpNIH4KYBsoKxWUAYC1XdWz16famZGv6wAh91pS1N3Z/4X7DK2XHtVzfrgz+d7TeLyfQIzO5jQBKYdIAQLAkgHAnWBdLpGCDFUKIANnYqrz2f2C+vGswAGARoCuNPS1NOyfquPGmsCfjSlNPVUZh/XbZR8/sfM1trzYd14H0CLZDCTwW+ktGh3lviE8aK9uB0+fieg07wSOYZ2mpX0n2XmVQeOW5r68ly5X5VuB/Nr7kH4XaH49WsH6n7ItKtJGvvcpyHdANKHMav0WG3qH4WAeAEATIeseOSI7TScMLYTqFGAGwncCCL7guECiIaJMTipRS44g4f10U6ADsmKIiBJoN5cvnL58AYAwMDrqSuRI4WkuSYx0sikvAVgu6x4h90HDO5LadEzbv1zAeQ52OIhEB22Yuqgm8O5+wTGXgBPLlG4oxudA3GfFYv0AbTozCoXgPvRItEEGGMAjxHzJSYEAaUO4DoA9q8sjYGLCkSfwlUnrsZrx+eDlO1wtxwUBH7P1KJ2dhfaijpeJ1ZazHj9h64A9sNKvODId9W0Uq6Yvp3xiZ1TresmnVNzJVzy9Ss+/9tma+2vUnXAabQM16xTPFcc8RMJOmPFI58WVAfKsXuU06fnRXc5g5fC922AUoxiMT7+AQb2KE+K9j2GAAAAAElFTkSuQmCC"},"131a9":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return n}));var n={pageMeta:i("6d42").default,uniNavBar:i("7bfb").default,uniPopup:i("3ae3").default,uniPopupDialog:i("b44c").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("page-meta",{attrs:{"root-font-size":e.fontSize+"px"}}),i("member-base",{attrs:{show:!1}},[i("v-uni-view",{staticClass:"div container"},[i("v-uni-view",{staticClass:"div common-header-wrap"},[i("v-uni-view",{style:"height:"+e.navHeight+"px"}),i("v-uni-view",{staticClass:"common-header-holder"}),i("v-uni-view",{staticClass:"common-header-fixed"},[i("title-header"),e.isback?i("uni-nav-bar",{staticClass:"common-header",attrs:{title:"付款","left-icon":"back"},on:{clickLeft:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack.apply(void 0,arguments)}}}):i("uni-nav-bar",{staticClass:"common-header",attrs:{title:"付款"}})],1)],1),e.pay_info?i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div top-wrapper"},[i("v-uni-view",{staticClass:"div row-wrapper title-wrapper"},[i("v-uni-text",{staticClass:"i iconfont"},[e._v("")]),i("v-uni-label",{staticClass:"title"},[e._v("订单提交成功,请选择付款方式")])],1),i("v-uni-view",{staticClass:"div subtitle-wrapper"},[i("v-uni-label",{staticClass:"subtitle"},[e._v("合计:")]),i("v-uni-label",{staticClass:"price"},[e._v("¥"+e._s(e.pay_info.pay_amount))])],1)],1),i("v-uni-view",{staticClass:"div main-content"},[e.pay_info.member_available_pd>0?i("flex-line",{attrs:{"show-border":!0}},[i("v-uni-view",{staticClass:"div"},[i("v-uni-text",{staticClass:"span"},[e._v("预存款")]),i("v-uni-text",{staticClass:"span left-price"},[e._v("¥"+e._s(e.pay_info.member_available_pd))])],1),i("v-uni-view",{staticClass:"div",attrs:{slot:"right"},slot:"right"},[i("v-uni-switch",{attrs:{checked:!!e.payment_info.pd_pay},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.switchChange(1,t)}}})],1)],1):e._e(),e.pay_info.member_available_rcb>0?i("flex-line",{attrs:{"show-border":!0}},[i("v-uni-view",{staticClass:"div"},[i("v-uni-text",{staticClass:"span"},[e._v("充值卡")]),i("v-uni-text",{staticClass:"span left-price"},[e._v("¥"+e._s(e.pay_info.member_available_rcb))])],1),i("v-uni-view",{staticClass:"div",attrs:{slot:"right"},slot:"right"},[i("v-uni-switch",{attrs:{checked:!!e.payment_info.rcb_pay},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.switchChange(2,t)}}})],1)],1):e._e(),e._l(e.payment_list,(function(t,n){return i("flex-line",{key:n,attrs:{"show-border":!0},nativeOn:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.payType(t.payment_code)}}},[i("v-uni-view",{staticClass:"div item-left-wrapper"},[i("v-uni-text",{staticClass:"i",class:"icon "+t.payment_code}),i("v-uni-label",{staticClass:"item-title"},[e._v(e._s(t.payment_name))])],1),i("v-uni-view",{staticClass:"div item-right-wrapper",attrs:{slot:"right"},slot:"right"},[e.payment_info.payment_code==t.payment_code?i("v-uni-text",{staticClass:"i item-select iconfont"},[e._v("")]):e._e()],1)],1)}))],2)],1):e._e(),i("v-uni-view",{staticClass:"div bottom-wrapper"},[i("v-uni-view",{staticClass:"div common-btn ds-button-large",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("立即付款")])],1)],1),i("uni-popup",{ref:"confirm",attrs:{"background-color":"#fff",type:"dialog"}},[i("uni-popup-dialog",{attrs:{mode:e.dialog.mode,title:e.dialog.title,content:e.dialog.content,placeholder:e.dialog.content},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmDialog.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.closeDialog.apply(void 0,arguments)}}})],1)],1)],1)},o=[]},2934:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.getRechargeList=t.getRechargeInfo=t.addRecharge=void 0;var n=i("887c");t.getRechargeList=function(e){return(0,n.requestApi)("/Memberfund/pdrechargelist","POST",{page:e.page,per_page:e.per_page},"member")};t.getRechargeInfo=function(e){return(0,n.requestApi)("/Recharge/recharge_order","POST",{paysn:e},"member")};t.addRecharge=function(e){return(0,n.requestApi)("/Recharge/index","POST",{pdr_amount:e},"member")}},3432:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.pay=t.getPaymentList=void 0;var n=i("887c"),a=i("0d25");t.pay=function(e,t,i,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return(0,n.requestRaw)(a.env.SITE_URL+"/index.php?s=api/Memberpayment/"+t+"/pay_sn/"+e+"/password/"+i.password+"/rcb_pay/"+i.rcb_pay+"/pd_pay/"+i.pd_pay+"/payment_code/"+i.payment_code+"/key/"+o+"/uniapp/"+r+"/openid/"+i.openid+"/random_number/"+Math.random()+"/")};t.getPaymentList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,n.requestApi)("/Memberpayment/payment_list","POST",{payment_platform:e,payment_code:t},"member")}},"3e4d":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAFRklEQVRoQ+1ZXWwUVRT+zt3u/LQ10RpEjWl4MQaDjcYoYBSp7GwV8O+BaJDE+iAaH4gIRZTGFuODKSQ2MZKgPmAsRIHagkJtZ2mJPgDRB0UxRl9MjYo0oIF256ftPWYqTbvtTudOu1tC0vu02fud73zfnJm5594hXOWDrnL9mDNwpSs4V4GJFSjvLL9BklfJRJUAVYKQYPBZSHFWCvmXMeSfvfgwLhSqcjOugJbRbhcQS4llNYBHAKpQEPc3gH0MOuxa7nEFfChkWgbKvyqfJ/3BNcxYA2D5TAQA+AWMLxPMH/TX+D/G5YploCxTNl/y0BsIhBPmxU0Wge8nUHOCks2XUpfOq3IrG9C79LQg7ABQpUo+TdyvRGjOprxdKvFKBkxb3wyMiJ/NsdOxvLqohJEGjE6tkQQ1RBE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7o4KUDAQkhq3vJmB9FGEB5k9LRp2X9rpUuJQNBG1wgumMCum0MIw+EA4IKnlzIDUQHL8rDWUDhq1tI9BbSqzxQMcpEK4lD/Qv6++LF6r4DIwsbrYeHHTlfAtgxlEQ7SDi1eCRNlzhWwEHX2c6mESPhDzhp/yf4ooej1erwCFcY5bqY0d7jG4Qv+dY/mc5yXtgGEPGEoKsIBYVLGQFmHyAe4m5V7Dem29TX3QDhm0sJ3APwCeZxS437X48k6SFjFWrQLAHtPX1448zCiliJlzKBmaSpJixcwaKeXVVuOcqoHKVion5Dzh030CPoj0HAAAAAElFTkSuQmCC"},"3f01":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.wechatcheck=t.wechatUser=t.wechatLogin=t.login=t.getThirdLogin=t.bind=t.LoginByMobile=void 0;var n=i("887c");t.login=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,n.requestApi)("/Login/index","POST",{username:e,password:t,captcha:i,client_type:"wap"})};t.wechatLogin=function(e,t){return(0,n.requestApi)("/Wxauto/login","GET",{ref:e,inviter_id:t})};t.wechatcheck=function(e){return(0,n.requestApi)("/Wxauto/checkAuth","GET",e)};t.wechatUser=function(e){return(0,n.requestApi)("/Wxauto/getUser","GET",e)};t.LoginByMobile=function(e,t){return(0,n.requestApi)("/Connect/sms_login","POST",{usermobile:e,mobilecode:t,client:"wap"})};t.bind=function(e,t,i,a,o,r,s,c,p,l){return(0,n.requestApi)("/Login/bind","POST",{type:e,from:t,openid:i,unionid:a,nickname:o,headimgurl:r,user:s,password:c,password2:p,inviter_id:l,client_type:"wap"})};t.getThirdLogin=function(e){return(0,n.requestApi)("/Login/third_login","POST",{id:e})}},"5c72":function(e,t,i){"use strict";var n=i("aad9"),a=i.n(n);a.a},"6d7f":function(e,t,i){var n=i("24fb"),a=i("1de5"),o=i("3e4d"),r=i("0ce6"),s=i("08408");t=n(!1);var c=a(o),p=a(r),l=a(s);t.push([e.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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-01be0eae]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;background-color:#f0f2f5}.bottom-wrapper[data-v-01be0eae]{background:#fff;position:absolute;width:100%;padding:.5rem .6rem;box-sizing:border-box;bottom:0;left:0}.main-content[data-v-01be0eae]{padding:0 .6rem;background:#fff}.top-wrapper[data-v-01be0eae]{padding:0 .6rem;height:5rem;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;background-color:#fff;margin-bottom:.75rem}.row-wrapper[data-v-01be0eae]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.title-wrapper[data-v-01be0eae]{height:3.2rem}.title-wrapper .i[data-v-01be0eae]{font-size:.85rem;margin-right:.2rem}.subtitle-wrapper[data-v-01be0eae]{height:1.5rem;text-align:right}.icon[data-v-01be0eae]{width:1.2rem;height:1.2rem;font-size:1.2rem;margin-right:.5rem}.title[data-v-01be0eae]{font-size:.7rem;color:#333;font-weight:700}.subtitle[data-v-01be0eae]{font-size:.7rem;color:#a2a6ad}.price[data-v-01be0eae]{font-size:.8rem;color:#fb2630;font-weight:700}.left-price[data-v-01be0eae]{font-size:.8rem;color:#48a1fb}.item-wrapper[data-v-01be0eae]{height:3.1rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:#fff;border-bottom:1px solid #e8eaed}.item-wrapper[data-v-01be0eae]{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;background-color:#fff}.item-left-wrapper[data-v-01be0eae]{flex:1;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.item-left-wrapper .i[data-v-01be0eae]{background-image:url('+c+");background-repeat:no-repeat;background-size:100%}.item-left-wrapper .alipay_h5[data-v-01be0eae],\r\n.item-left-wrapper .alipay_app[data-v-01be0eae]{background-image:url("+p+")}.item-left-wrapper .unionpay_h5[data-v-01be0eae]{background-image:url("+l+")}.item-right-wrapper[data-v-01be0eae]{flex:1;display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.item-subtitle[data-v-01be0eae]{font-size:.8rem;color:#8c8c8c;margin-right:.25rem;text-align:right}.item-select[data-v-01be0eae]{font-size:1.2rem;color:#7ed321}.indicator[data-v-01be0eae]{width:.7rem;height:.7rem;margin-left:.25rem;margin-right:.8rem}.action-wrapper[data-v-01be0eae]{display:flex;flex-direction:row;justify-content:center;align-items:center;height:2.5rem;margin-top:2.25rem}",""]),e.exports=t},"71ba":function(e,t,i){"use strict";i.r(t);var n=i("bfac"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},aad9:function(e,t,i){var n=i("6d7f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("88a2a160",n,!0,{sourceMap:!1,shadowMode:!1})},b7e0:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.uploadInfoFile=t.saveStoreJoinin5=t.saveStoreJoinin4=t.saveStoreJoinin3=t.saveStoreJoinin2=t.logout=t.getStoreJoinin=t.getStoreGrade=t.getStoreClass=t.getSellerLogList=t.getSellerInfo=t.getSellerCostList=void 0;var n=i("887c");t.logout=function(e){return(0,n.requestApi)("/Sellerlogout/index","POST",{seller_name:e,client:"wap"},"seller")};t.getSellerInfo=function(){return(0,n.requestApi)("/Sellerindex/index","POST",{client_type:"wap"},"seller")};t.getStoreClass=function(){return(0,n.requestApi)("/store/get_store_class","POST",{})};t.getStoreGrade=function(){return(0,n.requestApi)("/store/get_store_grade","POST",{})};t.getStoreJoinin=function(){return(0,n.requestApi)("/Sellerjoinin/get_info","POST",{},"member")};t.saveStoreJoinin2=function(e){return(0,n.requestApi)("/Sellerjoinin/step2","POST",e,"member")};t.saveStoreJoinin3=function(e){return(0,n.requestApi)("/Sellerjoinin/step3","POST",e,"member")};t.saveStoreJoinin4=function(e){return(0,n.requestApi)("/Sellerjoinin/step4","POST",e,"member")};t.saveStoreJoinin5=function(e){return(0,n.requestApi)("/Sellerjoinin/pay_save","POST",e,"member")};t.uploadInfoFile=function(e){return(0,n.requestApi)("/Sellerjoinin/upload_image","POST",e,"member",!0)};t.getSellerLogList=function(){return(0,n.requestApi)("/Sellerlog/log_list","POST",{},"seller")};t.getSellerCostList=function(){return(0,n.requestApi)("/Sellercost/cost_list","POST",{},"seller")}},b810:function(e,t,i){"use strict";i.r(t);var n=i("131a9"),a=i("71ba");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("5c72");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"01be0eae",null,!1,n["a"],void 0);t["default"]=s.exports},bfac:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(i("5530")),o=i("b7e0"),r=i("0b9f"),s=n(i("cce0")),c=n(i("7b4a")),p=i("c1ab"),l=(i("3f01"),i("4d5d")),u=i("0607"),d=i("26cb"),f=i("3432"),m=i("2934"),g=(i("0b9f"),n(i("f522"))),h={name:"pay",mounted:function(){var e=getCurrentPages(),t=e[e.length-2],i=t.route;this.isback="pages/member/order/OrderList"==i},data:function(){return{navHeight:0,dialog:{},pay_sn:"",pay_type:"",pay_info:null,isback:!1,payment_info:{openid:"",password:"",rcb_pay:0,pd_pay:0,payment_code:"alipay_h5"},payment_list:[],showNotice:0,notice:0}},components:{TitleHeader:s.default,MemberBase:c.default,flexLine:g.default},computed:(0,a.default)({fontSize:function(){return(0,r.getFontSize)()}},(0,d.mapState)({token:function(e){return e.member.token}})),onLoad:function(e){this.pay_sn=e.pay_sn?e.pay_sn:"",this.pay_type=e.pay_type?e.pay_type:"",this.notice=e.notice,this.getMemberPayInfo(),this.getPaymentList()},watch:{showNotice:function(e){e&&this.notice&&(this.dialog={condition:1,title:"确认支付是否完成",content:"如果您已完成支付,请点击“确定”按钮,如果您未完成支付,请点击“取消”重新发起支付",cancelButtonText:"重新支付",confirmButtonText:"完成付款"},this.$refs.confirm.open())}},methods:{switchChange:function(e,t){switch(e){case 1:this.payment_info.pd_pay=t.detail.value;break;case 2:this.payment_info.rcb_pay=t.detail.value;break}},closeDialog:function(){},confirmDialog:function(e){switch(this.dialog.condition){case 1:this.goNext();break;case 2:uni.navigateTo({url:"/pages/member/setting/AccountSet"});break;case 3:this.payment_info.password=e,this.submit();break}},goBack:function(){this.notice?uni.navigateBack({delta:2}):uni.navigateBack({delta:1})},goNext:function(){"pay_new"===this.pay_type?uni.redirectTo({url:"/pages/member/order/OrderList?if_pay=1"}):"vr_pay_new"===this.pay_type?uni.redirectTo({url:"/pages/member/vrorder/OrderList?if_pay=1"}):"pd_pay"===this.pay_type?uni.redirectTo({url:"/pages/member/recharge/RechargeList?if_pay=1"}):"sj_pay"===this.pay_type&&uni.redirectTo({url:"/pages/member/sellerjoinin/Step1?if_pay=1"})},payType:function(e){this.payment_info.payment_code=e},getPaymentList:function(){var e=this,t="";(0,p.isWechat)()&&(t="wxpay_jsapi"),(0,f.getPaymentList)("",t).then((function(t){e.payment_list=t.result.payment_list,e.payment_list.length&&(e.payment_info.payment_code=e.payment_list[0].payment_code)})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},getMemberPayInfo:function(){var e=this;if("pay_new"===this.pay_type){var t=this;(0,l.getOrderpayInfo)(this.pay_sn).then((function(t){1e4===t.code&&(e.pay_info=t.result.pay_info),e.showNotice=1})).catch((function(e){12001===e.code?t.goNext():uni.showToast({icon:"none",title:e.message})}))}else if("vr_pay_new"===this.pay_type){var i=this;(0,u.getVrOrderpayInfo)(this.pay_sn).then((function(t){1e4===t.code&&(e.pay_info=t.result.pay_info),e.showNotice=1})).catch((function(e){12001===e.code?i.goNext():uni.showToast({icon:"none",title:e.message})}))}else if("sj_pay"===this.pay_type){var n=this;(0,o.getStoreJoinin)().then((function(t){1e4===t.code&&(e.pay_info=t.result.store_joinin),e.showNotice=1})).catch((function(e){12001===e.code?n.goNext():Toast(e.message)}))}else"pd_pay"===this.pay_type&&(0,m.getRechargeInfo)(this.pay_sn).then((function(t){1e4===t.code&&(e.pay_info={pay_amount:t.result.pdinfo.pdr_amount}),e.showNotice=1})).catch((function(e){12001===e.code?_this.goNext():uni.showToast({icon:"none",title:e.message})}))},submit:function(){if(this.payment_info.pd_pay||this.payment_info.rcb_pay)if(this.pay_info.member_paypwd){if(!this.payment_info.password)return this.dialog={condition:3,mode:"input",title:"请输入支付密码",content:"注:默认支付密码为:123456"},void this.$refs.confirm.open()}else this.dialog={condition:2,content:"您需要先去设置支付密码"},this.$refs.confirm.open();this.goPay()},goPay:function(){var e=this;(0,f.pay)(this.pay_sn,this.pay_type,this.payment_info,this.token).then((function(t){if(e.payment_info.password="",t.code)if(12001===t.code)e.goNext();else if(1e4===t.code);else uni.showToast({icon:"none",title:t.message});else document.write(t)})).catch((function(t){e.payment_info.password="",t.message?uni.showToast({icon:"none",title:t.message}):document.write(t)}))}}};t.default=h},c1ab:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.isWechat=function(){var e=window.navigator.userAgent.toLowerCase();return"micromessenger"==e.match(/MicroMessenger/i)},i("ac1f"),i("466d")}}]);