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.af4f5e3c.js

3 lines
70 KiB

11 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["dealer"],{"09a1":function(e,t,a){"use strict";a("7a07")},"1a84":function(e,t,a){"use strict";a("eef1")},"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"}])},"5ca5":function(e,t,a){"use strict";a("f419")},"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:""}})]
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
s=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",d=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function m(e,t,a,r){var s=t&&t.prototype instanceof w?t:w,n=Object.create(s.prototype),i=new O(r||[]);return o(n,"_invoke",{value:q(e,a,i)}),n}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=m;var f="suspendedStart",v="suspendedYield",h="executing",y="completed",b={};function w(){}function _(){}function g(){}var x={};u(x,l,(function(){return this}));var k=Object.getPrototypeOf,C=k&&k(k(A([])));C&&C!==a&&n.call(C,l)&&(x=C);var S=g.prototype=w.prototype=Object.create(x);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function a(s,o,i,l){var d=p(e[s],e,o);if("throw"!==d.type){var c=d.arg,u=c.value;return u&&"object"==Object(r["a"])(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){a("next",e,i,l)}),(function(e){a("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return a("throw",e,i,l)}))}l(d.arg)}var s;o(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,s){a(e,r,t,s)}))}return s=s?s.then(n,n):n()}})}function q(t,a,r){var s=f;return function(n,o){if(s===h)throw new Error("Generator is already running");if(s===y){if("throw"===n)throw o;return{value:e,done:!0}}for(r.method=n,r.arg=o;;){var i=r.delegate;if(i){var l=I(i,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(s===f)throw s=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s=h;var d=p(t,a,r);if("normal"===d.type){if(s=r.done?y:v,d.arg===b)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(s=y,r.method="throw",r.arg=d.arg)}}}function I(t,a){var r=a.method,s=t.iterator[r];if(s===e)return a.delegate=null,"throw"===r&&t.iterator["return"]&&(a.method="return",a.arg=e,I(t,a),"throw"===a.method)||"return"!==r&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var n=p(s,t.iterator,a.arg);if("throw"===n.type)return a.method="throw",a.arg=n.arg,a.delegate=null,b;var o=n.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,b):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,b)}function $(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 P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach($,this),this.reset(!0)}function A(t){if(t||""===t){var a=t[l];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var s=-1,o=function a(){for(;++s<t.length;)if(n.call(t,s))return a.value=t[s],a.done=!1,a;return a.value=e,a.done=!0,a};return o.next=o}}throw new TypeError(Object(r["a"])(t)+" is not iterable")}return _.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:_,configurable:!0}),_.displayName=u(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},E(L.prototype),u(L.prototype,d,(function(){return this})),t.AsyncIterator=L,t.async=function(e,a,r,s,n){void 0===n&&(n=Promise);var o=new L(m(e,a,r,s),n);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(S),u(S,c,"Generat