diff --git a/udf-ui/resources/plugins/weiui/example/example.css b/udf-ui/resources/plugins/weiui/example/example.css deleted file mode 100644 index 8c52730..0000000 --- a/udf-ui/resources/plugins/weiui/example/example.css +++ /dev/null @@ -1 +0,0 @@ -body,html{height:100%;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system-font,Helvetica Neue,Helvetica,sans-serif}ul{list-style:none}.page,body{background-color:#f8f8f8}.link{color:#1aad19}.container{overflow:hidden}.container,.page{position:absolute;top:0;right:0;bottom:0;left:0}.page{overflow-y:auto;-webkit-overflow-scrolling:touch;opacity:0;z-index:1}.page.js_show{opacity:1}.page__hd{padding:40px}.page__bd_spacing{padding:0 15px}.page__ft{padding-top:40px;padding-bottom:10px;text-align:center}.page__ft img{height:19px}.page__ft.j_bottom{position:absolute;bottom:0;left:0;right:0}.page__title{text-align:left;font-size:20px;font-weight:400}.page__desc{margin-top:5px;color:#888;text-align:left;font-size:14px}.page.home .page__intro-icon{margin-top:-.2em;margin-left:5px;width:16px;height:16px;vertical-align:middle}.page.home .page__title{font-size:0;margin-bottom:15px}.page.home .page__bd img{width:30px;height:30px}.page.home .page__bd li{margin:10px 0;background-color:#fff;overflow:hidden;border-radius:2px;cursor:pointer}.page.home .page__bd li.js_show .weui-flex{opacity:.4}.page.home .page__bd li.js_show .page__category{height:auto}.page.home .page__bd li.js_show .page__category-content{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.page.home .page__bd li:first-child{margin-top:0}.page.home .page__category{height:0;overflow:hidden}.page.home .page__category-content{opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:.3s;transition:.3s}.page.home .weui-flex{padding:20px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:.3s;transition:.3s}.page.home .weui-cells{margin-top:0}.page.home .weui-cells:after,.page.home .weui-cells:before{display:none}.page.home .weui-cell{padding-left:20px;padding-right:20px}.page.home .weui-cell:before{left:20px;right:20px}.page.button .page__bd{padding:0 15px}.page.button .button-sp-area{margin:0 auto;padding:15px 0;width:60%}.page.cell .page__bd,.page.form .page__bd{padding-bottom:30px}.page.actionsheet,.page.dialog{background-color:#fff}.page.dialog .page__bd{padding:0 15px}.page.msg,.page.msg_success,.page.msg_warn,.page.toast{background-color:#fff}.page.panel .page__bd{padding-bottom:20px}.page.article{background-color:#fff}.page.icons{text-align:center}.page.icons .page__bd{padding:0 40px;text-align:left}.page.icons .icon-box{margin-bottom:25px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.page.icons .icon-box i{margin-right:18px}.page.icons .icon-box__ctn{-webkit-flex-shrink:100;flex-shrink:100}.page.icons .icon-box__title{font-weight:400}.page.icons .icon-box__desc{margin-top:6px;font-size:12px;color:#888}.page.icons .icon_sp_area{margin-top:10px;text-align:left}.page.icons .icon_sp_area i:before{margin-bottom:5px}.page.flex .placeholder{margin:5px;padding:0 10px;background-color:#ebebeb;height:2.3em;line-height:2.3em;text-align:center;color:#cfcfcf}.page.loadmore{background-color:#fff}.page.layers{overflow-x:hidden;-webkit-perspective:1000px;perspective:1000px}@media only screen and (max-width:320px){.page.layers .page__hd{padding-left:20px;padding-right:20px}}.page.layers .page__bd{position:relative}.page.layers .page__desc{min-height:4.8em}.page.layers .layers__layer{position:absolute;left:50%;width:150px;height:266px;margin-left:-75px;box-sizing:border-box;-webkit-transition:.5s;transition:.5s;background:url(images/layers/transparent.gif) no-repeat 50%;background-size:contain;font-size:14px;color:#fff}.page.layers .layers__layer span{position:absolute;bottom:5px;left:0;right:0;text-align:center;-webkit-transition:.5s;transition:.5s}.page.layers .layers__layer:last-child span{color:#aaa}.page.layers .layers__layer.j_hide{opacity:0}.page.layers .layers__layer.j_pic span{color:transparent}@media only screen and (min-width:375px) and (min-height:603px){.page.layers .layers__layer{width:180px;height:320px;margin-left:-90px}}@media only screen and (min-width:414px) and (min-height:640px){.page.layers .layers__layer{width:200px;height:355px;margin-left:-100px}}.page.layers .layers__layer_popout{border:1px solid hsla(0,0%,80%,.5);z-index:4}.page.layers .layers__layer_popout.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(120px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(120px)}@media only screen and (max-width:320px){.page.layers .layers__layer_popout.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(140px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(140px)}}.page.layers .layers__layer_popout.j_pic{border-color:transparent;background-image:url(images/layers/popout.png)}.page.layers .layers__layer_mask{background-color:rgba(0,0,0,.5);z-index:3}.page.layers .layers__layer_mask.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(40px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(40px)}@media only screen and (max-width:320px){.page.layers .layers__layer_mask.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(80px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(80px)}}.page.layers .layers__layer_navigation{background-color:rgba(40,187,102,.5);z-index:2}.page.layers .layers__layer_navigation.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-40px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-40px)}@media only screen and (max-width:320px){.page.layers .layers__layer_navigation.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(20px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(20px)}}.page.layers .layers__layer_navigation.j_pic{background-color:transparent;background-image:url(images/layers/navigation.png)}.page.layers .layers__layer_content{background-color:#fff;z-index:1}.page.layers .layers__layer_content.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-120px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-120px)}@media only screen and (max-width:320px){.page.layers .layers__layer_content.j_transform{-webkit-transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-40px);transform:translateX(15px) rotateX(45deg) rotate(10deg) skew(-15deg) translateZ(-40px)}}.page.layers .layers__layer_content.j_pic{background-image:url(images/layers/content.png)}.page.searchbar .searchbar-result{display:none;margin-top:0;font-size:14px}.page.searchbar .searchbar-result .weui-cell__bd{padding:2px 0 2px 20px;color:#666}.page.actionsheet,.page.picker{overflow:hidden}.page.picker{background-color:#fff}.page.gallery{overflow:hidden}@-webkit-keyframes a{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes a{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}@keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}.page.slideIn{-webkit-animation:a .2s forwards;animation:a .2s forwards}.page.slideOut{-webkit-animation:b .2s forwards;animation:b .2s forwards}@supports (constant(safe-area-inset-top)){.page{padding:constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left)}.page.navbar,.page.tabbar{padding-left:0;padding-right:0}.weui-tab__panel{padding-left:constant(safe-area-inset-left);padding-right:constant(safe-area-inset-right)}} \ No newline at end of file diff --git a/udf-ui/resources/plugins/weiui/example/example.js b/udf-ui/resources/plugins/weiui/example/example.js deleted file mode 100644 index 5a4fce8..0000000 --- a/udf-ui/resources/plugins/weiui/example/example.js +++ /dev/null @@ -1,297 +0,0 @@ -/** - * Created by jf on 2015/9/11. - * Modified by bear on 2016/9/7. - */ -$(function () { - var pageManager = { - $container: $('#container'), - _pageStack: [], - _configs: [], - _pageAppend: function(){}, - _defaultPage: null, - _pageIndex: 1, - setDefault: function (defaultPage) { - this._defaultPage = this._find('name', defaultPage); - return this; - }, - setPageAppend: function (pageAppend) { - this._pageAppend = pageAppend; - return this; - }, - init: function () { - var self = this; - - $(window).on('hashchange', function () { - var state = history.state || {}; - var url = location.hash.indexOf('#') === 0 ? location.hash : '#'; - var page = self._find('url', url) || self._defaultPage; - if (state._pageIndex <= self._pageIndex || self._findInStack(url)) { - self._back(page); - } else { - self._go(page); - } - }); - - if (history.state && history.state._pageIndex) { - this._pageIndex = history.state._pageIndex; - } - - this._pageIndex--; - - var url = location.hash.indexOf('#') === 0 ? location.hash : '#'; - var page = self._find('url', url) || self._defaultPage; - this._go(page); - return this; - }, - push: function (config) { - this._configs.push(config); - return this; - }, - go: function (to) { - var config = this._find('name', to); - if (!config) { - return; - } - location.hash = config.url; - }, - _go: function (config) { - this._pageIndex ++; - - history.replaceState && history.replaceState({_pageIndex: this._pageIndex}, '', location.href); - - var html = $(config.template).html(); - var $html = $(html).addClass('slideIn').addClass(config.name); - $html.on('animationend webkitAnimationEnd', function(){ - $html.removeClass('slideIn').addClass('js_show'); - }); - this.$container.append($html); - this._pageAppend.call(this, $html); - this._pageStack.push({ - config: config, - dom: $html - }); - - if (!config.isBind) { - this._bind(config); - } - - return this; - }, - back: function () { - history.back(); - }, - _back: function (config) { - this._pageIndex --; - - var stack = this._pageStack.pop(); - if (!stack) { - return; - } - - var url = location.hash.indexOf('#') === 0 ? location.hash : '#'; - var found = this._findInStack(url); - if (!found) { - var html = $(config.template).html(); - var $html = $(html).addClass('js_show').addClass(config.name); - $html.insertBefore(stack.dom); - - if (!config.isBind) { - this._bind(config); - } - - this._pageStack.push({ - config: config, - dom: $html - }); - } - - stack.dom.addClass('slideOut').on('animationend webkitAnimationEnd', function () { - stack.dom.remove(); - }); - - return this; - }, - _findInStack: function (url) { - var found = null; - for(var i = 0, len = this._pageStack.length; i < len; i++){ - var stack = this._pageStack[i]; - if (stack.config.url === url) { - found = stack; - break; - } - } - return found; - }, - _find: function (key, value) { - var page = null; - for (var i = 0, len = this._configs.length; i < len; i++) { - if (this._configs[i][key] === value) { - page = this._configs[i]; - break; - } - } - return page; - }, - _bind: function (page) { - var events = page.events || {}; - for (var t in events) { - for (var type in events[t]) { - this.$container.on(type, t, events[t][type]); - } - } - page.isBind = true; - } - }; - - function fastClick(){ - var supportTouch = function(){ - try { - document.createEvent("TouchEvent"); - return true; - } catch (e) { - return false; - } - }(); - var _old$On = $.fn.on; - - $.fn.on = function(){ - if(/click/.test(arguments[0]) && typeof arguments[1] == 'function' && supportTouch){ // 只扩展支持touch的当前元素的click事件 - var touchStartY, callback = arguments[1]; - _old$On.apply(this, ['touchstart', function(e){ - touchStartY = e.changedTouches[0].clientY; - }]); - _old$On.apply(this, ['touchend', function(e){ - if (Math.abs(e.changedTouches[0].clientY - touchStartY) > 10) return; - - e.preventDefault(); - callback.apply(this, [e]); - }]); - }else{ - _old$On.apply(this, arguments); - } - return this; - }; - } - function preload(){ - $(window).on("load", function(){ - var imgList = [ - "./images/layers/content.png", - "./images/layers/navigation.png", - "./images/layers/popout.png", - "./images/layers/transparent.gif" - ]; - for (var i = 0, len = imgList.length; i < len; ++i) { - new Image().src = imgList[i]; - } - }); - } - function androidInputBugFix(){ - // .container 设置了 overflow 属性, 导致 Android 手机下输入框获取焦点时, 输入法挡住输入框的 bug - // 相关 issue: https://github.com/weui/weui/issues/15 - // 解决方法: - // 0. .container 去掉 overflow 属性, 但此 demo 下会引发别的问题 - // 1. 参考 http://stackoverflow.com/questions/23757345/android-does-not-correctly-scroll-on-input-focus-if-not-body-element - // Android 手机下, input 或 textarea 元素聚焦时, 主动滚一把 - if (/Android/gi.test(navigator.userAgent)) { - window.addEventListener('resize', function () { - if (document.activeElement.tagName == 'INPUT' || document.activeElement.tagName == 'TEXTAREA') { - window.setTimeout(function () { - document.activeElement.scrollIntoViewIfNeeded(); - }, 0); - } - }) - } - } - function setJSAPI(){ - var option = { - title: 'WeUI, 为微信 Web 服务量身设计', - desc: 'WeUI, 为微信 Web 服务量身设计', - link: "https://weui.io", - imgUrl: 'https://mmbiz.qpic.cn/mmemoticon/ajNVdqHZLLA16apETUPXh9Q5GLpSic7lGuiaic0jqMt4UY8P4KHSBpEWgM7uMlbxxnVR7596b3NPjUfwg7cFbfCtA/0' - }; - - $.getJSON('https://weui.io/api/sign?url=' + encodeURIComponent(location.href.split('#')[0]), function (res) { - wx.config({ - beta: true, - debug: false, - appId: res.appid, - timestamp: res.timestamp, - nonceStr: res.nonceStr, - signature: res.signature, - jsApiList: [ - 'onMenuShareTimeline', - 'onMenuShareAppMessage', - 'onMenuShareQQ', - 'onMenuShareWeibo', - 'onMenuShareQZone', - // 'setNavigationBarColor', - 'setBounceBackground' - ] - }); - wx.ready(function () { - /* - wx.invoke('setNavigationBarColor', { - color: '#F8F8F8' - }); - */ - wx.invoke('setBounceBackground', { - 'backgroundColor': '#F8F8F8', - 'footerBounceColor' : '#F8F8F8' - }); - wx.onMenuShareTimeline(option); - wx.onMenuShareQQ(option); - wx.onMenuShareAppMessage({ - title: 'WeUI', - desc: '为微信 Web 服务量身设计', - link: location.href, - imgUrl: 'https://mmbiz.qpic.cn/mmemoticon/ajNVdqHZLLA16apETUPXh9Q5GLpSic7lGuiaic0jqMt4UY8P4KHSBpEWgM7uMlbxxnVR7596b3NPjUfwg7cFbfCtA/0' - }); - }); - }); - } - function setPageManager(){ - var pages = {}, tpls = $('script[type="text/html"]'); - var winH = $(window).height(); - - for (var i = 0, len = tpls.length; i < len; ++i) { - var tpl = tpls[i], name = tpl.id.replace(/tpl_/, ''); - pages[name] = { - name: name, - url: '#' + name, - template: '#' + tpl.id - }; - } - pages.home.url = '#'; - - for (var page in pages) { - pageManager.push(pages[page]); - } - pageManager - .setPageAppend(function($html){ - var $foot = $html.find('.page__ft'); - if($foot.length < 1) return; - - if($foot.position().top + $foot.height() < winH){ - $foot.addClass('j_bottom'); - }else{ - $foot.removeClass('j_bottom'); - } - }) - .setDefault('home') - .init(); - } - - function init(){ - preload(); - fastClick(); - androidInputBugFix(); - setJSAPI(); - setPageManager(); - - window.pageManager = pageManager; - window.home = function(){ - location.hash = ''; - }; - } - init(); -}); \ No newline at end of file diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_footer.png b/udf-ui/resources/plugins/weiui/example/images/icon_footer.png deleted file mode 100644 index 8e65c75..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_footer.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_footer_link.png b/udf-ui/resources/plugins/weiui/example/images/icon_footer_link.png deleted file mode 100644 index 8e65c75..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_footer_link.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_intro.png b/udf-ui/resources/plugins/weiui/example/images/icon_intro.png deleted file mode 100644 index d2bf4a5..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_intro.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_actionSheet.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_actionSheet.png deleted file mode 100644 index 4303640..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_actionSheet.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_article.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_article.png deleted file mode 100644 index 6e73624..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_article.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_button.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_button.png deleted file mode 100644 index c417dde..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_button.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_cell.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_cell.png deleted file mode 100644 index baf5646..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_cell.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_dialog.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_dialog.png deleted file mode 100644 index 8e2748d..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_dialog.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_feedback.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_feedback.png deleted file mode 100644 index 8c03743..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_feedback.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_flow.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_flow.png deleted file mode 100644 index dd663bf..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_flow.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_form.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_form.png deleted file mode 100644 index 9d2addb..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_form.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_icons.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_icons.png deleted file mode 100644 index cd1cc32..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_icons.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_layout.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_layout.png deleted file mode 100644 index 1d07c1f..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_layout.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_msg.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_msg.png deleted file mode 100644 index 8c03743..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_msg.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_nav.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_nav.png deleted file mode 100644 index b4fe0f6..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_nav.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_panel.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_panel.png deleted file mode 100644 index 15dc937..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_panel.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_progress.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_progress.png deleted file mode 100644 index 48e8535..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_progress.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_search.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_search.png deleted file mode 100644 index 6efea86..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_search.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_search_bar.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_search_bar.png deleted file mode 100644 index 50b8a4a..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_search_bar.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_special.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_special.png deleted file mode 100644 index 7c46cf9..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_special.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_tab.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_tab.png deleted file mode 100644 index 66258b1..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_tab.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_toast.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_toast.png deleted file mode 100644 index ed63159..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_toast.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_z-index.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_z-index.png deleted file mode 100644 index f32f620..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_z-index.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_nav_zindex.png b/udf-ui/resources/plugins/weiui/example/images/icon_nav_zindex.png deleted file mode 100644 index f32f620..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_nav_zindex.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/icon_tabbar.png b/udf-ui/resources/plugins/weiui/example/images/icon_tabbar.png deleted file mode 100644 index 20b30ab..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/icon_tabbar.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/layers/content.png b/udf-ui/resources/plugins/weiui/example/images/layers/content.png deleted file mode 100644 index 3f3d9ba..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/layers/content.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/layers/navigation.png b/udf-ui/resources/plugins/weiui/example/images/layers/navigation.png deleted file mode 100644 index 8103123..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/layers/navigation.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/layers/popout.png b/udf-ui/resources/plugins/weiui/example/images/layers/popout.png deleted file mode 100644 index 07a9959..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/layers/popout.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/layers/transparent.gif b/udf-ui/resources/plugins/weiui/example/images/layers/transparent.gif deleted file mode 100644 index 452b831..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/layers/transparent.gif and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/logo.png b/udf-ui/resources/plugins/weiui/example/images/logo.png deleted file mode 100644 index 0810604..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/logo.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/pic_160.png b/udf-ui/resources/plugins/weiui/example/images/pic_160.png deleted file mode 100644 index ba94170..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/pic_160.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/pic_article.png b/udf-ui/resources/plugins/weiui/example/images/pic_article.png deleted file mode 100644 index c240812..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/pic_article.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/images/vcode.jpg b/udf-ui/resources/plugins/weiui/example/images/vcode.jpg deleted file mode 100644 index de54b38..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/images/vcode.jpg and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/index.html b/udf-ui/resources/plugins/weiui/example/index.html deleted file mode 100644 index a18f73e..0000000 --- a/udf-ui/resources/plugins/weiui/example/index.html +++ /dev/null @@ -1,1957 +0,0 @@ - - - - - - WeUI - - - - -
错误提示
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/actionSheet.png b/udf-ui/resources/plugins/weiui/example/snapshot/actionSheet.png deleted file mode 100644 index 01039a2..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/actionSheet.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/button.png b/udf-ui/resources/plugins/weiui/example/snapshot/button.png deleted file mode 100644 index b96f8a5..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/button.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/cell.png b/udf-ui/resources/plugins/weiui/example/snapshot/cell.png deleted file mode 100644 index 138cab5..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/cell.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/dialog1.png b/udf-ui/resources/plugins/weiui/example/snapshot/dialog1.png deleted file mode 100644 index 1b99790..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/dialog1.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/dialog2.png b/udf-ui/resources/plugins/weiui/example/snapshot/dialog2.png deleted file mode 100644 index 0a8238d..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/dialog2.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/grid.png b/udf-ui/resources/plugins/weiui/example/snapshot/grid.png deleted file mode 100644 index 4e44d7d..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/grid.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/icons.png b/udf-ui/resources/plugins/weiui/example/snapshot/icons.png deleted file mode 100644 index 1c64965..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/icons.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/progress.png b/udf-ui/resources/plugins/weiui/example/snapshot/progress.png deleted file mode 100644 index cbf2676..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/progress.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/qrcode.png b/udf-ui/resources/plugins/weiui/example/snapshot/qrcode.png deleted file mode 100644 index 3d0c3cd..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/qrcode.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/result.png b/udf-ui/resources/plugins/weiui/example/snapshot/result.png deleted file mode 100644 index cafcafc..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/result.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/text.png b/udf-ui/resources/plugins/weiui/example/snapshot/text.png deleted file mode 100644 index eff8f10..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/text.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/toast1.png b/udf-ui/resources/plugins/weiui/example/snapshot/toast1.png deleted file mode 100644 index 9ed3a8f..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/toast1.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/snapshot/toast2.png b/udf-ui/resources/plugins/weiui/example/snapshot/toast2.png deleted file mode 100644 index d99698a..0000000 Binary files a/udf-ui/resources/plugins/weiui/example/snapshot/toast2.png and /dev/null differ diff --git a/udf-ui/resources/plugins/weiui/example/zepto.min.js b/udf-ui/resources/plugins/weiui/example/zepto.min.js deleted file mode 100644 index 93e63c1..0000000 --- a/udf-ui/resources/plugins/weiui/example/zepto.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):e(t)}(this,function(t){var e=function(){function e(t){return null==t?t+"":W[Y.call(t)]||"object"}function n(t){return"function"==e(t)}function r(t){return null!=t&&t==t.window}function i(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function o(t){return"object"==e(t)}function a(t){return o(t)&&!r(t)&&Object.getPrototypeOf(t)==Object.prototype}function s(t){var e=!!t&&"length"in t&&t.length,n=C.type(t);return"function"!=n&&!r(t)&&("array"==n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t){return L.call(t,function(t){return null!=t})}function c(t){return t.length>0?C.fn.concat.apply([],t):t}function l(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function f(t){return t in k?k[t]:k[t]=RegExp("(^|\\s)"+t+"(\\s|$)")}function h(t,e){return"number"!=typeof e||Z[l(t)]?e:e+"px"}function p(t){var e,n;return F[t]||(e=$.createElement(t),$.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),F[t]=n),F[t]}function d(t){return"children"in t?D.call(t.children):C.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function m(t,e){var n,r=t?t.length:0;for(n=0;r>n;n++)this[n]=t[n];this.length=r,this.selector=e||""}function g(t,e,n){for(w in e)n&&(a(e[w])||te(e[w]))?(a(e[w])&&!a(t[w])&&(t[w]={}),te(e[w])&&!te(t[w])&&(t[w]=[]),g(t[w],e[w],n)):e[w]!==j&&(t[w]=e[w])}function v(t,e){return null==e?C(t):C(t).filter(e)}function y(t,e,r,i){return n(e)?e.call(t,r,i):e}function x(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function b(t,e){var n=t.className||"",r=n&&n.baseVal!==j;return e===j?r?n.baseVal:n:void(r?n.baseVal=e:t.className=e)}function E(t){try{return t?"true"==t||("false"==t?!1:"null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?C.parseJSON(t):t):t}catch(e){return t}}function T(t,e){e(t);for(var n=0,r=t.childNodes.length;r>n;n++)T(t.childNodes[n],e)}var j,w,C,S,N,O,P=[],A=P.concat,L=P.filter,D=P.slice,$=t.document,F={},k={},Z={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},M=/^\s*<(\w+|!)[^>]*>/,z=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/^(?:body|html)$/i,_=/([A-Z])/g,I=["val","css","html","text","data","width","height","offset"],H=["after","prepend","before","append"],V=$.createElement("table"),B=$.createElement("tr"),X={tr:$.createElement("tbody"),tbody:V,thead:V,tfoot:V,td:B,th:B,"*":$.createElement("div")},U=/complete|loaded|interactive/,J=/^[\w-]*$/,W={},Y=W.toString,G={},K=$.createElement("div"),Q={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},te=Array.isArray||function(t){return t instanceof Array};return G.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,i=t.parentNode,o=!i;return o&&(i=K).appendChild(t),r=~G.qsa(i,e).indexOf(t),o&&K.removeChild(t),r},N=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},O=function(t){return L.call(t,function(e,n){return t.indexOf(e)==n})},G.fragment=function(t,e,n){var r,i,o;return z.test(t)&&(r=C($.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(R,"<$1>")),e===j&&(e=M.test(t)&&RegExp.$1),e in X||(e="*"),o=X[e],o.innerHTML=""+t,r=C.each(D.call(o.childNodes),function(){o.removeChild(this)})),a(n)&&(i=C(r),C.each(n,function(t,e){I.indexOf(t)>-1?i[t](e):i.attr(t,e)})),r},G.Z=function(t,e){return new m(t,e)},G.isZ=function(t){return t instanceof G.Z},G.init=function(t,e){var r;if(!t)return G.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&M.test(t))r=G.fragment(t,RegExp.$1,e),t=null;else{if(e!==j)return C(e).find(t);r=G.qsa($,t)}else{if(n(t))return C($).ready(t);if(G.isZ(t))return t;if(te(t))r=u(t);else if(o(t))r=[t],t=null;else if(M.test(t))r=G.fragment(t.trim(),RegExp.$1,e),t=null;else{if(e!==j)return C(e).find(t);r=G.qsa($,t)}}return G.Z(r,t)},C=function(t,e){return G.init(t,e)},C.extend=function(t){var e,n=D.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){g(t,n,e)}),t},G.qsa=function(t,e){var n,r="#"==e[0],i=!r&&"."==e[0],o=r||i?e.slice(1):e,a=J.test(o);return t.getElementById&&a&&r?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:D.call(a&&!r&&t.getElementsByClassName?i?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},C.contains=$.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},C.type=e,C.isFunction=n,C.isWindow=r,C.isArray=te,C.isPlainObject=a,C.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},C.isNumeric=function(t){var e=+t,n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},C.inArray=function(t,e,n){return P.indexOf.call(e,t,n)},C.camelCase=N,C.trim=function(t){return null==t?"":String.prototype.trim.call(t)},C.uuid=0,C.support={},C.expr={},C.noop=function(){},C.map=function(t,e){var n,r,i,o=[];if(s(t))for(r=0;rt?t+this.length:t]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return P.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return n(t)?this.not(this.not(t)):C(L.call(this,function(e){return G.matches(e,t)}))},add:function(t,e){return C(O(this.concat(C(t,e))))},is:function(t){return this.length>0&&G.matches(this[0],t)},not:function(t){var e=[];if(n(t)&&t.call!==j)this.each(function(n){t.call(this,n)||e.push(this)});else{var r="string"==typeof t?this.filter(t):s(t)&&n(t.item)?D.call(t):C(t);this.forEach(function(t){r.indexOf(t)<0&&e.push(t)})}return C(e)},has:function(t){return this.filter(function(){return o(t)?C.contains(this,t):C(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!o(t)?t:C(t)},last:function(){var t=this[this.length-1];return t&&!o(t)?t:C(t)},find:function(t){var e,n=this;return e=t?"object"==typeof t?C(t).filter(function(){var t=this;return P.some.call(n,function(e){return C.contains(e,t)})}):1==this.length?C(G.qsa(this[0],t)):this.map(function(){return G.qsa(this,t)}):C()},closest:function(t,e){var n=[],r="object"==typeof t&&C(t);return this.each(function(o,a){for(;a&&!(r?r.indexOf(a)>=0:G.matches(a,t));)a=a!==e&&!i(a)&&a.parentNode;a&&n.indexOf(a)<0&&n.push(a)}),C(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=C.map(n,function(t){return(t=t.parentNode)&&!i(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return v(e,t)},parent:function(t){return v(O(this.pluck("parentNode")),t)},children:function(t){return v(this.map(function(){return d(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||D.call(this.childNodes)})},siblings:function(t){return v(this.map(function(t,e){return L.call(d(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return C.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=p(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=n(t);if(this[0]&&!e)var r=C(t).get(0),i=r.parentNode||this.length>1;return this.each(function(n){C(this).wrapAll(e?t.call(this,n):i?r.cloneNode(!0):r)})},wrapAll:function(t){if(this[0]){C(this[0]).before(t=C(t));for(var e;(e=t.children()).length;)t=e.first();C(t).append(this)}return this},wrapInner:function(t){var e=n(t);return this.each(function(n){var r=C(this),i=r.contents(),o=e?t.call(this,n):t;i.length?i.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){C(this).replaceWith(C(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=C(this);(t===j?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return C(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return C(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;C(this).empty().append(y(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=y(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(o(t))for(w in t)x(this,w,t[w]);else x(this,t,y(this,e,n,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:j},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){x(this,t)},this)})},prop:function(t,e){return t=Q[t]||t,1 in arguments?this.each(function(n){this[t]=y(this,e,n,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=Q[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(_,"-$1").toLowerCase(),r=1 in arguments?this.attr(n,e):this.attr(n);return null!==r?E(r):j},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=y(this,t,e,this.value)})):this[0]&&(this[0].multiple?C(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each(function(t){var n=C(this),r=y(this,e,t,n.offset()),i=n.offsetParent().offset(),o={top:r.top-i.top,left:r.left-i.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if($.documentElement!==this[0]&&!C.contains($.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+t.pageXOffset,top:n.top+t.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(t,n){if(arguments.length<2){var r=this[0];if("string"==typeof t){if(!r)return;return r.style[N(t)]||getComputedStyle(r,"").getPropertyValue(t)}if(te(t)){if(!r)return;var i={},o=getComputedStyle(r,"");return C.each(t,function(t,e){i[e]=r.style[N(e)]||o.getPropertyValue(e)}),i}}var a="";if("string"==e(t))n||0===n?a=l(t)+":"+h(t,n):this.each(function(){this.style.removeProperty(l(t))});else for(w in t)t[w]||0===t[w]?a+=l(w)+":"+h(w,t[w])+";":this.each(function(){this.style.removeProperty(l(w))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(C(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?P.some.call(this,function(t){return this.test(b(t))},f(t)):!1},addClass:function(t){return t?this.each(function(e){if("className"in this){S=[];var n=b(this),r=y(this,t,e,n);r.split(/\s+/g).forEach(function(t){C(this).hasClass(t)||S.push(t)},this),S.length&&b(this,n+(n?" ":"")+S.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===j)return b(this,"");S=b(this),y(this,t,e,S).split(/\s+/g).forEach(function(t){S=S.replace(f(t)," ")}),b(this,S.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var r=C(this),i=y(this,t,n,b(this));i.split(/\s+/g).forEach(function(t){(e===j?!r.hasClass(t):e)?r.addClass(t):r.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===j?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===j?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),r=q.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(C(t).css("margin-top"))||0,n.left-=parseFloat(C(t).css("margin-left"))||0,r.top+=parseFloat(C(e[0]).css("border-top-width"))||0,r.left+=parseFloat(C(e[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||$.body;t&&!q.test(t.nodeName)&&"static"==C(t).css("position");)t=t.offsetParent;return t})}},C.fn.detach=C.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});C.fn[t]=function(n){var o,a=this[0];return n===j?r(a)?a["inner"+e]:i(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=C(this),a.css(t,y(this,n,e,a[t]()))})}}),H.forEach(function(n,r){var i=r%2;C.fn[n]=function(){var n,o,a=C.map(arguments,function(t){var r=[];return n=e(t),"array"==n?(t.forEach(function(t){return t.nodeType!==j?r.push(t):C.zepto.isZ(t)?r=r.concat(t.get()):void(r=r.concat(G.fragment(t)))}),r):"object"==n||null==t?t:G.fragment(t)}),s=this.length>1;return a.length<1?this:this.each(function(e,n){o=i?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var u=C.contains($.documentElement,o);a.forEach(function(e){if(s)e=e.cloneNode(!0);else if(!o)return C(e).remove();o.insertBefore(e,n),u&&T(e,function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var n=e.ownerDocument?e.ownerDocument.defaultView:t;n.eval.call(n,e.innerHTML)}})})})},C.fn[i?n+"To":"insert"+(r?"Before":"After")]=function(t){return C(t)[n](this),this}}),G.Z.prototype=m.prototype=C.fn,G.uniq=O,G.deserializeValue=E,C.zepto=G,C}();return t.Zepto=e,void 0===t.$&&(t.$=e),function(e){function n(t){return t._zid||(t._zid=p++)}function r(t,e,r,a){if(e=i(e),e.ns)var s=o(e.ns);return(v[n(t)]||[]).filter(function(t){return!(!t||e.e&&t.e!=e.e||e.ns&&!s.test(t.ns)||r&&n(t.fn)!==n(r)||a&&t.sel!=a)})}function i(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function o(t){return RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function a(t,e){return t.del&&!x&&t.e in b||!!e}function s(t){return E[t]||x&&b[t]||t}function u(t,r,o,u,c,f,p){var d=n(t),m=v[d]||(v[d]=[]);r.split(/\s/).forEach(function(n){if("ready"==n)return e(document).ready(o);var r=i(n);r.fn=o,r.sel=c,r.e in E&&(o=function(t){var n=t.relatedTarget;return!n||n!==this&&!e.contains(this,n)?r.fn.apply(this,arguments):void 0}),r.del=f;var d=f||o;r.proxy=function(e){if(e=l(e),!e.isImmediatePropagationStopped()){e.data=u;var n=d.apply(t,e._args==h?[e]:[e].concat(e._args));return n===!1&&(e.preventDefault(),e.stopPropagation()),n}},r.i=m.length,m.push(r),"addEventListener"in t&&t.addEventListener(s(r.e),r.proxy,a(r,p))})}function c(t,e,i,o,u){var c=n(t);(e||"").split(/\s/).forEach(function(e){r(t,e,i,o).forEach(function(e){delete v[c][e.i],"removeEventListener"in t&&t.removeEventListener(s(e.e),e.proxy,a(e,u))})})}function l(t,n){return(n||!t.isDefaultPrevented)&&(n||(n=t),e.each(C,function(e,r){var i=n[e];t[e]=function(){return this[r]=T,i&&i.apply(n,arguments)},t[r]=j}),t.timeStamp||(t.timeStamp=Date.now()),(n.defaultPrevented!==h?n.defaultPrevented:"returnValue"in n?n.returnValue===!1:n.getPreventDefault&&n.getPreventDefault())&&(t.isDefaultPrevented=T)),t}function f(t){var e,n={originalEvent:t};for(e in t)w.test(e)||t[e]===h||(n[e]=t[e]);return l(n,t)}var h,p=1,d=Array.prototype.slice,m=e.isFunction,g=function(t){return"string"==typeof t},v={},y={},x="onfocusin"in t,b={focus:"focusin",blur:"focusout"},E={mouseenter:"mouseover",mouseleave:"mouseout"};y.click=y.mousedown=y.mouseup=y.mousemove="MouseEvents",e.event={add:u,remove:c},e.proxy=function(t,r){var i=2 in arguments&&d.call(arguments,2);if(m(t)){var o=function(){return t.apply(r,i?i.concat(d.call(arguments)):arguments)};return o._zid=n(t),o}if(g(r))return i?(i.unshift(t[r],t),e.proxy.apply(null,i)):e.proxy(t[r],t);throw new TypeError("expected function")},e.fn.bind=function(t,e,n){return this.on(t,e,n)},e.fn.unbind=function(t,e){return this.off(t,e)},e.fn.one=function(t,e,n,r){return this.on(t,e,n,r,1)};var T=function(){return!0},j=function(){return!1},w=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,C={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};e.fn.delegate=function(t,e,n){return this.on(e,t,n)},e.fn.undelegate=function(t,e,n){return this.off(e,t,n)},e.fn.live=function(t,n){return e(document.body).delegate(this.selector,t,n),this},e.fn.die=function(t,n){return e(document.body).undelegate(this.selector,t,n),this},e.fn.on=function(t,n,r,i,o){var a,s,l=this;return t&&!g(t)?(e.each(t,function(t,e){l.on(t,n,r,e,o)}),l):(g(n)||m(i)||i===!1||(i=r,r=n,n=h),(i===h||r===!1)&&(i=r,r=h),i===!1&&(i=j),l.each(function(l,h){o&&(a=function(t){return c(h,t.type,i),i.apply(this,arguments)}),n&&(s=function(t){var r,o=e(t.target).closest(n,h).get(0);return o&&o!==h?(r=e.extend(f(t),{currentTarget:o,liveFired:h}),(a||i).apply(o,[r].concat(d.call(arguments,1)))):void 0}),u(h,t,i,r,n,s||a)}))},e.fn.off=function(t,n,r){var i=this;return t&&!g(t)?(e.each(t,function(t,e){i.off(t,n,e)}),i):(g(n)||m(r)||r===!1||(r=n,n=h),r===!1&&(r=j),i.each(function(){c(this,t,r,n)}))},e.fn.trigger=function(t,n){return t=g(t)||e.isPlainObject(t)?e.Event(t):l(t),t._args=n,this.each(function(){t.type in b&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,n)})},e.fn.triggerHandler=function(t,n){var i,o;return this.each(function(a,s){i=f(g(t)?e.Event(t):t),i._args=n,i.target=s,e.each(r(s,t.type||t),function(t,e){return o=e.proxy(i),i.isImmediatePropagationStopped()?!1:void 0})}),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}}),e.Event=function(t,e){g(t)||(e=t,t=e.type);var n=document.createEvent(y[t]||"Events"),r=!0;if(e)for(var i in e)"bubbles"==i?r=!!e[i]:n[i]=e[i];return n.initEvent(t,r,!0),l(n)}}(e),function(e){function n(t,n,r){var i=e.Event(n);return e(t).trigger(i,r),!i.isDefaultPrevented()}function r(t,e,r,i){return t.global?n(e||b,r,i):void 0}function i(t){t.global&&0===e.active++&&r(t,null,"ajaxStart")}function o(t){t.global&&!--e.active&&r(t,null,"ajaxStop")}function a(t,e){var n=e.context;return e.beforeSend.call(n,t,e)===!1||r(e,n,"ajaxBeforeSend",[t,e])===!1?!1:void r(e,n,"ajaxSend",[t,e])}function s(t,e,n,i){var o=n.context,a="success";n.success.call(o,t,a,e),i&&i.resolveWith(o,[t,a,e]),r(n,o,"ajaxSuccess",[e,n,t]),c(a,e,n)}function u(t,e,n,i,o){var a=i.context;i.error.call(a,n,e,t),o&&o.rejectWith(a,[n,e,t]),r(i,a,"ajaxError",[n,i,t||e]),c(e,n,i)}function c(t,e,n){var i=n.context;n.complete.call(i,e,t),r(n,i,"ajaxComplete",[e,n]),o(n)}function l(t,e,n){if(n.dataFilter==f)return t;var r=n.context;return n.dataFilter.call(r,t,e)}function f(){}function h(t){return t&&(t=t.split(";",2)[0]),t&&(t==C?"html":t==w?"json":T.test(t)?"script":j.test(t)&&"xml")||"text"}function p(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function d(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=p(t.url,t.data),t.data=void 0)}function m(t,n,r,i){return e.isFunction(n)&&(i=r,r=n,n=void 0),e.isFunction(r)||(i=r,r=void 0),{url:t,data:n,success:r,dataType:i}}function g(t,n,r,i){var o,a=e.isArray(n),s=e.isPlainObject(n);e.each(n,function(n,u){o=e.type(u),i&&(n=r?i:i+"["+(s||"object"==o||"array"==o?n:"")+"]"),!i&&a?t.add(u.name,u.value):"array"==o||!r&&"object"==o?g(t,u,r,n):t.add(n,u)})}var v,y,x=+new Date,b=t.document,E=/)<[^<]*)*<\/script>/gi,T=/^(?:text|application)\/javascript/i,j=/^(?:text|application)\/xml/i,w="application/json",C="text/html",S=/^\s*$/,N=b.createElement("a");N.href=t.location.href,e.active=0,e.ajaxJSONP=function(n,r){if(!("type"in n))return e.ajax(n);var i,o,c=n.jsonpCallback,l=(e.isFunction(c)?c():c)||"Zepto"+x++,f=b.createElement("script"),h=t[l],p=function(t){e(f).triggerHandler("error",t||"abort")},d={abort:p};return r&&r.promise(d),e(f).on("load error",function(a,c){clearTimeout(o),e(f).off().remove(),"error"!=a.type&&i?s(i[0],d,n,r):u(null,c||"error",d,n,r),t[l]=h,i&&e.isFunction(h)&&h(i[0]),h=i=void 0}),a(d,n)===!1?(p("abort"),d):(t[l]=function(){i=arguments},f.src=n.url.replace(/\?(.+)=\?/,"?$1="+l),b.head.appendChild(f),n.timeout>0&&(o=setTimeout(function(){p("timeout")},n.timeout)),d)},e.ajaxSettings={type:"GET",beforeSend:f,success:f,error:f,complete:f,context:null,global:!0,xhr:function(){return new t.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:w,xml:"application/xml, text/xml",html:C,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:f},e.ajax=function(n){var r,o,c=e.extend({},n||{}),m=e.Deferred&&e.Deferred();for(v in e.ajaxSettings)void 0===c[v]&&(c[v]=e.ajaxSettings[v]);i(c),c.crossDomain||(r=b.createElement("a"),r.href=c.url,r.href=r.href,c.crossDomain=N.protocol+"//"+N.host!=r.protocol+"//"+r.host),c.url||(c.url=""+t.location),(o=c.url.indexOf("#"))>-1&&(c.url=c.url.slice(0,o)),d(c);var g=c.dataType,x=/\?.+=\?/.test(c.url);if(x&&(g="jsonp"),c.cache!==!1&&(n&&n.cache===!0||"script"!=g&&"jsonp"!=g)||(c.url=p(c.url,"_="+Date.now())),"jsonp"==g)return x||(c.url=p(c.url,c.jsonp?c.jsonp+"=?":c.jsonp===!1?"":"callback=?")),e.ajaxJSONP(c,m);var E,T=c.accepts[g],j={},w=function(t,e){j[t.toLowerCase()]=[t,e]},C=/^([\w-]+:)\/\//.test(c.url)?RegExp.$1:t.location.protocol,O=c.xhr(),P=O.setRequestHeader;if(m&&m.promise(O),c.crossDomain||w("X-Requested-With","XMLHttpRequest"),w("Accept",T||"*/*"),(T=c.mimeType||T)&&(T.indexOf(",")>-1&&(T=T.split(",",2)[0]),O.overrideMimeType&&O.overrideMimeType(T)),(c.contentType||c.contentType!==!1&&c.data&&"GET"!=c.type.toUpperCase())&&w("Content-Type",c.contentType||"application/x-www-form-urlencoded"),c.headers)for(y in c.headers)w(y,c.headers[y]);if(O.setRequestHeader=w,O.onreadystatechange=function(){if(4==O.readyState){O.onreadystatechange=f,clearTimeout(E);var t,n=!1;if(O.status>=200&&O.status<300||304==O.status||0==O.status&&"file:"==C){if(g=g||h(c.mimeType||O.getResponseHeader("content-type")),"arraybuffer"==O.responseType||"blob"==O.responseType)t=O.response;else{t=O.responseText;try{t=l(t,g,c),"script"==g?(1,eval)(t):"xml"==g?t=O.responseXML:"json"==g&&(t=S.test(t)?null:e.parseJSON(t))}catch(r){n=r}if(n)return u(n,"parsererror",O,c,m)}s(t,O,c,m)}else u(O.statusText||null,O.status?"error":"abort",O,c,m)}},a(O,c)===!1)return O.abort(),u(null,"abort",O,c,m),O;var A="async"in c?c.async:!0;if(O.open(c.type,c.url,A,c.username,c.password),c.xhrFields)for(y in c.xhrFields)O[y]=c.xhrFields[y];for(y in j)P.apply(O,j[y]);return c.timeout>0&&(E=setTimeout(function(){O.onreadystatechange=f,O.abort(),u(null,"timeout",O,c,m)},c.timeout)),O.send(c.data?c.data:null),O},e.get=function(){return e.ajax(m.apply(null,arguments))},e.post=function(){var t=m.apply(null,arguments);return t.type="POST",e.ajax(t)},e.getJSON=function(){var t=m.apply(null,arguments);return t.dataType="json",e.ajax(t)},e.fn.load=function(t,n,r){if(!this.length)return this;var i,o=this,a=t.split(/\s/),s=m(t,n,r),u=s.success;return a.length>1&&(s.url=a[0],i=a[1]),s.success=function(t){o.html(i?e("
").html(t.replace(E,"")).find(i):t),u&&u.apply(o,arguments)},e.ajax(s),this};var O=encodeURIComponent;e.param=function(t,n){var r=[];return r.add=function(t,n){e.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(O(t)+"="+O(n))},g(r,t,n),r.join("&").replace(/%20/g,"+")}}(e),function(t){t.fn.serializeArray=function(){var e,n,r=[],i=function(t){return t.forEach?t.forEach(i):void r.push({name:e,value:t})};return this[0]&&t.each(this[0].elements,function(r,o){n=o.type,e=o.name,e&&"fieldset"!=o.nodeName.toLowerCase()&&!o.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&"file"!=n&&("radio"!=n&&"checkbox"!=n||o.checked)&&i(t(o).val())}),r},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(e),function(){try{getComputedStyle(void 0)}catch(e){var n=getComputedStyle;t.getComputedStyle=function(t,e){try{return n(t,e)}catch(r){return null}}}}(),e}),function(t,e){function n(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function r(t){return i?i+t:t.toLowerCase()}var i,o,a,s,u,c,l,f,h,p,d="",m={Webkit:"webkit",Moz:"",O:"o"},g=document.createElement("div"),v=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,y={};g.style.transform===e&&t.each(m,function(t,n){return g.style[t+"TransitionProperty"]!==e?(d="-"+t.toLowerCase()+"-",i=n,!1):e}),o=d+"transform",y[a=d+"transition-property"]=y[s=d+"transition-duration"]=y[c=d+"transition-delay"]=y[u=d+"transition-timing-function"]=y[l=d+"animation-name"]=y[f=d+"animation-duration"]=y[p=d+"animation-delay"]=y[h=d+"animation-timing-function"]="",t.fx={off:i===e&&g.style.transitionProperty===e,speeds:{_default:400,fast:200,slow:600},cssPrefix:d,transitionEnd:r("TransitionEnd"),animationEnd:r("AnimationEnd")},t.fn.animate=function(n,r,i,o,a){return t.isFunction(r)&&(o=r,i=e,r=e),t.isFunction(i)&&(o=i,i=e),t.isPlainObject(r)&&(i=r.easing,o=r.complete,a=r.delay,r=r.duration),r&&(r=("number"==typeof r?r:t.fx.speeds[r]||t.fx.speeds._default)/1e3),a&&(a=parseFloat(a)/1e3),this.anim(n,r,i,o,a)},t.fn.anim=function(r,i,d,m,g){var x,b,E,T={},j="",w=this,C=t.fx.transitionEnd,S=!1;if(i===e&&(i=t.fx.speeds._default/1e3),g===e&&(g=0),t.fx.off&&(i=0),"string"==typeof r)T[l]=r,T[f]=i+"s",T[p]=g+"s",T[h]=d||"linear",C=t.fx.animationEnd;else{b=[];for(x in r)v.test(x)?j+=x+"("+r[x]+") ":(T[x]=r[x],b.push(n(x)));j&&(T[o]=j,b.push(o)),i>0&&"object"==typeof r&&(T[a]=b.join(", "),T[s]=i+"s",T[c]=g+"s",T[u]=d||"linear")}return E=function(n){if(e!==n){if(n.target!==n.currentTarget)return;t(n.target).unbind(C,E)}else t(this).unbind(C,E);S=!0,t(this).css(y),m&&m.call(this)},i>0&&(this.bind(C,E),setTimeout(function(){S||E.call(w)},1e3*(i+g)+25)),this.size()&&this.get(0).clientLeft,this.css(T),i>0||setTimeout(function(){w.each(function(){E.call(this)})},0),this},g=null}(Zepto),function(t,e){function n(n,r,i,o,a){"function"!=typeof r||a||(a=r,r=e);var s={opacity:i};return o&&(s.scale=o,n.css(t.fx.cssPrefix+"transform-origin","0 0")),n.animate(s,r,null,a)}function r(e,r,i,o){return n(e,r,0,i,function(){a.call(t(this)),o&&o.call(this)})}var i=window.document,o=(i.documentElement,t.fn.show),a=t.fn.hide,s=t.fn.toggle;t.fn.show=function(t,r){return o.call(this),t===e?t=0:this.css("opacity",0),n(this,t,1,"1,1",r)},t.fn.hide=function(t,n){return t===e?a.call(this):r(this,t,"0,0",n)},t.fn.toggle=function(n,r){return n===e||"boolean"==typeof n?s.call(this,n):this.each(function(){var e=t(this);e["none"==e.css("display")?"show":"hide"](n,r)})},t.fn.fadeTo=function(t,e,r){return n(this,t,e,null,r)},t.fn.fadeIn=function(t,e){var n=this.css("opacity");return n>0?this.css("opacity",0):n=1,o.call(this).fadeTo(t,n,e)},t.fn.fadeOut=function(t,e){return r(this,t,null,e)},t.fn.fadeToggle=function(e,n){return this.each(function(){var r=t(this);r[0==r.css("opacity")||"none"==r.css("display")?"fadeIn":"fadeOut"](e,n)})}}(Zepto); \ No newline at end of file