12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/pt/components/app-order-time"],{2691:function(e,t,n){"use strict";n.r(t);var r=n("f2c2"),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=a.a},"886d":function(e,t,n){"use strict";var r,a=function(){var e=this,t=e.$createElement;e._self._c},i=[];n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}))},a3d3:function(e,t,n){"use strict";n.r(t);var r=n("886d"),a=n("2691");for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);var u,c=n("f0c5"),l=Object(c["a"])(a["default"],r["b"],r["c"],!1,null,"e402bb58",null,!1,r["a"],u);t["default"]=l.exports},f2c2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"app-order-time",props:{time:String},data:function(){return{html:"",t:null}},watch:{time:{handler:function(e){var t=this;clearInterval(this.t);var n=new Date(e.replace(/-/g,"/")),r=n.getTime()-(new Date).getTime(),a=parseInt(r/1e3/60/60/24%30),i=parseInt(r/1e3/60/60%24),u=parseInt(r/1e3/60%60),c=parseInt(r/1e3%60);this.html=a>0?a+"天"+i+"小时"+(u<10?"0"+u:u)+"分"+(c<10?"0"+c:c)+"秒":i+"小时"+(u<10?"0"+u:u)+"分"+(c<10?"0"+c:c)+"秒",this.t=setInterval((function(){var e=n.getTime()-(new Date).getTime();e<0&&clearInterval(t.t);var r=parseInt(e/1e3/60/60/24%30),a=parseInt(e/1e3/60/60%24),i=parseInt(e/1e3/60%60),u=parseInt(e/1e3%60);t.html=r>0?r+"天"+a+"小时"+(i<10?"0"+i:i)+"分"+(u<10?"0"+u:u)+"秒":a+"小时"+(i<10?"0"+i:i)+"分"+(u<10?"0"+u:u)+"秒"}),1e3)},immediate:!0}}};t.default=r}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'plugins/pt/components/app-order-time-create-component',
- {
- 'plugins/pt/components/app-order-time-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("a3d3"))
- })
- },
- [['plugins/pt/components/app-order-time-create-component']]
- ]);
|