(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{1706:function(t,e,n){"use strict";n.r(e);var a=n("b93c"),i=n("e068");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("af64");var u=n("828b"),r=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=r.exports},"384f":function(t,e,n){},af64:function(t,e,n){"use strict";var a=n("384f"),i=n.n(a);i.a},b93c:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=(this._self._c,this.tipText.trim());this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},e068:function(t,e,n){"use strict";n.r(e);var a=n("fc70"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},fc70:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},inDayText:{type:String,default:"天"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},isSecond:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:"#e93323"},dotColor:{type:String,default:"#ffffff"}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00",times:null}},watch:{datatime:{handler:function(t){this.show_time()},immediate:!0}},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,a=0,i=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,a=Math.floor(e/3600)-24*n,i=Math.floor(e/60)-24*n*60-60*a,o=Math.floor(e)-24*n*60*60-60*a*60-60*i,a<=9&&(a="0"+a),i<=9&&(i="0"+i),o<=9&&(o="0"+o),t.day=n,t.hour=a,t.minute=i,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00",clearInterval(t.times),t.times=null,t.$emit("endTime",1))}e(),this.times=setInterval(e,1e3)}}};e.default=a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/countDown/index-create-component',
    {
        'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("1706"))
        })
    },
    [['components/countDown/index-create-component']]
]);
