(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-724de6c4"],{"3a2e":function(t,e,n){},"480b":function(t,e,n){"use strict";n("68ef"),n("9d70"),n("3743"),n("9ee3")},"587b":function(t,e,n){"use strict";n("3a2e")},"9ee3":function(t,e,n){},a37c:function(t,e,n){"use strict";var i=n("d282"),a=n("a142"),o=n("4598"),s=n("5fbe"),r=n("ad06"),c=Object(i["a"])("notice-bar"),l=c[0],u=c[1];e["a"]=l({mixins:[Object(s["a"])((function(t){t(window,"pageshow",this.reset)}))],inject:{vanPopup:{default:null}},props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:60}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"reset",text:{handler:"reset",immediate:!0}},created:function(){this.vanPopup&&this.vanPopup.onReopen(this.reset)},activated:function(){this.reset()},methods:{onClickIcon:function(t){"closeable"===this.mode&&(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,this.duration=0,Object(o["c"])((function(){Object(o["b"])((function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")}))}))},start:function(){this.reset()},reset:function(){var t=this,e=Object(a["c"])(this.delay)?1e3*this.delay:0;this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0,clearTimeout(this.startTimer),this.startTimer=setTimeout((function(){var e=t.$refs,n=e.wrap,i=e.content;if(n&&i&&!1!==t.scrollable){var a=n.getBoundingClientRect().width,s=i.getBoundingClientRect().width;(t.scrollable||s>a)&&Object(o["b"])((function(){t.offset=-s,t.duration=s/t.speed,t.wrapWidth=a,t.contentWidth=s}))}}),e)}},render:function(){var t=this,e=arguments[0],n=this.slots,i=this.mode,a=this.leftIcon,o=this.onClickIcon,s={color:this.color,background:this.background},c={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function l(){var t=n("left-icon");return t||(a?e(r["a"],{class:u("left-icon"),attrs:{name:a}}):void 0)}function d(){var t,a=n("right-icon");return a||("closeable"===i?t="cross":"link"===i&&(t="arrow"),t?e(r["a"],{class:u("right-icon"),attrs:{name:t},on:{click:o}}):void 0)}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:u({wrapable:this.wrapable}),style:s,on:{click:function(e){t.$emit("click",e)}}},[l(),e("div",{ref:"wrap",class:u("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[u("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:c,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),d()])}})},fc90:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-notice-bar",{staticClass:"message-bg"},[t.timeRemain>0?n("span",{staticClass:"orange-words"},[t._v("\n    请在"+t._s(t.timeRemainFormat)+"内完成支付，超时将自动\n    "),n("span",{staticClass:"blue-words",on:{click:function(e){return t.$emit("cancelOrder")}}},[t._v(" 取消订单 ")])]):n("span",[t._v("该笔订单已取消，请重新下单")])])},a=[],o=(n("2397"),n("ade3")),s=(n("7f7f"),n("480b"),n("a37c")),r=n("bee2"),c=n("d4ec"),l=n("99de"),u=n("7e84"),d=n("262e"),f=n("9ab4"),h=n("60a3");function p(t,e,n){return e=Object(u["a"])(e),Object(l["a"])(t,b()?Reflect.construct(e,n||[],Object(u["a"])(t).constructor):e.apply(t,n))}function b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(b=function(){return!!t})()}var m=function(t){function e(){return Object(c["a"])(this,e),p(this,e,arguments)}return Object(d["a"])(e,t),Object(r["a"])(e)}(h["g"]);f["a"]([Object(h["d"])()],m.prototype,"timeRemain",void 0),f["a"]([Object(h["d"])()],m.prototype,"timeRemainFormat",void 0),m=f["a"]([Object(h["a"])({components:Object(o["a"])({},s["a"].name,s["a"])})],m);var v=m,w=v,g=(n("587b"),n("2877")),O=Object(g["a"])(w,i,a,!1,null,"6eedccad",null);e["default"]=O.exports}}]);
//# sourceMappingURL=chunk-724de6c4.cc97e792.js.map