You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/store/js/dealer.f2e31461.js

3 lines
70 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["dealer"],{"0eec":function(e,t,a){},"1da1":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));a("d3b7");function r(e,t,a,r,s,n,o){try{var i=e[n](o),l=i.value}catch(d){return void a(d)}i.done?t(l):Promise.resolve(l).then(r,s)}function s(e){return function(){var t=this,a=arguments;return new Promise((function(s,n){var o=e.apply(t,a);function i(e){r(o,s,n,i,l,"next",e)}function l(e){r(o,s,n,i,l,"throw",e)}i(void 0)}))}}},"2d32":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return i}));var r=a("b775"),s={all:"/dealer.setting/all",detail:"/dealer.setting/detail",update:"/dealer.setting/update"};function n(){return Object(r["b"])({url:s.all,method:"get"})}function o(e){return Object(r["b"])({url:s.detail,method:"get",params:{key:e}})}function i(e){return Object(r["b"])({url:s.update,method:"post",data:e})}},"3c76":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var r=a("5c06"),s=new r["a"]([{key:"WECHAT",name:"微信支付",value:"wechat"},{key:"ALIPAY",name:"支付宝",value:"alipay"},{key:"BALANCE",name:"余额支付",value:"balance"}])},"4a95":function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return n})),a.d(t,"d",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"g",(function(){return l})),a.d(t,"h",(function(){return d})),a.d(t,"f",(function(){return c})),a.d(t,"a",(function(){return u}));var r=a("5c06"),s=new r["a"]([{key:"NOT_DELIVERED",name:"未发货",value:10},{key:"DELIVERED",name:"已发货",value:20},{key:"PART_DELIVERED",name:"部分发货",value:30}]),n=new r["a"]([{key:"EXPRESS",name:"快递配送",value:10},{key:"EXTRACT",name:"上门自提",value:20},{key:"NOTHING",name:"无需配送",value:30}]),o=new r["a"]([{key:"MASTER",name:"普通订单",value:10},{key:"BARGAIN",name:"砍价订单",value:20},{key:"SHARP",name:"秒杀订单",value:30},{key:"GROUPON",name:"拼团订单",value:40}]),i=new r["a"]([{key:"NORMAL",name:"进行中",value:10},{key:"CANCELLED",name:"已取消",value:20},{key:"APPLY_CANCEL",name:"待取消",value:21},{key:"COMPLETED",name:"已完成",value:30}]),l=new r["a"]([{key:"PENDING",name:"待支付",value:10},{key:"SUCCESS",name:"已支付",value:20}]),d=new r["a"]([{key:"NOT_RECEIVED",name:"未收货",value:10},{key:"RECEIVED",name:"已收货",value:20}]),c=new r["a"]([{key:"PHYSICAL",name:"实物订单",value:10},{key:"VIRTUAL",name:"虚拟订单",value:20}]),u=new r["a"]([{key:"ALL",name:"全部",value:"all"},{key:"DELIVERY",name:"待发货",value:"delivery"},{key:"RECEIPT",name:"待收货",value:"receipt"},{key:"PAY",name:"待付款",value:"pay"},{key:"COMPLETE",name:"已完成",value:"complete"},{key:"APPLY_CANCEL",name:"待取消",value:"apply_cancel"},{key:"CANCEL",name:"已取消",value:"cancel"}])},"4b9e":function(e,t,a){"use strict";a("b0bd")},"6747f":function(e,t,a){"use strict";a("9f51")},"696d":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("a-card",{attrs:{bordered:!1}},[t("div",{staticClass:"card-title"},[e._v("分销海报设置")]),t("a-spin",{attrs:{spinning:e.isLoading}},[t("a-alert",{staticClass:"mb-15",attrs:{showIcon:!0,message:"分销商海报设置说明",banner:""}},[t("template",{slot:"description"},[t("p",[e._v("1. 可拖动头像、二维码、昵称调整位置")]),t("p",[e._v("2. 修改后如需生效请前往 设置-清理缓存,清除临时图片")])])],2),e.isLoading?e._e():t("div",{staticClass:"container clearfix",staticStyle:{"margin-top":"25px"}},[t("div",{ref:"preview",staticClass:"poster-preview"},[t("div",{staticClass:"backdrop"},[t("img",{ref:"posterImage",attrs:{src:e.record.backdrop.src,alt:""},on:{load:e.loadImage}})]),t("div",{ref:"qrcode",staticClass:"drag pre-qrcode",class:e.record.qrcode.style,style:{width:e.record.qrcode.width+"px",height:e.record.qrcode.width+"px",top:e.record.qrcode.top+"px",left:e.record.qrcode.left+"px"}},[t("img",{attrs:{src:e.record.qrcode.src,alt:""}})]),t("div",{ref:"avata
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
s=function(){return e};var e={},t=Object.prototype,a=t.hasOwnProperty,n=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function c(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch($){c=function(e,t,a){return e[t]=a}}function u(e,t,a,r){var s=t&&t.prototype instanceof f?t:f,o=Object.create(s.prototype),i=new L(r||[]);return n(o,"_invoke",{value:k(e,a,i)}),o}function m(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch($){return{type:"throw",arg:$}}}e.wrap=u;var p={};function f(){}function v(){}function h(){}var y={};c(y,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(q([])));w&&w!==t&&a.call(w,i)&&(y=w);var _=h.prototype=f.prototype=Object.create(y);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function s(n,o,i,l){var d=m(e[n],e,o);if("throw"!==d.type){var c=d.arg,u=c.value;return u&&"object"==Object(r["a"])(u)&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){s("next",e,i,l)}),(function(e){s("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return s("throw",e,i,l)}))}l(d.arg)}var o;n(this,"_invoke",{value:function(e,a){function r(){return new t((function(t,r){s(e,a,t,r)}))}return o=o?o.then(r,r):r()}})}function k(e,t,a){var r="suspendedStart";return function(s,n){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===s)throw n;return I()}for(a.method=s,a.arg=n;;){var o=a.delegate;if(o){var i=C(o,a);if(i){if(i===p)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===r)throw r="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r="executing";var l=m(e,t,a);if("normal"===l.type){if(r=a.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(r="completed",a.method="throw",a.arg=l.arg)}}}function C(e,t){var a=t.method,r=e.iterator[a];if(void 0===r)return t.delegate=null,"throw"===a&&e.iterator["return"]&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==a&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+a+"' method")),p;var s=m(r,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,p;var n=s.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function q(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function t(){for(;++r<e.length;)if(a.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return s.next=s}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=h,n(_,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,d,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,d,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},g(x.prototype),c(x.prototype,l,(function(){return this})),e.AsyncIterator=x,e.async=function(t,a,r,s,n){void 0===n&&(n=Promise);var o=new x(u(t,a,r,s),n);return e.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.val