12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/pt/components/app-surplus_time"],{5794:function(t,e,n){"use strict";var r,u=function(){var t=this,e=t.$createElement;t._self._c},a=[];n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r}))},"619c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"app-surplus_time",data:function(){return{html:"",time:null,countDown:this.surplus_time}},destroyed:function(){clearInterval(this.time)},props:{surplus_time:{type:Number,default:function(){return 0}},surplus_date_time:String},methods:{setTime:function(t){var e=this,n=new Date(t.replace(/-/g,"/"));clearInterval(this.time),this.time=setInterval((function(){var t=n.getTime()-(new Date).getTime();t<0&&clearInterval(e.time);var r=parseInt(t/1e3/60/60/24%30),u=parseInt(t/1e3/60/60%24),a=parseInt(t/1e3/60%60),i=parseInt(t/1e3%60);e.html=r>0?r+"天"+u+":"+(a<10?"0"+a:a)+":"+(i<10?"0"+i:i):u+":"+(a<10?"0"+a:a)+":"+(i<10?"0"+i:i)}),1e3)}},watch:{surplus_date_time:{handler:function(t){this.setTime(t)},immediate:!0}}};e.default=r},a14f9:function(t,e,n){"use strict";n.r(e);var r=n("619c"),u=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=u.a},f393:function(t,e,n){"use strict";n.r(e);var r=n("5794"),u=n("a14f9");for(var a in u)"default"!==a&&function(t){n.d(e,t,(function(){return u[t]}))}(a);var i,s=n("f0c5"),c=Object(s["a"])(u["default"],r["b"],r["c"],!1,null,"354d2303",null,!1,r["a"],i);e["default"]=c.exports}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'plugins/pt/components/app-surplus_time-create-component',
- {
- 'plugins/pt/components/app-surplus_time-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("f393"))
- })
- },
- [['plugins/pt/components/app-surplus_time-create-component']]
- ]);
|