(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-app-promotionMaterial-upload"],{"0975":function(e,t,n){(function(i){var o;n("c975"),n("ac1f"),n("466d"),n("5319"),n("1276");var r=n("5757");!function(i,r){o=function(){return r(i)}.call(t,n,t,e),void 0===o||(e.exports=o)}(window,(function(e,t){if(!e.jWeixin){var n,o,a={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},c=function(){var e={};for(var t in a)e[a[t]]=t;return e}(),s=e.document,l=s.title,u=navigator.userAgent.toLowerCase(),d=navigator.platform.toLowerCase(),f=!(!d.match("mac")&&!d.match("win")),p=-1!=u.indexOf("wxdebugger"),m=-1!=u.indexOf("micromessenger"),g=-1!=u.indexOf("android"),h=-1!=u.indexOf("iphone")||-1!=u.indexOf("ipad"),v=(o=u.match(/micromessenger\/(\d+\.\d+\.\d+)/)||u.match(/micromessenger\/(\d+\.\d+)/))?o[1]:"",b={initStartTime:j(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},w={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:h?1:g?2:-1,clientVersion:v,url:encodeURIComponent(location.href)},y={},x={_completes:[]},k={state:0,data:{}};V((function(){b.initEndTime=j()}));var _=!1,S=[],A=(n={config:function(t){B("config",y=t);var n=!1!==y.check;V((function(){if(n)C(a.config,{verifyJsApiList:O(y.jsApiList),verifyOpenTagList:O(y.openTagList)},function(){x._complete=function(e){b.preVerifyEndTime=j(),k.state=1,k.data=e},x.success=function(e){w.isPreVerifyOk=0},x.fail=function(e){x._fail?x._fail(e):k.state=-1};var e=x._completes;return e.push((function(){!function(){if(!(f||p||y.debug||v<"6.0.2"||w.systemType<0)){var e=new Image;w.appId=y.appId,w.initTime=b.initEndTime-b.initStartTime,w.preVerifyTime=b.preVerifyEndTime-b.preVerifyStartTime,A.getNetworkType({isInnerInvoke:!0,success:function(t){w.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+w.version+"&o="+w.isPreVerifyOk+"&s="+w.systemType+"&c="+w.clientVersion+"&a="+w.appId+"&n="+w.networkType+"&i="+w.initTime+"&p="+w.preVerifyTime+"&u="+w.url;e.src=n}})}}()})),x.complete=function(t){for(var n=0,i=e.length;nuni-image[data-v-626772f6]{width:%?60?%;height:%?60?%}.imgs-view[data-v-626772f6]{height:%?200?%;width:32%;-webkit-border-radius:0;border-radius:0;margin-right:%?12?%;margin-bottom:%?12?%;border:%?1?% solid #f1f1f1;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.imgs-view[data-v-626772f6]:last-child{margin-right:0}.imgs-view>uni-image[data-v-626772f6]{width:100%;height:100%;-webkit-border-radius:0;border-radius:0}.tip[data-v-626772f6]{font-size:%?24?%;color:#999;margin-top:%?12?%}.tip > uni-label[data-v-626772f6]{color:#009100}.del-btn[data-v-626772f6]{position:absolute;top:%?2?%;right:%?2?%;width:%?32?%;height:%?32?%;z-index:999}.del-btn>uni-image[data-v-626772f6]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}",""]),e.exports=t},"401d":function(e,t,n){"use strict";n.r(t);var i=n("a0780"),o=n("c0b5");for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("cffe");var a,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"ac55b180",null,!1,i["a"],a);t["default"]=s.exports},"539d":function(e,t,n){var i=n("17fe");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("70d97201",i,!0,{sourceMap:!1,shadowMode:!1})},"54f8":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");var i=n("dde1");function o(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(i["a"])(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r,a=!0,c=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return a=e.done,e},e:function(e){c=!0,r=e},f:function(){try{a||null==o["return"]||o["return"]()}finally{if(c)throw r}}}}},5757:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},"57d8":function(e,t,n){"use strict";n.r(t);var i=n("bed9"),o=n.n(i);for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},"58fb":function(e,t,n){"use strict";var i=n("1eeb"),o=n.n(i);o.a},6692:function(e,t,n){"use strict";n.r(t);var i=n("a6c2"),o=n.n(i);for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},7920:function(e,t,n){"use strict";var i=n("c782"),o=n.n(i);o.a},"8e39":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".uni-noticebar[data-v-0e86e7eb]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;\n-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:6px 12px;margin-bottom:10px}.uni-noticebar-close[data-v-0e86e7eb]{margin-right:5px}.uni-noticebar-icon[data-v-0e86e7eb]{margin-right:5px}.uni-noticebar__content-wrapper[data-v-0e86e7eb]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden}.uni-noticebar__content-wrapper--single[data-v-0e86e7eb]{\nline-height:18px\n}.uni-noticebar__content-wrapper--single[data-v-0e86e7eb],\n.uni-noticebar__content-wrapper--scrollable[data-v-0e86e7eb]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}\n.uni-noticebar__content-wrapper--scrollable[data-v-0e86e7eb]{position:relative;height:18px}\n.uni-noticebar__content--scrollable[data-v-0e86e7eb]{\n\n\n-webkit-box-flex:1;-webkit-flex:1;flex:1;display:block;overflow:hidden\n}.uni-noticebar__content--single[data-v-0e86e7eb]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:0;-webkit-flex:none;flex:none;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center\n}.uni-noticebar__content-text[data-v-0e86e7eb]{font-size:14px;line-height:18px;\nword-break:break-all\n}.uni-noticebar__content-text--single[data-v-0e86e7eb]{\n\n\ndisplay:block;width:100%;white-space:nowrap;\noverflow:hidden;text-overflow:ellipsis}.uni-noticebar__content-text--scrollable[data-v-0e86e7eb]{\n\n\nposition:absolute;display:block;height:18px;line-height:18px;white-space:nowrap;padding-left:100%;-webkit-animation:notice-data-v-0e86e7eb 10s 0s linear infinite both;animation:notice-data-v-0e86e7eb 10s 0s linear infinite both;-webkit-animation-play-state:paused;animation-play-state:paused\n}.uni-noticebar__more[data-v-0e86e7eb]{\ndisplay:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;\n-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-left:5px}.uni-noticebar__more-text[data-v-0e86e7eb]{font-size:14px}@-webkit-keyframes notice-data-v-0e86e7eb{100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes notice-data-v-0e86e7eb{100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}",""]),e.exports=t},"96cf":function(e,t){!function(t){"use strict";var n,i=Object.prototype,o=i.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag",l="object"===typeof e,u=t.regeneratorRuntime;if(u)l&&(e.exports=u);else{u=t.regeneratorRuntime=l?e.exports:{},u.wrap=y;var d="suspendedStart",f="suspendedYield",p="executing",m="completed",g={},h={};h[a]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(L([])));b&&b!==i&&o.call(b,a)&&(h=b);var w=S.prototype=k.prototype=Object.create(h);_.prototype=w.constructor=S,S.constructor=_,S[s]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},u.awrap=function(e){return{__await:e}},A(I.prototype),I.prototype[c]=function(){return this},u.AsyncIterator=I,u.async=function(e,t,n,i){var o=new I(y(e,t,n,i));return u.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},A(w),w[s]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=L,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,o){return c.type="throw",c.arg=e,t.next=i,o&&(t.method="next",t.arg=n),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],c=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:L(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),g}}}function y(e,t,n,i){var o=t&&t.prototype instanceof k?t:k,r=Object.create(o.prototype),a=new P(i||[]);return r._invoke=T(e,n,a),r}function x(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}function k(){}function _(){}function S(){}function A(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function I(e){function t(n,i,r,a){var c=x(e[n],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"===typeof l&&o.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,r,a)}),(function(e){t("throw",e,r,a)})):Promise.resolve(l).then((function(e){s.value=e,r(s)}),(function(e){return t("throw",e,r,a)}))}a(c.arg)}var n;function i(e,i){function o(){return new Promise((function(n,o){t(e,i,n,o)}))}return n=n?n.then(o,o):o()}this._invoke=i}function T(e,t,n){var i=d;return function(o,r){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw r;return O()}n.method=o,n.arg=r;while(1){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var s=x(e,t,n);if("normal"===s.type){if(i=n.done?m:f,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=m,n.method="throw",n.arg=s.arg)}}}function C(e,t){var i=e.iterator[t.method];if(i===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return g;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=x(i,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,g;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function M(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 P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function L(e){if(e){var t=e[a];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){while(++ie.length)&&(t=e.length);for(var n=0,i=new Array(t);n1024*e.imgSize*1024)return uni.showToast({title:"图片不能大于".concat(e.imgSize,"M"),icon:"none"}),{v:!1};var i=e.imgType.some((function(e){var n=t.type.split("/");if(n.length)return e===n[1]}));return i?void 0:(uni.showToast({title:"只允许上传".concat(e.imgType,"的类型"),icon:"none"}),{v:!1})};for(i.s();!(n=i.n()).done;){var c=o();if("object"===typeof c)return c.v}}catch(s){i.e(s)}finally{i.f()}}e.imgArray=[].concat((0,r.default)(e.imgArray),(0,r.default)(t.tempFilePaths))}}})},preview:function(e,t){uni.previewImage({urls:[e]})},delImg:function(e){var t=this;uni.showModal({title:"提示",content:"是否删除这张照片?",success:function(n){n.confirm?t.imgArray.splice(e,1):n.cancel}})},upload:function(e){var t=this;return(0,o.default)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t,!i.imgArray){n.next=3;break}return n.delegateYield(regeneratorRuntime.mark((function t(){var n,o,r,c,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=0,o=[],r=(0,a.default)(i.imgArray),t.prev=3,r.s();case 5:if((c=r.n()).done){t.next=11;break}return s=c.value,t.next=9,i.uploadImg(s,(function(t){200==t.code?(n++,200==t.data.code&&o.push(t.data.data)):o.push(t),o.length==i.imgArray.length&&e(i.result(o,n))}));case 9:t.next=5;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](3),r.e(t.t0);case 16:return t.prev=16,r.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[3,13,16,19]])}))(),"t0",3);case 3:case"end":return n.stop()}}),n)})))()},result:function(e,t){var n={urlArray:e,success:t};return n},uploadImg:function(e,t){uni.uploadFile({url:$config.SERVER_URL+"api/sys/user/modify/uploadPic",filePath:e,name:"file",success:function(e){if(e){var n=JSON.parse(e.data);t(n)}}})}}};t.default=c},c0b5:function(e,t,n){"use strict";n.r(t);var i=n("e40c"),o=n.n(i);for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},c782:function(e,t,n){var i=n("8e39");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("e86dba64",i,!0,{sourceMap:!1,shadowMode:!1})},c964:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));n("d3b7"),n("e6cf");function i(e,t,n,i,o,r,a){try{var c=e[r](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,s,"next",e)}function s(e){i(a,o,r,c,s,"throw",e)}c(void 0)}))}}},cffe:function(e,t,n){"use strict";var i=n("539d"),o=n.n(i);o.a},d0ff:function(e,t,n){"use strict";n.r(t);var i=n("b6802");function o(e){if(Array.isArray(e))return Object(i["a"])(e)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}var a=n("dde1");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e){return o(e)||r(e)||Object(a["a"])(e)||c()}n.d(t,"default",(function(){return s}))},dde1:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("a630"),n("fb6a"),n("d3b7"),n("25f0"),n("3ca3");var i=n("b6802");function o(e,t){if(e){if("string"===typeof e)return Object(i["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i["a"])(e,t):void 0}}},e40c:function(e,t,n){"use strict";(function(e){var i=n("ee27");n("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("1785")),r=i(n("f8a5")),a=n("0975"),c=null,s={components:{imgUpload:r.default,uniNoticeBar:o.default},data:function(){return{name:"",location:"位置获取中...",promotion_id:0,latitude:0,longitude:0,images:[],second:180}},onLoad:function(e){var t=this;t.promotion_id=e.promotion_id},methods:{getLocation:function(){var t=this;a.getLocation({type:"wgs84",success:function(n){e("log","微信定位成功"," at pages/app/promotionMaterial/upload.vue:103"),t.latitude=n.latitude,t.longitude=n.longitude,t.$api.post("wap/wechat/mapGeocoder",{location:n.latitude+","+n.longitude}).then((function(e){0==e.status&&(t.location=e.result.address)}))},fail:function(t){e("log",t," at pages/app/promotionMaterial/upload.vue:116")}})},setRemainTime:function(){var e=this;e.second>0?e.second=e.second-1:window.clearInterval(c)},refresh:function(){var e=this;e.name="",e.location="",e.latitude=0,e.longitude=0,e.images=[],e.second=180,e.$refs.imgUpload.imgArray=[],e.getLocation()},submit:function(){var e=this;if(e.second<=0)uni.showModal({content:"无法提交,表单已超时",confirmText:"确定",showCancel:!1});else if(""!=e.name)if(""!=e.location)if(0!=e.latitude&&0!=e.longitude)if(0!=e.promotion_id){var t=e.$refs.imgUpload.imgArray.map((function(e,t){return{name:"images["+t+"]",uri:e}}));uni.showLoading({mask:!0,title:"数据处理中..."}),uni.uploadFile({url:e.$api.baseURL+"/promotion/material/store",files:t,formData:{name:e.name,location:e.location,lat:e.latitude,lng:e.longitude,promotion_id:e.promotion_id},header:{"x-auth-token":uni.getStorageSync("token")},success:function(t){uni.hideLoading();var n=JSON.parse(t.data);n.status?uni.redirectTo({url:"/pages/app/promotionMaterial/index?promotion_id="+e.promotion_id}):uni.showModal({content:n.data,confirmText:"确定",showCancel:!1})}})}else uni.showModal({content:"促销编号不能为空",confirmText:"确定",showCancel:!1});else uni.showModal({content:"经纬度不能为空",confirmText:"确定",showCancel:!1});else uni.showModal({content:"位置信息不能为空",confirmText:"确定",showCancel:!1});else uni.showModal({content:"门店信息不能为空",confirmText:"确定",showCancel:!1})}},mounted:function(){var t=this;c=window.setInterval(t.setRemainTime,1e3),t.$api.post("wap/wechat/jsConfig",{url:window.location.href}).then((function(n){a.config(n),a.ready((function(){t.getLocation()})),a.error((function(t){e("log",t.errMsg," at pages/app/promotionMaterial/upload.vue:241")}))})).catch((function(t){e("log",t," at pages/app/promotionMaterial/upload.vue:245")}))}};t.default=s}).call(this,n("0de9")["log"])},e76c:function(e,t,n){"use strict";var i={uniIcons:n("8ad6").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("v-uni-view",{staticClass:"uni-noticebar",style:{backgroundColor:e.backgroundColor},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClick.apply(void 0,arguments)}}},[!0===e.showClose||"true"===e.showClose?n("uni-icons",{staticClass:"uni-noticebar-close",attrs:{type:"closeempty",color:e.color,size:"12"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}}):e._e(),!0===e.showIcon||"true"===e.showIcon?n("uni-icons",{staticClass:"uni-noticebar-icon",attrs:{type:"sound",color:e.color,size:"14"}}):e._e(),n("v-uni-view",{ref:"textBox",staticClass:"uni-noticebar__content-wrapper",class:{"uni-noticebar__content-wrapper--scrollable":e.scrollable,"uni-noticebar__content-wrapper--single":!e.scrollable&&(e.single||e.moreText)}},[n("v-uni-view",{staticClass:"uni-noticebar__content",class:{"uni-noticebar__content--scrollable":e.scrollable,"uni-noticebar__content--single":!e.scrollable&&(e.single||e.moreText)},attrs:{id:e.elIdBox}},[n("v-uni-text",{ref:"animationEle",staticClass:"uni-noticebar__content-text",class:{"uni-noticebar__content-text--scrollable":e.scrollable,"uni-noticebar__content-text--single":!e.scrollable&&(e.single||e.moreText)},style:{color:e.color,width:e.wrapWidth+"px",animationDuration:e.animationDuration,"-webkit-animationDuration":e.animationDuration,animationPlayState:e.webviewHide?"paused":e.animationPlayState,"-webkit-animationPlayState":e.webviewHide?"paused":e.animationPlayState,animationDelay:e.animationDelay,"-webkit-animationDelay":e.animationDelay},attrs:{id:e.elId}},[e._v(e._s(e.text))])],1)],1),!0===e.showGetMore||"true"===e.showGetMore?n("v-uni-view",{staticClass:"uni-noticebar__more",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickMore.apply(void 0,arguments)}}},[e.moreText?n("v-uni-text",{staticClass:"uni-noticebar__more-text",style:{color:e.moreColor}},[e._v(e._s(e.moreText))]):e._e(),n("uni-icons",{attrs:{type:"arrowright",color:e.moreColor,size:"14"}})],1):e._e()],1):e._e()},r=[];n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}))},f8a5:function(e,t,n){"use strict";n.r(t);var i=n("971e"),o=n("57d8");for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("58fb");var a,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"626772f6",null,!1,i["a"],a);t["default"]=s.exports}}]);