bztang-admin/addons/yun_shop/static/app/js/chunk-623ff395.7aea118a.js

1 line
4.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-623ff395"],{"36fc":function(e,t,a){var o=a("24fb");t=o(!1),t.push([e.i,".paybox[data-v-36a3f722]{width:21.88rem;height:12.5rem;background-color:#fff;border-radius:.47rem;margin:0 auto;margin-top:.63rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.paybox .btn[data-v-36a3f722]{width:14.38rem;height:2.19rem;background-color:#f14e4e;border-radius:1.09rem;margin:0 auto;color:#fff;font-size:.88rem;margin-bottom:.8rem}.paybox .btn[data-v-36a3f722],.paybox .price[data-v-36a3f722]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.paybox .price[data-v-36a3f722]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.paybox .price .txt[data-v-36a3f722]{font-size:.75rem;color:#3a3a3a}.paybox .price .priceNum[data-v-36a3f722]{font-size:1.56rem;color:#f14e4e}.paybox .topTitle[data-v-36a3f722]{margin:0 .94rem;height:2.47rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #f3f3f3;font-size:.88rem}",""]),e.exports=t},7467:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"personRedPay"}},[a("c-title",{attrs:{hide:!1,text:"支付"}}),a("div",{staticClass:"paybox"},[a("div",{staticClass:"topTitle"},[a("span",[e._v("账户"+e._s(e.balance)+"")]),a("span",{staticStyle:{color:"#434242"}},[e._v(e._s(e.member.balance)+"元")])]),a("div",{staticClass:"price"},[a("span",{staticClass:"txt"},[e._v("支付金额")]),a("span",{staticClass:"priceNum"},[e._v("¥"+e._s(e.info.amount_total))])]),a("div",{staticClass:"btn",on:{click:e.checkPassword}},[e._v("支付")]),a("pay-keyboard",{attrs:{payKeyboardShow:e.popupSpecs},on:{"update:payKeyboardShow":function(t){e.popupSpecs=t},"update:pay-keyboard-show":function(t){e.popupSpecs=t},complete:e.onInput}})],1)],1)},i=[],s=(a("e7e5"),a("d399")),n=(a("e9c4"),a("6968")),r=a("ebf1"),c={data:function(){return{active:0,info:[],member:[],balance:"",popupSpecs:!1,moreTap:!1}},deactivated:function(){},activated:function(){this.moreTap=!1,(this.$route.params.json||this.$route.params.lis)&&(this.info=JSON.parse(this.$route.params.json),this.member=JSON.parse(this.$route.params.lis)),this.$route.params.json||this.$router.push(this.fun.getUrl("personRed",{})),this.balance=localStorage.getItem("balanceLang")?JSON.parse(localStorage.getItem("balanceLang")).balance:"余额"},methods:{onInput:function(e){this.getVerifyPassword(e)},checkPassword:function(){this.member.need_password?this.popupSpecs=!0:this.postPay()},postPay:function(){var e=this;if(!this.moreTap){this.moreTap=!0;var t=JSON.stringify(this.info);$http.post("plugin.redpack-user.frontend.redpack.send",{redpack_date:t},"").then((function(t){1===t.result?(Object(s["a"])(t.msg),e.$router.push(e.fun.getUrl("personRed",{})),e.moreTap=!0):(e.moreTap=!1,Object(s["a"])(t.msg))})).catch((function(e){}))}},getVerifyPassword:function(e){var t=this;$http.get("payment.password.check",{password:e},"").then((function(e){1==e.result?t.postPay():t.$dialog.confirm({message:e.msg}).then((function(){2001==e.data.code||(2002==e.data.code?t.$router.push(t.fun.getUrl("set_balance_password",{})):e.data.code)})).catch((function(){2001==e.data.code||2002==e.data.code||e.data.code}))}),(function(e){t.$dialog.alert({message:e.msg})}))}},components:{cTitle:n["a"],payKeyboard:r["a"]}},p=c,l=(a("f9ff"),a("2877")),f=Object(l["a"])(p,o,i,!1,null,"36a3f722",null);t["default"]=f.exports},f0c6:function(e,t,a){var o=a("36fc");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("499e").default;i("6665c442",o,!0,{sourceMap:!1,shadowMode:!1})},f9ff:function(e,t,a){"use strict";a("f0c6")}}]);