(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f6445b02"],{4598:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var i=n("a142"),a=Date.now();function o(t){var e=Date.now(),n=Math.max(0,16-(e-a)),i=setTimeout(t,n);return a=e+n,i}var r=i["g"]?t:window,c=r.requestAnimationFrame||o,s=r.cancelAnimationFrame||r.clearTimeout;function u(t){return c.call(r,t)}function l(t){u((function(){u(t)}))}function f(t){s.call(r,t)}}).call(this,n("c8ba"))},"480b":function(t,e,n){"use strict";n("68ef"),n("9d70"),n("3743"),n("9ee3")},"83b4":function(t,e,n){},"9d65":function(t,e,n){"use strict";n("83b4")},"9ee3":function(t,e,n){},a37c:function(t,e,n){"use strict";var i=n("d282"),a=n("a142"),o=n("4598"),r=n("5fbe"),c=n("ad06"),s=Object(i["a"])("notice-bar"),u=s[0],l=s[1];e["a"]=u({mixins:[Object(r["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,r=i.getBoundingClientRect().width;(t.scrollable||r>a)&&Object(o["b"])((function(){t.offset=-r,t.duration=r/t.speed,t.wrapWidth=a,t.contentWidth=r}))}}),e)}},render:function(){var t=this,e=arguments[0],n=this.slots,i=this.mode,a=this.leftIcon,o=this.onClickIcon,r={color:this.color,background:this.background},s={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function u(){var t=n("left-icon");return t||(a?e(c["a"],{class:l("left-icon"),attrs:{name:a}}):void 0)}function f(){var t,a=n("right-icon");return a||("closeable"===i?t="cross":"link"===i&&(t="arrow"),t?e(c["a"],{class:l("right-icon"),attrs:{name:t},on:{click:o}}):void 0)}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:l({wrapable:this.wrapable}),style:r,on:{click:function(e){t.$emit("click",e)}}},[u(),e("div",{ref:"wrap",class:l("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[l("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:s,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),f()])}})},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:"blue-words"},[t._v("\n    请在"+t._s(t.timeRemainFormat)+"内完成支付，超时将自动\n    "),n("span",{staticClass:"orange-words",on:{click:function(e){return t.$emit("cancelOrder")}}},[t._v(" 取消订单 ")])]):n("span",[t._v("该笔订单已取消，请重新下单")])])},a=[],o=(n("2397"),n("ade3")),r=(n("7f7f"),n("480b"),n("a37c")),c=n("bee2"),s=n("d4ec"),u=n("99de"),l=n("7e84"),f=n("262e"),d=n("9ab4"),h=n("60a3");function b(t,e,n){return e=Object(l["a"])(e),Object(u["a"])(t,p()?Reflect.construct(e,n||[],Object(l["a"])(t).constructor):e.apply(t,n))}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}var m=function(t){function e(){return Object(s["a"])(this,e),b(this,e,arguments)}return Object(f["a"])(e,t),Object(c["a"])(e)}(h["f"]);d["a"]([Object(h["d"])()],m.prototype,"timeRemain",void 0),d["a"]([Object(h["d"])()],m.prototype,"timeRemainFormat",void 0),m=d["a"]([Object(h["a"])({components:Object(o["a"])({},r["a"].name,r["a"])})],m);var v=m,w=v,g=(n("9d65"),n("2877")),O=Object(g["a"])(w,i,a,!1,null,"4e1a4e7c",null);e["default"]=O.exports}}]);