You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
11 KiB
1 line
11 KiB
2 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-exercises-cuowuti-cuowuti~pages-exercises-index~pages-study-free"],{"06fa":function(t,e,i){"use strict";i.r(e);var n=i("d1c6"),r=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"11d9":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c9b5"),i("bf0f"),i("ab80");var r=n(i("24dd")),a=i("dfb2"),o={name:"u-count-down",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{timer:null,timeData:(0,a.parseTimeData)(0),formattedTime:"0",runing:!1,endTime:0,remainTime:0}},watch:{time:function(t){this.reset()}},mounted:function(){this.init()},methods:{init:function(){this.reset()},start:function(){this.runing||(this.runing=!0,this.endTime=Date.now()+this.remainTime,this.toTick())},toTick:function(){this.millisecond?this.microTick():this.macroTick()},macroTick:function(){var t=this;this.clearTimeout(),this.timer=setTimeout((function(){var e=t.getRemainTime();(0,a.isSameSecond)(e,t.remainTime)&&0!==e||t.setRemainTime(e),0!==t.remainTime&&t.macroTick()}),30)},microTick:function(){var t=this;this.clearTimeout(),this.timer=setTimeout((function(){t.setRemainTime(t.getRemainTime()),0!==t.remainTime&&t.microTick()}),50)},getRemainTime:function(){return Math.max(this.endTime-Date.now(),0)},setRemainTime:function(t){this.remainTime=t;var e=(0,a.parseTimeData)(t);this.$emit("change",e),this.formattedTime=(0,a.parseFormat)(this.format,e),t<=0&&(this.pause(),this.$emit("finish"))},reset:function(){this.pause(),this.remainTime=this.time,this.setRemainTime(this.remainTime),this.autoStart&&this.start()},pause:function(){this.runing=!1,this.clearTimeout()},clearTimeout:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearTimeout(this.timer),this.timer=null}))},beforeDestroy:function(){this.clearTimeout()}};e.default=o},"173e":function(t,e,i){var n=i("bddc");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("967d").default;r("072bfd17",n,!0,{sourceMap:!1,shadowMode:!1})},"1df2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAyCAYAAACXpx/YAAAAAXNSR0IArs4c6QAAAtNJREFUeF7tnL1uE0EUhe91Yq+tlLwABZEQfR4BRAfUpEPQELpIFCiwwcALUFAkBYUB0aG8AIEuUkLJn4BkTEFBQJYdkGLFe5CJEgWLkN31ZX2L49YzZ47Op1nt/OzV4/E2hL+RJABIT0V+QuWrAk1o6bWqrPZKycvPc9WPFqaUgC1i/C8ab6HSKHWTxvrdWsg7AgHnTa6gfhBJVLAEKdVDXHmVdVgCzprYiNpDBCryBN2d2XBv4ktaGwScNik/7VpIZCbcjh6lsUTAaVJy2AaiC0HKMxJr91/2CNghvPSW9HkbnfPf54+1D+tDwOnT9NpyZatWOb15XTt/M0jAXrFl8qXL49/C2Q/3J7cHuxFwpiD9NoZgIcTVKwTsl9HQzpDI9ODbNWfw0LG6EmihXDkVbuj+OpmAXfEZ3gxEHoc4urinRMDDZ+pKob/jhd7OVLM+sdY3RsCu8JiZebYRRxcI2CxPX0L9Y0gZr0yGOV3nDPbFxswNROohjm4SsFmk7oTebcTRSQJ2x8XOUG8MJwjYLk93ShC9RMDusFgawgMCtszTmxawTMDeoBj6gQiXSYZ5upOCyBZnsDssdoZ+37vmvWi7QL0pEbA3IsZ++Ig2DtSbHF+yvBEx98NlknmkvgS50eGLh7EbblUaB+pNjocN3ojY+uFxoW2evtR44O+Lh6kbXtkxjdOlGC/ducRiYGr32qxONesVXps1yNOdBC++u0NiaoifrpjG6UwMKtPh1p+lHXhc6AxSXjsQLIa4enmwPwHnTdRVP34A7gqHrRldaaNz5rA6HZzBtmkXrIblNn6cYxGWgmMvYjgAi0GjqyyjVETaxY7RSpBca87XGmmG5SM6TUoO2uyXMixXZg+WaDjKGgEfldCI/98tRipLSU/v7G0/ZrFEwFnSKrbte4g8heBhM65+yjs0AedNzqDfgYLgmyoaRJI3kNJqMpa8sCoI/gub+W3fb2XtLQAAAABJRU5ErkJggg=="},"24dd":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n={props:{time:{type:[String,Number],default:uni.$u.props.countDown.time},format:{type:String,default:uni.$u.props.countDown.format},autoStart:{type:Boolean,default:uni.$u.props.countDown.autoStart},millisecond:{type:Boolean,default:uni.$u.props.countDown.millisecond}}};e.default=n},"296d":function(t,e,i){"use strict";i.r(e);var n=i("11d9"),r=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"2ec5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t
|