12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{"1a47":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},a=[]},"508b":function(t,e,n){"use strict";var u=n("fc7d"),a=n.n(u);a.a},5802:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{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},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,u=0,a=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,u=Math.floor(e/3600)-24*n,a=Math.floor(e/60)-24*n*60-60*u,o=Math.floor(e)-24*n*60*60-60*u*60-60*a,u<=9&&(u="0"+u),a<=9&&(a="0"+a),o<=9&&(o="0"+o),t.day=n,t.hour=u,t.minute=a,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=u},"80f6":function(t,e,n){"use strict";n.r(e);var u=n("1a47"),a=n("e044");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("508b");var r=n("f0c5"),i=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=i.exports},e044:function(t,e,n){"use strict";n.r(e);var u=n("5802"),a=n.n(u);for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=a.a},fc7d:function(t,e,n){}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'components/countDown/index-create-component',
- {
- 'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("80f6"))
- })
- },
- [['components/countDown/index-create-component']]
- ]);
|