bztang-admin/addons/yun_shop/static/app/js/chunk-5aeca6ad.3996bb33.js

1 line
2.9 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5aeca6ad"],{"2c2b":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"test_alipay"}},[this.fun.isWeiXin()?a("div",{staticClass:"J-weixin-tip weixin-tip"},[t._m(0)]):t._e(),this.fun.isWeiXin()?t._e():a("loading",{attrs:{show:!0}})],1)},i=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"wx-detail"}},[r("div",{staticClass:"bg"},[r("img",{attrs:{src:a("e236"),alt:""}})])])}],o=a("c7eb"),n=a("1da1"),s=a("6968"),u=a("c428"),c={data:function(){return{alipay_url:"",uid:""}},methods:{toPay:function(){var t=this;$http.get("finance.balance.alipay",{order_sn:this.$route.params.order_pay_id,uid:this.$route.params.uid,pay_type:2,recharge_money:this.$route.params.recharge_money},"正在充值").then((function(e){1==e.result?(t.alipay_url=e.data,t.webToPay()):t.$dialog.alert({message:e.msg})}),(function(t){}))},toPayOrder:function(){window.location.href=this.$route.params.wxurl},toLove:function(){var t=this;$http.get("plugin.love.Frontend.Modules.Love.Controllers.recharge.alipay",{order_sn:this.$route.params.order_pay_id},"正在充值").then((function(e){1==e.result?(t.alipay_url=e.data,t.webToPay()):t.$dialog.alert({message:e.msg})}),(function(t){}))},toFrozen:function(){var t=this;$http.get("plugin.froze.Frontend.Modules.Froze.Controllers.recharge.alipay",{order_sn:this.$route.params.order_pay_id},"正在充值").then((function(e){1==e.result?(t.alipay_url=e.data,t.webToPay()):t.$dialog.alert({message:e.msg})}),(function(t){}))}},activated:function(){var t=this;return Object(n["a"])(Object(o["a"])().mark((function e(){var a;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.fun.isWeiXin()){e.next=6;break}if("auth_payment"!=t.$route.query.pay_scope){e.next=5;break}return a=decodeURIComponent(t.$route.query.pay_url),window.location.href=a,e.abrupt("return");case 5:"2"==t.$route.params.status?t.toPayOrder():"1"==t.$route.params.status&&("frozen"==t.$route.params.tag?t.toFrozen():"love"==t.$route.params.tag?t.toLove():t.toPay());case 6:case"end":return e.stop()}}),e)})))()},components:{cTitle:s["a"],loading:u["a"]},created:function(){}},l=c,d=l,p=(a("fdb8"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,"0b8fe2c4",null);e["default"]=f.exports},"6ac4":function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,"#wx-detail[data-v-0b8fe2c4]{background:rgba(0,0,0,.8);height:100%;position:fixed;width:100%}#wx-detail img[data-v-0b8fe2c4]{width:100%;position:relative;top:-2.5rem}",""]),t.exports=e},a4018:function(t,e,a){var r=a("6ac4");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("499e").default;i("ef3a29ea",r,!0,{sourceMap:!1,shadowMode:!1})},e236:function(t,e,a){t.exports=a.p+"static/app/img/alipay-bg.64de79e8.png"},fdb8:function(t,e,a){"use strict";a("a4018")}}]);