From 65524423e83ef3b08c9c6b42c6071be677486e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 26 Jan 2018 21:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=97=A5=E6=9C=9F=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=BB=84=E4=BB=B6=E7=9A=84=E8=BF=81=E7=A7=BB;?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=A7=E9=87=8F=E5=AD=97=E4=BD=93=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/font/ui-font.eot | Bin 27972 -> 27908 bytes src/font/ui-font.js | 2 +- src/font/ui-font.ttf | Bin 27804 -> 27740 bytes src/js/anot.shim.js | 3 +++ src/js/datepicker/index.js | 8 ++++---- src/js/datepicker/main.htm | 19 ++++++++++++------- src/js/datepicker/style.scss | 11 +++++++++-- src/js/tree/index.js | 4 ++-- 8 files changed, 31 insertions(+), 16 deletions(-) diff --git a/src/font/ui-font.eot b/src/font/ui-font.eot index 02b3321ca2c4cd2a67409cd8a7662d063b1cffa2..b4d376391b09790a0eddbe8a0e8ea54b514cf8e0 100644 GIT binary patch delta 6240 zcmb7IdvILUdH=q1ckkW3ci)e@l2*IY?$z$^VnQfWo3vg>|l zuWSr~gi8B6_uO;OIrn>i-#r&D;jv3-wd?`ddeU09bieV|)XAl%+os=m`6mFvBLFse z*VN&iABBhi0>Ci?uw`aqd}PdX@wE?6{w5N7@yZ7P_^*U#rlxm{h<_G+8bCQ!$zW6+ ze-nW1nVH@{_rHCAawovV1^|mv8N+n*)LUAmTcvHtE&U)g$1|~w$lGL`ri(t3;(acYuElS!KKP4mV~|pk|07D+|UdW zNI(X%&_nBoAO&f#gA-c71%nU*2FsxxV$caWSPD153RnqE&`pf30uOZ28#`ba1|Scs zVI!=8n_(RZLW3aK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A0_&u7AVu zD&6Y7l>?@J`k%tui7Pj(5|eEnVS}4=BSY&3q>V!>M@Bad7|S.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window) \ No newline at end of file +(function(window){var svgSprite='';var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;try{document.write("")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window) \ No newline at end of file diff --git a/src/font/ui-font.ttf b/src/font/ui-font.ttf index b0dcb34b62e0f77053343c49472c8d99adbd61bb..8568230f3a7b4a06e435f2461b13ce7d96f367d7 100644 GIT binary patch delta 6203 zcmb7Id2k!odH=q*z%HU&qCzu~W2b2)w{=`iXKLB0<8kX_l*aCKO#jikmXaB#oy=OXJ8pfnO)~}5 z?_nvKw)=-Y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Ib725<3;5~#`^(yJRzK3eVtByNKQhw4a?m(3 zxOwB~n!yqMU85UE26V$i8`epiHVR- z*ks%?IJ#}9e?yaQaA0_oZpFsoRl3#vD+f#~=>GuL)vesPN-VZzgbi-ijSQ_HkTwmi o92wm_P*lEg^QwW(V#qKw(my=3(mb?*b{$Z^lC!PLQBDEyzZsor$^ZZW diff --git a/src/js/anot.shim.js b/src/js/anot.shim.js index 9909885..d4baa6e 100644 --- a/src/js/anot.shim.js +++ b/src/js/anot.shim.js @@ -182,6 +182,9 @@ }, check: function(val) { return Anot.type(val) === this.checkType + }, + call: function() { + return this.toString() } } diff --git a/src/js/datepicker/index.js b/src/js/datepicker/index.js index eff355b..01ee533 100644 --- a/src/js/datepicker/index.js +++ b/src/js/datepicker/index.js @@ -237,10 +237,10 @@ export default Anot.component('datepicker', { }, props: { showTime: false, //对话框上显示时间 - color: 'grey', + radius: 3, format: '', // 日期显示格式 onCreated: Anot.PropsTypes.isFunction(), - onDateChange: Anot.PropsTypes.isFunction() + onDatePicked: Anot.PropsTypes.isFunction() }, skip: ['max', 'min', 'last', 'timer'], watch: { @@ -358,8 +358,8 @@ export default Anot.component('datepicker', { onConfirm: function() { this.updateTime() this.close() - if (typeof this.props.onDateChange === 'function') { - this.props.onDateChange(this.value, this.last.pick) + if (typeof this.props.onDatePicked === 'function') { + this.props.onDatePicked(this.value, this.last.pick) } } } diff --git a/src/js/datepicker/main.htm b/src/js/datepicker/main.htm index 9c27451..5f9a2bf 100644 --- a/src/js/datepicker/main.htm +++ b/src/js/datepicker/main.htm @@ -1,11 +1,16 @@
- + +