| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin-clear-alipay"],{"04fb5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r("a075");t.default={name:"alipay",components:{},mixins:[],data:function(){return{constant:this.$constant,payUrl:"",hasRenew:1}},computed:{},onLoad:function(){this.payInit()},mounted:function(){},methods:{init:function(){},go:function(){1==this.hasRenew&&(window.location.href=this.payUrl)},payInit:function(){var e=this,t=this.option.orderSn?this.option.orderSn:"";if(this.$util.isEmpty(t))return this.$msg("没有找到订单号"),!1;(0,a.purchaseClearAliPay)({orderSn:t}).then((function(t){if(0==t.code)return e.$msg(t.msg),!1;e.hasRenew=t.data.hasRenew?t.data.hasRenew:0,t.data.hasRenew&&1==t.data.hasRenew&&(e.payUrl=t.data.payUrl,window.location.href=e.payUrl)}))}}}},"28de":function(e,t,r){"use strict";r.r(t);var a=r("04fb5"),n=r.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(i);t["default"]=n.a},3551:function(e,t,r){"use strict";var a=r("6c41"),n=r.n(a);n.a},"3fd0":function(e,t,r){"use strict";r.r(t);var a=r("fe5b"),n=r("28de");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i);r("3551");var u,o=r("8aaf"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"5efe9e6a",null,!1,a["a"],u);t["default"]=c.exports},"6c41":function(e,t,r){var a=r("8324");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("47af").default;n("291c8ed9",a,!0,{sourceMap:!1,shadowMode:!1})},8324:function(e,t,r){var a=r("5acd");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/***\n全局scss 变量和方法 存放处\n */\n/* 引入minxin */\n/* 颜色变量 */\n/*图片地址*/\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.app-content[data-v-5efe9e6a]{min-height:calc(100vh - %?20?%);padding-top:%?20?%}.tabs-wrap[data-v-5efe9e6a]{position:fixed;top:0;width:100%;height:%?80?%;line-height:%?80?%;text-align:center;background-color:#fff;font-size:%?30?%;box-shadow:%?4?% %?4?% %?10?% #eee}.pay-wrap .pay-input-wrap[data-v-5efe9e6a]{background-color:#fff;border-top-left-radius:%?20?%;border-top-right-radius:%?20?%;padding:%?50?% %?80?% %?28?%;margin-bottom:0!important}.pay-wrap .pay-input-wrap .balance[data-v-5efe9e6a]{margin-top:%?30?%;color:#666}.pay-wrap .pay-input-wrap .btn-wrap[data-v-5efe9e6a]{width:100%;margin-top:%?64?%}.pay-wrap .pay-input-wrap .btn-wrap .button-com[data-v-5efe9e6a]{display:block;margin-bottom:%?20?%;padding-top:%?30?%;padding-bottom:%?30?%}.delivery-wrap .module-com[data-v-5efe9e6a]{margin-bottom:%?20?%;background-color:#fff}.delivery-wrap .module-com .module-tit[data-v-5efe9e6a]{padding:%?20?% %?18?%;font-size:%?28?%;font-weight:600;border-bottom:%?1?% solid #eee}.delivery-wrap .module-com .module-det[data-v-5efe9e6a]{padding:0 %?30?%}.delivery-wrap .pay-input-wrap[data-v-5efe9e6a]{padding:%?50?% %?36?% %?38?%}.delivery-wrap .pay-input-wrap .balance[data-v-5efe9e6a]{margin-top:%?30?%;color:#666}.delivery-wrap .shop-logo-wrap[data-v-5efe9e6a]{padding-bottom:%?20?%;display:-webkit-box;display:flex;display:-webkit-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.delivery-wrap .shop-logo-wrap .logo-img[data-v-5efe9e6a]{width:100%;margin:%?10?% auto;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.delivery-wrap .shop-logo-wrap .logo-img .logo[data-v-5efe9e6a]{width:%?100?%;height:%?100?%;border-radius:%?10?%;margin-left:%?10?%;float:left}.delivery-wrap .shop-logo-wrap .logo-img .title[data-v-5efe9e6a]{margin-left:%?20?%;float:left;width:%?600?%;height:%?100?%;line-height:%?100?%;font-size:%?38?%;font-weight:700}.delivery-wrap .discount-wrap .module-det[data-v-5efe9e6a]{padding-top:%?20?%;padding-bottom:%?20?%}.delivery-wrap .none-name-delivery[data-v-5efe9e6a]{padding:%?26?% %?30?%;margin-bottom:%?20?%;background-color:#fff}.delivery-wrap .none-name-delivery .none-name-text[data-v-5efe9e6a]{margin-left:%?14?%;color:#666}.delivery-wrap .btn-wrap[data-v-5efe9e6a]{width:calc(100% - %?60?%);margin:%?64?% auto 0;padding-bottom:%?20?%}.delivery-wrap .btn-wrap .button-com[data-v-5efe9e6a]{display:block;margin-bottom:%?20?%;padding-top:%?30?%;padding-bottom:%?30?%}.delivery-wrap .btn-wrap .button-com[data-v-5efe9e6a]:last-child{margin-bottom:0}.delivery-wrap .view-more[data-v-5efe9e6a]{width:auto;padding-bottom:%?20?%;margin-bottom:%?20?%;font-size:%?28?%;display:-webkit-box;display:flex;display:-webkit-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:#fff;color:#666565;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;z-index:9999999;padding-left:%?40?%}.delivery-wrap .view-more .view-more-text[data-v-5efe9e6a]{margin-right:%?14?%}.delivery-wrap .view-more i[data-v-5efe9e6a]{font-size:%?30?%;font-weight:600}.delivery-wrap .view-more .fill-get-man[data-v-5efe9e6a]{color:red;margin-left:%?10?%;font-weight:600;text-decoration:underline}.delivery-wrap .view-more .pack-up[data-v-5efe9e6a]{margin-left:%?20?%;font-weight:600;color:red;text-decoration:underline}.delivery-wrap .view-more.open i[data-v-5efe9e6a]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}',""]),e.exports=t},a075:function(e,t,r){"use strict";var a=r("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.saveCgPrice=t.purchaseWxPay=t.purchaseList=t.purchaseDetail=t.purchaseDebtPay=t.purchaseDebtList=t.purchaseClearWxPay=t.purchaseClearCreateOrder=t.purchaseClearAliPay=t.purchaseBalancePay=t.purchaseAliPay=t.ghsList=t.ghsDetail=t.getPurchaseListApi=t.getPurchaseDetailApi=t.getFullInfo=t.getDetail=t.getCgItemInfo=t.getAliPayCode=t.freight=t.createPurchaseOrderApi=t.createOrder=t.confirmTake=t.addVirtualCg=void 0,r("0bb3");var n=a(r("da6a")),i=a(r("14bf"));t.getAliPayCode=function(e){return i.default.get("/purchase/get-ali-pay-code",e)},t.saveCgPrice=function(e){return i.default.post("/cg-item/save-cg-price",e)},t.confirmTake=function(e){return i.default.get("/purchase/confirm-take",e)},t.getFullInfo=function(e){return i.default.get("/purchase/get-full-info",e)},t.getCgItemInfo=function(e){return i.default.get("/cg-item/get-cg-item-info",e)},t.getDetail=function(e){return i.default.get("/purchase/detail",e)},t.getPurchaseDetailApi=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase-order/detail",{orderSn:t}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.getPurchaseListApi=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase-order/list",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.createPurchaseOrderApi=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase-order/create-order",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.ghsList=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/ghs/list",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseList=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase/list",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseDebtList=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase/debt-list",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.ghsDetail=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/ghs/detail",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseClearCreateOrder=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase-clear/create-order",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseClearWxPay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase-clear/wx-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseClearAliPay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase-clear/ali-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseBalancePay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase/balance-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseDebtPay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase/debt-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseDetail=function(e){return i.default.get("/purchase/detail",e)},t.purchaseAliPay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase/ali-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purchaseWxPay=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.post("/purchase/wx-pay",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.freight=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",i.default.get("/purchase/freight",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.createOrder=function(e){return i.default.post("/purchase/create-order",e)},t.addVirtualCg=function(e){return i.default.post("/purchase/add-virtual-cg",e)}},fe5b:function(e,t,r){"use strict";var a;r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-content pay-wrap"},[r("div",{staticClass:"delivery-wrap"},[r("div",{staticClass:"btn-wrap"},[1==e.hasRenew?r("v-uni-button",{staticClass:"button-com red",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.go()}}},[e._v("正在打开支付宝...")]):e._e(),0==e.hasRenew?r("v-uni-view",{staticStyle:{"margin-top":"50upx","font-size":"40upx","font-weight":"bold","text-align":"center"}},[e._v("商家还未开通此功能")]):e._e()],1)])])},i=[]}}]);
|