diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 374f4ce4..16f37752 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,8 +1,8 @@ -##### 问题描述 +#### 问题描述 (简明扼要地描述一下问题) -##### 产生环境 +#### 产生环境 - **使用版本:** - **设备:**(手机、平板移动设备) @@ -10,8 +10,12 @@ - **浏览器及版本:** - **演示地址:** -##### 复现步奏 +#### 提示错误信息 1. -2. -... +2. ... + +#### 复现步骤 + +1. +2. ... diff --git a/LICENSE b/LICENSE index 52fd8346..d1d75bc2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2016 YDCSS Inc. +Copyright (c) 2015-2017 YDCSS Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 9b24306b..06645a3a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@


- +
@@ -36,6 +36,7 @@ jQuery version: http://www.ydui.org * [mint-ui] ([MIT License]) * [progressbar.js] ([MIT License]) * [animate.css] ([MIT License]) +* [scroller] ([MIT License]) #### Developed with Open Source Licensed WebStorm diff --git a/build/webpack.dist.components.px.conf.js b/build/webpack.dist.components.px.conf.js index 3caccf3f..1a9661da 100644 --- a/build/webpack.dist.components.px.conf.js +++ b/build/webpack.dist.components.px.conf.js @@ -38,7 +38,8 @@ module.exports = merge(distCommonWebpackConfig, { "/lib.px/radio/index": "./src/components/radio/index.js", "/lib.px/checkbox/index": "./src/components/checkbox/index.js", "/lib.px/backtop/index": "./src/components/backtop/index.js", - "/lib.px/accordion/index": "./src/components/accordion/index.js" + "/lib.px/accordion/index": "./src/components/accordion/index.js", + "/lib.px/datetime/index": "./src/components/datetime/index.js" }, module: { loaders: [ diff --git a/build/webpack.dist.components.rem.conf.js b/build/webpack.dist.components.rem.conf.js index 71284b86..9745f352 100644 --- a/build/webpack.dist.components.rem.conf.js +++ b/build/webpack.dist.components.rem.conf.js @@ -36,6 +36,7 @@ module.exports = merge(distCommonWebpackConfig, { "/lib.rem/radio/index": "./src/components/radio/index.js", "/lib.rem/checkbox/index": "./src/components/checkbox/index.js", "/lib.rem/backtop/index": "./src/components/backtop/index.js", - "/lib.rem/accordion/index": "./src/components/accordion/index.js" + "/lib.rem/accordion/index": "./src/components/accordion/index.js", + "/lib.rem/datetime/index": "./src/components/datetime/index.js" } }); diff --git a/dist/lib.px/accordion/index.js b/dist/lib.px/accordion/index.js index 1c3fbf34..abf265a9 100644 --- a/dist/lib.px/accordion/index.js +++ b/dist/lib.px/accordion/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.AccordionItem=e.Accordion=void 0;var r=n(43),i=o(r),s=n(42),a=o(s);e.Accordion=i.default,e.AccordionItem=a.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];c[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;rspan{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14px;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},42:function(t,e,n){var o=n(1)(n(179),n(140),null,null);t.exports=o.exports},43:function(t,e,n){n(163);var o=n(1)(n(180),n(121),null,null);t.exports=o.exports},121:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-accordion"},[t._t("default")],2)},staticRenderFns:[]}},140:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"accordion-title",on:{click:t.toggle}},[t.$slots.title?n("span",[t._t("title")],2):n("span",[t._v(t._s(t.title))]),t._v(" "),n("i",{class:t.show?"accordion-rotated":""})]),t._v(" "),n("div",{staticClass:"accordion-content",style:{height:t.height}},[n("div",{ref:"content"},[t._t("default")],2)])])},staticRenderFns:[]}},163:function(t,e,n){var o=n(27);"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);n(3)("532f9cd6",o,!0)},179:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion-item",data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(t){this.show=t,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},180:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(t){var e=this;this.$children.forEach(function(n){n._uid==t?n.show=!n.show:e.accordion||(n.show=!1,n.height=0)})}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.AccordionItem=e.Accordion=void 0;var r=n(45),i=o(r),s=n(44),a=o(s);e.Accordion=i.default,e.AccordionItem=a.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];c[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;rspan{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14px;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},44:function(t,e,n){var o=n(1)(n(186),n(143),null,null);t.exports=o.exports},45:function(t,e,n){n(163);var o=n(1)(n(187),n(116),null,null);t.exports=o.exports},116:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-accordion"},[t._t("default")],2)},staticRenderFns:[]}},143:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"accordion-title",on:{click:t.toggle}},[t.$slots.title?n("span",[t._t("title")],2):n("span",[t._v(t._s(t.title))]),t._v(" "),n("i",{class:t.show?"accordion-rotated":""})]),t._v(" "),n("div",{staticClass:"accordion-content",style:{height:t.height}},[n("div",{ref:"content"},[t._t("default")],2)])])},staticRenderFns:[]}},163:function(t,e,n){var o=n(22);"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);n(3)("6f550504",o,!0)},186:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion-item",data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(t){this.show=t,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},187:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(t){var e=this;this.$children.forEach(function(n){n._uid==t?n.show=!n.show:e.accordion||(n.show=!1,n.height=0)})}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/actionsheet/index.js b/dist/lib.px/actionsheet/index.js index 6314cb6e..3d76c7bd 100644 --- a/dist/lib.px/actionsheet/index.js +++ b/dist/lib.px/actionsheet/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var i=n(44),r=o(i);t.ActionSheet=r.default},1:function(e,t){e.exports=function(e,t,n,o){var i,r=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,r=e.default);var a="function"==typeof r?r.options:r;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:i,exports:r,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},l=function(e){function t(n,o,i){if(n!==o){var r=n+i>o?o:n+i;n>o&&(r=n-i1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var r=Math.abs(n-o),s=Math.ceil(r/i*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=i,t.checkInview=r,t.addClass=a,t.removeClass=c,t.scrollTop=l},16:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:14px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:7px;font-size:14px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}',""])},44:function(e,t,n){n(152);var o=n(1)(n(181),n(99),null,null);e.exports=o.exports},99:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-actionsheet",class:e.show?"actionsheet-active":""},[e._l(e.items,function(t){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),e.itemClick(t)}}},[e._v(e._s(t.label))])}),e._v(" "),e.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v(e._s(e.cancel))]):e._e()],2)])},staticRenderFns:[]}},152:function(e,t,n){var o=n(16);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("42953c3a",o,!0)},181:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(e){this.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=e}},methods:{itemClick:function(e){e&&("function"==typeof e.method&&e.method(e),!e.stay&&this.close())},close:function(){this.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var i=n(46),r=o(i);t.ActionSheet=r.default},1:function(e,t){e.exports=function(e,t,n,o){var i,r=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,r=e.default);var a="function"==typeof r?r.options:r;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:i,exports:r,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,i){if(n!==o){var r=n+i>o?o:n+i;n>o&&(r=n-i1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var r=Math.abs(n-o),s=Math.ceil(r/i*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=i,t.getScrollview=r,t.checkInview=s,t.addClass=c,t.removeClass=l,t.scrollTop=u},39:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:14px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:7px;font-size:14px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}',""])},46:function(e,t,n){n(180);var o=n(1)(n(188),n(149),null,null);e.exports=o.exports},149:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-actionsheet",class:e.show?"actionsheet-active":""},[e._l(e.items,function(t){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),e.itemClick(t)}}},[e._v(e._s(t.label))])}),e._v(" "),e.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v(e._s(e.cancel))]):e._e()],2)])},staticRenderFns:[]}},180:function(e,t,n){var o=n(39);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("2f3a5311",o,!0)},188:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(e){o.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=e}},methods:{itemClick:function(e){e&&("function"==typeof e.method&&e.method(e),!e.stay&&this.close())},close:function(){o.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/backtop/index.js b/dist/lib.px/backtop/index.js index 2022d035..d07e9bd1 100644 --- a/dist/lib.px/backtop/index.js +++ b/dist/lib.px/backtop/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BackTop=void 0;var r=n(45),i=o(r);t.BackTop=i.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var l=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];l[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;r=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=a,t.removeClass=l,t.scrollTop=c},22:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-backtop{border:1px solid silver;width:50px;height:50px;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\\E788";font-size:25px;color:silver}',""])},45:function(e,t,n){n(158);var o=n(1)(n(182),n(112),null,null);e.exports=o.exports},112:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],on:{click:function(t){t.stopPropagation(),e.backtop(t)}}},[e.$slots.default?e._t("default"):n("div",{staticClass:"m-backtop"})],2)},staticRenderFns:[]}},158:function(e,t,n){var o=n(22);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("4d84372b",o,!0)},182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var e=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,o.scrollTop)(this.scrollView,e,0)},scrollHandler:function(){var e=window.pageYOffset,t=window.innerHeight;this.scrollView!=window&&(e=this.scrollView.scrollTop,t=this.scrollView.offsetHeight),this.show=e>=t/2},throttle:function(e,t){clearTimeout(e.tId),e.tId=setTimeout(function(){e.call(t)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BackTop=void 0;var r=n(47),i=o(r);t.BackTop=i.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;r=0&&r0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=r,t.getScrollview=i,t.checkInview=s,t.addClass=c,t.removeClass=l,t.scrollTop=u},30:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-backtop{border:1px solid silver;width:50px;height:50px;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\\E788";font-size:25px;color:silver}',""])},47:function(e,t,n){n(171);var o=n(1)(n(189),n(130),null,null);e.exports=o.exports},130:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],on:{click:function(t){t.stopPropagation(),e.backtop(t)}}},[e.$slots.default?e._t("default"):n("div",{staticClass:"m-backtop"})],2)},staticRenderFns:[]}},171:function(e,t,n){var o=n(30);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("038f211a",o,!0)},189:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var e=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,o.scrollTop)(this.scrollView,e,0)},scrollHandler:function(){var e=window.pageYOffset,t=window.innerHeight;this.scrollView!=window&&(e=this.scrollView.scrollTop,t=this.scrollView.offsetHeight),this.show=e>=t/2},throttle:function(e,t){clearTimeout(e.tId),e.tId=setTimeout(function(){e.call(t)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/badge/index.js b/dist/lib.px/badge/index.js index 9fafafb5..9ba0a3e8 100644 --- a/dist/lib.px/badge/index.js +++ b/dist/lib.px/badge/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;var o=r(46),a=n(o);t.Badge=a.default},1:function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var u=s.computed||(s.computed={});Object.keys(n).forEach(function(e){var t=n[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],o=0;o=0&&o0&&a<=r},i=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){i(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(i(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(r,n,o){if(r!==n){var a=r+o>n?n:r+o;r>n&&(a=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var a=Math.abs(r-n),i=Math.ceil(a/o*50);t(r,n,i)};t.pageScroll=r,t.isColor=n,t.getScrollview=o,t.checkInview=a,t.addClass=s,t.removeClass=u,t.scrollTop=d},25:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:50px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}',""])},46:function(e,t,r){r(161);var n=r(1)(r(183),r(117),null,null);e.exports=n.exports},117:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"badge",class:e.typesClass,style:{backgroundColor:e.bgcolor,color:e.color}},[e._t("default")],2)},staticRenderFns:[]}},161:function(e,t,r){var n=r(25);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("0936f093",n,!0)},183:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5);t.default={name:"yd-badge",props:{type:{validator:function(e){return["primary","danger","warning","hollow"].indexOf(e)>-1}},shape:{validator:function(e){return["circle","square"].indexOf(e)>-1}},color:{validator:function(e){return!e||(0,n.isColor)(e)}},bgcolor:{validator:function(e){return!e||(0,n.isColor)(e)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;var o=r(48),a=n(o);t.Badge=a.default},1:function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var u=s.computed||(s.computed={});Object.keys(n).forEach(function(e){var t=n[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],o=0;o=0&&o0&&a<=r},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(s(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(r,n,o){if(r!==n){var a=r+o>n?n:r+o;r>n&&(a=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var a=Math.abs(r-n),i=Math.ceil(a/o*50);t(r,n,i)};t.pageScroll=r,t.isIOS=n,t.isColor=o,t.getScrollview=a,t.checkInview=i,t.addClass=u,t.removeClass=d,t.scrollTop=c},43:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:50px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}',""])},48:function(e,t,r){r(184);var n=r(1)(r(190),r(155),null,null);e.exports=n.exports},155:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"badge",class:e.typesClass,style:{backgroundColor:e.bgcolor,color:e.color}},[e._t("default")],2)},staticRenderFns:[]}},184:function(e,t,r){var n=r(43);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("3aa2fa9d",n,!0)},190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5);t.default={name:"yd-badge",props:{type:{validator:function(e){return["primary","danger","warning","hollow"].indexOf(e)>-1}},shape:{validator:function(e){return["circle","square"].indexOf(e)>-1}},color:{validator:function(e){return!e||(0,n.isColor)(e)}},bgcolor:{validator:function(e){return!e||(0,n.isColor)(e)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/button/index.js b/dist/lib.px/button/index.js index 03eb324d..0fa4f4cd 100644 --- a/dist/lib.px/button/index.js +++ b/dist/lib.px/button/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=t.Button=void 0;var r=n(10),i=o(r),a=n(47),s=o(a);t.Button=i.default,t.ButtonGroup=s.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),o){var u=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var t=o[e];u[e]=function(){return t}})}return{esModule:r,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var a=[],r=0;r=0&&r0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),a=Math.ceil(i/r*50);t(n,o,a)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=s,t.removeClass=u,t.scrollTop=c},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var o=n(1)(n(13),n(11),null,null);e.exports=o.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var o=n(9);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("48ed7056",o,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,o.isColor)(e)}},color:{validator:function(e){return!e||(0,o.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},47:function(e,t,n){var o=n(1)(n(184),n(127),null,null);e.exports=o.exports},127:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-button"},[e._t("default")],2)},staticRenderFns:[]}},184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-button-group"}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=t.Button=void 0;var r=n(10),i=o(r),a=n(49),s=o(a);t.Button=i.default,t.ButtonGroup=s.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),o){var u=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var t=o[e];u[e]=function(){return t}})}return{esModule:r,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var a=[],r=0;r=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),a=Math.ceil(i/r*50);t(n,o,a)};t.pageScroll=n,t.isIOS=o,t.isColor=r,t.getScrollview=i,t.checkInview=a,t.addClass=u,t.removeClass=c,t.scrollTop=d},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var o=n(1)(n(13),n(11),null,null);e.exports=o.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var o=n(9);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("5fb36a6d",o,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,o.isColor)(e)}},color:{validator:function(e){return!e||(0,o.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},49:function(e,t,n){var o=n(1)(n(191),n(125),null,null);e.exports=o.exports},125:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-button"},[e._t("default")],2)},staticRenderFns:[]}},191:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-button-group"}}})}); \ No newline at end of file diff --git a/dist/lib.px/cell/index.js b/dist/lib.px/cell/index.js index 42f8c815..3aa0128d 100644 --- a/dist/lib.px/cell/index.js +++ b/dist/lib.px/cell/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(l){if(i[l])return i[l].exports;var n=i[l]={exports:{},id:l,loaded:!1};return e[l].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p="/dist/",t(0)}({0:function(e,t,i){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CellGroup=t.CellItem=void 0;var n=i(49),r=l(n),o=i(48),c=l(o);t.CellItem=r.default,t.CellGroup=c.default},1:function(e,t){e.exports=function(e,t,i,l){var n,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(n=e,r=e.default);var c="function"==typeof r?r.options:r;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),i&&(c._scopeId=i),l){var s=c.computed||(c.computed={});Object.keys(l).forEach(function(e){var t=l[e];s[e]=function(){return t}})}return{esModule:n,exports:r,options:c}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;ti.parts.length&&(l.parts.length=i.parts.length)}else{for(var o=[],n=0;n-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(l){if(i[l])return i[l].exports;var n=i[l]={exports:{},id:l,loaded:!1};return e[l].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p="/dist/",t(0)}({0:function(e,t,i){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CellGroup=t.CellItem=void 0;var n=i(51),r=l(n),o=i(50),c=l(o);t.CellItem=r.default,t.CellGroup=c.default},1:function(e,t){e.exports=function(e,t,i,l){var n,r=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(n=e,r=e.default);var c="function"==typeof r?r.options:r;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),i&&(c._scopeId=i),l){var s=c.computed||(c.computed={});Object.keys(l).forEach(function(e){var t=l[e];s[e]=function(){return t}})}return{esModule:n,exports:r,options:c}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;ti.parts.length&&(l.parts.length=i.parts.length)}else{for(var o=[],n=0;n-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/checkbox/index.js b/dist/lib.px/checkbox/index.js index 88da5870..5dfe3f4d 100644 --- a/dist/lib.px/checkbox/index.js +++ b/dist/lib.px/checkbox/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="/dist/",t(0)}({0:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CheckBoxGroup=t.CheckBox=void 0;var r=o(51),i=n(r),c=o(50),a=n(c);t.CheckBox=i.default,t.CheckBoxGroup=a.default},1:function(e,t){e.exports=function(e,t,o,n){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),o&&(a._scopeId=o),n){var s=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];s[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;to.parts.length&&(n.parts.length=o.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=o},c=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){c(e,t)||(e.className=""==e.className?t:e.className+" "+t)},s=function(e,t){if(c(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},l=function(e){function t(o,n,r){if(o!==n){var i=o+r>n?n:o+r;o>n&&(i=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-n),c=Math.ceil(i/r*50);t(o,n,c)};t.pageScroll=o,t.isColor=n,t.getScrollview=r,t.checkInview=i,t.addClass=a,t.removeClass=s,t.scrollTop=l},38:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}',""])},50:function(e,t,o){var n=o(1)(o(187),o(116),null,null);e.exports=n.exports},51:function(e,t,o){o(174);var n=o(1)(o(188),o(137),null,null);e.exports=n.exports},116:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._t("default")],2)},staticRenderFns:[]}},137:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("label",{staticClass:"m-checkbox"},[e.group?[o("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.val,checked:Array.isArray(e.model)?e._i(e.model,e.val)>-1:e.model},on:{change:e.changeHandler,__c:function(t){var o=e.model,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=e.val,c=e._i(o,i);r?c<0&&(e.model=o.concat(i)):c>-1&&(e.model=o.slice(0,c).concat(o.slice(c+1)))}else e.model=r}}})]:[o("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var o=e.checked,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=null,c=e._i(o,i);r?c<0&&(e.checked=o.concat(i)):c>-1&&(e.checked=o.slice(0,c).concat(o.slice(c+1)))}else e.checked=r}}})],e._v(" "),o("span",{staticClass:"checkbox-icon",style:e.iconStyles()},[o("i",{style:e.checkIconStyles()})]),e._v(" "),e.$slots.default?[o("span",{staticClass:"checkbox-text"},[e._t("default")],2)]:[o("span",{staticClass:"checkbox-text"},[e._v(e._s(e.val))])]],2)},staticRenderFns:[]}},174:function(e,t,o){var n=o(38);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);o(3)("a701361c",n,!0)},187:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-checkbox"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.model=e})},change:function(e){this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},188:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var e=(this.group?this.$parent.size:this.size)+"px",t=this.group?this.$parent.color:this.color;return{width:e,height:e,color:t}},checkIconStyles:function(){var e=this.group?this.$parent.size:this.size;return{width:Math.round(e/2.8)+"px",height:Math.round(e/1.5)+"px"}}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}},created:function(){this.$parent.color&&(this.group=!0)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="/dist/",t(0)}({0:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CheckBoxGroup=t.CheckBox=void 0;var r=o(53),i=n(r),c=o(52),a=n(c);t.CheckBox=i.default,t.CheckBoxGroup=a.default},1:function(e,t){e.exports=function(e,t,o,n){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),o&&(a._scopeId=o),n){var s=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];s[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;to.parts.length&&(n.parts.length=o.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=o},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(o,n,r){if(o!==n){var i=o+r>n?n:o+r;o>n&&(i=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-n),c=Math.ceil(i/r*50);t(o,n,c)};t.pageScroll=o,t.isIOS=n,t.isColor=r,t.getScrollview=i,t.checkInview=c,t.addClass=s,t.removeClass=l,t.scrollTop=u},35:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}',""])},52:function(e,t,o){var n=o(1)(o(194),o(142),null,null);e.exports=n.exports},53:function(e,t,o){o(176);var n=o(1)(o(195),o(137),null,null);e.exports=n.exports},137:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("label",{staticClass:"m-checkbox"},[e.group?[o("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.val,checked:Array.isArray(e.model)?e._i(e.model,e.val)>-1:e.model},on:{change:e.changeHandler,__c:function(t){var o=e.model,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=e.val,c=e._i(o,i);r?c<0&&(e.model=o.concat(i)):c>-1&&(e.model=o.slice(0,c).concat(o.slice(c+1)))}else e.model=r}}})]:[o("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var o=e.checked,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=null,c=e._i(o,i);r?c<0&&(e.checked=o.concat(i)):c>-1&&(e.checked=o.slice(0,c).concat(o.slice(c+1)))}else e.checked=r}}})],e._v(" "),o("span",{staticClass:"checkbox-icon",style:e.iconStyles()},[o("i",{style:e.checkIconStyles()})]),e._v(" "),e.$slots.default?[o("span",{staticClass:"checkbox-text"},[e._t("default")],2)]:[o("span",{staticClass:"checkbox-text"},[e._v(e._s(e.val))])]],2)},staticRenderFns:[]}},142:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._t("default")],2)},staticRenderFns:[]}},176:function(e,t,o){var n=o(35);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);o(3)("f527d2f8",n,!0)},194:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-checkbox"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.model=e})},change:function(e){this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},195:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var e=(this.group?this.$parent.size:this.size)+"px",t=this.group?this.$parent.color:this.color;return{width:e,height:e,color:t}},checkIconStyles:function(){var e=this.group?this.$parent.size:this.size;return{width:Math.round(e/2.8)+"px",height:Math.round(e/1.5)+"px"}}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}},created:function(){this.$parent.color&&(this.group=!0)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/cityselect/index.js b/dist/lib.px/cityselect/index.js index 2b7cea75..28168085 100644 --- a/dist/lib.px/cityselect/index.js +++ b/dist/lib.px/cityselect/index.js @@ -1,3 +1,3 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(n,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.ydui=a():n.ydui=a()}(this,function(){return function(n){function a(e){if(t[e])return t[e].exports;var i=t[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}var t={};return a.m=n,a.c=t,a.p="/dist/",a(0)}({0:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0}),a.CitySelect=void 0;var i=t(52),s=e(i);a.CitySelect=s.default},1:function(n,a){n.exports=function(n,a,t,e){var i,s=n=n||{},o=typeof n.default;"object"!==o&&"function"!==o||(i=n,s=n.default);var r="function"==typeof s?s.options:s;if(a&&(r.render=a.render,r.staticRenderFns=a.staticRenderFns),t&&(r._scopeId=t),e){var c=r.computed||(r.computed={});Object.keys(e).forEach(function(n){var a=e[n];c[n]=function(){return a}})}return{esModule:i,exports:s,options:r}}},2:function(n,a){n.exports=function(){var n=[];return n.toString=function(){for(var n=[],a=0;at.parts.length&&(e.parts.length=t.parts.length)}else{for(var o=[],i=0;i=0&&i0&&s<=t},o=function(n,a){return a=a||"",0!=a.replace(/\s/g,"").length&&new RegExp(" "+a+" ").test(" "+n.className+" ")},r=function(n,a){o(n,a)||(n.className=""==n.className?a:n.className+" "+a)},c=function(n,a){if(o(n,a)){for(var t=" "+n.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+a+" ")>=0;)t=t.replace(" "+a+" "," ");n.className=t.replace(/^\s+|\s+$/g,"")}},l=function(n){function a(t,e,i){if(t!==e){var s=t+i>e?e:t+i;t>e&&(s=t-i1&&void 0!==arguments[1]?arguments[1]:0,e=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return window.setTimeout(n,1e3/60)});var s=Math.abs(t-e),o=Math.ceil(s/i*50);a(t,e,o)};a.pageScroll=t,a.isColor=e,a.getScrollview=i,a.checkInview=s,a.addClass=r,a.removeClass=c,a.scrollTop=l},33:function(n,a,t){a=n.exports=t(2)(),a.push([n.id,'.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:15px;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:10px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:13px;color:#222;display:block;height:40px;line-height:46px;padding:0 10px;position:relative;margin-right:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 20px}.cityselect-item-box>a{color:#333;font-size:13px;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:13px;color:#999}',""])},52:function(n,a,t){t(169);var e=t(1)(t(189),t(130),null,null);n.exports=e.exports},130:function(n,a){n.exports={render:function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"show"}],staticClass:"mask-cityselect",on:{click:function(a){a.stopPropagation(),n.close(a)}}}),n._v(" "),t("div",{staticClass:"m-cityselect",class:n.show?"cityselect-active":""},[t("div",{staticClass:"cityselect-header"},[t("p",{staticClass:"cityselect-title"},[n._v("所在地区")]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-nav"},[t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt1,expression:"!!nav.txt1"}],class:0==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(0)}}},[n._v(n._s(n.nav.txt1))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt2,expression:"!!nav.txt2"}],class:1==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(1)}}},[n._v(n._s(n.nav.txt2))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt3,expression:"!!nav.txt3"}],class:2==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.forwardView(!0)}}},[n._v(n._s(n.nav.txt3))])])]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.ready,expression:"!ready"}],staticClass:"cityselect-loading"},[n._v("加载中")]),n._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-content",class:n.activeClasses},[t("li",{ref:"provanceBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.citys,function(a){return t("a",{class:a.n==n.activeProvance?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseProvance(a.n,a.c)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"cityBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.cityArray,function(a){return t("a",{class:a.n==n.activeCity?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseCity(a.n,a.a)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"areaBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.areaArray,function(a){return t("a",{class:a==n.activeArea?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseArea(a)}}},[t("span",[n._v(n._s(a))])])}))])])])])},staticRenderFns:[]}},169:function(n,a,t){var e=t(33);"string"==typeof e&&(e=[[n.id,e,""]]),e.locals&&(n.exports=e.locals);t(3)("36b62b2c",e,!0)},189:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var i=t(5),s=t(233),o=e(s);a.default={name:"yd-cityselect",data:function(){return{citys:o.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(n){this.isIOS&&(n?(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=n},ready:function(n){n&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,i.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))},chooseProvance:function(n,a){this.nav.index=1,this.nav.txt1=this.activeProvance=n,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=a,this.activeCity=""},chooseCity:function(n,a){return this.nav.txt2=this.activeCity=n,this.activeArea="",a.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=a,void this.forwardView(!0))},chooseArea:function(n){this.nav.txt3=this.activeArea=n,this.returnValue()},setDefalutValue:function(){var n=this;this.provance&&this.citys.every(function(a,t){if(a.n==n.provance){var e=n.$refs.provanceBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.index=1,n.nav.txt1=n.activeProvance=n.provance,n.nav.txt2="请选择";var i=n.cityArray=a.c;return i.every(function(a,t){if(a.n==n.city){var e=n.$refs.cityBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.txt2=n.activeCity=n.city;var i=n.areaArray=a.a,s=i.indexOf(n.area);if(i.length>0&&(n.nav.index=2,n.nav.txt3="请选择",n.forwardView(!1)),s>-1){var o=n.$refs.areaBox;o.scrollTop=s*n.itemHeight-o.offsetHeight/3,n.nav.txt3=n.activeArea=n.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){this.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(n){this.nav.index=n,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(n){this.nav.index=2,this.activeClasses=(n?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},233:function(n,a,t){var e,i;!function(){var s=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"],n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"], +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(n,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.ydui=a():n.ydui=a()}(this,function(){return function(n){function a(e){if(t[e])return t[e].exports;var i=t[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}var t={};return a.m=n,a.c=t,a.p="/dist/",a(0)}({0:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0}),a.CitySelect=void 0;var i=t(54),s=e(i);a.CitySelect=s.default},1:function(n,a){n.exports=function(n,a,t,e){var i,s=n=n||{},o=typeof n.default;"object"!==o&&"function"!==o||(i=n,s=n.default);var r="function"==typeof s?s.options:s;if(a&&(r.render=a.render,r.staticRenderFns=a.staticRenderFns),t&&(r._scopeId=t),e){var c=r.computed||(r.computed={});Object.keys(e).forEach(function(n){var a=e[n];c[n]=function(){return a}})}return{esModule:i,exports:s,options:r}}},2:function(n,a){n.exports=function(){var n=[];return n.toString=function(){for(var n=[],a=0;at.parts.length&&(e.parts.length=t.parts.length)}else{for(var o=[],i=0;i=0&&i0&&s<=t},r=function(n,a){return a=a||"",0!=a.replace(/\s/g,"").length&&new RegExp(" "+a+" ").test(" "+n.className+" ")},c=function(n,a){r(n,a)||(n.className=""==n.className?a:n.className+" "+a)},l=function(n,a){if(r(n,a)){for(var t=" "+n.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+a+" ")>=0;)t=t.replace(" "+a+" "," ");n.className=t.replace(/^\s+|\s+$/g,"")}},f=function(n){function a(t,e,i){if(t!==e){var s=t+i>e?e:t+i;t>e&&(s=t-i1&&void 0!==arguments[1]?arguments[1]:0,e=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return window.setTimeout(n,1e3/60)});var s=Math.abs(t-e),o=Math.ceil(s/i*50);a(t,e,o)};a.pageScroll=t,a.isIOS=e,a.isColor=i,a.getScrollview=s,a.checkInview=o,a.addClass=c,a.removeClass=l,a.scrollTop=f},17:function(n,a,t){a=n.exports=t(2)(),a.push([n.id,'.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:15px;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:10px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:13px;color:#222;display:block;height:40px;line-height:46px;padding:0 10px;position:relative;margin-right:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 20px}.cityselect-item-box>a{color:#333;font-size:13px;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:13px;color:#999}',""])},54:function(n,a,t){t(158);var e=t(1)(t(196),t(107),null,null);n.exports=e.exports},107:function(n,a){n.exports={render:function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"show"}],staticClass:"mask-cityselect",on:{click:function(a){a.stopPropagation(),n.close(a)}}}),n._v(" "),t("div",{staticClass:"m-cityselect",class:n.show?"cityselect-active":""},[t("div",{staticClass:"cityselect-header"},[t("p",{staticClass:"cityselect-title"},[n._v("所在地区")]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-nav"},[t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt1,expression:"!!nav.txt1"}],class:0==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(0)}}},[n._v(n._s(n.nav.txt1))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt2,expression:"!!nav.txt2"}],class:1==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(1)}}},[n._v(n._s(n.nav.txt2))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt3,expression:"!!nav.txt3"}],class:2==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.forwardView(!0)}}},[n._v(n._s(n.nav.txt3))])])]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.ready,expression:"!ready"}],staticClass:"cityselect-loading"},[n._v("加载中")]),n._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-content",class:n.activeClasses},[t("li",{ref:"provanceBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.citys,function(a){return t("a",{class:a.n==n.activeProvance?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseProvance(a.n,a.c)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"cityBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.cityArray,function(a){return t("a",{class:a.n==n.activeCity?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseCity(a.n,a.a)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"areaBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.areaArray,function(a){return t("a",{class:a==n.activeArea?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseArea(a)}}},[t("span",[n._v(n._s(a))])])}))])])])])},staticRenderFns:[]}},158:function(n,a,t){var e=t(17);"string"==typeof e&&(e=[[n.id,e,""]]),e.locals&&(n.exports=e.locals);t(3)("49f65a74",e,!0)},196:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var i=t(5),s=t(242),o=e(s);a.default={name:"yd-cityselect",data:function(){return{citys:o.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(n){i.isIOS&&(n?(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=n},ready:function(n){n&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,i.getScrollview)(this.$el))},chooseProvance:function(n,a){this.nav.index=1,this.nav.txt1=this.activeProvance=n,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=a,this.activeCity=""},chooseCity:function(n,a){return this.nav.txt2=this.activeCity=n,this.activeArea="",a.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=a,void this.forwardView(!0))},chooseArea:function(n){this.nav.txt3=this.activeArea=n,this.returnValue()},setDefalutValue:function(){var n=this;this.provance&&this.citys.every(function(a,t){if(a.n==n.provance){var e=n.$refs.provanceBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.index=1,n.nav.txt1=n.activeProvance=n.provance,n.nav.txt2="请选择";var i=n.cityArray=a.c;return i.every(function(a,t){if(a.n==n.city){var e=n.$refs.cityBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.txt2=n.activeCity=n.city;var i=n.areaArray=a.a,s=i.indexOf(n.area);if(i.length>0&&(n.nav.index=2,n.nav.txt3="请选择",n.forwardView(!1)),s>-1){var o=n.$refs.areaBox;o.scrollTop=s*n.itemHeight-o.offsetHeight/3,n.nav.txt3=n.activeArea=n.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){i.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(n){this.nav.index=n,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(n){this.nav.index=2,this.activeClasses=(n?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},242:function(n,a,t){var e,i;!function(){var s=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"],n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"], n:"苏州市"}]},{n:"山东",c:[{a:["河口区","广饶县","利津县","垦利区","东营区"],n:"东营市"},{a:["潍城区","奎文区","高新区","寒亭区","寿光市","青州市","诸城市","安丘市","高密市","昌邑市","昌乐县","临朐县","坊子区"],n:"潍坊市"},{a:["莱山区","芝罘区","开发区","福山区","牟平区","龙口市","莱州市","莱阳市","招远市","蓬莱市","栖霞市","海阳市","长岛县"],n:"烟台市"},{a:["荣成市","文登市","乳山市","环翠区"],n:"威海市"},{a:["莱城区","钢城区"],n:"莱芜市"},{a:["德城区","临邑县","齐河县","乐陵市","禹城市","陵县","宁津县","武城县","庆云县","平原县","夏津县"],n:"德州市"},{a:["兰陵县","兰山区","河东区","沂南县","沂水县","费县","平邑县","蒙阴县","临沭县","莒南县","郯城县","罗庄区"],n:"临沂市"},{a:["东昌府区","临清市","阳谷县","茌平县","莘县","东阿县","冠县","高唐县"],n:"聊城市"},{a:["北海新区","滨城区","邹平县","沾化县","惠民县","博兴县","阳信县","无棣县"],n:"滨州市"},{a:["牡丹区","单县","曹县","定陶县","巨野县","成武县","东明县","郓城县","鄄城县"],n:"菏泽市"},{a:["岚山区","新市区","五莲县","东港区","莒县"],n:"日照市"},{a:["梁山县","兖州市","微山县","汶上县","泗水县","嘉祥县","鱼台县","金乡县","邹城市","市中区","曲阜市","高新区","任城区"],n:"济宁市"},{a:["东平县","岱岳区","泰山区","肥城市","新泰市","宁阳县"],n:"泰安市"},{a:["高新区","长清区","历城区","天桥区","槐荫区","历下区","市中区","章丘市","平阴县","济阳县","商河县"],n:"济南市"},{a:["四方区","市北区","市南区","黄岛区","李沧区","即墨市","城阳区","崂山区","胶州市","平度市","莱西市"],n:"青岛市"},{a:["临淄区","张店区","周村区","淄川区","博山区","高青县","沂源县","桓台县"],n:"淄博市"},{a:["滕州市","山亭区","台儿庄区","峄城区","薛城区","市中区"],n:"枣庄市"}]},{n:"安徽",c:[{a:["铜官区","枞阳县","郊区","义安区"],n:"铜陵市"},{a:["包河区","蜀山区","瑶海区","庐阳区","滨湖新区","经济技术开发区","高新技术开发区","新站综合开发试验区","肥西县","政务文化新区","巢湖市","长丰县","肥东县","庐江县","北城新区"],n:"合肥市"},{a:["淮南高新技术开发区","田家庵区","大通区","谢家集区","八公山区","寿县","凤台县","潘集区"],n:"淮南市"},{a:["杜集区","烈山区","濉溪县","相山区"],n:"淮北市"},{a:["镜湖区","弋江区","无为县","芜湖县","繁昌县","南陵县","鸠江区","三山区"],n:"芜湖市"},{a:["蚌山区","怀远县","固镇县","五河县","淮上区","龙子湖区","禹会区"],n:"蚌埠市"},{a:["博望区","花山区","雨山区","当涂县","含山县","和县"],n:"马鞍山市"},{a:["桐城市","宿松县","太湖县","怀宁县","岳西县","望江县","潜山县","大观区","宜秀区","迎江区"],n:"安庆市"},{a:["徽州区","屯溪区","休宁县","歙县","黟县","祁门县","黄山区"],n:"黄山市"},{a:["琅琊区","天长市","明光市","全椒县","来安县","南谯区","定远县","凤阳县"],n:"滁州市"},{a:["经济开发区","界首市","太和县","阜南县","颍上县","临泉县","颍泉区","颍州区","颍东区"],n:"阜阳市"},{a:["利辛县","蒙城县","涡阳县","谯城区"],n:"亳州市"},{a:["旌德县","宁国市","郎溪县","广德县","绩溪县","泾县","宣州区"],n:"宣城市"},{a:["经济开发区","埇桥区","灵璧县","泗县","萧县","砀山县"],n:"宿州市"},{a:["贵池区","东至县","石台县","青阳县"],n:"池州市"},{a:["霍山县","金寨县","霍邱县","舒城县","金安区","裕安区"],n:"六安市"}]},{n:"浙江",c:[{a:["龙泉市","缙云县","遂昌县","松阳县","景宁县","云和县","青田县","莲都区","庆元县"],n:"丽水市"},{a:["临海市","三门县","天台县","仙居县","黄岩区","椒江区","路桥区","温岭市","玉环县"],n:"台州市"},{a:["岱山县","嵊泗县","普陀区","定海区"],n:"舟山市"},{a:["海曙区","江东区","高新科技开发区","慈溪市","北仑区","镇海区","鄞州区","江北区","余姚市","奉化市","宁海县","象山县"],n:"宁波市"},{a:["上城区","下城区","拱墅区","西湖区","江干区","下沙区","余杭区","萧山区","滨江区","临安市","富阳区","桐庐县","建德市","淳安县"],n:"杭州市"},{a:["龙湾区","茶山高教园区","瑞安市","乐清市","鹿城区","瓯海区","永嘉县","文成县","平阳县","泰顺县","洞头区","苍南县"],n:"温州市"},{a:["桐乡市","平湖市","嘉善县","南湖区","秀洲区","海宁市","海盐县"],n:"嘉兴市"},{a:["南浔区","吴兴区","长兴县","德清县","安吉县"],n:"湖州市"},{a:["柯桥区","越城区","诸暨市","上虞区","嵊州市","新昌县"],n:"绍兴市"},{a:["金东区","婺城区","兰溪市","武义县","浦江县","磐安县","义乌市","永康市","东阳市"],n:"金华市"},{a:["柯城区","衢江区","江山市","常山县","开化县","龙游县"],n:"衢州市"}]},{n:"福建",c:[{a:["台江区","鼓楼区","晋安区","仓山区","马尾区","福清市","闽侯县","长乐市","平潭县","连江县","罗源县","永泰县","闽清县"],n:"福州市"},{a:["思明区","湖里区","翔安区","海沧区","集美区","同安区"],n:"厦门市"},{a:["永安市","明溪县","将乐县","大田县","宁化县","建宁县","沙县","尤溪县","清流县","泰宁县","梅列区","三元区"],n:"三明市"},{a:["仙游县","城厢区","荔城区","秀屿区","涵江区"],n:"莆田市"},{a:["泉港区","石狮市","南安市","惠安县","安溪县","德化县","永春县","金门县","洛江区","鲤城区","丰泽区","晋江市"],n:"泉州市"},{a:["芗城区","龙文区","龙海市","平和县","南靖县","诏安县","漳浦县","华安县","云霄县","东山县","长泰县"],n:"漳州市"},{a:["建瓯市","邵武市","武夷山市","建阳市","松溪县","顺昌县","浦城县","政和县","光泽县","延平区"],n:"南平市"},{a:["新罗区","漳平市","长汀县","武平县","永定县","上杭县","连城县"],n:"龙岩市"},{a:["蕉城区","东侨开发区","福安市","福鼎市","寿宁县","霞浦县","柘荣县","屏南县","古田县","周宁县"],n:"宁德市"}]},{n:"湖北",c:[{a:["松柏镇","阳日镇","木鱼镇","红坪镇","新华镇","宋洛乡","九湖乡","下谷坪乡"],n:"神农架林区"},{a:["硚口区","武昌区","武汉经济技术开发区","江岸区","江汉区","蔡甸区","江夏区","新洲区","黄陂区","汉阳区","青山区","洪山区","汉南区","东西湖区"],n:"武汉市"},{a:["园林","杨市","周矶","广华","泰丰","竹根滩镇","高石碑镇","积玉口镇","渔洋镇","王场镇","熊口镇","老新镇","浩口镇","张金镇","龙湾镇","江汉石油管理局","潜江经济开发区","西大垸管理区","运粮湖管理区","周矶管理区","后湖管理区","熊口管理区","总口管理区","高场原种场","浩口原种场"],n:"潜江市"},{a:["黄石港区","下陆区","西塞山区","铁山区","大冶市","阳新县","经济技术开发区"],n:"黄石市"},{a:["老河口市","枣阳市","宜城市","南漳县","保康县","谷城县","樊城区","襄城区","襄州区"],n:"襄阳市"},{a:["丹江口市","房县","竹山县","竹溪县","郧县","郧西县","茅箭区","张湾区"],n:"十堰市"},{a:["沙市区","荆州区","江陵县","洪湖市","石首市","松滋市","监利县","公安县"],n:"荆州市"},{a:["伍家岗区","西陵区","宜都市","猇亭区","点军区","当阳市","枝江市","夷陵区","秭归县","兴山县","远安县","五峰土家族自治县","长阳土家族自治县"],n:"宜昌市"},{a:["汉川市","云梦县","大悟县","孝昌县","孝南区","应城市","安陆市"],n:"孝感市"},{a:["黄州区","蕲春县","麻城市","武穴市","浠水县","红安县","罗田县","黄梅县","英山县","团风县"],n:"黄冈市"},{a:["侨乡街道开发区","竟陵街道","杨林街道","佛子山镇","多宝镇","拖市镇","张港镇","蒋场镇","汪场镇","渔薪镇","黄潭镇","岳口镇","横林镇","彭市镇","麻洋镇","多祥镇","干驿镇","马湾镇","卢市镇","小板镇","九真镇","皂市镇","胡市镇","石河镇","净潭乡","蒋湖农场","白茅湖农场","沉湖管委会"],n:"天门市"},{a:["城区","郑场镇","毛嘴镇","豆河镇","三伏潭镇","胡场镇","长埫口镇","西流河镇","沙湖镇","杨林尾镇","彭场镇","张沟镇","郭河镇","沔城镇","通海口镇","陈场镇","工业园区","九合垸原种场","沙湖原种场","排湖渔场","五湖渔场","赵西垸林场","刘家垸林场","畜禽良种场"],n:"仙桃市"},{a:["咸安区","赤壁市","嘉鱼县","通山县","崇阳县","通城县"],n:"咸宁市"},{a:["恩施市","利川市","建始县","来凤县","巴东县","鹤峰县","宣恩县","咸丰县"],n:"恩施州"},{a:["梁子湖区","华容区","鄂城区"],n:"鄂州市"},{a:["东宝区","掇刀区","钟祥市","京山县","沙洋县"],n:"荆门市"},{a:["曾都区","广水市","随县"],n:"随州市"}]},{n:"湖南",c:[{a:["慈利县","桑植县","武陵源区","永定区"],n:"张家界市"},{a:["资兴市","宜章县","安仁县","汝城县","嘉禾县","临武县","桂东县","永兴县","桂阳县","北湖区","苏仙区"],n:"郴州市"},{a:["南县","桃江县","安化县","赫山区","资阳区","沅江市"],n:"益阳市"},{a:["冷水滩区","祁阳县","双牌县","道县","江永县","江华县","宁远县","新田县","蓝山县","东安县","零陵区"],n:"永州市"},{a:["鹤城区","洪江市","会同县","溆浦县","中方县","辰溪县","靖州县","通道县","芷江县","新晃县","麻阳县","沅陵县"],n:"怀化市"},{a:["娄星区","冷水江市","涟源市","新化县","双峰县"],n:"娄底市"},{a:["吉首市","古丈县","龙山县","永顺县","泸溪县","凤凰县","花垣县","保靖县"],n:"湘西州"},{a:["芙蓉区","岳麓区","雨花区","开福区","天心区","浏阳市","长沙县","宁乡县","望城区"],n:"长沙市"},{a:["天元区","石峰区","芦淞区","荷塘区","醴陵市","株洲县","攸县","茶陵县","炎陵县"],n:"株洲市"},{a:["雨湖区","岳塘区","湘乡市","湘潭县","韶山市"],n:"湘潭市"},{a:["蒸湘区","石鼓区","珠晖区","雁峰区","常宁市","衡阳县","耒阳市","衡东县","衡南县","衡山县","祁东县","南岳区"],n:"衡阳市"},{a:["大祥区","双清区","北塔区","武冈市","邵东县","洞口县","新邵县","绥宁县","新宁县","邵阳县","隆回县","城步县"],n:"邵阳市"},{a:["岳阳楼区","君山区","云溪区","临湘市","汨罗市","岳阳县","湘阴县","华容县","平江县"],n:"岳阳市"},{a:["汉寿县","石门县","安乡县","鼎城区","武陵区","津市市","澧县","临澧县","桃源县"],n:"常德市"}]},{n:"广东",c:[{a:["天河区","海珠区","荔湾区","越秀区","番禺区","花都区","萝岗区","白云区","南沙区","黄埔区","增城区","从化区","广州大学城"],n:"广州市"},{a:["罗湖区","福田区","南山区","宝安区","光明新区","龙岗区","坪山新区","盐田区","龙华新区","大鹏新区"],n:"深圳市"},{a:["斗门区","金湾区","香洲区"],n:"珠海市"},{a:["龙湖区","金平区","澄海区","潮阳区","潮南区","濠江区","南澳县"],n:"汕头市"},{a:["武江区","浈江区","南雄市","乐昌市","仁化县","始兴县","翁源县","新丰县","乳源瑶族自治县","曲江区"],n:"韶关市"},{a:["和平县","龙川县","紫金县","连平县","源城区","东源县"],n:"河源市"},{a:["梅江区","兴宁市","梅县","蕉岭县","大埔县","丰顺县","五华县","平远县"],n:"梅州市"},{a:["惠阳区","大亚湾区","惠城区","惠东县","博罗县","龙门县"],n:"惠州市"},{a:["城区","陆丰市","陆河县","海丰县"],n:"汕尾市"},{a:["长安镇","莞城区","南城区","寮步镇","大岭山镇","横沥镇","常平镇","厚街镇","万江区","樟木头镇","塘厦镇","凤岗镇","大朗镇","东坑镇","清溪镇","企石镇","茶山镇","东城区","虎门镇","黄江镇","石排镇","道滘镇","沙田镇","高埗镇","石龙镇","石碣镇","洪梅镇","麻涌镇","松山湖","桥头镇","望牛墩镇","中堂镇","谢岗镇"],n:"东莞市"},{a:["城区","火炬开发区","小榄镇","古镇","三乡镇","民众镇","东凤镇","板芙镇","神湾镇","横栏镇","港口镇","三角镇","大涌镇","南头镇","沙溪镇","坦洲镇","黄圃镇","五桂山镇","南朗镇","沙朗镇","阜沙镇","东升镇"],n:"中山市"},{a:["台山市","新会区","鹤山市","江海区","蓬江区","开平市","恩平市"],n:"江门市"},{a:["顺德区","禅城区","高明区","三水区","南海区"],n:"佛山市"},{a:["江城区","阳东县","阳春市","阳西县"],n:"阳江市"},{a:["赤坎区","霞山区","经济技术开发区","麻章区","遂溪县","廉江市","坡头区","雷州市","吴川市","徐闻县"],n:"湛江市"},{a:["茂南区","电白县","高州市","化州市","茂港区","信宜市"],n:"茂名市"},{a:["端州区","四会市","高要市","广宁县","德庆县","怀集县","封开县","鼎湖区"],n:"肇庆市"},{a:["云城区","罗定市","云安县","新兴县","郁南县"],n:"云浮市"},{a:["连州市","佛冈县","阳山县","清新县","连山县","连南县","清城区","英德市"],n:"清远市"},{a:["湘桥区","枫溪区","潮安区","饶平县"],n:"潮州市"},{a:["东山区","普宁市","榕城区","揭东县","揭西县","惠来县"],n:"揭阳市"}]},{n:"广西",c:[{a:["八步区","钟山县","昭平县","富川县","平桂管理区"],n:"贺州市"},{a:["右江区","平果县","乐业县","田阳县","西林县","田林县","德保县","靖西县","田东县","那坡县","隆林县","凌云县"],n:"百色市"},{a:["宜州市","天峨县","凤山县","南丹县","东兰县","巴马县","环江县","大化县","都安县","金城江区","罗城县"],n:"河池市"},{a:["江州区","凭祥市","扶绥县","大新县","天等县","宁明县","龙州县"],n:"崇左市"},{a:["良庆区","江南区","兴宁区","青秀区","西乡塘区","横县","上林县","隆安县","马山县","武鸣区","邕宁区","宾阳县"],n:"南宁市"},{a:["融安县","三江县","融水县","鱼峰区","城中区","柳南区","柳北区","柳江县","柳城县","鹿寨县"],n:"柳州市"},{a:["象山区","恭城县","秀峰区","叠彩区","七星区","雁山区","阳朔县","临桂县","灵川县","全州县","平乐县","兴安县","灌阳县","荔浦县","资源县","永福县","龙胜县"],n:"桂林市"},{a:["岑溪市","苍梧县","藤县","蒙山县","万秀区","蝶山区","长洲区"],n:"梧州市"},{a:["海城区","银海区","合浦县","铁山港区"],n:"北海市"},{a:["防城区","港口区","东兴市","上思县"],n:"防城港市"},{a:["钦南区","钦北区","浦北县","灵山县"],n:"钦州市"},{a:["港南区","港北区","桂平市","平南县","覃塘区"],n:"贵港市"},{a:["玉州区","北流市","容县","博白县","陆川县","兴业县"],n:"玉林市"},{a:["兴宾区","合山市","忻城县","武宣县","象州县","金秀县"],n:"来宾市"}]},{n:"江西",c:[{a:["青云谱区","西湖区","东湖区","昌北区","南昌县","进贤县","安义县","青山湖区","红谷滩新区","新建县","湾里区","高新区"],n:"南昌市"},{a:["珠山区","乐平市","浮梁县","昌江区"],n:"景德镇市"},{a:["湘东区","莲花县","上栗县","芦溪县","安源区"],n:"萍乡市"},{a:["分宜县","渝水区"],n:"新余市"},{a:["浔阳区","八里湖新区","经济技术开发区","修水县","瑞昌市","彭泽县","湖口县","共青城市","九江县","庐山区","德安县","都昌县","永修县","武宁县","星子县","庐山风景名胜区"],n:"九江市"},{a:["龙虎山风景旅游区","余江县","贵溪市","月湖区"],n:"鹰潭市"},{a:["德兴市","广丰县","鄱阳县","婺源县","余干县","横峰县","弋阳县","铅山县","玉山县","万年县","信州区","上饶县"],n:"上饶市"},{a:["丰城市","樟树市","袁州区","高安市","铜鼓县","靖安县","宜丰县","奉新县","万载县","上高县"],n:"宜春市"},{a:["南丰县","乐安县","金溪县","南城县","东乡县","资溪县","宜黄县","崇仁县","黎川县","广昌县","临川区"],n:"抚州市"},{a:["青原区","吉州区","井冈山市","吉安县","永丰县","永新县","新干县","泰和县","峡江县","遂川县","安福县","吉水县","万安县"],n:"吉安市"},{a:["章贡区","南康市","瑞金市","石城县","安远县","赣县","宁都县","寻乌县","兴国县","定南县","上犹县","于都县","龙南县","崇义县","大余县","信丰县","全南县","会昌县"],n:"赣州市"}]},{n:"四川",c:[{a:["仁寿县","彭山区","洪雅县","丹棱县","青神县","东坡区"],n:"眉山市"},{a:["雁江区","安岳县","乐至县","简阳市"],n:"资阳市"},{a:["马尔康县","九寨沟县","红原县","阿坝县","理县","若尔盖县","金川县","小金县","黑水县","松潘县","壤塘县","茂县","汶川县"],n:"阿坝州"},{a:["康定县","泸定县","九龙县","丹巴县","道孚县","炉霍县","色达县","甘孜县","新龙县","白玉县","德格县","石渠县","雅江县","理塘县","巴塘县","稻城县","乡城县","得荣县"],n:"甘孜州"},{a:["美姑县","昭觉县","会理县","会东县","普格县","宁南县","德昌县","冕宁县","盐源县","金阳县","布拖县","雷波县","越西县","喜德县","甘洛县","木里县","西昌市"],n:"凉山州"},{a:["武侯区","金牛区","青羊区","成华区","高新区","锦江区","郫县","双流县","高新西区","龙泉驿区","新都区","温江区","都江堰市","彭州市","青白江区","崇州市","金堂县","新津县","邛崃市","大邑县","蒲江县"],n:"成都市"},{a:["自流井区","沿滩区","荣县","富顺县","大安区","贡井区"],n:"自贡市"},{a:["仁和区","西区","东区","米易县","盐边县"],n:"攀枝花市"},{a:["纳溪区","江阳区","龙马潭区","泸县","合江县","叙永县","古蔺县"],n:"泸州市"},{a:["江油市","涪城区","游仙区","高新区","经开区","盐亭县","三台县","平武县","北川县","安县","梓潼县"],n:"绵阳市"},{a:["广汉市","什邡市","旌阳区","绵竹市","罗江县","中江县"],n:"德阳市"},{a:["昭化区","朝天区","利州区","青川县","旺苍县","剑阁县","苍溪县"],n:"广元市"},{a:["船山区","射洪县","蓬溪县","大英县","安居区"],n:"遂宁市"},{a:["东兴区","资中县","隆昌县","威远县","市中区"],n:"内江市"},{a:["市中区","峨眉山市","五通桥区","沙湾区","金口河区","夹江县","井研县","犍为县","沐川县","峨边县","马边县"],n:"乐山市"},{a:["宜宾县","南溪区","江安县","长宁县","兴文县","珙县","翠屏区","高县","屏山县","筠连县"],n:"宜宾市"},{a:["前锋区","岳池县","武胜县","邻水县","广安区","华蓥市"],n:"广安市"},{a:["顺庆区","高坪区","嘉陵区","西充县","阆中市","南部县","仪陇县","蓬安县","营山县"],n:"南充市"},{a:["通川区","达川区","大竹县","渠县","万源市","宣汉县","开江县"],n:"达州市"},{a:["巴州区","恩阳区","南江县","平昌县","通江县"],n:"巴中市"},{a:["芦山县","石棉县","名山区","天全县","荥经县","汉源县","宝兴县","雨城区"],n:"雅安市"}]},{n:"海南",c:[{a:["嘉积镇","万泉镇","石壁镇","中原镇","博鳌镇","阳江镇","龙江镇","潭门镇","塔洋镇","长坡镇","大路镇","会山镇","彬村山华侨农场","东太农场","东红农场","东升农场","南俸农场"],n:"琼海市"},{a:["兴隆镇","南林农场","万城镇","龙滚镇","和乐镇","后安镇","大茂镇","东澳镇","礼纪镇","长丰镇","山根镇","北大镇","南桥镇","三更罗镇","六连林场","东兴农场","东和农场","新中农场","兴隆华侨农场"],n:"万宁市"},{a:["秀英区","龙华区","琼山区","美兰区"],n:"海口市"},{a:["八所镇","东河镇","大田镇","感城镇","板桥镇","三家镇","四更镇","新龙镇","天安乡","江边乡","广坝农场","东方华侨农场"],n:"东方市"},{a:["崖城镇","海棠湾镇","吉阳镇","凤凰镇","天涯镇","育才镇","河西区","河东区","南田农场","南新农场","南岛农场","立才农场","南滨农场"],n:"三亚市"},{a:["文城镇","重兴镇","蓬莱镇","会文镇","东路镇","潭牛镇","东阁镇","文教镇","东郊镇","龙楼镇","昌洒镇","翁田镇","抱罗镇","冯坡镇","锦山镇","铺前镇","公坡镇","迈号镇","清谰镇","南阳镇","新桥镇","头苑镇","宝芳乡","龙马乡","湖山乡","东路农场","南阳农场","罗豆农场","橡胶研究所"],n:"文昌市"},{a:["通什镇","南圣镇","毛阳镇","番阳镇","畅好乡","毛道乡","水满乡","畅好农场"],n:"五指山市"},{a:["城区","临城镇","波莲镇","东英镇","博厚镇","皇桐镇","多文镇","和舍镇","南宝镇","新盈镇","调楼镇","加来镇","红华农场","加来农场"],n:"临高县"},{a:["城区","金江镇","老城镇","瑞溪镇","永发镇","加乐镇","文儒镇","中兴镇","仁兴镇","福山镇","桥头镇","大丰镇","红光农场","西达农场","金安农场"],n:"澄迈县"},{a:["黄竹镇","城区","定城镇","新竹镇","龙湖镇","雷鸣镇","龙门镇","龙河镇","岭口镇","翰林镇","富文镇","金鸡岭农场","中瑞农场","南海农场"],n:"定安县"},{a:["县城内","屯城镇","新兴镇","枫木镇","乌坡镇","南吕镇","南坤镇","中建农场","坡心镇","中坤农场","西昌镇"],n:"屯昌县"},{a:["红林农场","城区","石碌镇","叉河镇","十月田镇","乌烈镇","昌化镇","海尾镇","七叉镇","王下乡","海南矿业公司","霸王岭林场"],n:"昌江县"},{a:["南开乡","阜龙乡","青松乡","金波乡","荣邦乡","城区","白沙农场","牙叉镇","龙江农场","七坊镇","邦溪农场","邦溪镇","打安镇","细水乡","元门乡"],n:"白沙县"},{a:["吊罗山乡","黎母山林业公司","阳江农场","乌石农场","加钗农场","长征农场","营根镇","湾岭镇","黎母山镇","和平镇","长征镇","红毛镇","中平镇","上安乡","什运乡","城区"],n:"琼中县"},{a:["东华镇","南平镇","吊罗山林业公司","岭门农场","南平农场","椰林镇","光坡镇","三才镇","英州镇","隆广镇","文罗镇","本号镇","新村镇","黎安镇","提蒙乡","群英乡","城区"],n:"陵水县"},{a:["保亭研究所","新星农场","金江农场","三道农场","保城镇","什玲镇","加茂镇","响水镇","新政镇","三道镇","六弓乡","南林乡","毛感乡"],n:"保亭县"},{a:["尖峰岭林业公司","莺歌海盐场","山荣农场","乐光农场","抱由镇","保国农场","万冲镇","大安镇","志仲镇","千家镇","九所镇","利国镇","黄流镇","佛罗镇","尖峰镇","莺歌海镇","城区"],n:"乐东县"},{a:["中沙群岛","西沙群岛","南沙群岛"],n:"三沙市"},{a:["热作学院","那大镇","富克镇","和庆镇","南丰镇","大成镇","雅星镇","兰洋镇","光村镇","木棠镇","海头镇","峨蔓镇","三都镇","王五镇","白马井镇","中和镇","排浦镇","东成镇","新州镇","洋浦经济开发区","西培农场","西联农场","蓝洋农场","八一农场","西华农场","西庆农场","西流农场","新盈农场","龙山农场","红岭农场"],n:"儋州市"}]},{n:"贵州",c:[{a:["南明区","云岩区","花溪区","小河区","白云区","清镇市","开阳县","修文县","息烽县","乌当区","观山湖区"],n:"贵阳市"},{a:["盘县","六枝特区","水城县","钟山区"],n:"六盘水市"},{a:["红花岗区","汇川区","赤水市","仁怀市","遵义县","桐梓县","绥阳县","习水县","凤冈县","正安县","湄潭县","余庆县","道真县","务川县"],n:"遵义市"},{a:["碧江区","德江县","江口县","思南县","万山区","石阡县","玉屏侗族自治县","松桃苗族自治县","印江土家族苗族自治县","沿河土家族自治县"],n:"铜仁市"},{a:["七星关区","黔西县","大方县","织金县","金沙县","赫章县","纳雍县","威宁彝族回族苗族自治县"],n:"毕节市"},{a:["西秀区","普定县","平坝县","镇宁布依族苗族自治县","关岭布依族苗族自治县","紫云苗族布依族自治县"],n:"安顺市"},{a:["兴义市","望谟县","兴仁县","普安县","册亨县","晴隆县","贞丰县","安龙县"],n:"黔西南州"},{a:["凯里市","施秉市","从江县","锦屏县","镇远县","麻江县","台江县","天柱县","黄平县","榕江县","剑河县","三穗县","雷山县","黎平县","岑巩县","丹寨县"],n:"黔东南州"},{a:["都匀市","福泉市","贵定县","惠水县","罗甸县","瓮安县","荔波县","龙里县","平塘县","长顺县","独山县","三都县"],n:"黔南州"}]},{n:"云南",c:[{a:["玉龙县","华坪县","永胜县","宁蒗县","古城区"],n:"丽江市"},{a:["文山市","麻栗坡县","砚山县","广南县","马关县","富宁县","西畴县","丘北县"],n:"文山州"},{a:["香格里拉县","德钦县","维西县"],n:"迪庆州"},{a:["个旧市","开远市","弥勒县","红河县","绿春县","蒙自市","泸西县","建水县","元阳县","石屏县","金平县","屏边县","河口县"],n:"红河州"},{a:["景洪市","勐海县","勐腊县"],n:"西双版纳州"},{a:["元谋县","南华县","牟定县","武定县","大姚县","双柏县","禄丰县","永仁县","姚安县","楚雄市"],n:"楚雄州"},{a:["剑川县","弥渡县","云龙县","洱源县","鹤庆县","宾川县","祥云县","永平县","巍山县","漾濞县","南涧县","大理市"],n:"大理州"},{a:["芒市","瑞丽市","盈江县","梁河县","陇川县"],n:"德宏州"},{a:["泸水县","福贡县","兰坪县","贡山县"],n:"怒江州"},{a:["盘龙区","五华区","西山区","官渡区","呈贡区","东川区","安宁市","富民县","嵩明县","晋宁县","宜良县","禄劝县","石林县","寻甸县"],n:"昆明市"},{a:["麒麟区","马龙县","宣威市","富源县","会泽县","陆良县","师宗县","罗平县","沾益县"],n:"曲靖市"},{a:["红塔区","华宁县","澄江县","易门县","通海县","江川县","元江县","新平县","峨山县"],n:"玉溪市"},{a:["鲁甸县","绥江县","昭阳区","镇雄县","永善县","大关县","盐津县","彝良县","水富县","巧家县","威信县"],n:"昭通市"},{a:["孟连县","思茅区","宁洱县","景东县","镇沅县","景谷县","墨江县","澜沧县","西盟县","江城县"],n:"普洱市"},{a:["双江县","沧源县","临翔区","镇康县","凤庆县","云县","永德县","耿马县"],n:"临沧市"},{a:["隆阳区","施甸县","昌宁县","龙陵县","腾冲县"],n:"保山市"}]},{n:"西藏",c:[{a:["双湖县","索县","那曲县","嘉黎县","比如县","聂荣县","安多县","申扎县","班戈县","巴青县","尼玛县"],n:"那曲地区"},{a:["贡嘎县","扎囊县","乃东县","桑日县","琼结县","曲松县","措美县","洛扎县","加查县","隆子县","错那县","浪卡子县"],n:"山南地区"},{a:["昌都县","江达县","贡觉县","类乌齐县","丁青县","察雅县","八宿县","左贡县","芒康县","洛隆县","边坝县"],n:"昌都地区"},{a:["聂拉木县","昂仁县","日喀则市","南木林县","江孜县","定日县","萨迦县 ","拉孜县","谢通门县","白朗县","仁布县","康马县","定结县","仲巴县","亚东县","吉隆县","萨嘎县","岗巴县"],n:"日喀则地区"},{a:["噶尔县","普兰县","札达县 ","日土县","革吉县","改则县","措勤县"],n:"阿里地区"},{a:["林芝县","工布江达县","米林县","墨脱县","波密县","察隅县","朗县"],n:"林芝地区"},{a:["城关区","林周县","当雄县","尼木县","曲水县","堆龙德庆县","达孜县","墨竹工卡县"],n:"拉萨市"}]},{n:"陕西",c:[{a:["新城区","雁塔区","未央区","长安区","灞桥区","碑林区","莲湖区","临潼区","阎良区","西安武警工程学院","高陵县","蓝田县","户县","周至县"],n:"西安市"},{a:["印台区","宜君县","王益区","耀州区"],n:"铜川市"},{a:["渭滨区","金台区","岐山县","太白县","凤翔县","陇县","麟游县","千阳县","扶风县","凤县","眉县","陈仓区"],n:"宝鸡市"},{a:["秦都区","渭城区","兴平市","礼泉县","泾阳县","永寿县","三原县","彬县","旬邑县","长武县","乾县","武功县","淳化县","杨陵区"],n:"咸阳市"},{a:["韩城市","华阴市","蒲城县","华县","潼关县","大荔县","澄城县","合阳县","白水县","富平县","临渭区"],n:"渭南市"},{a:["宝塔区","安塞县","洛川县","子长县","黄陵县","延长县","宜川县","延川县","甘泉县","富县","志丹县","黄龙县","吴起县"],n:"延安市"},{a:["经济开发区南区","汉台区","南郑县","城固县","洋县","佛坪县","留坝县","镇巴县","西乡县","勉县","略阳县","宁强县"],n:"汉中市"},{a:["清涧县","绥德县","佳县","神木县","府谷县","子洲县","横山县","米脂县","吴堡县","定边县","榆阳区","靖边县"],n:"榆林市"},{a:["商州区","镇安县","山阳县","洛南县","商南县","丹凤县","柞水县"],n:"商洛市"},{a:["汉滨区","紫阳县","岚皋县","旬阳县","镇坪县","平利县","宁陕县","汉阴县","石泉县","白河县"],n:"安康市"}]},{n:"甘肃",c:[{a:["合作市","夏河县","碌曲县","舟曲县","玛曲县","迭部县","临潭县","卓尼县"],n:"甘南州"},{a:["岷县","安定区","通渭县","临洮县","漳县","渭源县","陇西县"],n:"定西市"},{a:["临夏县","康乐县","永靖县","和政县","东乡族自治县","积石山县","临夏市","广河县"],n:"临夏州"},{a:["七里河区","安宁区","城关区","西固区","红古区","永登县","榆中县","皋兰县"],n:"兰州市"},{a:["永昌县","金川区"],n:"金昌市"},{a:["白银区","平川区","靖远县","景泰县","会宁县"],n:"白银市"},{a:["麦积区","秦州区","甘谷县","武山县","清水县","秦安县","张家川县"],n:"天水市"},{a:["长城区","镜铁区","雄关区"],n:"嘉峪关市"},{a:["静宁县","崆峒区","华亭县","崇信县","泾川县","灵台县","庄浪县"],n:"平凉市"},{a:["庆城县","西峰区","镇原县","合水县","华池县","环县","宁县","正宁县"],n:"庆阳市"},{a:["成县","礼县","康县","武都区","文县","两当县","徽县","宕昌县","西和县"],n:"陇南市"},{a:["凉州区","古浪县","天祝县","民勤县"],n:"武威市"},{a:["甘州区","山丹县","临泽县","高台县","肃南县","民乐县"],n:"张掖市"},{a:["金塔县","阿克塞县","肃北县","瓜州县","肃州区","玉门市","敦煌市"],n:"酒泉市"}]},{n:"青海",c:[{a:["湟中县","湟源县","大通县","城中区","城东区","城西区","城北区"],n:"西宁市"},{a:["平安县","乐都县","民和县","互助县","化隆县","循化县"],n:"海东地区"},{a:["海晏县","祁连县","刚察县","门源县"],n:"海北州"},{a:["尖扎县","同仁县","泽库县","河南县"],n:"黄南州"},{a:["共和县","同德县","贵德县","兴海县","贵南县"],n:"海南州"},{a:["玛沁县","甘德县","达日县","班玛县","久治县","玛多县"],n:"果洛州"},{a:["玉树县","称多县","囊谦县","杂多县","治多县","曲麻莱县"],n:"玉树州"},{a:["德令哈市","乌兰县","天峻县","都兰县","大柴旦行委","冷湖行委","茫崖行委","格尔木市"],n:"海西州"}]},{n:"宁夏",c:[{a:["灵武市","永宁县","贺兰县","兴庆区","金凤区","西夏区"],n:"银川市"},{a:["平罗县","惠农区","大武口区"],n:"石嘴山市"},{a:["青铜峡市","同心县","盐池县","红寺堡开发区","利通区"],n:"吴忠市"},{a:["西吉县","隆德县","泾源县","彭阳县","原州区"],n:"固原市"},{a:["中宁县","海原县","沙坡头区"],n:"中卫市"}]},{n:"新疆",c:[{a:["铁门关市"],n:"铁门关市"},{a:["五家渠市"],n:"五家渠市"},{a:["阿拉尔市"],n:"阿拉尔市"},{a:["图木舒克市"],n:"图木舒克市"},{a:["天山区","头屯河区","达坂城区","米东区","新市区","沙依巴克区","水磨沟区","乌鲁木齐县"],n:"乌鲁木齐市"},{a:["克拉玛依区","独山子区","乌尔禾区","白碱滩区"],n:"克拉玛依市"},{a:["石河子市"],n:"石河子市"},{a:["吐鲁番市","托克逊县","鄯善县"],n:"吐鲁番地区"},{a:["哈密市","巴里坤县","伊吾县"],n:"哈密地区"},{a:["和田县","和田市","墨玉县","洛浦县","策勒县","于田县","民丰县","皮山县"],n:"和田地区"},{a:["阿克苏市","温宿县","沙雅县","拜城县","阿瓦提县","库车县","柯坪县","新和县","乌什县"],n:"阿克苏地区"},{a:["喀什市","巴楚县","泽普县","伽师县","叶城县","岳普湖县","疏附县","疏勒县","英吉沙县","麦盖提县","莎车县","塔什库尔干县"],n:"喀什地区"},{a:["阿图什市","阿合奇县","乌恰县","阿克陶县"],n:"克孜勒苏州"},{a:["库尔勒市","尉犁县","和静县","博湖县","和硕县","轮台县","若羌县","且末县","焉耆县"],n:"巴音郭楞州"},{a:["昌吉市","阜康市","奇台县","玛纳斯县","吉木萨尔县","呼图壁县","木垒县"],n:"昌吉州"},{a:["阿拉山口市","博乐市","精河县","温泉县"],n:"博尔塔拉州"},{a:["伊宁县","伊宁市","特克斯县","尼勒克县","昭苏县","新源县","霍城县","察布查尔县","巩留县","奎屯市"],n:"伊犁州"},{a:["塔城市","乌苏市","额敏县","裕民县","沙湾县","托里县","和布克赛尔县"],n:"塔城地区"},{a:["北屯市","阿勒泰市","富蕴县","青河县","吉木乃县","布尔津县","福海县","哈巴河县"],n:"阿勒泰地区"}]},{n:"台湾",c:[{a:["台湾市区内"],n:"台湾"}]},{n:"钓鱼岛",c:[{a:[],n:"钓鱼岛"}]},{n:"港澳",c:[{a:["中西区","东区","九龙城区","观塘区","深水埗区","湾仔区","黄大仙区","油尖旺区","离岛区","葵青区","北区","西贡区","沙田区","屯门区","大埔区","荃湾区","元朗区","香港","九龙","新界"],n:"香港特别行政区"},{a:["澳门特别行政区","澳门半岛","凼仔","路凼城","路环"],n:"澳门特别行政区"}]}];e=s,i="function"==typeof e?e.call(a,t,a,n):e,!(void 0!==i&&(n.exports=i))}()}})}); \ No newline at end of file diff --git a/dist/lib.px/countdown/index.js b/dist/lib.px/countdown/index.js index 5ff50a1c..ec5fbaf5 100644 --- a/dist/lib.px/countdown/index.js +++ b/dist/lib.px/countdown/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var r=n(53),i=o(r);e.CountDown=i.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var u=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];u[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},53:function(t,e,n){var o=n(1)(n(190),n(131),null,null);t.exports=o.exports},131:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("span",{domProps:{innerHTML:t._s(t.str)}}),t._v(" "),t.showTpl?n("span",{ref:"tpl"},[t._t("default")],2):t._e()])},staticRenderFns:[]}},190:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var o=function(t){return t<=0?"00":t<10?"0"+t:t},r=["d","h","m","s"];return r.forEach(function(t){var r=o(n[t]).toString().split("");e=e.replace("{%"+t+"}",o(n[t])),e=e.replace("{%"+t+"0}",0!=~~r[0]?r[0]:""),e=e.replace("{%"+t+"1}",~~r[r.length-2]),e=e.replace("{%"+t+"2}",~~r[r.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var r=n(55),i=o(r);e.CountDown=i.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var u=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];u[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},55:function(t,e,n){var o=n(1)(n(197),n(129),null,null);t.exports=o.exports},129:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("span",{domProps:{innerHTML:t._s(t.str)}}),t._v(" "),t.showTpl?n("span",{ref:"tpl"},[t._t("default")],2):t._e()])},staticRenderFns:[]}},197:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var o=function(t){return t<=0?"00":t<10?"0"+t:t},r=["d","h","m","s"];return r.forEach(function(t){var r=o(n[t]).toString().split("");e=e.replace("{%"+t+"}",o(n[t])),e=e.replace("{%"+t+"0}",0!=~~r[0]?r[0]:""),e=e.replace("{%"+t+"1}",~~r[r.length-2]),e=e.replace("{%"+t+"2}",~~r[r.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/countup/index.js b/dist/lib.px/countup/index.js index df7dc38b..f731aafd 100644 --- a/dist/lib.px/countup/index.js +++ b/dist/lib.px/countup/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():t.ydui=n()}(this,function(){return function(t){function n(a){if(e[a])return e[a].exports;var i=e[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var e={};return n.m=t,n.c=e,n.p="/dist/",n(0)}({0:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.CountUp=void 0;var i=e(54),o=a(i);n.CountUp=o.default},1:function(t,n){t.exports=function(t,n,e,a){var i,o=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),a){var s=u.computed||(u.computed={});Object.keys(a).forEach(function(t){var n=a[t];s[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},54:function(t,n,e){var a=e(1)(e(191),e(128),null,null);t.exports=a.exports},128:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("span")},staticRenderFns:[]}},191:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(234),o=a(i);n.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var n=this;t&&this.instance.start(function(){"function"==typeof n.callback&&n.callback(n.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var n={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new o.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,n),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},234:function(t,n,e){var a,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(o,r){a=r,i="function"==typeof a?a.call(n,e,n,t):a,!(void 0!==i&&(t.exports=i))}(void 0,function(t,n,e){var a=function(t,n,e,a,i,r){for(var u=0,s=["webkit","moz","ms","o"],l=0;lc.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,a||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*Number(i)||2e3,c.formatNumber=function(t){t=t.toFixed(c.decimals),t+="";var n,e,a,i;if(n=t.split("."),e=n[0],a=n.length>1?c.options.decimal+n[1]:"",i=/(\d+)(\d{3})/,c.options.useGrouping)for(;i.test(e);)e=e.replace(i,"$1"+c.options.separator+"$2");return c.options.prefix+e+a+c.options.suffix},c.easeOutExpo=function(t,n,e,a){return e*(-Math.pow(2,-10*t/a)+1)*1024/1023+n},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.printValue=function(t){var n=c.formattingFn(t);"INPUT"===c.d.tagName?this.d.value=n:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=n:this.d.innerHTML=n},c.count=function(t){c.startTime||(c.startTime=t),c.timestamp=t;var n=t-c.startTime;c.remaining=c.duration-n,c.options.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(n,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(n,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.frameVal=c.startVal-(c.startVal-c.endVal)*(n/c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(n/c.duration),c.countDown?c.frameVal=c.frameValc.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),nc.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return a})}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():t.ydui=n()}(this,function(){return function(t){function n(a){if(e[a])return e[a].exports;var i=e[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var e={};return n.m=t,n.c=e,n.p="/dist/",n(0)}({0:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.CountUp=void 0;var i=e(56),o=a(i);n.CountUp=o.default},1:function(t,n){t.exports=function(t,n,e,a){var i,o=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),a){var s=u.computed||(u.computed={});Object.keys(a).forEach(function(t){var n=a[t];s[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},56:function(t,n,e){var a=e(1)(e(198),e(117),null,null);t.exports=a.exports},117:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("span")},staticRenderFns:[]}},198:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(243),o=a(i);n.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var n=this;t&&this.instance.start(function(){"function"==typeof n.callback&&n.callback(n.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var n={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new o.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,n),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},243:function(t,n,e){var a,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(o,r){a=r,i="function"==typeof a?a.call(n,e,n,t):a,!(void 0!==i&&(t.exports=i))}(void 0,function(t,n,e){var a=function(t,n,e,a,i,r){for(var u=0,s=["webkit","moz","ms","o"],l=0;lc.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,a||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*Number(i)||2e3,c.formatNumber=function(t){t=t.toFixed(c.decimals),t+="";var n,e,a,i;if(n=t.split("."),e=n[0],a=n.length>1?c.options.decimal+n[1]:"",i=/(\d+)(\d{3})/,c.options.useGrouping)for(;i.test(e);)e=e.replace(i,"$1"+c.options.separator+"$2");return c.options.prefix+e+a+c.options.suffix},c.easeOutExpo=function(t,n,e,a){return e*(-Math.pow(2,-10*t/a)+1)*1024/1023+n},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.printValue=function(t){var n=c.formattingFn(t);"INPUT"===c.d.tagName?this.d.value=n:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=n:this.d.innerHTML=n},c.count=function(t){c.startTime||(c.startTime=t),c.timestamp=t;var n=t-c.startTime;c.remaining=c.duration-n,c.options.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(n,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(n,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.frameVal=c.startVal-(c.startVal-c.endVal)*(n/c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(n/c.duration),c.countDown?c.frameVal=c.frameValc.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),nc.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return a})}})}); \ No newline at end of file diff --git a/dist/lib.px/datetime/index.js b/dist/lib.px/datetime/index.js new file mode 100644 index 00000000..77f83210 --- /dev/null +++ b/dist/lib.px/datetime/index.js @@ -0,0 +1,2 @@ +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.ydui=t(require("vue")):e.ydui=t(e.Vue)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateTime=void 0;var a=n(57),i=r(a);t.DateTime=i.default},1:function(e,t){e.exports=function(e,t,n,r){var a,i=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(a=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:a,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],a=0;a=0&&a0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,a){if(n!==r){var i=n+a>r?r:n+a;n>r&&(i=n-a1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),o=Math.ceil(i/a*50);t(n,r,o)};t.pageScroll=n,t.isIOS=r,t.isColor=a,t.getScrollview=i,t.checkInview=o,t.addClass=u,t.removeClass=l,t.scrollTop=c},8:function(t,n){t.exports=e},14:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDateTimeString:function(e){return/^\d{4}((\.|-|\/)(0[1-9]|1[0-2]))((\.|-|\/)(0[1-9]|[12][0-9]|3[0-1]))( ([01][0-9]|2[0-3]):([012345][0-9]))?$/.test(e)},isTimeString:function(e){return/^([01][0-9]|2[0-3]):([012345][0-9])$/.test(e)},mentStr:function(e){return(100+~~e+"").substr(1,2)},getYearItems:function(e){var t=[],n=new Date,r=n.getFullYear()-10,a=n.getFullYear()+10;for(0!=e.startYear&&(r=~~e.startYear),0!=e.endYear&&(a=~~e.endYear),a-1?i=31:1==a&&(i=r%100==0?r%400==0?29:28:r%4==0?29:28),e.endDate){var o=new Date(e.endDate.replace(/-/g,"/"));o.getMonth()+1==e.currentMonth&&o.getFullYear()==e.currentYear&&o.getDate()a{height:43px;padding:0 30px;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#555}.datetime-head>a:last-child{color:#0bb20c}.datetime-content{position:relative;width:100%;height:266px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datetime-item{font-size:16px;height:100%;position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.datetime-item-content>span{width:100%;display:block;height:38px;line-height:38px;text-align:center}.datetime-item-box{height:100%}.datetime-indicator,.datetime-mask{pointer-events:none;position:absolute;left:0;top:0;height:100%;width:100%}.datetime-mask{z-index:3;-webkit-transform:translateZ(0);transform:translateZ(0);background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 114px;background-repeat:no-repeat}.datetime-indicator{z-index:4;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.datetime-indicator>span{display:block;width:100%;height:38px;position:relative}.datetime-indicator>span:after{top:0;border-top:1px solid #d9d9d9}.datetime-indicator>span:after,.datetime-indicator>span:before{content:"";position:absolute;z-index:0;left:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-indicator>span:before{bottom:0;border-bottom:1px solid #d9d9d9}',""])},57:function(e,t,n){n(182);var r=n(1)(n(199),n(152),null,null);e.exports=r.exports},58:function(e,t,n){var r=n(1)(n(200),n(109),null,null);e.exports=r.exports},109:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-datetime",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-datetime",class:e.show?"datetime-active":""},[n("div",{staticClass:"datetime-head"},[n("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]),e._v(" "),n("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.setValue(t)}}},[e._v("确定")])]),e._v(" "),n("div",{staticClass:"datetime-content"},[e._l(e.columns,function(t){return n("div",{staticClass:"datetime-item"},[n("div",{ref:"Component_"+t,refInFor:!0,staticClass:"datetime-item-box"},[n("div",{ref:"Content_"+t,refInFor:!0,staticClass:"datetime-item-content"},e._l(e.items[t],function(t){return n("span",{attrs:{"data-value":t.value},domProps:{innerHTML:e._s(t.name)}})}))])])}),e._v(" "),n("div",{staticClass:"datetime-mask"}),e._v(" "),e._m(0)],2)])])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datetime-indicator"},[n("span")])}]}},152:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datetime-input",on:{click:function(t){t.stopPropagation(),e.open(t)}}},[e._v(e._s(e.value))])},staticRenderFns:[]}},182:function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("014d62c4",r,!0)},199:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(8),i=r(a),o=n(14),s=r(o),u=n(58),l=r(u);t.default={name:"yd-datetime",data:function(){return{picker:null,currentValue:this.value}},props:{readonly:{type:Boolean,default:!1},type:{type:String,validator:function(e){return["datetime","date","time"].indexOf(e)>-1},default:"datetime"},startDate:{type:String,validator:function(e){return!e||s.default.isDateTimeString(e)}},endDate:{type:String,validator:function(e){return!e||s.default.isDateTimeString(e)}},startYear:{validator:function(e){return/^\d{4}|0$/.test(e)},default:0},endYear:{validator:function(e){return/^\d{4}|0$/.test(e)},default:0},startHour:{validator:function(e){return/^(0|[1-9]|1[0-9]|2[0-3])?$/.test(e)},default:0},endHour:{validator:function(e){return/^([1-9]|1[0-9]|2[0-3])?$/.test(e)},default:23},yearFormat:{type:String,default:"{value}年"},monthFormat:{type:String,default:"{value}月"},dayFormat:{type:String,default:"{value}日"},hourFormat:{type:String,default:"{value}时"},minuteFormat:{type:String,default:"{value}分"},value:{type:String,validator:function(e){return!e||(s.default.isDateTimeString(e)||s.default.isTimeString(e))}}},watch:{value:function(e){this.currentValue!=e&&this.render()},startDate:function(){this.render()},endDate:function(){this.render()}},methods:{open:function(){this.readonly||this.picker.open()},close:function(){this.picker.close()},removeElement:function(){this.picker&&this.picker.$el&&document.body.removeChild(this.picker.$el)},render:function(){var e=this;this.removeElement();var t=i.default.extend(l.default),n=this._props;n.parentEL=this.$el,this.picker=new t({el:document.createElement("div"),data:n}),document.body.appendChild(this.picker.$el),this.picker.$on("pickerConfirm",function(t){e.currentValue=t,e.$emit("input",t)})}},mounted:function(){this.render()},beforeDestroy:function(){this.removeElement()}}},200:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(245),i=r(a),o=n(14),s=r(o),u=n(5);t.default={data:function(){return{value:"",show:!1,parentEL:null,columns:[],scroller:[],type:"",items:{Year:[],Month:[],Day:[],Hour:[],Minute:[]},scrolling:{Year:!1,Month:!1,Day:!1,Hour:!1,Minute:!1},readonly:!1,currentYear:"",currentMonth:"",currentDay:"",currentHour:"",currentMinute:"",currentValue:"",yearFormat:"{value}年",monthFormat:"{value}月",dayFormat:"{value}日",hourFormat:"{value}时",minuteFormat:"{value}分",startYear:0,endYear:0,startHour:0,endHour:23}},watch:{currentYear:function(e){this.setMonths(e)},currentMonth:function(e){this.setDays(e)},currentDay:function(e){this.setHours(e)},currentHour:function(e){this.setMinutes(e)}},methods:{init:function(){var e=this,t=e.currentValue=e.value.replace(/-/g,"/");if(e.startDate&&new Date(t).getTime()new Date(e.endDate).getTime()&&(t=e.currentValue=e.endDate),"time"!==e.type){var n=e.items.Year=s.default.getYearItems({format:e.yearFormat,startDate:e.startDate,endDate:e.endDate,startYear:e.startYear,endYear:e.endYear}),r=s.default.getMonthItems({format:e.monthFormat,currentYear:e.currentYear,startDate:e.startDate,endDate:e.endDate}),a=s.default.getDateItems({format:e.dayFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,startDate:e.startDate,endDate:e.endDate});if(t){var i=new Date(t);e.currentYear=i.getFullYear(),e.inDatas(n,e.currentYear)||(e.currentYear=n[0].value),e.currentMonth=s.default.mentStr(i.getMonth()+1),e.inDatas(r,e.currentMonth)||(e.currentMonth=r[0].value),e.currentDay=s.default.mentStr(i.getDate()),e.inDatas(a,e.currentDay)||(e.currentDay=a[0].value)}else e.currentYear=n[0].value,e.currentMonth=r[0].value,e.currentDay=a[0].value}if("datetime"===e.type||"time"===e.type){var o=s.default.getHourItems({format:e.hourFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:e.currentDay,startDate:e.startDate,endDate:e.endDate,startHour:e.startHour,endHour:e.endHour}),u=s.default.getMinuteItems({format:e.minuteFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:e.currentDay,currentHour:e.currentHour,startDate:e.startDate,endDate:e.endDate});if("time"===e.type&&(e.items.Hour=o),t){if(s.default.isDateTimeString(t)){var l=new Date(t);e.currentHour=s.default.mentStr(l.getHours()),e.currentMinute=s.default.mentStr(l.getMinutes())}else{var c=t.split(":");e.currentHour=s.default.mentStr(c[0]),e.currentMinute=s.default.mentStr(c[1])}e.inDatas(o,e.currentHour)||(e.currentHour=o[0].value),e.inDatas(u,e.currentMinute)||(e.currentMinute=u[0].value)}else e.currentHour=o[0].value,e.currentMinute=u[0].value}"datetime"===e.type?e.columns=["Year","Month","Day","Hour","Minute"]:"date"===e.type?e.columns=["Year","Month","Day"]:e.columns=["Hour","Minute"]},render:function(){var e=this;e.columns.forEach(function(t){var n=e.$refs["Component_"+t][0],r=e.$refs["Content_"+t][0];e.scroller[t]=new i.default(n,r,{itemHeight:38,onSelect:function(n){e["current"+t]=n,e.scrolling[t]=!1},callback:function(n,a){a&&(e.scrolling[t]=!0),r.style.webkitTransform="translate3d(0, "+-n+"px, 0)"}}),e.scroller[t].setDimensions(n.clientHeight,r.offsetHeight,e.items[t].length),e.scroller[t].select(e["current"+t],!1),e.scrolling[t]=!1}),e.setValue()},setMonths:function(e){var t=this,n=t.items.Month=s.default.getMonthItems({format:t.monthFormat,currentYear:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Month",n,function(){t.setDays(t.currentMonth)})},setDays:function(e){var t=this,n=t.items.Day=s.default.getDateItems({format:t.dayFormat,currentYear:t.currentYear,currentMonth:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Day",n,function(){t.setHours(t.currentDay)})},setHours:function(e){var t=this,n=t.items.Hour=s.default.getHourItems({format:t.hourFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:e,startDate:t.startDate,endDate:t.endDate,startHour:t.startHour,endHour:t.endHour});t.scrolloToPosition("Hour",n,function(){t.setMinutes(t.currentHour)})},setMinutes:function(e){var t=this,n=t.items.Minute=s.default.getMinuteItems({format:t.minuteFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:t.currentDay,currentHour:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Minute",n)},scrolloToPosition:function(e,t,n){var r=this,a=r.scroller[e];a&&(a.setDimensions(r.$refs["Component_"+e][0].clientHeight,r.$refs["Content_"+e][0].offsetHeight,t.length),setTimeout(function(){var i=r.inDatas(t,r["current"+e]);r.scrolling[e]||a.select(i?r["current"+e]:t[0].value,!1),"function"==typeof n&&n()},0))},setValue:function(){var e="";e="datetime"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay+" "+this.currentHour+":"+this.currentMinute:"date"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay:this.currentHour+":"+this.currentMinute,this.currentValue=e,this.$emit("pickerConfirm",e),this.close()},inDatas:function(e,t){var n=!1;return e.forEach(function(e){e.value==t&&(n=!0)}),n},open:function(){this.readonly||(this.show=!0,u.isIOS&&(u.pageScroll.lock(),(0,u.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")))},close:function(){this.show=!1,u.isIOS&&(u.pageScroll.unlock(),(0,u.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}},created:function(){this.init()},mounted:function(){this.scrollView=(0,u.getScrollview)(this.parentEL),this.$nextTick(this.render)},beforeDestroy:function(){var e=this;this.columns.forEach(function(t){e.scroller[t]=null})}}},244:function(e,t){"use strict";var n=Date.now||function(){return+new Date},r={},a=1,i=60,o=1e3;e.exports={requestAnimationFrame:function(){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame,t=!!e;if(e&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(e.toString())&&(t=!1),t)return function(t,n){e(t,n)};var n=60,r={},a=0,i=1,o=null,s=+new Date;return function(e,t){var u=i++;return r[u]=e,a++,null===o&&(o=setInterval(function(){var e=+new Date,t=r;r={},a=0;for(var n in t)t.hasOwnProperty(n)&&(t[n](e),s=e);e-s>2500&&(clearInterval(o),o=null)},1e3/n)),u}}(),stop:function(e){var t=null!=r[e];return t&&(r[e]=null),t},isRunning:function(e){return null!=r[e]},start:function e(t,s,u,l,c,d){var f=this,e=n(),m=e,_=0,p=0,h=a++;if(d||(d=document.body),h%20===0){var v={};for(var g in r)v[g]=!0;r=v}var D=function a(v){var g=v!==!0,D=n();if(!r[h]||s&&!s(h))return r[h]=null,void(u&&u(i-p/((D-e)/o),h,!1));if(g)for(var w=Math.round((D-m)/(o/i))-1,b=0;b1&&(_=1));var y=c?c(_):_;t(y,D,g)!==!1&&1!==_||!g?g&&(m=D,f.requestAnimationFrame(a,d)):(r[h]=null,u&&u(i-p/((D-e)/o),h,1===_||null==l))};return r[h]=!0,f.requestAnimationFrame(D,d),h}}},245:function(e,t,n){"use strict";var r=n(244),a=function(e,t,n){var r=this;if(e){n=n||{},r.options={onSelect:function(){},itemHeight:38};for(var a in n)void 0!==n[a]&&(r.options[a]=n[a]);r.__content=t,r.__component=e,r.__itemHeight=r.options.itemHeight;var i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),o={start:i?"touchstart":"mousedown",move:i?"touchmove":"mousemove",end:i?"touchend":"mouseup"};e.addEventListener(o.start,function(e){e.target.tagName.match(/input|textarea|select/i)||(e.preventDefault(),r.__doTouchStart(e,e.timeStamp))},!1),e.addEventListener(o.move,function(e){r.__doTouchMove(e,e.timeStamp)},!1),e.addEventListener(o.end,function(e){r.__doTouchEnd(e.timeStamp)},!1)}},i={value:null,__prevValue:null,__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientTop:0,__clientHeight:0,__contentHeight:0,__itemHeight:0,__scrollTop:0,__minScrollTop:0,__maxScrollTop:0,__scheduledTop:0,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollTop:null,__maxDecelerationScrollTop:null,__decelerationVelocityY:null,setDimensions:function(e,t,n){var r=this;r.__clientHeight=e,r.__contentHeight=t;var a=Math.round(r.__clientHeight/r.__itemHeight);r.__minScrollTop=-r.__itemHeight*(a/2),r.__maxScrollTop=r.__minScrollTop+n*r.__itemHeight-.1},selectByIndex:function(e,t){var n=this;e<0||e>n.__content.childElementCount-1||(n.__scrollTop=n.__minScrollTop+e*n.__itemHeight,n.scrollTo(n.__scrollTop,t),n.__selectItem(n.__content.children[e]))},select:function(e,t){for(var n=this,r=n.__content.children,a=0,i=r.length;af||cf?f:d)}u.length>40&&u.splice(0,20),u.push(c,t),r.__publish(c)}else{var m=0,_=5,p=Math.abs(s-r.__initialTouchTop);r.__enableScrollY=p>=m,u.push(r.__scrollTop,t),r.__isDragging=r.__enableScrollY&&p>=_,r.__isDragging&&(r.__interruptedAnimation=!1)}r.__lastTouchTop=s,r.__lastTouchMove=t,r.__lastScale=n}},__doTouchEnd:function(e){var t=this;if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(t.__isTracking){if(t.__isTracking=!1,t.__isDragging&&(t.__isDragging=!1,t.__isSingleTouch&&e-t.__lastTouchMove<=100)){for(var n=t.__positions,r=n.length-1,a=r,i=r;i>0&&n[i]>t.__lastTouchMove-100;i-=2)a=i;if(a!==r){var o=n[r]-n[a],s=t.__scrollTop-n[a-1];t.__decelerationVelocityY=s/o*(1e3/60);var u=4;Math.abs(t.__decelerationVelocityY)>u&&t.__startDeceleration(e)}}t.__isDecelerating||t.scrollTo(t.__scrollTop),t.__positions.length=0}},__easeOutCubic:function(e){return Math.pow(e-1,3)+1},__easeInOutCubic:function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},__publish:function(e,t){var n=this,a=n.__isAnimating;if(a&&(r.stop(a),n.__isAnimating=!1),t){n.__scheduledTop=e;var i=n.__scrollTop,o=e-i,s=function(e,t,r){n.__scrollTop=i+o*e,n.options.callback&&n.options.callback(n.__scrollTop,n.__isDragging)},u=function(e){return n.__isAnimating===e},l=function(e,t,r){t===n.__isAnimating&&(n.__isAnimating=!1),(n.__didDecelerationComplete||r)&&n.__scrollingComplete()};n.__isAnimating=r.start(s,u,l,t,a?n.__easeOutCubic:n.__easeInOutCubic)}else n.__scheduledTop=n.__scrollTop=e,n.options.callback&&n.options.callback(e,n.__isDragging)},__startDeceleration:function(e){var t=this;t.__minDecelerationScrollTop=t.__minScrollTop,t.__maxDecelerationScrollTop=t.__maxScrollTop;var n=function(e,n,r){t.__stepThroughDeceleration(r)},a=.5,i=function(){var e=Math.abs(t.__decelerationVelocityY)>=a;return e||(t.__didDecelerationComplete=!0),e},o=function(e,n,r){return t.__isDecelerating=!1,t.__scrollTop<=t.__minScrollTop||t.__scrollTop>=t.__maxScrollTop?void t.scrollTo(t.__scrollTop):void(t.__didDecelerationComplete&&t.__scrollingComplete())};t.__isDecelerating=r.start(n,i,o)},__stepThroughDeceleration:function(e){var t=this,n=t.__scrollTop+t.__decelerationVelocityY,r=Math.max(Math.min(t.__maxDecelerationScrollTop,n),t.__minDecelerationScrollTop);r!==n&&(n=r,t.__decelerationVelocityY=0),Math.abs(t.__decelerationVelocityY)<=1?Math.abs(n%t.__itemHeight)<1&&(t.__decelerationVelocityY=0):t.__decelerationVelocityY*=.95,t.__publish(n)}};for(var o in i)a.prototype[o]=i[o];e.exports=a}})}); \ No newline at end of file diff --git a/dist/lib.px/dialog/index.js b/dist/lib.px/dialog/index.js index fd3fcbfa..24fe66c5 100644 --- a/dist/lib.px/dialog/index.js +++ b/dist/lib.px/dialog/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var r=o(235),a=n(r),i=o(236),s=n(i),l=o(239),c=n(l),d=o(238),m=n(d),f=o(237),u=n(f);e.Confirm=s.default,e.Alert=a.default,e.Toast=c.default,e.Notify=m.default,e.Loading=u.default},1:function(t,e){t.exports=function(t,e,o,n){var r,a=t=t||{},i=typeof t.default;"object"!==i&&"function"!==i||(r=t,a=t.default);var s="function"==typeof a?a.options:a;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),o&&(s._scopeId=o),n){var l=s.computed||(s.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:r,exports:a,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var i=[],r=0;r=0&&r0&&a<=o},i=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},s=function(t,e){i(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(i(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(o,n,r){if(o!==n){var a=o+r>n?n:o+r;o>n&&(a=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var a=Math.abs(o-n),i=Math.ceil(a/r*50);e(o,n,i)};e.pageScroll=o,e.isColor=n,e.getScrollview=r,e.checkInview=a,e.addClass=s,e.removeClass=l,e.scrollTop=c},8:function(e,o){e.exports=t},21:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,'.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:14px;font-size:13px;color:#fff;padding:15px 12px;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}',""])},55:function(t,e,o){o(157);var n=o(1)(o(192),o(106),null,null);t.exports=n.exports},56:function(t,e,o){var n=o(1)(o(193),o(138),null,null);t.exports=n.exports},57:function(t,e,o){var n=o(1)(o(194),o(147),null,null);t.exports=n.exports},58:function(t,e,o){var n=o(1)(o(195),o(96),null,null);t.exports=n.exports},59:function(t,e,o){var n=o(1)(o(196),o(110),null,null);t.exports=n.exports},96:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"m-notify",class:t.classes,domProps:{innerHTML:t._s(t.mes)}})},staticRenderFns:[]}},106:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm m-alert"},[o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeAlert(e)}}},[t._v("确定")])])])])},staticRenderFns:[]}},110:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-toast",class:""==t.iconsClass?"toast-none-icon":""},[t.iconsClass?o("div",{class:t.iconsClass}):t._e(),t._v(" "),o("p",{staticClass:"toast-content",domProps:{innerHTML:t._s(t.mes)}})])])},staticRenderFns:[]}},138:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm"},[o("div",{staticClass:"confirm-hd"},[o("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[o("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return o("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},147:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-loading"},[o("div",{staticClass:"loading-icon"}),t._v(" "),o("div",{staticClass:"loading-txt",domProps:{innerHTML:t._s(t.title)}})])])},staticRenderFns:[]}},157:function(t,e,o){var n=o(21);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("6311e53b",n,!0)},192:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},193:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},194:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},195:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},196:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},235:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(55)),l=new s({el:document.createElement("div")});s.prototype.closeAlert=function(){i.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},236:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(56)),l=new s({el:document.createElement("div")});s.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){i.pageScroll.unlock();var o=l.$el;o.parentNode&&o.parentNode.removeChild(o)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},237:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(57)),l=new s({el:document.createElement("div")});s.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),i.pageScroll.lock()},s.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock()},e.default={open:l.open,close:l.close}},238:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=a.default.extend(o(58)),s=new i({el:document.createElement("div")}),l=null,c=!1;i.prototype.closeNotify=function(){s.classes="notify-out",setTimeout(function(){var t=s.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.classes="",s.mes=t.mes,s.timeout=~~t.timeout||5e3,s.callback=t.callback,c||(c=!0,document.body.appendChild(s.$el),s.$el.addEventListener("click",function(){clearTimeout(l),s.closeNotify()}),l=setTimeout(function(){clearTimeout(l),s.closeNotify()},s.timeout))};e.default=d},239:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(59)),l=new s({el:document.createElement("div")});s.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(n){if(o[n])return o[n].exports;var a=o[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var a=o(246),r=n(a),i=o(247),s=n(i),l=o(250),c=n(l),d=o(249),m=n(d),f=o(248),u=n(f);e.Confirm=s.default,e.Alert=r.default,e.Toast=c.default,e.Notify=m.default,e.Loading=u.default},1:function(t,e){t.exports=function(t,e,o,n){var a,r=t=t||{},i=typeof t.default;"object"!==i&&"function"!==i||(a=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),o&&(s._scopeId=o),n){var l=s.computed||(s.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:a,exports:r,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var i=[],a=0;a=0&&a0&&r<=o},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},c=function(t,e){if(s(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},d=function(t){function e(o,n,a){if(o!==n){var r=o+a>n?n:o+a;o>n&&(r=o-a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(o-n),i=Math.ceil(r/a*50);e(o,n,i)};e.pageScroll=o,e.isIOS=n,e.isColor=a,e.getScrollview=r,e.checkInview=i,e.addClass=l,e.removeClass=c,e.scrollTop=d},8:function(e,o){e.exports=t},15:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,'.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:14px;font-size:13px;color:#fff;padding:15px 12px;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}',""])},59:function(t,e,o){o(156);var n=o(1)(o(201),o(100),null,null);t.exports=n.exports},60:function(t,e,o){var n=o(1)(o(202),o(140),null,null);t.exports=n.exports},61:function(t,e,o){var n=o(1)(o(203),o(119),null,null);t.exports=n.exports},62:function(t,e,o){var n=o(1)(o(204),o(131),null,null);t.exports=n.exports},63:function(t,e,o){var n=o(1)(o(205),o(102),null,null);t.exports=n.exports},100:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm m-alert"},[o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeAlert(e)}}},[t._v("确定")])])])])},staticRenderFns:[]}},102:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-toast",class:""==t.iconsClass?"toast-none-icon":""},[t.iconsClass?o("div",{class:t.iconsClass}):t._e(),t._v(" "),o("p",{staticClass:"toast-content",domProps:{innerHTML:t._s(t.mes)}})])])},staticRenderFns:[]}},119:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-loading"},[o("div",{staticClass:"loading-icon"}),t._v(" "),o("div",{staticClass:"loading-txt",domProps:{innerHTML:t._s(t.title)}})])])},staticRenderFns:[]}},131:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"m-notify",class:t.classes,domProps:{innerHTML:t._s(t.mes)}})},staticRenderFns:[]}},140:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm"},[o("div",{staticClass:"confirm-hd"},[o("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[o("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return o("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},156:function(t,e,o){var n=o(15);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("31482a64",n,!0)},201:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},202:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},203:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},204:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},205:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},246:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=o(8),r=n(a),i=o(5),s=r.default.extend(o(59)),l=new s({el:document.createElement("div")});s.prototype.closeAlert=function(){i.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},247:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=o(8),r=n(a),i=o(5),s=r.default.extend(o(60)),l=new s({el:document.createElement("div")});s.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){i.pageScroll.unlock();var o=l.$el;o.parentNode&&o.parentNode.removeChild(o)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},248:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=o(8),r=n(a),i=o(5),s=r.default.extend(o(61)),l=new s({el:document.createElement("div")});s.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),i.pageScroll.lock()},s.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock()},e.default={open:l.open,close:l.close}},249:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=o(8),r=n(a),i=r.default.extend(o(62)),s=new i({el:document.createElement("div")}),l=null,c=!1;i.prototype.closeNotify=function(){s.classes="notify-out",setTimeout(function(){var t=s.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.classes="",s.mes=t.mes,s.timeout=~~t.timeout||5e3,s.callback=t.callback,c||(c=!0,document.body.appendChild(s.$el),s.$el.addEventListener("click",function(){clearTimeout(l),s.closeNotify()}),l=setTimeout(function(){clearTimeout(l),s.closeNotify()},s.timeout))};e.default=d},250:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=o(8),r=n(a),i=o(5),s=r.default.extend(o(63)),l=new s({el:document.createElement("div")});s.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c}})}); \ No newline at end of file diff --git a/dist/lib.px/flexbox/index.js b/dist/lib.px/flexbox/index.js index 3a15d009..df35fc57 100644 --- a/dist/lib.px/flexbox/index.js +++ b/dist/lib.px/flexbox/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlexBoxItem=t.FlexBox=void 0;var o=n(61),i=r(o),s=n(60),a=r(s);t.FlexBox=i.default,t.FlexBoxItem=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var l=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o-1},default:"horizontal"}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlexBoxItem=t.FlexBox=void 0;var o=n(65),i=r(o),s=n(64),a=r(s);t.FlexBox=i.default,t.FlexBoxItem=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var l=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o-1},default:"horizontal"}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/grids/index.js b/dist/lib.px/grids/index.js index d7921bd2..fb8787ea 100644 --- a/dist/lib.px/grids/index.js +++ b/dist/lib.px/grids/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var o=r[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var o=r(63),n=i(o),s=r(62),d=i(s);e.GridsItem=n.default,e.GridsGroup=d.default},1:function(t,e){t.exports=function(t,e,r,i){var o,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,n=t.default);var d="function"==typeof n?n.options:n;if(e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),r&&(d._scopeId=r),i){var a=d.computed||(d.computed={});Object.keys(i).forEach(function(t){var e=i[t];a[t]=function(){return e}})}return{esModule:o,exports:n,options:d}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(i.parts.length=r.parts.length)}else{for(var s=[],o=0;o-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},200:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var o=r[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var o=r(67),n=i(o),s=r(66),d=i(s);e.GridsItem=n.default,e.GridsGroup=d.default},1:function(t,e){t.exports=function(t,e,r,i){var o,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,n=t.default);var d="function"==typeof n?n.options:n;if(e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),r&&(d._scopeId=r),i){var a=d.computed||(d.computed={});Object.keys(i).forEach(function(t){var e=i[t];a[t]=function(){return e}})}return{esModule:o,exports:n,options:d}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(i.parts.length=r.parts.length)}else{for(var s=[],o=0;o-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},209:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/icons/index.js b/dist/lib.px/icons/index.js index fe3d13a2..eb70ff81 100644 --- a/dist/lib.px/icons/index.js +++ b/dist/lib.px/icons/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():e.ydui=n()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="/dist/",n(0)}({0:function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Icons=void 0;var r=t(64),i=o(r);n.Icons=i.default},1:function(e,n){e.exports=function(e,n,t,o){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns),t&&(s._scopeId=t),o){var a=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var n=o[e];a[e]=function(){return n}})}return{esModule:r,exports:i,options:s}}},2:function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;nt.parts.length&&(o.parts.length=t.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=t},c=function(e,n){return n=n||"",0!=n.replace(/\s/g,"").length&&new RegExp(" "+n+" ").test(" "+e.className+" ")},s=function(e,n){c(e,n)||(e.className=""==e.className?n:e.className+" "+n)},a=function(e,n){if(c(e,n)){for(var t=" "+e.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+n+" ")>=0;)t=t.replace(" "+n+" "," ");e.className=t.replace(/^\s+|\s+$/g,"")}},f=function(e){function n(t,o,r){if(t!==o){var i=t+r>o?o:t+r;t>o&&(i=t-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(t-o),c=Math.ceil(i/r*50);n(t,o,c)};n.pageScroll=t,n.isColor=o,n.getScrollview=r,n.checkInview=i,n.addClass=s,n.removeClass=a,n.scrollTop=f},20:function(e,n,t){n=e.exports=t(2)(),n.push([e.id,'@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\\E636"}.icon-discount:before{content:"\\E633"}.icon-verifycode:before{content:"\\E632"}.icon-star-outline:before{content:"\\E630"}.icon-star:before{content:"\\E631"}.icon-weibo:before{content:"\\E62F"}.icon-download:before{content:"\\E62E"}.icon-next:before{content:"\\E62D"}.icon-home-outline:before{content:"\\E62C"}.icon-home:before{content:"\\E63D"}.icon-weixin:before{content:"\\E629"}.icon-refresh:before{content:"\\E628"}.icon-tencent-weibo:before{content:"\\E627"}.icon-search:before{content:"\\E626"}.icon-time:before{content:"\\E625"}.icon-prev:before{content:"\\E624"}.icon-like-outline:before{content:"\\E639"}.icon-like:before{content:"\\E63A"}.icon-setting:before{content:"\\E623"}.icon-delete:before{content:"\\E622"}.icon-sortlist:before{content:"\\E621"}.icon-sortlarger:before{content:"\\E620"}.icon-sortlargest:before{content:"\\E61F"}.icon-qq:before{content:"\\E62A"}.icon-more:before{content:"\\E618"}.icon-shopcart-outline:before{content:"\\E61A"}.icon-shopcart:before{content:"\\E619"}.icon-checkoff:before{content:"\\E617"}.icon-bad:before{content:"\\E61C"}.icon-video:before{content:"\\E61D"}.icon-clock:before{content:"\\E61E"}.icon-ucenter-outline:before{content:"\\E616"}.icon-ucenter:before{content:"\\E615"}.icon-warn-outline:before{content:"\\E613"}.icon-warn:before{content:"\\E614"}.icon-share1:before{content:"\\E610"}.icon-share2:before{content:"\\E60E"}.icon-share3:before{content:"\\E60D"}.icon-feedback:before{content:"\\E60F"}.icon-type:before{content:"\\E60C"}.icon-discover:before{content:"\\E60B"}.icon-good:before{content:"\\E61B"}.icon-shield-outline:before{content:"\\E608"}.icon-shield:before{content:"\\E60A"}.icon-qrscan:before{content:"\\E609"}.icon-location:before{content:"\\E607"}.icon-phone1:before{content:"\\E606"}.icon-phone2:before{content:"\\E637"}.icon-phone3:before{content:"\\E63B"}.icon-error-outline:before{content:"\\E602"}.icon-error:before{content:"\\E603"}.icon-play:before{content:"\\E601"}.icon-compose:before{content:"\\E600"}.icon-question:before{content:"\\E62B"}.icon-order:before{content:"\\E638"}',""])},64:function(e,n,t){t(156);var o=t(1)(t(201),t(105),null,null);e.exports=o.exports},105:function(e,n){e.exports={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("i",{class:e.classes,style:e.styles})},staticRenderFns:[]}},156:function(e,n,t){var o=t(20);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);t(3)("85792646",o,!0)},201:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(5);n.default={name:"yd-icon",props:{name:String,color:{validator:function(e){return!e||(0,o.isColor)(e)}},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"30px"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var e={};return this.size&&(e.fontSize=this.size),this.color&&(e.color=this.color),e}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():e.ydui=n()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="/dist/",n(0)}({0:function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Icons=void 0;var r=t(68),i=o(r);n.Icons=i.default},1:function(e,n){e.exports=function(e,n,t,o){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns),t&&(s._scopeId=t),o){var a=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var n=o[e];a[e]=function(){return n}})}return{esModule:r,exports:i,options:s}}},2:function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;nt.parts.length&&(o.parts.length=t.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=t},s=function(e,n){return n=n||"",0!=n.replace(/\s/g,"").length&&new RegExp(" "+n+" ").test(" "+e.className+" ")},a=function(e,n){s(e,n)||(e.className=""==e.className?n:e.className+" "+n)},f=function(e,n){if(s(e,n)){for(var t=" "+e.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+n+" ")>=0;)t=t.replace(" "+n+" "," ");e.className=t.replace(/^\s+|\s+$/g,"")}},u=function(e){function n(t,o,r){if(t!==o){var i=t+r>o?o:t+r;t>o&&(i=t-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(t-o),c=Math.ceil(i/r*50);n(t,o,c)};n.pageScroll=t,n.isIOS=o,n.isColor=r,n.getScrollview=i,n.checkInview=c,n.addClass=a,n.removeClass=f,n.scrollTop=u},33:function(e,n,t){n=e.exports=t(2)(),n.push([e.id,'@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\\E636"}.icon-discount:before{content:"\\E633"}.icon-verifycode:before{content:"\\E632"}.icon-star-outline:before{content:"\\E630"}.icon-star:before{content:"\\E631"}.icon-weibo:before{content:"\\E62F"}.icon-download:before{content:"\\E62E"}.icon-next:before{content:"\\E62D"}.icon-home-outline:before{content:"\\E62C"}.icon-home:before{content:"\\E63D"}.icon-weixin:before{content:"\\E629"}.icon-refresh:before{content:"\\E628"}.icon-tencent-weibo:before{content:"\\E627"}.icon-search:before{content:"\\E626"}.icon-time:before{content:"\\E625"}.icon-prev:before{content:"\\E624"}.icon-like-outline:before{content:"\\E639"}.icon-like:before{content:"\\E63A"}.icon-setting:before{content:"\\E623"}.icon-delete:before{content:"\\E622"}.icon-sortlist:before{content:"\\E621"}.icon-sortlarger:before{content:"\\E620"}.icon-sortlargest:before{content:"\\E61F"}.icon-qq:before{content:"\\E62A"}.icon-more:before{content:"\\E618"}.icon-shopcart-outline:before{content:"\\E61A"}.icon-shopcart:before{content:"\\E619"}.icon-checkoff:before{content:"\\E617"}.icon-bad:before{content:"\\E61C"}.icon-video:before{content:"\\E61D"}.icon-clock:before{content:"\\E61E"}.icon-ucenter-outline:before{content:"\\E616"}.icon-ucenter:before{content:"\\E615"}.icon-warn-outline:before{content:"\\E613"}.icon-warn:before{content:"\\E614"}.icon-share1:before{content:"\\E610"}.icon-share2:before{content:"\\E60E"}.icon-share3:before{content:"\\E60D"}.icon-feedback:before{content:"\\E60F"}.icon-type:before{content:"\\E60C"}.icon-discover:before{content:"\\E60B"}.icon-good:before{content:"\\E61B"}.icon-shield-outline:before{content:"\\E608"}.icon-shield:before{content:"\\E60A"}.icon-qrscan:before{content:"\\E609"}.icon-location:before{content:"\\E607"}.icon-phone1:before{content:"\\E606"}.icon-phone2:before{content:"\\E637"}.icon-phone3:before{content:"\\E63B"}.icon-error-outline:before{content:"\\E602"}.icon-error:before{content:"\\E603"}.icon-play:before{content:"\\E601"}.icon-compose:before{content:"\\E600"}.icon-question:before{content:"\\E62B"}.icon-order:before{content:"\\E638"}',""])},68:function(e,n,t){t(174);var o=t(1)(t(210),t(135),null,null);e.exports=o.exports},135:function(e,n){e.exports={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("i",{class:e.classes,style:e.styles})},staticRenderFns:[]}},174:function(e,n,t){var o=t(33);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);t(3)("d84cb86c",o,!0)},210:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(5);n.default={name:"yd-icon",props:{name:String,color:{validator:function(e){return!e||(0,o.isColor)(e)}},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"30px"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var e={};return this.size&&(e.fontSize=this.size),this.color&&(e.color=this.color),e}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/infinitescroll/index.js b/dist/lib.px/infinitescroll/index.js index 3bd340bd..36935a8f 100644 --- a/dist/lib.px/infinitescroll/index.js +++ b/dist/lib.px/infinitescroll/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var o=n(65),s=i(o);e.InfiniteScroll=s.default},1:function(t,e){t.exports=function(t,e,n,i){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var d=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},5:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},o=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},s=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,o=e.getBoundingClientRect().top-i,s=o+e.offsetHeight;return o>=0&&o0&&s<=n},r=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){r(t,e)||(t.className=""==t.className?e:t.className+" "+e)},d=function(t,e){if(r(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(n,i,o){if(n!==i){var s=n+o>i?i:n+o;n>i&&(s=n-o1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var s=Math.abs(n-i),r=Math.ceil(s/o*50);e(n,i,r)};e.pageScroll=n,e.isColor=i,e.getScrollview=o,e.checkInview=s,e.addClass=a,e.removeClass=d,e.scrollTop=c},65:function(t,e,n){var i=n(1)(n(202),n(133),null,null);t.exports=i.exports},133:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},202:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,o=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(o+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var o=n(69),s=i(o);e.InfiniteScroll=s.default},1:function(t,e){t.exports=function(t,e,n,i){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var d=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},5:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),o=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},s=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},r=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,o=e.getBoundingClientRect().top-i,s=o+e.offsetHeight;return o>=0&&o0&&s<=n},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},d=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},c=function(t,e){if(a(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(n,i,o){if(n!==i){var s=n+o>i?i:n+o;n>i&&(s=n-o1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var s=Math.abs(n-i),r=Math.ceil(s/o*50);e(n,i,r)};e.pageScroll=n,e.isIOS=i,e.isColor=o,e.getScrollview=s,e.checkInview=r,e.addClass=d,e.removeClass=c,e.scrollTop=u},69:function(t,e,n){var i=n(1)(n(211),n(148),null,null);t.exports=i.exports},148:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},211:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,o=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(o+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/input/index.js b/dist/lib.px/input/index.js index ba4fe0ec..2246411f 100644 --- a/dist/lib.px/input/index.js +++ b/dist/lib.px/input/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Input=void 0;var a=r(66),o=n(a);t.Input=o.default},1:function(e,t){e.exports=function(e,t,r,n){var a,o=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(a=e,o=e.default);var u="function"==typeof o?o.options:o;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns),r&&(u._scopeId=r),n){var l=u.computed||(u.computed={});Object.keys(n).forEach(function(e){var t=n[e];l[e]=function(){return t}})}return{esModule:a,exports:o,options:u}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],a=0;ainput{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\\E60C";color:#b2b2b2;font-size:15px}.m-input>.input-error:after{content:"\\E614";color:#f43530;font-size:20px}.m-input>.input-warn:after{content:"\\E614";color:#10aeff;font-size:20px}.m-input>.input-success:after{content:"\\E601";color:#09bb07;font-size:20px}.m-input>.input-password:after{content:"\\E77E";color:#b2b2b2;font-size:22px}.m-input>.input-password-open:after{content:"\\E77D";color:#434343}',""])},66:function(e,t,r){r(155);var n=r(1)(r(203),r(104),null,null);e.exports=n.exports},104:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-input"},["mobile"==e.regex?[r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",pattern:"[0-9]*",name:e.name,maxlength:"11",placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}})]:["password"==e.type?[e.showPwd?e._e():r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"password",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),e.showPwd?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]:e._e(),e._v(" "),"text"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"number"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"number",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:[e.blurHandler,function(t){e.$forceUpdate()}],input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"email",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"datetime-local"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"datetime-local",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"date"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"date",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"time"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"time",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()],e._v(" "),r("a",{directives:[{name:"show",rawName:"v-show",value:e.showClearIcon&&e.showClear&&!e.isempty,expression:"showClearIcon && showClear && !isempty"}],staticClass:"input-clear",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:e.clearInput}}),e._v(" "),e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&e.iserror&&e.initError,expression:"(!!regex || !!min || !!max || required) && iserror && initError"}],staticClass:"input-error"}):e._e(),e._v(" "),e.showRequiredIcon&&e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(e.required||!!e.min&&e.min>0)&&e.isempty&&e.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):e._e(),e._v(" "),e.showSuccessIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&!e.iserror&&""!=e.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):e._e(),e._v(" "),"password"==e.type?r("a",{staticClass:"input-password",class:e.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(t){t.stopPropagation(),e.showPwd=!e.showPwd}}}):e._e()],2)},staticRenderFns:[]}},155:function(e,t,r){var n=r(19);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("65b40fc6",n,!0)},203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(e){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(e)>-1},default:"text"},max:{validator:function(e){return/^\d*$/.test(e)}},min:{validator:function(e){return/^\d*$/.test(e)}}},watch:{value:function(e){this.currentValue=e,this.emitInput()},currentValue:function(e){this.isempty=!e,this.validatorInput(e,!0),this.emitInput()},required:function(e){this.required=e,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(e,t){if(this.initError=t,t&&(this.showWarn=!1),this.required&&""==e)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&e.lengthr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],a=0;ainput{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\\E60C";color:#b2b2b2;font-size:15px}.m-input>.input-error:after{content:"\\E614";color:#f43530;font-size:20px}.m-input>.input-warn:after{content:"\\E614";color:#10aeff;font-size:20px}.m-input>.input-success:after{content:"\\E601";color:#09bb07;font-size:20px}.m-input>.input-password:after{content:"\\E77E";color:#b2b2b2;font-size:22px}.m-input>.input-password-open:after{content:"\\E77D";color:#434343}',""])},70:function(e,t,r){r(173);var n=r(1)(r(212),r(134),null,null);e.exports=n.exports},134:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-input"},["mobile"==e.regex?[r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",pattern:"[0-9]*",name:e.name,maxlength:"11",placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}})]:["password"==e.type?[e.showPwd?e._e():r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"password",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),e.showPwd?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]:e._e(),e._v(" "),"text"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"number"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"number",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:[e.blurHandler,function(t){e.$forceUpdate()}],input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"email",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"datetime-local"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"datetime-local",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"date"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"date",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"time"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"time",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()],e._v(" "),r("a",{directives:[{name:"show",rawName:"v-show",value:e.showClearIcon&&e.showClear&&!e.isempty,expression:"showClearIcon && showClear && !isempty"}],staticClass:"input-clear",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:e.clearInput}}),e._v(" "),e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&e.iserror&&e.initError,expression:"(!!regex || !!min || !!max || required) && iserror && initError"}],staticClass:"input-error"}):e._e(),e._v(" "),e.showRequiredIcon&&e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(e.required||!!e.min&&e.min>0)&&e.isempty&&e.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):e._e(),e._v(" "),e.showSuccessIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&!e.iserror&&""!=e.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):e._e(),e._v(" "),"password"==e.type?r("a",{staticClass:"input-password",class:e.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(t){t.stopPropagation(),e.showPwd=!e.showPwd}}}):e._e()],2)},staticRenderFns:[]}},173:function(e,t,r){var n=r(32);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("d173c02a",n,!0)},212:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(e){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(e)>-1},default:"text"},max:{validator:function(e){return/^\d*$/.test(e)}},min:{validator:function(e){return/^\d*$/.test(e)}}},watch:{value:function(e){this.currentValue=e,this.emitInput()},currentValue:function(e){this.isempty=!e,this.validatorInput(e,!0),this.emitInput()},required:function(e){this.required=e,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(e,t){if(this.initError=t,t&&(this.showWarn=!1),this.required&&""==e)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&e.lengtho.parts.length&&(r.parts.length=o.parts.length)}else{for(var s=[],n=0;n=0&&n0&&i<=o},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(o,r,n){if(o!==r){var i=o+n>r?r:o+n;o>r&&(i=o-n1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-r),s=Math.ceil(i/n*50);t(o,r,s)};t.pageScroll=o,t.isColor=r,t.getScrollview=n,t.checkInview=i,t.addClass=a,t.removeClass=l,t.scrollTop=c},39:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:15px;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:10px 0 6px;color:#222;margin-bottom:1px;font-size:12px;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\\E60A";font-size:13px;color:#ff2424;line-height:1;margin-right:3px}.keyboard-numbers{font-size:24px;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:50px;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:15px;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\\E609";font-size:30px}.keyboard-head{height:40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:15px;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:50px}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px 40px;color:red;overflow:hidden;height:25px;line-height:25px;font-size:12px;text-align:left}',""])},67:function(e,t,o){o(175);var r=o(1)(o(204),o(141),null,null);e.exports=r.exports},141:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),o("div",{staticClass:"m-keyboard",class:e.show?"keyboard-active":""},[e._m(0),e._v(" "),o("div",{staticClass:"keyboard-error"},[e._v(e._s(e.error))]),e._v(" "),o("ul",{staticClass:"keyboard-password"},e._l(6,function(t){return o("li",[o("i",{directives:[{name:"show",rawName:"v-show",value:e.nums.length>=t,expression:"nums.length >= n"}]})])})),e._v(" "),o("div",{staticClass:"keyboard-content"},[o("div",{staticClass:"keyboard-title"},[e._v(e._s(e.title))]),e._v(" "),o("ul",{staticClass:"keyboard-numbers"},e._l(4,function(t){return o("li",[4==t?o("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]):e._e(),e._v(" "),e.isMobile?e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return o("a",{attrs:{href:"javascript:;"},on:{touchstart:function(o){o.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}):e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return o("a",{attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}),e._v(" "),4==t?o("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.backspace(t)}}}):e._e()],2)}))])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"keyboard-head"},[o("strong",[e._v("输入数字密码")])])}]}},175:function(e,t,o){var r=o(39);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);o(3)("679fb356",r,!0)},204:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(5);t.default={name:"yd-keyboard",data:function(){return{nums:"",show:this.value,error:"",numsArr:[1,2,3,4,5,6,7,8,9,0]}},props:{inputDone:{type:Function},disorder:{type:Boolean,default:!1},value:{type:Boolean,default:!1},title:{type:String,default:"YDUI安全键盘"}},watch:{value:function(e){this.isIOS&&(e?(r.pageScroll.lock(),(0,r.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(r.pageScroll.unlock(),(0,r.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.nums="",this.error="",this.show=e,this.show&&this.disorder&&(this.numsArr=this.upsetOrder(this.numsArr))},nums:function(e){e.length>=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(e)}},methods:{init:function(){var e=this;this.scrollView=(0,r.getScrollview)(this.$el);var t=window.navigator&&window.navigator.userAgent||"";this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),this.isMobile=!!t.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$on("ydui.keyboard.error",function(t){e.setError(t)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(e){this.error="",this.nums.length>=6||(this.nums+=e)},backspace:function(){var e=this.nums;e&&(this.nums=e.substr(0,e.length-1))},upsetOrder:function(e){for(var t=Math.floor,o=Math.random,r=e.length,n=void 0,i=void 0,s=void 0,a=t(r/2)+1;a--;)n=t(o()*r),i=t(o()*r),n!==i&&(s=e[n],e[n]=e[i],e[i]=s);return e},close:function(){this.isIOS&&(0,r.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(e){this.error=e,this.nums=""}},created:function(){this.init()},destroyed:function(){this.close()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="/dist/",t(0)}({0:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KeyBoard=void 0;var n=o(71),i=r(n);t.KeyBoard=i.default},1:function(e,t){e.exports=function(e,t,o,r){var n,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(n=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),o&&(a._scopeId=o),r){var l=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:n,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;to.parts.length&&(r.parts.length=o.parts.length)}else{for(var s=[],n=0;n=0&&n0&&i<=o},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(a(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(o,r,n){if(o!==r){var i=o+n>r?r:o+n;o>r&&(i=o-n1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-r),s=Math.ceil(i/n*50);t(o,r,s)};t.pageScroll=o,t.isIOS=r,t.isColor=n,t.getScrollview=i,t.checkInview=s,t.addClass=l,t.removeClass=c,t.scrollTop=d},37:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:15px;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:10px 0 6px;color:#222;margin-bottom:1px;font-size:12px;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\\E60A";font-size:13px;color:#ff2424;line-height:1;margin-right:3px}.keyboard-numbers{font-size:24px;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:50px;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:15px;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\\E609";font-size:30px}.keyboard-head{height:40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:15px;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:50px}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px 40px;color:red;overflow:hidden;height:25px;line-height:25px;font-size:12px;text-align:left}',""])},71:function(e,t,o){o(178);var r=o(1)(o(213),o(145),null,null);e.exports=r.exports},145:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),o("div",{staticClass:"m-keyboard",class:e.show?"keyboard-active":""},[e._m(0),e._v(" "),o("div",{staticClass:"keyboard-error"},[e._v(e._s(e.error))]),e._v(" "),o("ul",{staticClass:"keyboard-password"},e._l(6,function(t){return o("li",[o("i",{directives:[{name:"show",rawName:"v-show",value:e.nums.length>=t,expression:"nums.length >= n"}]})])})),e._v(" "),o("div",{staticClass:"keyboard-content"},[o("div",{staticClass:"keyboard-title"},[e._v(e._s(e.title))]),e._v(" "),o("ul",{staticClass:"keyboard-numbers"},e._l(4,function(t){return o("li",[4==t?o("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]):e._e(),e._v(" "),e.isMobile?e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return o("a",{attrs:{href:"javascript:;"},on:{touchstart:function(o){o.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}):e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return o("a",{attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}),e._v(" "),4==t?o("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.backspace(t)}}}):e._e()],2)}))])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"keyboard-head"},[o("strong",[e._v("输入数字密码")])])}]}},178:function(e,t,o){var r=o(37);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);o(3)("29e44ca2",r,!0)},213:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(5);t.default={name:"yd-keyboard",data:function(){return{nums:"",show:this.value,error:"",numsArr:[1,2,3,4,5,6,7,8,9,0]}},props:{inputDone:{type:Function},disorder:{type:Boolean,default:!1},value:{type:Boolean,default:!1},title:{type:String,default:"YDUI安全键盘"}},watch:{value:function(e){r.isIOS&&(e?(r.pageScroll.lock(),(0,r.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(r.pageScroll.unlock(),(0,r.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.nums="",this.error="",this.show=e,this.show&&this.disorder&&(this.numsArr=this.upsetOrder(this.numsArr))},nums:function(e){e.length>=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(e)}},methods:{init:function(){var e=this;this.scrollView=(0,r.getScrollview)(this.$el),this.$on("ydui.keyboard.error",function(t){e.setError(t)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(e){this.error="",this.nums.length>=6||(this.nums+=e)},backspace:function(){var e=this.nums;e&&(this.nums=e.substr(0,e.length-1))},upsetOrder:function(e){for(var t=Math.floor,o=Math.random,r=e.length,n=void 0,i=void 0,s=void 0,a=t(r/2)+1;a--;)n=t(o()*r),i=t(o()*r),n!==i&&(s=e[n],e[n]=e[i],e[i]=s);return e},close:function(){r.isIOS&&(0,r.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(e){this.error=e,this.nums=""}},created:function(){var e=window.navigator&&window.navigator.userAgent||"";this.isMobile=!!e.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$nextTick(this.init)},destroyed:function(){this.close()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/layout/index.js b/dist/lib.px/layout/index.js index a7615bdf..8110c8a0 100644 --- a/dist/lib.px/layout/index.js +++ b/dist/lib.px/layout/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;var o=r(68),i=n(o);t.Layout=i.default},1:function(e,t){e.exports=function(e,t,r,n){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},a=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=c,t.removeClass=a,t.scrollTop=u},69:function(e,t,n){var o=n(1)(n(206),n(107),null,null);e.exports=o.exports},107:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("img",{attrs:{src:e.defaultSrc,datasrc:e.src}})},staticRenderFns:[]}},206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,o.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,o.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LazyImg=void 0;var i=n(73),r=o(i);t.LazyImg=r.default},1:function(e,t){e.exports=function(e,t,n,o){var i,r=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,r=e.default);var a="function"==typeof r?r.options:r;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:i,exports:r,options:a}}},5:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){var e=function(e){e.preventDefault(),e.stopPropagation()},t=!1;return{lock:function(){t||(t=!0,document.addEventListener("touchmove",e))},unlock:function(){t=!1,document.removeEventListener("touchmove",e)}}}(),o=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i=function(e){var t=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,o=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return t.test(e)||n.test(e)||o.test(e)},r=function(e){for(var t=e;t&&"HTML"!==t.tagName&&"BODY"!==t.tagName&&1===t.nodeType;){var n=document.defaultView.getComputedStyle(t).overflowY;if("scroll"===n||"auto"===n)return t;t=t.parentNode}return window},s=function(e,t){var n=e==window?document.body.offsetHeight:e.offsetHeight,o=e===window?0:e.getBoundingClientRect().top,i=t.getBoundingClientRect().top-o,r=i+t.offsetHeight;return i>=0&&i0&&r<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,o,i){if(n!==o){var r=n+i>o?o:n+i;n>o&&(r=n-i1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var r=Math.abs(n-o),s=Math.ceil(r/i*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=i,t.getScrollview=r,t.checkInview=s,t.addClass=c,t.removeClass=u,t.scrollTop=d},73:function(e,t,n){var o=n(1)(n(215),n(133),null,null);e.exports=o.exports},133:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("img",{attrs:{src:e.defaultSrc,datasrc:e.src}})},staticRenderFns:[]}},215:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,o.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,o.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/list/index.js b/dist/lib.px/list/index.js index 02db11f6..df0f5a91 100644 --- a/dist/lib.px/list/index.js +++ b/dist/lib.px/list/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(f){if(i[f])return i[f].exports;var n=i[f]={exports:{},id:f,loaded:!1};return t[f].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var n=i(72),s=f(n),r=i(70),o=f(r),l=i(71),a=f(l);e.ListTheme=s.default,e.ListItem=o.default,e.ListOther=a.default},1:function(t,e){t.exports=function(t,e,i,f){var n,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(n=t,s=t.default);var o="function"==typeof s?s.options:s;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),f){var l=o.computed||(o.computed={});Object.keys(f).forEach(function(t){var e=f[t];l[t]=function(){return e}})}return{esModule:n,exports:s,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(f.parts.length=i.parts.length)}else{for(var r=[],n=0;nem{font-size:11px}.list-del-price{padding-left:3px;font-size:10px;margin-left:1px;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:5px}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:5px}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item{width:50%;float:left;padding:10px;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:5px}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:100px;padding:50px 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:19px;max-height:67px}.list-theme4 .list-item .list-mes .list-other{padding-top:5px}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:10px 10px 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:10px 0 7px}.list-theme5 .list-item .list-mes .list-other{padding-top:3px}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:10px;text-align:center;font-size:13px;color:#999;height:33px;line-height:33px}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:12px;text-align:center;padding:12px 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:114px;height:114px;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\\E60D";font-family:YDUI-INLAY;font-size:44px;text-align:center;color:#fff;display:block;padding-top:18px}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:14px;display:block;padding-top:10px}',""])},70:function(t,e,i){var f=i(1)(i(207),i(119),null,null);t.exports=f.exports},71:function(t,e,i){var f=i(1)(i(208),i(129),null,null);t.exports=f.exports},72:function(t,e,i){i(162);var f=i(1)(i(209),i(120),null,null);t.exports=f.exports},119:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return"link"==t.type?i("router-link",{staticClass:"list-item",attrs:{to:t.href}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)]):i("a",{staticClass:"list-item",attrs:{href:t.href||"javascript:;"}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)])},staticRenderFns:[]}},120:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("article",{staticClass:"m-list",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},129:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-other"},[t._t("default")],2)},staticRenderFns:[]}},162:function(t,e,i){var f=i(26);"string"==typeof f&&(f=[[t.id,f,""]]),f.locals&&(t.exports=f.locals);i(3)("ff24bd66",f,!0)},207:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},208:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},209:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var f=i[n]={exports:{},id:n,loaded:!1};return t[n].call(f.exports,f,f.exports,e),f.loaded=!0,f.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var f=i(76),s=n(f),r=i(74),o=n(r),l=i(75),a=n(l);e.ListTheme=s.default,e.ListItem=o.default,e.ListOther=a.default},1:function(t,e){t.exports=function(t,e,i,n){var f,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(f=t,s=t.default);var o="function"==typeof s?s.options:s;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:f,exports:s,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var r=[],f=0;fem{font-size:11px}.list-del-price{padding-left:3px;font-size:10px;margin-left:1px;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:5px}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:5px}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item{width:50%;float:left;padding:10px;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:5px}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:100px;padding:50px 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:19px;max-height:67px}.list-theme4 .list-item .list-mes .list-other{padding-top:5px}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:10px 10px 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:10px 0 7px}.list-theme5 .list-item .list-mes .list-other{padding-top:3px}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:10px;text-align:center;font-size:13px;color:#999;height:33px;line-height:33px}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:12px;text-align:center;padding:12px 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:114px;height:114px;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\\E60D";font-family:YDUI-INLAY;font-size:44px;text-align:center;color:#fff;display:block;padding-top:18px}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:14px;display:block;padding-top:10px}',""])},74:function(t,e,i){var n=i(1)(i(216),i(122),null,null);t.exports=n.exports},75:function(t,e,i){var n=i(1)(i(217),i(115),null,null);t.exports=n.exports},76:function(t,e,i){i(169);var n=i(1)(i(218),i(126),null,null);t.exports=n.exports},115:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-other"},[t._t("default")],2)},staticRenderFns:[]}},122:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return"link"==t.type?i("router-link",{staticClass:"list-item",attrs:{to:t.href}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)]):i("a",{staticClass:"list-item",attrs:{href:t.href||"javascript:;"}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)])},staticRenderFns:[]}},126:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("article",{staticClass:"m-list",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},169:function(t,e,i){var n=i(28);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("b395e0d8",n,!0)},216:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},217:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},218:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/navbar/index.js b/dist/lib.px/navbar/index.js index bbfbfec9..4ee0f7ad 100644 --- a/dist/lib.px/navbar/index.js +++ b/dist/lib.px/navbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NavBarNextIcon=t.NavBarBackIcon=t.NavBar=void 0;var o=n(75),i=r(o),a=n(73),s=r(a),l=n(74),c=r(l);t.NavBar=i.default,t.NavBarBackIcon=s.default,t.NavBarNextIcon=c.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=l,t.scrollTop=c},37:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-navbar{height:45px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 10px;font-size:15px;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:45px;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:45px;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:18px;color:inherit}.back-icon:before{content:"\\E607"}.next-icon:before{content:"\\E608"}',""])},73:function(e,t,n){var r=n(1)(n(210),n(108),null,null);e.exports=r.exports},74:function(e,t,n){var r=n(1)(n(211),n(118),null,null);e.exports=r.exports},75:function(e,t,n){n(173);var r=n(1)(n(212),n(136),null,null);e.exports=r.exports},108:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("i",{staticClass:"back-icon",style:{color:e.color}}),e._t("default")],2)},staticRenderFns:[]}},118:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("default"),n("i",{staticClass:"next-icon",style:{color:e.color}})],2)},staticRenderFns:[]}},136:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:e.classes,style:{backgroundColor:e.bgcolor,height:e.height}},[n("div",{staticClass:"navbar-item"},[e._t("left")],2),e._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:e.height}},[n("div",{staticClass:"navbar-center"},[e._t("center",[n("span",{staticClass:"center-title",style:{color:e.color,fontSize:e.fontsize}},[e._v(e._s(e.title))])])],2)]),e._v(" "),n("div",{staticClass:"navbar-item"},[e._t("right")],2)])},staticRenderFns:[]}},173:function(e,t,n){var r=n(37);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("3d52b35a",r,!0)},210:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-back-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},211:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-next-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},212:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"20px"},height:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"45px"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NavBarNextIcon=t.NavBarBackIcon=t.NavBar=void 0;var o=n(79),i=r(o),a=n(77),s=r(a),l=n(78),c=r(l);t.NavBar=i.default,t.NavBarBackIcon=s.default,t.NavBarNextIcon=c.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=l,t.removeClass=c,t.scrollTop=d},34:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-navbar{height:45px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 10px;font-size:15px;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:45px;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:45px;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:18px;color:inherit}.back-icon:before{content:"\\E607"}.next-icon:before{content:"\\E608"}',""])},77:function(e,t,n){var r=n(1)(n(219),n(144),null,null);e.exports=r.exports},78:function(e,t,n){var r=n(1)(n(220),n(139),null,null);e.exports=r.exports},79:function(e,t,n){n(175);var r=n(1)(n(221),n(136),null,null);e.exports=r.exports},136:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:e.classes,style:{backgroundColor:e.bgcolor,height:e.height}},[n("div",{staticClass:"navbar-item"},[e._t("left")],2),e._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:e.height}},[n("div",{staticClass:"navbar-center"},[e._t("center",[n("span",{staticClass:"center-title",style:{color:e.color,fontSize:e.fontsize}},[e._v(e._s(e.title))])])],2)]),e._v(" "),n("div",{staticClass:"navbar-item"},[e._t("right")],2)])},staticRenderFns:[]}},139:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("default"),n("i",{staticClass:"next-icon",style:{color:e.color}})],2)},staticRenderFns:[]}},144:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("i",{staticClass:"back-icon",style:{color:e.color}}),e._t("default")],2)},staticRenderFns:[]}},175:function(e,t,n){var r=n(34);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("6285e9b4",r,!0)},219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-back-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},220:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-next-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"20px"},height:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"45px"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/popup/index.js b/dist/lib.px/popup/index.js index bc8b7748..261d6e99 100644 --- a/dist/lib.px/popup/index.js +++ b/dist/lib.px/popup/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var i=o(76),r=n(i);e.Popup=r.default},1:function(t,e){t.exports=function(t,e,o,n){var i,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,r=t.default);var a="function"==typeof r?r.options:r;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),o&&(a._scopeId=o),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=o},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(s(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},p=function(t){function e(o,n,i){if(o!==n){var r=o+i>n?n:o+i;o>n&&(r=o-i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(o-n),s=Math.ceil(r/i*50);e(o,n,s)};e.pageScroll=o,e.isColor=n,e.getScrollview=i,e.checkInview=r,e.addClass=a,e.removeClass=l,e.scrollTop=p},41:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,".m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}",""])},76:function(t,e,o){o(177);var n=o(1)(o(213),o(148),null,null);t.exports=n.exports},148:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"m-popup-mask",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),o("div",{ref:"box",class:t.classes(),style:t.styles()},[t.$slots.top&&"center"!=t.position?o("div",{ref:"top"},[t._t("top")],2):t._e(),t._v(" "),o("div",{staticClass:"popup-content"},[o("div",{ref:"content"},[t._t("default")],2)]),t._v(" "),t.$slots.bottom&&"center"!=t.position?o("div",{ref:"bottom"},[t._t("bottom")],2):t._e()])])},staticRenderFns:[]}},177:function(t,e,o){var n=o(41);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("2ad0b356",n,!0)},213:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(5);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(this.isIOS){var e=this.$refs,o=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,i=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,r=o+e.content.offsetHeight+i;t?(n.pageScroll.lock(),r>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,n.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(n.pageScroll.unlock(),r>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){this.isIOS&&(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,n.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var i=o(80),r=n(i);e.Popup=r.default},1:function(t,e){t.exports=function(t,e,o,n){var i,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,r=t.default);var a="function"==typeof r?r.options:r;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),o&&(a._scopeId=o),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=o},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},p=function(t,e){if(a(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(o,n,i){if(o!==n){var r=o+i>n?n:o+i;o>n&&(r=o-i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(o-n),s=Math.ceil(r/i*50);e(o,n,s)};e.pageScroll=o,e.isIOS=n,e.isColor=i,e.getScrollview=r,e.checkInview=s,e.addClass=l,e.removeClass=p,e.scrollTop=u},23:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,".m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}",""])},80:function(t,e,o){o(164);var n=o(1)(o(222),o(118),null,null);t.exports=n.exports},118:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"m-popup-mask",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),o("div",{ref:"box",class:t.classes(),style:t.styles()},[t.$slots.top&&"center"!=t.position?o("div",{ref:"top"},[t._t("top")],2):t._e(),t._v(" "),o("div",{staticClass:"popup-content"},[o("div",{ref:"content"},[t._t("default")],2)]),t._v(" "),t.$slots.bottom&&"center"!=t.position?o("div",{ref:"bottom"},[t._t("bottom")],2):t._e()])])},staticRenderFns:[]}},164:function(t,e,o){var n=o(23);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("6ea1a566",n,!0)},222:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(5);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(n.isIOS){var e=this.$refs,o=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,i=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,r=o+e.content.offsetHeight+i;t?(n.pageScroll.lock(),r>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,n.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(n.pageScroll.unlock(),r>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){n.isIOS&&(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,n.getScrollview)(this.$el)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/progressbar/index.js b/dist/lib.px/progressbar/index.js index 2397146d..50fbb6db 100644 --- a/dist/lib.px/progressbar/index.js +++ b/dist/lib.px/progressbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var o=r(77),i=n(o);e.ProgressBar=i.default},1:function(t,e){t.exports=function(t,e,r,n){var o,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:o,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=r},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(s(t,e)){for(var r=" "+t.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+e+" ")>=0;)r=r.replace(" "+e+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}},d=function(t){function e(r,n,o){if(r!==n){var i=r+o>n?n:r+o;r>n&&(i=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(r-n),s=Math.ceil(i/o*50);e(r,n,s)};e.pageScroll=r,e.isColor=n,e.getScrollview=o,e.checkInview=i,e.addClass=a,e.removeClass=l,e.scrollTop=d},36:function(t,e,r){e=t.exports=r(2)(),e.push([t.id,".m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:15px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}",""])},77:function(t,e,r){r(172);var n=r(1)(r(214),r(135),null,null);t.exports=n.exports},135:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-progressbar"},["line"!=t.type?r("div",{staticClass:"progressbar-content"},[t._t("default")],2):t._e(),t._v(" "),r("svg",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],attrs:{viewBox:t.viewBox,preserveAspectRatio:"line"==t.type?"none":""}},[r("path",{attrs:{"fill-opacity":t.fillColor?1:0,d:t.getPathString,fill:t.fillColor,stroke:t.strokeColor,"stroke-width":t.trailWidth}}),t._v(" "),r("path",{ref:"trailPath",style:{strokeDasharray:t.stroke.dasharray,strokeDashoffset:t.stroke.dashoffset},attrs:{"fill-opacity":"0",d:t.getPathString,stroke:t.trailColor,"stroke-width":t.strokeWidth?t.strokeWidth:t.trailWidth}})])])},staticRenderFns:[]}},172:function(t,e,r){var n=r(36);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);r(3)("6ce6fab0",n,!0)},214:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(5);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,n.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,n.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){(0,n.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var o=r(81),i=n(o);e.ProgressBar=i.default},1:function(t,e){t.exports=function(t,e,r,n){var o,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:o,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=r},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},d=function(t,e){if(a(t,e)){for(var r=" "+t.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+e+" ")>=0;)r=r.replace(" "+e+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(r,n,o){if(r!==n){var i=r+o>n?n:r+o;r>n&&(i=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(r-n),s=Math.ceil(i/o*50);e(r,n,s)};e.pageScroll=r,e.isIOS=n,e.isColor=o,e.getScrollview=i,e.checkInview=s,e.addClass=l,e.removeClass=d,e.scrollTop=u},27:function(t,e,r){e=t.exports=r(2)(),e.push([t.id,".m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:15px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}",""])},81:function(t,e,r){r(168);var n=r(1)(r(223),r(124),null,null);t.exports=n.exports},124:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-progressbar"},["line"!=t.type?r("div",{staticClass:"progressbar-content"},[t._t("default")],2):t._e(),t._v(" "),r("svg",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],attrs:{viewBox:t.viewBox,preserveAspectRatio:"line"==t.type?"none":""}},[r("path",{attrs:{"fill-opacity":t.fillColor?1:0,d:t.getPathString,fill:t.fillColor,stroke:t.strokeColor,"stroke-width":t.trailWidth}}),t._v(" "),r("path",{ref:"trailPath",style:{strokeDasharray:t.stroke.dasharray,strokeDashoffset:t.stroke.dashoffset},attrs:{"fill-opacity":"0",d:t.getPathString,stroke:t.trailColor,"stroke-width":t.strokeWidth?t.strokeWidth:t.trailWidth}})])])},staticRenderFns:[]}},168:function(t,e,r){var n=r(27);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);r(3)("6a5df390",n,!0)},223:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(5);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,n.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,n.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){(0,n.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/pullrefresh/index.js b/dist/lib.px/pullrefresh/index.js index 2e51f16a..2e3d5bed 100644 --- a/dist/lib.px/pullrefresh/index.js +++ b/dist/lib.px/pullrefresh/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var o=i(78),s=n(o);e.PullRefresh=s.default},1:function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),i&&(a._scopeId=i),n){var d=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},78:function(t,e,i){var n=i(1)(i(215),i(101),null,null);t.exports=n.exports},101:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{ref:"dragBox"},[t._t("default"),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[i("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?i("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("span",[t._v("下拉更新")])])}]}},215:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",i=window.localStorage;1!=i.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),i.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(i=this.dragTip.distance),this.dragTip.iconRotate=i/.25,this.touches.moveOffset=this.dragTip.translate=i}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,i=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,i.animationTiming="",i.iconOpacity=.5,i.translate=0,i.scale=1,i.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var o=i(82),s=n(o);e.PullRefresh=s.default},1:function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),i&&(a._scopeId=i),n){var d=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},82:function(t,e,i){var n=i(1)(i(224),i(138),null,null);t.exports=n.exports},138:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{ref:"dragBox"},[t._t("default"),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[i("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?i("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("span",[t._v("下拉更新")])])}]}},224:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",i=window.localStorage;1!=i.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),i.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(i=this.dragTip.distance),this.dragTip.iconRotate=i/.25,this.touches.moveOffset=this.dragTip.translate=i}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,i=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,i.animationTiming="",i.iconOpacity=.5,i.translate=0,i.scale=1,i.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/radio/index.js b/dist/lib.px/radio/index.js index c1efe842..71ae91a5 100644 --- a/dist/lib.px/radio/index.js +++ b/dist/lib.px/radio/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.Radio=void 0;var o=n(80),i=r(o),a=n(79),s=r(a);t.Radio=i.default,t.RadioGroup=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var d=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];d[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=d,t.scrollTop=u},40:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}',""])},79:function(e,t,n){n(176);var r=n(1)(n(216),n(146),null,null);e.exports=r.exports},80:function(e,t,n){var r=n(1)(n(217),n(145),null,null);e.exports=r.exports},145:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"m-radio"},[n("input",{attrs:{type:"radio",disabled:e.disabled},domProps:{checked:e.checked},on:{change:e.changeHandler}}),e._v(" "),n("span",{staticClass:"radio-icon",style:[{color:e.$parent.color},e.styles(1)]},[n("i",{style:e.styles(2)})]),e._v(" "),e.$slots.default?n("span",{staticClass:"radio-text"},[e._t("default")],2):n("span",{staticClass:"radio-text"},[e._v(e._s(e.val))])])},staticRenderFns:[]}},146:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default")],2)},staticRenderFns:[]}},176:function(e,t,n){var r=n(40);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("3dcbe2f2",r,!0)},216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-radio"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.checked=e==t.val})},change:function(e){this.currentValue=e,this.updateValue(),this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},217:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(e){this.disabled||(this.checked=e.target.checked,this.$parent.change(this.val))},styles:function(e){return{width:this.$parent.size/e+"px",height:this.$parent.size/e+"px"}}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.Radio=void 0;var o=n(84),i=r(o),a=n(83),s=r(a);t.Radio=i.default,t.RadioGroup=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var d=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];d[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},d=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=d,t.removeClass=u,t.scrollTop=c},40:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}',""])},83:function(e,t,n){n(181);var r=n(1)(n(225),n(150),null,null);e.exports=r.exports},84:function(e,t,n){var r=n(1)(n(226),n(105),null,null);e.exports=r.exports},105:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"m-radio"},[n("input",{attrs:{type:"radio",disabled:e.disabled},domProps:{checked:e.checked},on:{change:e.changeHandler}}),e._v(" "),n("span",{staticClass:"radio-icon",style:[{color:e.$parent.color},e.styles(1)]},[n("i",{style:e.styles(2)})]),e._v(" "),e.$slots.default?n("span",{staticClass:"radio-text"},[e._t("default")],2):n("span",{staticClass:"radio-text"},[e._v(e._s(e.val))])])},staticRenderFns:[]}},150:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default")],2)},staticRenderFns:[]}},181:function(e,t,n){var r=n(40);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("7cc7d30e",r,!0)},225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-radio"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.checked=e==t.val})},change:function(e){this.currentValue=e,this.updateValue(),this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},226:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(e){this.disabled||(this.checked=e.target.checked,this.$parent.change(this.val))},styles:function(e){return{width:this.$parent.size/e+"px",height:this.$parent.size/e+"px"}}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/rate/index.js b/dist/lib.px/rate/index.js index ec4a049e..9bd35689 100644 --- a/dist/lib.px/rate/index.js +++ b/dist/lib.px/rate/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Rate=void 0;var o=n(81),i=r(o);t.Rate=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=u,t.scrollTop=c},14:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\\E631"}.m-rate .rate-text{color:#657180;margin-left:5px;font-size:15px}',""])},81:function(e,t,n){n(150);var r=n(1)(n(218),n(97),null,null);e.exports=r.exports},97:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-rate",style:{fontSize:e.size,color:e.color}},[e._l(~~e.count,function(t){return n("a",{class:e.index>=t?"rate-active":"",style:{color:e.index>=t?e.activeColor:e.color,paddingRight:e.padding},attrs:{href:"javascript:;"},on:{click:function(n){!e.readonly&&e.choose(t)}}})}),e._v(" "),e.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:e._s(e.str)}}):e._e()],2)},staticRenderFns:[]}},150:function(e,t,n){var r=n(14);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("e19399b6",r,!0)},218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)},default:5},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"25px"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#CCC"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FF5D50"},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"3px"}},methods:{choose:function(e){this.index=e,this.$emit("input",e),this.showText&&(this.str=(this.showText[e-1]||"").replace("$",e))}},mounted:function(){var e=this;this.$nextTick(function(){e.choose(e.value)})}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Rate=void 0;var o=n(85),i=r(o);t.Rate=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=u,t.removeClass=c,t.scrollTop=d},38:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\\E631"}.m-rate .rate-text{color:#657180;margin-left:5px;font-size:15px}',""])},85:function(e,t,n){n(179);var r=n(1)(n(227),n(147),null,null);e.exports=r.exports},147:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-rate",style:{fontSize:e.size,color:e.color}},[e._l(~~e.count,function(t){return n("a",{class:e.index>=t?"rate-active":"",style:{color:e.index>=t?e.activeColor:e.color,paddingRight:e.padding},attrs:{href:"javascript:;"},on:{click:function(n){!e.readonly&&e.choose(t)}}})}),e._v(" "),e.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:e._s(e.str)}}):e._e()],2)},staticRenderFns:[]}},179:function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("4c56ec2d",r,!0)},227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)},default:5},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"25px"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#CCC"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FF5D50"},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"3px"}},methods:{choose:function(e){this.index=e,this.$emit("input",e),this.showText&&(this.str=(this.showText[e-1]||"").replace("$",e))}},mounted:function(){var e=this;this.$nextTick(function(){e.choose(e.value)})}}}})}); \ No newline at end of file diff --git a/dist/lib.px/rollnotice/index.js b/dist/lib.px/rollnotice/index.js index 719b91bb..166e1143 100644 --- a/dist/lib.px/rollnotice/index.js +++ b/dist/lib.px/rollnotice/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var r=n(83),o=i(r),s=n(82),a=i(s);e.RollNotice=o.default,e.RollNoticeItem=a.default},1:function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,o=t.default);var a="function"==typeof o?o.options:o;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var l=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:r,exports:o,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(i.parts.length=n.parts.length)}else{for(var s=[],r=0;r-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var r=n(87),o=i(r),s=n(86),a=i(s);e.RollNotice=o.default,e.RollNoticeItem=a.default},1:function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,o=t.default);var a="function"==typeof o?o.options:o;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var l=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:r,exports:o,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(i.parts.length=n.parts.length)}else{for(var s=[],r=0;r-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/scrolltab/index.js b/dist/lib.px/scrolltab/index.js index 8aad995c..8ca80603 100644 --- a/dist/lib.px/scrolltab/index.js +++ b/dist/lib.px/scrolltab/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var o=i(85),r=n(o),s=i(84),l=n(s);e.ScrollTab=r.default,e.ScrollTabPanel=l.default},1:function(t,e){t.exports=function(t,e,i,n){var o,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,r=t.default);var l="function"==typeof r?r.options:r;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),i&&(l._scopeId=i),n){var a=l.computed||(l.computed={});Object.keys(n).forEach(function(t){var e=n[t];a[t]=function(){return e}})}return{esModule:o,exports:r,options:l}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var s=[],o=0;oimg{height:20px;display:inline-block}.scrolltab-title{font-size:15px;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80px}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 12px 12px;position:relative}.scrolltab-content-title{font-size:15px;font-weight:400;color:#555;display:block;padding-bottom:5px;padding-top:16px;margin-bottom:10px;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},84:function(t,e,i){var n=i(1)(i(221),i(111),null,null);t.exports=n.exports},85:function(t,e,i){i(160);var n=i(1)(i(222),i(115),null,null);t.exports=n.exports},111:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"scrolltab-content-item"},[i("strong",{staticClass:"scrolltab-content-title"},[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},115:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"m-scrolltab"},[i("div",{staticClass:"scrolltab-nav"},t._l(t.navList,function(e){return i("a",{staticClass:"scrolltab-item",class:t.activeIndex==e._uid?"scrolltab-active":"",attrs:{href:"javascript:;"},on:{click:function(i){t.moveHandler(e._uid)}}},[i("div",{staticClass:"scrolltab-icon"},[i("i",{class:e.icon})]),t._v(" "),i("div",{staticClass:"scrolltab-title"},[t._v(t._s(e.label))])])})),t._v(" "),i("div",{ref:"scrollView",staticClass:"scrolltab-content"},[t._t("default")],2)])},staticRenderFns:[]}},160:function(t,e,i){var n=i(24);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("27c9f752",n,!0)},221:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},222:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),i=0;e.forEach(function(n){n.active?(t.activeIndex=n._uid,t.moveHandler(n._uid)):(++i,i>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var i=this.getPanels(),n=i.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=n+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),i=e.length,n=this.scrollView,o=n.offsetHeight,r=n.scrollTop,s=e[0].$el.offsetHeight;return r>=s*i-o?void(this.activeIndex=e[i-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var o=i(89),r=n(o),s=i(88),l=n(s);e.ScrollTab=r.default,e.ScrollTabPanel=l.default},1:function(t,e){t.exports=function(t,e,i,n){var o,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,r=t.default);var l="function"==typeof r?r.options:r;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),i&&(l._scopeId=i),n){var a=l.computed||(l.computed={});Object.keys(n).forEach(function(t){var e=n[t];a[t]=function(){return e}})}return{esModule:o,exports:r,options:l}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var s=[],o=0;oimg{height:20px;display:inline-block}.scrolltab-title{font-size:15px;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80px}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 12px 12px;position:relative}.scrolltab-content-title{font-size:15px;font-weight:400;color:#555;display:block;padding-bottom:5px;padding-top:16px;margin-bottom:10px;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},88:function(t,e,i){var n=i(1)(i(230),i(103),null,null);t.exports=n.exports},89:function(t,e,i){i(159);var n=i(1)(i(231),i(108),null,null);t.exports=n.exports},103:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"scrolltab-content-item"},[i("strong",{staticClass:"scrolltab-content-title"},[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},108:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"m-scrolltab"},[i("div",{staticClass:"scrolltab-nav"},t._l(t.navList,function(e){return i("a",{staticClass:"scrolltab-item",class:t.activeIndex==e._uid?"scrolltab-active":"",attrs:{href:"javascript:;"},on:{click:function(i){t.moveHandler(e._uid)}}},[i("div",{staticClass:"scrolltab-icon"},[i("i",{class:e.icon})]),t._v(" "),i("div",{staticClass:"scrolltab-title"},[t._v(t._s(e.label))])])})),t._v(" "),i("div",{ref:"scrollView",staticClass:"scrolltab-content"},[t._t("default")],2)])},staticRenderFns:[]}},159:function(t,e,i){var n=i(18);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("00ac4c1e",n,!0)},230:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},231:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),i=0;e.forEach(function(n){n.active?(t.activeIndex=n._uid,t.moveHandler(n._uid)):(++i,i>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var i=this.getPanels(),n=i.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=n+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),i=e.length,n=this.scrollView,o=n.offsetHeight,r=n.scrollTop,s=e[0].$el.offsetHeight;return r>=s*i-o?void(this.activeIndex=e[i-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/sendcode/index.js b/dist/lib.px/sendcode/index.js index 40a13df0..06b5e0de 100644 --- a/dist/lib.px/sendcode/index.js +++ b/dist/lib.px/sendcode/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SendCode=void 0;var o=n(86),i=r(o);e.SendCode=i.default},1:function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),r){var u=a.computed||(a.computed={});Object.keys(r).forEach(function(t){var e=r[t];u[t]=function(){return e}})}return{esModule:o,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=n},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},u=function(t,e){if(s(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},d=function(t){function e(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(n-r),s=Math.ceil(i/o*50);e(n,r,s)};e.pageScroll=n,e.isColor=r,e.getScrollview=o,e.checkInview=i,e.addClass=a,e.removeClass=u,e.scrollTop=d},9:function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(t,e,n){n(12);var r=n(1)(n(13),n(11),null,null);t.exports=r.exports},11:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{class:t.classes,style:{backgroundColor:t.bgcolor,color:t.color},attrs:{disabled:t.disabled}},[t._t("default")],2)},staticRenderFns:[]}},12:function(t,e,n){var r=n(9);"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);n(3)("48ed7056",r,!0)},13:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5);e.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(t){return["primary","danger","warning","hollow","disabled"].indexOf(t)>-1},default:"primary"},size:{validator:function(t){return["small","large"].indexOf(t)>-1}},bgcolor:{validator:function(t){return!t||(0,r.isColor)(t)}},color:{validator:function(t){return!t||(0,r.isColor)(t)}}},computed:{classes:function(){var t="large"==this.size?"btn-block":"btn",e="btn-"+this.type;return this.disabled&&(e="btn-disabled"),this.bgcolor&&(e=""),t+" "+e}}}},86:function(t,e,n){var r=n(1)(n(223),n(103),null,null);t.exports=r.exports},103:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("yd-button",{class:t.start?"btn-disabled":"",style:{backgroundColor:t.bgcolor,color:t.color},attrs:{size:t.size,type:t.type,disabled:t.start}},[t._v("\n "+t._s(t.tmpStr)+"\n")])},staticRenderFns:[]}},223:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(10),i=r(o);e.default={name:"yd-sendcode",extends:i.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(t){return/^\d*$/.test(t)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var t=this,e=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){e--,t.tmpStr=t.getStr(e),e<=0&&t.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(t){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,t)}},watch:{value:function(t){this.start=t,t&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SendCode=void 0;var o=n(90),i=r(o);e.SendCode=i.default},1:function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,i=t.default);var s="function"==typeof i?i.options:i;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(t){var e=r[t];u[t]=function(){return e}})}return{esModule:o,exports:i,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},u=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},d=function(t,e){if(s(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);e(n,r,a)};e.pageScroll=n,e.isIOS=r,e.isColor=o,e.getScrollview=i,e.checkInview=a,e.addClass=u,e.removeClass=d,e.scrollTop=c},9:function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(t,e,n){n(12);var r=n(1)(n(13),n(11),null,null);t.exports=r.exports},11:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{class:t.classes,style:{backgroundColor:t.bgcolor,color:t.color},attrs:{disabled:t.disabled}},[t._t("default")],2)},staticRenderFns:[]}},12:function(t,e,n){var r=n(9);"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);n(3)("5fb36a6d",r,!0)},13:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5);e.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(t){return["primary","danger","warning","hollow","disabled"].indexOf(t)>-1},default:"primary"},size:{validator:function(t){return["small","large"].indexOf(t)>-1}},bgcolor:{validator:function(t){return!t||(0,r.isColor)(t)}},color:{validator:function(t){return!t||(0,r.isColor)(t)}}},computed:{classes:function(){var t="large"==this.size?"btn-block":"btn",e="btn-"+this.type;return this.disabled&&(e="btn-disabled"),this.bgcolor&&(e=""),t+" "+e}}}},90:function(t,e,n){var r=n(1)(n(232),n(104),null,null);t.exports=r.exports},104:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("yd-button",{class:t.start?"btn-disabled":"",style:{backgroundColor:t.bgcolor,color:t.color},attrs:{size:t.size,type:t.type,disabled:t.start}},[t._v("\n "+t._s(t.tmpStr)+"\n")])},staticRenderFns:[]}},232:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(10),i=r(o);e.default={name:"yd-sendcode",extends:i.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(t){return/^\d*$/.test(t)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var t=this,e=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){e--,t.tmpStr=t.getStr(e),e<=0&&t.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(t){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,t)}},watch:{value:function(t){this.start=t,t&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/slider/index.js b/dist/lib.px/slider/index.js index 95a473d5..acccd9dd 100644 --- a/dist/lib.px/slider/index.js +++ b/dist/lib.px/slider/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var s=i(88),r=n(s),a=i(87),o=n(a);e.Slider=r.default,e.SliderItem=o.default},1:function(t,e){t.exports=function(t,e,i,n){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var o="function"==typeof r?r.options:r;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:s,exports:r,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],s=0;s.slider-pagination-item{margin:2px;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}",""])},87:function(t,e,i){var n=i(1)(i(224),i(109),null,null);t.exports=n.exports},88:function(t,e,i){i(166);var n=i(1)(i(225),i(124),null,null);t.exports=n.exports},109:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-item"},[t._t("default")],2)},staticRenderFns:[]}},124:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"slider",staticClass:"m-slider"},[i("div",{ref:"warpper",staticClass:"slider-wrapper",class:"vertical"==t.direction?"slider-wrapper-vertical":"",style:t.dragStyleObject},[i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.firtstItem)}})],2),t._v(" "),i("div",{staticClass:"slider-pagination",class:"vertical"==t.direction?"slider-pagination-vertical":""},t._l(t.itemNums,function(e,n){return i("span",{staticClass:"slider-pagination-item",class:t.paginationIndex==n?"slider-pagination-item-active":""})}))])},staticRenderFns:[]}},166:function(t,e,i){var n=i(30);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("4fc16742",n,!0)},224:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},225:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,i=(t-1)%e;this.paginationIndex=i<0?e-1:i}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var i=this.itemNums;if(0==this.index)return this.index=i,void this.setTranslate(0,-i*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>i&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var i=t.touches?t.touches[0].clientY:t.clientY,n=t.touches?t.touches[0].clientX:t.clientX,s=180*Math.atan2(Math.abs(i-e.startY),Math.abs(n-e.startX))/Math.PI;if((this.isVertical?90-s>45:s>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var r=e.moveOffset=this.isVertical?i-e.startY:n-e.startX;0!=r&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+r))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,i=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var n=Date.now()-t.touchStartTime;return n>300&&Math.abs(e)<=.5*i?this.setTranslate(this.speed,-this.index*i):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*i)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var s=i(92),r=n(s),a=i(91),o=n(a);e.Slider=r.default,e.SliderItem=o.default},1:function(t,e){t.exports=function(t,e,i,n){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var o="function"==typeof r?r.options:r;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:s,exports:r,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],s=0;s.slider-pagination-item{margin:2px;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}",""])},91:function(t,e,i){var n=i(1)(i(233),i(101),null,null);t.exports=n.exports},92:function(t,e,i){i(167);var n=i(1)(i(234),i(123),null,null);t.exports=n.exports},101:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-item"},[t._t("default")],2)},staticRenderFns:[]}},123:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"slider",staticClass:"m-slider"},[i("div",{ref:"warpper",staticClass:"slider-wrapper",class:"vertical"==t.direction?"slider-wrapper-vertical":"",style:t.dragStyleObject},[i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.firtstItem)}})],2),t._v(" "),i("div",{staticClass:"slider-pagination",class:"vertical"==t.direction?"slider-pagination-vertical":""},t._l(t.itemNums,function(e,n){return i("span",{staticClass:"slider-pagination-item",class:t.paginationIndex==n?"slider-pagination-item-active":""})}))])},staticRenderFns:[]}},167:function(t,e,i){var n=i(26);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("46d1aaf0",n,!0)},233:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},234:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,i=(t-1)%e;this.paginationIndex=i<0?e-1:i}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var i=this.itemNums;if(0==this.index)return this.index=i,void this.setTranslate(0,-i*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>i&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var i=t.touches?t.touches[0].clientY:t.clientY,n=t.touches?t.touches[0].clientX:t.clientX,s=180*Math.atan2(Math.abs(i-e.startY),Math.abs(n-e.startX))/Math.PI;if((this.isVertical?90-s>45:s>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var r=e.moveOffset=this.isVertical?i-e.startY:n-e.startX;0!=r&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+r))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,i=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var n=Date.now()-t.touchStartTime;return n>300&&Math.abs(e)<=.5*i?this.setTranslate(this.speed,-this.index*i):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*i)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/spinner/index.js b/dist/lib.px/spinner/index.js index ee6b2b51..973ef28d 100644 --- a/dist/lib.px/spinner/index.js +++ b/dist/lib.px/spinner/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var i=n(89),o=r(i);t.Spinner=o.default},1:function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:i,exports:o,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;ia{float:left;width:30px;height:30px;line-height:31px;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:9px}.m-spinner>a:first-child:after{content:"\\E60B"}.m-spinner>a:last-child:after{content:"\\E602"}.m-spinner>input{letter-spacing:0;float:left;width:42px;height:30px;line-height:2.4;text-align:center;color:#666;border:none;font-size:13px;background-color:#fff}',""])},89:function(e,t,n){n(171);var r=n(1)(n(226),n(134),null,null);e.exports=r.exports},134:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-spinner"},[n("a",{ref:"minus",attrs:{href:"javascript:;"}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.counter,expression:"counter"}],ref:"numInput",staticClass:"spinner-input",attrs:{type:"text",readonly:e.readonly,placeholder:""},domProps:{value:e.counter},on:{input:function(t){t.target.composing||(e.counter=t.target.value)}}}),e._v(" "),n("a",{ref:"add",attrs:{href:"javascript:;"}})])},staticRenderFns:[]}},171:function(e,t,n){var r=n(35);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("46ed8ed0",r,!0)},226:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(e){return/^([1-9]\d*)$/.test(e)}},max:{default:0,validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},min:{default:-1,validator:function(e){return/^((-?([1-9]\d*))|0)$/.test(e)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var e=~~this.max,t=~~this.unit,n=~~this.min;return e=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+t+") must be multiple."),!1):!(e0?void this.setValue(n):void this.setValue(t<0?e:t)},calculation:function(e){var t=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,r=~~this.unit;if(!this.readonly){var i=~~this.counter,o=void 0;if("add"==e){if(o=i+r,0!=t&&o>t)return}else if(o=i-r,ot&&0!=t&&(e=t),e%r>0&&(e=e-e%r+r,e>t&&0!=t&&(e-=r)),e=40&&(i=100),this.tapParams.timer=setTimeout(function(){t.calculation(e)},1e3/i)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var e=this,t=this.$refs.add,n=this.$refs.minus,r={mousedownEvent:"touchstart",mouseupEvent:"touchend"},i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();i||(r.mousedownEvent="mousedown",r.mouseupEvent="mouseup"),t.addEventListener(r.mousedownEvent,function(n){e.longpress&&(n.preventDefault(),n.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,t.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("add")}),n.addEventListener(r.mousedownEvent,function(t){e.longpress&&(t.preventDefault(),t.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){e.setValue(~~e.counter)})}},mounted:function(){this.init()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var i=n(93),o=r(i);t.Spinner=o.default},1:function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:i,exports:o,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;ia{float:left;width:30px;height:30px;line-height:31px;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:9px}.m-spinner>a:first-child:after{content:"\\E60B"}.m-spinner>a:last-child:after{content:"\\E602"}.m-spinner>input{letter-spacing:0;float:left;width:42px;height:30px;line-height:2.4;text-align:center;color:#666;border:none;font-size:13px;background-color:#fff}',""])},93:function(e,t,n){n(157);var r=n(1)(n(235),n(106),null,null);e.exports=r.exports},106:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-spinner"},[n("a",{ref:"minus",attrs:{href:"javascript:;"}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.counter,expression:"counter"}],ref:"numInput",staticClass:"spinner-input",attrs:{type:"text",readonly:e.readonly,placeholder:""},domProps:{value:e.counter},on:{input:function(t){t.target.composing||(e.counter=t.target.value)}}}),e._v(" "),n("a",{ref:"add",attrs:{href:"javascript:;"}})])},staticRenderFns:[]}},157:function(e,t,n){var r=n(16);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("2141a426",r,!0)},235:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(e){return/^([1-9]\d*)$/.test(e)}},max:{default:0,validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},min:{default:-1,validator:function(e){return/^((-?([1-9]\d*))|0)$/.test(e)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var e=~~this.max,t=~~this.unit,n=~~this.min;return e=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+t+") must be multiple."),!1):!(e0?void this.setValue(n):void this.setValue(t<0?e:t)},calculation:function(e){var t=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,r=~~this.unit;if(!this.readonly){var i=~~this.counter,o=void 0;if("add"==e){if(o=i+r,0!=t&&o>t)return}else if(o=i-r,ot&&0!=t&&(e=t),e%r>0&&(e=e-e%r+r,e>t&&0!=t&&(e-=r)),e=40&&(i=100),this.tapParams.timer=setTimeout(function(){t.calculation(e)},1e3/i)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var e=this,t=this.$refs.add,n=this.$refs.minus,r={mousedownEvent:"touchstart",mouseupEvent:"touchend"},i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();i||(r.mousedownEvent="mousedown",r.mouseupEvent="mouseup"),t.addEventListener(r.mousedownEvent,function(n){e.longpress&&(n.preventDefault(),n.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,t.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("add")}),n.addEventListener(r.mousedownEvent,function(t){e.longpress&&(t.preventDefault(),t.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){e.setValue(~~e.counter)})}},mounted:function(){this.init()}}}})}); \ No newline at end of file diff --git a/dist/lib.px/switch/index.js b/dist/lib.px/switch/index.js index 88c0496d..5bc05713 100644 --- a/dist/lib.px/switch/index.js +++ b/dist/lib.px/switch/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var o=n(90),i=r(o);t.Switch=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var c=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),s=Math.ceil(i/o*50);t(n,r,s)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=a,t.removeClass=c,t.scrollTop=d},34:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}',""])},90:function(e,t,n){n(170);var r=n(1)(n(227),n(132),null,null);e.exports=r.exports},132:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],staticClass:"m-switch",style:{color:e.color},attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=e._i(n,i);o?s<0&&(e.checked=n.concat(i)):s>-1&&(e.checked=n.slice(0,s).concat(n.slice(s+1)))}else e.checked=o}}})},staticRenderFns:[]}},170:function(e,t,n){var r=n(34);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("5385dfbf",r,!0)},227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var o=n(94),i=r(o);t.Switch=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var c=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=c,t.removeClass=d,t.scrollTop=u},36:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}',""])},94:function(e,t,n){n(177);var r=n(1)(n(236),n(141),null,null);e.exports=r.exports},141:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],staticClass:"m-switch",style:{color:e.color},attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=null,a=e._i(n,i);o?a<0&&(e.checked=n.concat(i)):a>-1&&(e.checked=n.slice(0,a).concat(n.slice(a+1)))}else e.checked=o}}})},staticRenderFns:[]}},177:function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("790c9a8d",r,!0)},236:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/tab/index.js b/dist/lib.px/tab/index.js index 4ad326f8..9b7304d7 100644 --- a/dist/lib.px/tab/index.js +++ b/dist/lib.px/tab/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(a){if(n[a])return n[a].exports;var i=n[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var i=n(92),r=a(i),o=n(91),s=a(o);e.Tab=r.default,e.TabPanel=s.default},1:function(t,e){t.exports=function(t,e,n,a){var i,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),a){var l=s.computed||(s.computed={});Object.keys(a).forEach(function(t){var e=a[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(a.parts.length=n.parts.length)}else{for(var o=[],i=0;i=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(a){if(n[a])return n[a].exports;var i=n[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var i=n(96),r=a(i),o=n(95),s=a(o);e.Tab=r.default,e.TabPanel=s.default},1:function(t,e){t.exports=function(t,e,n,a){var i,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),a){var l=s.computed||(s.computed={});Object.keys(a).forEach(function(t){var e=a[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(a.parts.length=n.parts.length)}else{for(var o=[],i=0;i=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}}})}); \ No newline at end of file diff --git a/dist/lib.px/tabbar/index.js b/dist/lib.px/tabbar/index.js index 8603f04e..a7628bde 100644 --- a/dist/lib.px/tabbar/index.js +++ b/dist/lib.px/tabbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TabBarItem=t.TabBar=void 0;var o=n(94),i=r(o),a=n(93),s=r(a);t.TabBar=i.default,t.TabBarItem=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=l,t.scrollTop=c},28:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:5px 0 3px;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-1px;margin-left:-7px}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:1px;margin-left:-5px}.tabbar-icon{height:29px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}',""])},93:function(e,t,n){var r=n(1)(n(230),n(144),null,null);e.exports=r.exports},94:function(e,t,n){n(164);var r=n(1)(n(231),n(122),null,null);e.exports=r.exports},122:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"m-tabbar tabbbar-top-line-color",class:e.classes,style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},144:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"tabbar-item",class:e.classes,style:e.styles,attrs:{to:e.link,exact:e.$parent.exact,"active-class":e.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[e._t("icon"),e._v(" "),n("span",{staticClass:"tabbar-badge"},[e._t("badge")],2),e._v(" "),e.dot?n("span",{staticClass:"tabbar-dot"}):e._e()],2),e._v(" "),n("span",{staticClass:"tabbar-txt"},[e._v(e._s(e.title))])])},staticRenderFns:[]}},164:function(e,t,n){var r=n(28);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("797e44de",r,!0)},230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5);t.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},231:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#09BB07"},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#979797"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"12px"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TabBarItem=t.TabBar=void 0;var o=n(98),i=r(o),a=n(97),s=r(a);t.TabBar=i.default,t.TabBarItem=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=l,t.removeClass=c,t.scrollTop=u},24:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:5px 0 3px;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-1px;margin-left:-7px}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:1px;margin-left:-5px}.tabbar-icon{height:29px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}',""])},97:function(e,t,n){var r=n(1)(n(239),n(151),null,null);e.exports=r.exports},98:function(e,t,n){n(165);var r=n(1)(n(240),n(120),null,null);e.exports=r.exports},120:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"m-tabbar tabbbar-top-line-color",class:e.classes,style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},151:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"tabbar-item",class:e.classes,style:e.styles,attrs:{to:e.link,exact:e.$parent.exact,"active-class":e.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[e._t("icon"),e._v(" "),n("span",{staticClass:"tabbar-badge"},[e._t("badge")],2),e._v(" "),e.dot?n("span",{staticClass:"tabbar-dot"}):e._e()],2),e._v(" "),n("span",{staticClass:"tabbar-txt"},[e._v(e._s(e.title))])])},staticRenderFns:[]}},165:function(e,t,n){var r=n(24);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("2a27e9df",r,!0)},239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5);t.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#09BB07"},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#979797"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"12px"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}}})}); \ No newline at end of file diff --git a/dist/lib.px/textarea/index.js b/dist/lib.px/textarea/index.js index 489ceeb1..ccace183 100644 --- a/dist/lib.px/textarea/index.js +++ b/dist/lib.px/textarea/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TextArea=void 0;var o=n(95),a=r(o);t.TextArea=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,a=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,a=e.default);var i="function"==typeof a?a.options:a;if(t&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns),n&&(i._scopeId=n),r){var u=i.computed||(i.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:i}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;oe.maxlength?t.substr(t,e.maxlength):t)})}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TextArea=void 0;var o=n(99),a=r(o);t.TextArea=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,a=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,a=e.default);var i="function"==typeof a?a.options:a;if(t&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns),n&&(i._scopeId=n),r){var u=i.computed||(i.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:i}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;oe.maxlength?t.substr(t,e.maxlength):t)})}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/accordion/index.js b/dist/lib.rem/accordion/index.js index 02f5e971..6faf9d7f 100644 --- a/dist/lib.rem/accordion/index.js +++ b/dist/lib.rem/accordion/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AccordionItem=t.Accordion=void 0;var r=n(42),i=o(r),s=n(41),a=o(s);t.Accordion=i.default,t.AccordionItem=a.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;rspan{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.28rem;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},41:function(e,t,n){var o=n(1)(n(175),n(137),null,null);e.exports=o.exports},42:function(e,t,n){n(159);var o=n(1)(n(176),n(118),null,null);e.exports=o.exports},118:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-accordion"},[e._t("default")],2)},staticRenderFns:[]}},137:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"accordion-title",on:{click:e.toggle}},[e.$slots.title?n("span",[e._t("title")],2):n("span",[e._v(e._s(e.title))]),e._v(" "),n("i",{class:e.show?"accordion-rotated":""})]),e._v(" "),n("div",{staticClass:"accordion-content",style:{height:e.height}},[n("div",{ref:"content"},[e._t("default")],2)])])},staticRenderFns:[]}},159:function(e,t,n){var o=n(26);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("6cf01028",o,!0)},175:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-accordion-item",data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(e){this.show=e,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},176:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(e){var t=this;this.$children.forEach(function(n){n._uid==e?n.show=!n.show:t.accordion||(n.show=!1,n.height=0)})}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AccordionItem=t.Accordion=void 0;var r=n(44),i=o(r),s=n(43),a=o(s);t.Accordion=i.default,t.AccordionItem=a.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;rspan{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.28rem;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},43:function(e,t,n){var o=n(1)(n(182),n(140),null,null);e.exports=o.exports},44:function(e,t,n){n(159);var o=n(1)(n(183),n(113),null,null);e.exports=o.exports},113:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-accordion"},[e._t("default")],2)},staticRenderFns:[]}},140:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"accordion-title",on:{click:e.toggle}},[e.$slots.title?n("span",[e._t("title")],2):n("span",[e._v(e._s(e.title))]),e._v(" "),n("i",{class:e.show?"accordion-rotated":""})]),e._v(" "),n("div",{staticClass:"accordion-content",style:{height:e.height}},[n("div",{ref:"content"},[e._t("default")],2)])])},staticRenderFns:[]}},159:function(e,t,n){var o=n(21);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("2a9087d4",o,!0)},182:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-accordion-item",data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(e){this.show=e,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},183:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(e){var t=this;this.$children.forEach(function(n){n._uid==e?n.show=!n.show:t.accordion||(n.show=!1,n.height=0)})}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/actionsheet/index.js b/dist/lib.rem/actionsheet/index.js index 6db7d3f1..9906dcb7 100644 --- a/dist/lib.rem/actionsheet/index.js +++ b/dist/lib.rem/actionsheet/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var i=n(43),r=o(i);t.ActionSheet=r.default},1:function(e,t){e.exports=function(e,t,n,o){var i,r=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,r=e.default);var a="function"==typeof r?r.options:r;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:i,exports:r,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},l=function(e){function t(n,o,i){if(n!==o){var r=n+i>o?o:n+i;n>o&&(r=n-i1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var r=Math.abs(n-o),s=Math.ceil(r/i*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=i,t.checkInview=r,t.addClass=a,t.removeClass=c,t.scrollTop=l},16:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:.15rem;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}',""])},43:function(e,t,n){n(149);var o=n(1)(n(177),n(97),null,null);e.exports=o.exports},97:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-actionsheet",class:e.show?"actionsheet-active":""},[e._l(e.items,function(t){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),e.itemClick(t)}}},[e._v(e._s(t.label))])}),e._v(" "),e.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v(e._s(e.cancel))]):e._e()],2)])},staticRenderFns:[]}},149:function(e,t,n){var o=n(16);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("0c99d390",o,!0)},177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(e){this.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=e}},methods:{itemClick:function(e){e&&("function"==typeof e.method&&e.method(e),!e.stay&&this.close())},close:function(){this.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var r=n(45),i=o(r);t.ActionSheet=i.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;r=0&&r0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=r,t.getScrollview=i,t.checkInview=s,t.addClass=c,t.removeClass=l,t.scrollTop=u},38:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:.15rem;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}',""])},45:function(e,t,n){n(176);var o=n(1)(n(184),n(146),null,null);e.exports=o.exports},146:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-actionsheet",class:e.show?"actionsheet-active":""},[e._l(e.items,function(t){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),e.itemClick(t)}}},[e._v(e._s(t.label))])}),e._v(" "),e.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v(e._s(e.cancel))]):e._e()],2)])},staticRenderFns:[]}},176:function(e,t,n){var o=n(38);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("e3e50fba",o,!0)},184:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(e){o.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=e}},methods:{itemClick:function(e){e&&("function"==typeof e.method&&e.method(e),!e.stay&&this.close())},close:function(){o.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/backtop/index.js b/dist/lib.rem/backtop/index.js index ba4cc3e2..7144d328 100644 --- a/dist/lib.rem/backtop/index.js +++ b/dist/lib.rem/backtop/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BackTop=void 0;var r=n(44),i=o(r);t.BackTop=i.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var l=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];l[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;r=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=a,t.removeClass=l,t.scrollTop=c},21:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-backtop{border:1px solid silver;width:1rem;height:1rem;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\\E788";font-size:.5rem;color:silver}',""])},44:function(e,t,n){n(154);var o=n(1)(n(178),n(109),null,null);e.exports=o.exports},109:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],on:{click:function(t){t.stopPropagation(),e.backtop(t)}}},[e.$slots.default?e._t("default"):n("div",{staticClass:"m-backtop"})],2)},staticRenderFns:[]}},154:function(e,t,n){var o=n(21);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("1ec0bf46",o,!0)},178:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var e=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,o.scrollTop)(this.scrollView,e,0)},scrollHandler:function(){var e=window.pageYOffset,t=window.innerHeight;this.scrollView!=window&&(e=this.scrollView.scrollTop,t=this.scrollView.offsetHeight),this.show=e>=t/2},throttle:function(e,t){clearTimeout(e.tId),e.tId=setTimeout(function(){e.call(t)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BackTop=void 0;var r=n(46),i=o(r);t.BackTop=i.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var s=[],r=0;r=0&&r0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=r,t.getScrollview=i,t.checkInview=s,t.addClass=c,t.removeClass=l,t.scrollTop=u},29:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-backtop{border:1px solid silver;width:1rem;height:1rem;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\\E788";font-size:.5rem;color:silver}',""])},46:function(e,t,n){n(167);var o=n(1)(n(185),n(127),null,null);e.exports=o.exports},127:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],on:{click:function(t){t.stopPropagation(),e.backtop(t)}}},[e.$slots.default?e._t("default"):n("div",{staticClass:"m-backtop"})],2)},staticRenderFns:[]}},167:function(e,t,n){var o=n(29);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("582a5ac5",o,!0)},185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var e=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,o.scrollTop)(this.scrollView,e,0)},scrollHandler:function(){var e=window.pageYOffset,t=window.innerHeight;this.scrollView!=window&&(e=this.scrollView.scrollTop,t=this.scrollView.offsetHeight),this.show=e>=t/2},throttle:function(e,t){clearTimeout(e.tId),e.tId=setTimeout(function(){e.call(t)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,o.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/badge/index.js b/dist/lib.rem/badge/index.js index d769292e..a9cab9a7 100644 --- a/dist/lib.rem/badge/index.js +++ b/dist/lib.rem/badge/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;var o=r(45),a=n(o);t.Badge=a.default},1:function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var u=s.computed||(s.computed={});Object.keys(n).forEach(function(e){var t=n[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],o=0;o=0&&o0&&a<=r},i=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){i(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(i(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(r,n,o){if(r!==n){var a=r+o>n?n:r+o;r>n&&(a=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var a=Math.abs(r-n),i=Math.ceil(a/o*50);t(r,n,i)};t.pageScroll=r,t.isColor=n,t.getScrollview=o,t.checkInview=a,t.addClass=s,t.removeClass=u,t.scrollTop=d},24:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:1rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}',""])},45:function(e,t,r){r(157);var n=r(1)(r(179),r(114),null,null);e.exports=n.exports},114:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"badge",class:e.typesClass,style:{backgroundColor:e.bgcolor,color:e.color}},[e._t("default")],2)},staticRenderFns:[]}},157:function(e,t,r){var n=r(24);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("e2bdf1d8",n,!0)},179:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5);t.default={name:"yd-badge",props:{type:{validator:function(e){return["primary","danger","warning","hollow"].indexOf(e)>-1}},shape:{validator:function(e){return["circle","square"].indexOf(e)>-1}},color:{validator:function(e){return!e||(0,n.isColor)(e)}},bgcolor:{validator:function(e){return!e||(0,n.isColor)(e)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;var o=r(47),a=n(o);t.Badge=a.default},1:function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var u=s.computed||(s.computed={});Object.keys(n).forEach(function(e){var t=n[e];u[e]=function(){return t}})}return{esModule:o,exports:a,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],o=0;o=0&&o0&&a<=r},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(s(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(r,n,o){if(r!==n){var a=r+o>n?n:r+o;r>n&&(a=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var a=Math.abs(r-n),i=Math.ceil(a/o*50);t(r,n,i)};t.pageScroll=r,t.isIOS=n,t.isColor=o,t.getScrollview=a,t.checkInview=i,t.addClass=u,t.removeClass=d,t.scrollTop=c},42:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:1rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}',""])},47:function(e,t,r){r(180);var n=r(1)(r(186),r(152),null,null);e.exports=n.exports},152:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"badge",class:e.typesClass,style:{backgroundColor:e.bgcolor,color:e.color}},[e._t("default")],2)},staticRenderFns:[]}},180:function(e,t,r){var n=r(42);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("596e19af",n,!0)},186:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5);t.default={name:"yd-badge",props:{type:{validator:function(e){return["primary","danger","warning","hollow"].indexOf(e)>-1}},shape:{validator:function(e){return["circle","square"].indexOf(e)>-1}},color:{validator:function(e){return!e||(0,n.isColor)(e)}},bgcolor:{validator:function(e){return!e||(0,n.isColor)(e)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/button/index.js b/dist/lib.rem/button/index.js index f00c58ba..e826516e 100644 --- a/dist/lib.rem/button/index.js +++ b/dist/lib.rem/button/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=t.Button=void 0;var r=n(10),i=o(r),a=n(46),s=o(a);t.Button=i.default,t.ButtonGroup=s.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),o){var u=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var t=o[e];u[e]=function(){return t}})}return{esModule:r,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var a=[],r=0;r=0&&r0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),a=Math.ceil(i/r*50);t(n,o,a)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=s,t.removeClass=u,t.scrollTop=c},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var o=n(1)(n(13),n(11),null,null);e.exports=o.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var o=n(9);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("83af067c",o,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,o.isColor)(e)}},color:{validator:function(e){return!e||(0,o.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},46:function(e,t,n){var o=n(1)(n(180),n(124),null,null);e.exports=o.exports},124:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-button"},[e._t("default")],2)},staticRenderFns:[]}},180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-button-group"}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=t.Button=void 0;var r=n(10),i=o(r),a=n(48),s=o(a);t.Button=i.default,t.ButtonGroup=s.default},1:function(e,t){e.exports=function(e,t,n,o){var r,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),o){var u=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var t=o[e];u[e]=function(){return t}})}return{esModule:r,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(o.parts.length=n.parts.length)}else{for(var a=[],r=0;r=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),a=Math.ceil(i/r*50);t(n,o,a)};t.pageScroll=n,t.isIOS=o,t.isColor=r,t.getScrollview=i,t.checkInview=a,t.addClass=u,t.removeClass=c,t.scrollTop=d},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var o=n(1)(n(13),n(11),null,null);e.exports=o.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var o=n(9);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);n(3)("62f2844a",o,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,o.isColor)(e)}},color:{validator:function(e){return!e||(0,o.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},48:function(e,t,n){var o=n(1)(n(187),n(122),null,null);e.exports=o.exports},122:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-button"},[e._t("default")],2)},staticRenderFns:[]}},187:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-button-group"}}})}); \ No newline at end of file diff --git a/dist/lib.rem/cell/index.js b/dist/lib.rem/cell/index.js index 30ac0a7e..afc27fa2 100644 --- a/dist/lib.rem/cell/index.js +++ b/dist/lib.rem/cell/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(l){if(i[l])return i[l].exports;var r=i[l]={exports:{},id:l,loaded:!1};return e[l].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var i={};return t.m=e,t.c=i,t.p="/dist/",t(0)}({0:function(e,t,i){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CellGroup=t.CellItem=void 0;var r=i(48),n=l(r),o=i(47),c=l(o);t.CellItem=n.default,t.CellGroup=c.default},1:function(e,t){e.exports=function(e,t,i,l){var r,n=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(r=e,n=e.default);var c="function"==typeof n?n.options:n;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),i&&(c._scopeId=i),l){var s=c.computed||(c.computed={});Object.keys(l).forEach(function(e){var t=l[e];s[e]=function(){return t}})}return{esModule:r,exports:n,options:c}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;ti.parts.length&&(l.parts.length=i.parts.length)}else{for(var o=[],r=0;r-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(l){if(i[l])return i[l].exports;var r=i[l]={exports:{},id:l,loaded:!1};return e[l].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var i={};return t.m=e,t.c=i,t.p="/dist/",t(0)}({0:function(e,t,i){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CellGroup=t.CellItem=void 0;var r=i(50),n=l(r),o=i(49),c=l(o);t.CellItem=n.default,t.CellGroup=c.default},1:function(e,t){e.exports=function(e,t,i,l){var r,n=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(r=e,n=e.default);var c="function"==typeof n?n.options:n;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),i&&(c._scopeId=i),l){var s=c.computed||(c.computed={});Object.keys(l).forEach(function(e){var t=l[e];s[e]=function(){return t}})}return{esModule:r,exports:n,options:c}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;ti.parts.length&&(l.parts.length=i.parts.length)}else{for(var o=[],r=0;r-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/checkbox/index.js b/dist/lib.rem/checkbox/index.js index bbe15c50..8f5cf676 100644 --- a/dist/lib.rem/checkbox/index.js +++ b/dist/lib.rem/checkbox/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="/dist/",t(0)}({0:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CheckBoxGroup=t.CheckBox=void 0;var r=o(50),i=n(r),c=o(49),a=n(c);t.CheckBox=i.default,t.CheckBoxGroup=a.default},1:function(e,t){e.exports=function(e,t,o,n){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),o&&(a._scopeId=o),n){var s=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];s[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;to.parts.length&&(n.parts.length=o.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=o},c=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){c(e,t)||(e.className=""==e.className?t:e.className+" "+t)},s=function(e,t){if(c(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},l=function(e){function t(o,n,r){if(o!==n){var i=o+r>n?n:o+r;o>n&&(i=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-n),c=Math.ceil(i/r*50);t(o,n,c)};t.pageScroll=o,t.isColor=n,t.getScrollview=r,t.checkInview=i,t.addClass=a,t.removeClass=s,t.scrollTop=l},37:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}',""])},49:function(e,t,o){var n=o(1)(o(183),o(113),null,null);e.exports=n.exports},50:function(e,t,o){o(170);var n=o(1)(o(184),o(134),null,null);e.exports=n.exports},113:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._t("default")],2)},staticRenderFns:[]}},134:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("label",{staticClass:"m-checkbox"},[e.group?[o("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.val,checked:Array.isArray(e.model)?e._i(e.model,e.val)>-1:e.model},on:{change:e.changeHandler,__c:function(t){var o=e.model,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=e.val,c=e._i(o,i);r?c<0&&(e.model=o.concat(i)):c>-1&&(e.model=o.slice(0,c).concat(o.slice(c+1)))}else e.model=r}}})]:[o("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var o=e.checked,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=null,c=e._i(o,i);r?c<0&&(e.checked=o.concat(i)):c>-1&&(e.checked=o.slice(0,c).concat(o.slice(c+1)))}else e.checked=r}}})],e._v(" "),o("span",{staticClass:"checkbox-icon",style:e.iconStyles()},[o("i",{style:e.checkIconStyles()})]),e._v(" "),e.$slots.default?[o("span",{staticClass:"checkbox-text"},[e._t("default")],2)]:[o("span",{staticClass:"checkbox-text"},[e._v(e._s(e.val))])]],2)},staticRenderFns:[]}},170:function(e,t,o){var n=o(37);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);o(3)("6ee6857a",n,!0)},183:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-checkbox"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.model=e})},change:function(e){this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},184:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var e=(this.group?this.$parent.size:this.size)+"px",t=this.group?this.$parent.color:this.color;return{width:e,height:e,color:t}},checkIconStyles:function(){var e=this.group?this.$parent.size:this.size;return{width:Math.round(e/2.8)+"px",height:Math.round(e/1.5)+"px"}}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}},created:function(){this.$parent.color&&(this.group=!0)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="/dist/",t(0)}({0:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CheckBoxGroup=t.CheckBox=void 0;var r=o(52),i=n(r),c=o(51),a=n(c);t.CheckBox=i.default,t.CheckBoxGroup=a.default},1:function(e,t){e.exports=function(e,t,o,n){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),o&&(a._scopeId=o),n){var s=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];s[e]=function(){return t}})}return{esModule:r,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;to.parts.length&&(n.parts.length=o.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=o},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var o=" "+e.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=o.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(o,n,r){if(o!==n){var i=o+r>n?n:o+r;o>n&&(i=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(o-n),c=Math.ceil(i/r*50);t(o,n,c)};t.pageScroll=o,t.isIOS=n,t.isColor=r,t.getScrollview=i,t.checkInview=c,t.addClass=s,t.removeClass=l,t.scrollTop=u},34:function(e,t,o){t=e.exports=o(2)(),t.push([e.id,'.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}',""])},51:function(e,t,o){var n=o(1)(o(190),o(139),null,null);e.exports=n.exports},52:function(e,t,o){o(172);var n=o(1)(o(191),o(134),null,null);e.exports=n.exports},134:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("label",{staticClass:"m-checkbox"},[e.group?[o("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.val,checked:Array.isArray(e.model)?e._i(e.model,e.val)>-1:e.model},on:{change:e.changeHandler,__c:function(t){var o=e.model,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=e.val,c=e._i(o,i);r?c<0&&(e.model=o.concat(i)):c>-1&&(e.model=o.slice(0,c).concat(o.slice(c+1)))}else e.model=r}}})]:[o("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var o=e.checked,n=t.target,r=!!n.checked;if(Array.isArray(o)){var i=null,c=e._i(o,i);r?c<0&&(e.checked=o.concat(i)):c>-1&&(e.checked=o.slice(0,c).concat(o.slice(c+1)))}else e.checked=r}}})],e._v(" "),o("span",{staticClass:"checkbox-icon",style:e.iconStyles()},[o("i",{style:e.checkIconStyles()})]),e._v(" "),e.$slots.default?[o("span",{staticClass:"checkbox-text"},[e._t("default")],2)]:[o("span",{staticClass:"checkbox-text"},[e._v(e._s(e.val))])]],2)},staticRenderFns:[]}},139:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._t("default")],2)},staticRenderFns:[]}},172:function(e,t,o){var n=o(34);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);o(3)("cc86871c",n,!0)},190:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-checkbox"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.model=e})},change:function(e){this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},191:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(5);t.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,n.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var e=(this.group?this.$parent.size:this.size)+"px",t=this.group?this.$parent.color:this.color;return{width:e,height:e,color:t}},checkIconStyles:function(){var e=this.group?this.$parent.size:this.size;return{width:Math.round(e/2.8)+"px",height:Math.round(e/1.5)+"px"}}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}},created:function(){this.$parent.color&&(this.group=!0)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/cityselect/index.js b/dist/lib.rem/cityselect/index.js index b936d2c2..e9a78a1b 100644 --- a/dist/lib.rem/cityselect/index.js +++ b/dist/lib.rem/cityselect/index.js @@ -1,3 +1,3 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(n,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.ydui=a():n.ydui=a()}(this,function(){return function(n){function a(e){if(t[e])return t[e].exports;var i=t[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}var t={};return a.m=n,a.c=t,a.p="/dist/",a(0)}({0:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0}),a.CitySelect=void 0;var i=t(51),s=e(i);a.CitySelect=s.default},1:function(n,a){n.exports=function(n,a,t,e){var i,s=n=n||{},o=typeof n.default;"object"!==o&&"function"!==o||(i=n,s=n.default);var r="function"==typeof s?s.options:s;if(a&&(r.render=a.render,r.staticRenderFns=a.staticRenderFns),t&&(r._scopeId=t),e){var c=r.computed||(r.computed={});Object.keys(e).forEach(function(n){var a=e[n];c[n]=function(){return a}})}return{esModule:i,exports:s,options:r}}},2:function(n,a){n.exports=function(){var n=[];return n.toString=function(){for(var n=[],a=0;at.parts.length&&(e.parts.length=t.parts.length)}else{for(var o=[],i=0;i=0&&i0&&s<=t},o=function(n,a){return a=a||"",0!=a.replace(/\s/g,"").length&&new RegExp(" "+a+" ").test(" "+n.className+" ")},r=function(n,a){o(n,a)||(n.className=""==n.className?a:n.className+" "+a)},c=function(n,a){if(o(n,a)){for(var t=" "+n.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+a+" ")>=0;)t=t.replace(" "+a+" "," ");n.className=t.replace(/^\s+|\s+$/g,"")}},l=function(n){function a(t,e,i){if(t!==e){var s=t+i>e?e:t+i;t>e&&(s=t-i1&&void 0!==arguments[1]?arguments[1]:0,e=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return window.setTimeout(n,1e3/60)});var s=Math.abs(t-e),o=Math.ceil(s/i*50);a(t,e,o)};a.pageScroll=t,a.isColor=e,a.getScrollview=i,a.checkInview=s,a.addClass=r,a.removeClass=c,a.scrollTop=l},32:function(n,a,t){a=n.exports=t(2)(),a.push([n.id,'.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:.3rem;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:.2rem;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:.26rem;color:#222;display:block;height:40px;line-height:46px;padding:0 .2rem;position:relative;margin-right:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 .4rem}.cityselect-item-box>a{color:#333;font-size:.26rem;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.26rem;color:#999}',""])},51:function(n,a,t){t(165);var e=t(1)(t(185),t(127),null,null);n.exports=e.exports},127:function(n,a){n.exports={render:function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"show"}],staticClass:"mask-cityselect",on:{click:function(a){a.stopPropagation(),n.close(a)}}}),n._v(" "),t("div",{staticClass:"m-cityselect",class:n.show?"cityselect-active":""},[t("div",{staticClass:"cityselect-header"},[t("p",{staticClass:"cityselect-title"},[n._v("所在地区")]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-nav"},[t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt1,expression:"!!nav.txt1"}],class:0==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(0)}}},[n._v(n._s(n.nav.txt1))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt2,expression:"!!nav.txt2"}],class:1==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(1)}}},[n._v(n._s(n.nav.txt2))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt3,expression:"!!nav.txt3"}],class:2==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.forwardView(!0)}}},[n._v(n._s(n.nav.txt3))])])]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.ready,expression:"!ready"}],staticClass:"cityselect-loading"},[n._v("加载中")]),n._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-content",class:n.activeClasses},[t("li",{ref:"provanceBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.citys,function(a){return t("a",{class:a.n==n.activeProvance?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseProvance(a.n,a.c)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"cityBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.cityArray,function(a){return t("a",{class:a.n==n.activeCity?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseCity(a.n,a.a)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"areaBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.areaArray,function(a){return t("a",{class:a==n.activeArea?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseArea(a)}}},[t("span",[n._v(n._s(a))])])}))])])])])},staticRenderFns:[]}},165:function(n,a,t){var e=t(32);"string"==typeof e&&(e=[[n.id,e,""]]),e.locals&&(n.exports=e.locals);t(3)("2f0daec1",e,!0)},185:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var i=t(5),s=t(228),o=e(s);a.default={name:"yd-cityselect",data:function(){return{citys:o.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(n){this.isIOS&&(n?(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=n},ready:function(n){n&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,i.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))},chooseProvance:function(n,a){this.nav.index=1,this.nav.txt1=this.activeProvance=n,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=a,this.activeCity=""},chooseCity:function(n,a){return this.nav.txt2=this.activeCity=n,this.activeArea="",a.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=a,void this.forwardView(!0))},chooseArea:function(n){this.nav.txt3=this.activeArea=n,this.returnValue()},setDefalutValue:function(){var n=this;this.provance&&this.citys.every(function(a,t){if(a.n==n.provance){var e=n.$refs.provanceBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.index=1,n.nav.txt1=n.activeProvance=n.provance,n.nav.txt2="请选择";var i=n.cityArray=a.c;return i.every(function(a,t){if(a.n==n.city){var e=n.$refs.cityBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.txt2=n.activeCity=n.city;var i=n.areaArray=a.a,s=i.indexOf(n.area);if(i.length>0&&(n.nav.index=2,n.nav.txt3="请选择",n.forwardView(!1)),s>-1){var o=n.$refs.areaBox;o.scrollTop=s*n.itemHeight-o.offsetHeight/3,n.nav.txt3=n.activeArea=n.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){this.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(n){this.nav.index=n,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(n){this.nav.index=2,this.activeClasses=(n?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},228:function(n,a,t){var e,i;!function(){var s=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"],n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"], +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(n,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.ydui=a():n.ydui=a()}(this,function(){return function(n){function a(e){if(t[e])return t[e].exports;var i=t[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}var t={};return a.m=n,a.c=t,a.p="/dist/",a(0)}({0:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0}),a.CitySelect=void 0;var i=t(53),s=e(i);a.CitySelect=s.default},1:function(n,a){n.exports=function(n,a,t,e){var i,s=n=n||{},o=typeof n.default;"object"!==o&&"function"!==o||(i=n,s=n.default);var r="function"==typeof s?s.options:s;if(a&&(r.render=a.render,r.staticRenderFns=a.staticRenderFns),t&&(r._scopeId=t),e){var c=r.computed||(r.computed={});Object.keys(e).forEach(function(n){var a=e[n];c[n]=function(){return a}})}return{esModule:i,exports:s,options:r}}},2:function(n,a){n.exports=function(){var n=[];return n.toString=function(){for(var n=[],a=0;at.parts.length&&(e.parts.length=t.parts.length)}else{for(var o=[],i=0;i=0&&i0&&s<=t},r=function(n,a){return a=a||"",0!=a.replace(/\s/g,"").length&&new RegExp(" "+a+" ").test(" "+n.className+" ")},c=function(n,a){r(n,a)||(n.className=""==n.className?a:n.className+" "+a)},l=function(n,a){if(r(n,a)){for(var t=" "+n.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+a+" ")>=0;)t=t.replace(" "+a+" "," ");n.className=t.replace(/^\s+|\s+$/g,"")}},f=function(n){function a(t,e,i){if(t!==e){var s=t+i>e?e:t+i;t>e&&(s=t-i1&&void 0!==arguments[1]?arguments[1]:0,e=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return window.setTimeout(n,1e3/60)});var s=Math.abs(t-e),o=Math.ceil(s/i*50);a(t,e,o)};a.pageScroll=t,a.isIOS=e,a.isColor=i,a.getScrollview=s,a.checkInview=o,a.addClass=c,a.removeClass=l,a.scrollTop=f},17:function(n,a,t){a=n.exports=t(2)(),a.push([n.id,'.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:.3rem;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:.2rem;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:.26rem;color:#222;display:block;height:40px;line-height:46px;padding:0 .2rem;position:relative;margin-right:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 .4rem}.cityselect-item-box>a{color:#333;font-size:.26rem;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.26rem;color:#999}',""])},53:function(n,a,t){t(155);var e=t(1)(t(192),t(105),null,null);n.exports=e.exports},105:function(n,a){n.exports={render:function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"show"}],staticClass:"mask-cityselect",on:{click:function(a){a.stopPropagation(),n.close(a)}}}),n._v(" "),t("div",{staticClass:"m-cityselect",class:n.show?"cityselect-active":""},[t("div",{staticClass:"cityselect-header"},[t("p",{staticClass:"cityselect-title"},[n._v("所在地区")]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-nav"},[t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt1,expression:"!!nav.txt1"}],class:0==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(0)}}},[n._v(n._s(n.nav.txt1))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt2,expression:"!!nav.txt2"}],class:1==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.backoffView(1)}}},[n._v(n._s(n.nav.txt2))]),n._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!!n.nav.txt3,expression:"!!nav.txt3"}],class:2==n.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(a){a.stopPropagation(),n.forwardView(!0)}}},[n._v(n._s(n.nav.txt3))])])]),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.ready,expression:"!ready"}],staticClass:"cityselect-loading"},[n._v("加载中")]),n._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:n.ready,expression:"ready"}],staticClass:"cityselect-content",class:n.activeClasses},[t("li",{ref:"provanceBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.citys,function(a){return t("a",{class:a.n==n.activeProvance?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseProvance(a.n,a.c)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"cityBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.cityArray,function(a){return t("a",{class:a.n==n.activeCity?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseCity(a.n,a.a)}}},[t("span",[n._v(n._s(a.n))])])}))]),n._v(" "),t("li",{ref:"areaBox",staticClass:"cityselect-item"},[t("div",{staticClass:"cityselect-item-box"},n._l(n.areaArray,function(a){return t("a",{class:a==n.activeArea?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),n.chooseArea(a)}}},[t("span",[n._v(n._s(a))])])}))])])])])},staticRenderFns:[]}},155:function(n,a,t){var e=t(17);"string"==typeof e&&(e=[[n.id,e,""]]),e.locals&&(n.exports=e.locals);t(3)("4171e83c",e,!0)},192:function(n,a,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var i=t(5),s=t(237),o=e(s);a.default={name:"yd-cityselect",data:function(){return{citys:o.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(n){i.isIOS&&(n?(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=n},ready:function(n){n&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,i.getScrollview)(this.$el))},chooseProvance:function(n,a){this.nav.index=1,this.nav.txt1=this.activeProvance=n,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=a,this.activeCity=""},chooseCity:function(n,a){return this.nav.txt2=this.activeCity=n,this.activeArea="",a.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=a,void this.forwardView(!0))},chooseArea:function(n){this.nav.txt3=this.activeArea=n,this.returnValue()},setDefalutValue:function(){var n=this;this.provance&&this.citys.every(function(a,t){if(a.n==n.provance){var e=n.$refs.provanceBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.index=1,n.nav.txt1=n.activeProvance=n.provance,n.nav.txt2="请选择";var i=n.cityArray=a.c;return i.every(function(a,t){if(a.n==n.city){var e=n.$refs.cityBox;e.scrollTop=t*n.itemHeight-e.offsetHeight/3,n.nav.txt2=n.activeCity=n.city;var i=n.areaArray=a.a,s=i.indexOf(n.area);if(i.length>0&&(n.nav.index=2,n.nav.txt3="请选择",n.forwardView(!1)),s>-1){var o=n.$refs.areaBox;o.scrollTop=s*n.itemHeight-o.offsetHeight/3,n.nav.txt3=n.activeArea=n.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){i.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(n){this.nav.index=n,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(n){this.nav.index=2,this.activeClasses=(n?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},237:function(n,a,t){var e,i;!function(){var s=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"],n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"], n:"苏州市"}]},{n:"山东",c:[{a:["河口区","广饶县","利津县","垦利区","东营区"],n:"东营市"},{a:["潍城区","奎文区","高新区","寒亭区","寿光市","青州市","诸城市","安丘市","高密市","昌邑市","昌乐县","临朐县","坊子区"],n:"潍坊市"},{a:["莱山区","芝罘区","开发区","福山区","牟平区","龙口市","莱州市","莱阳市","招远市","蓬莱市","栖霞市","海阳市","长岛县"],n:"烟台市"},{a:["荣成市","文登市","乳山市","环翠区"],n:"威海市"},{a:["莱城区","钢城区"],n:"莱芜市"},{a:["德城区","临邑县","齐河县","乐陵市","禹城市","陵县","宁津县","武城县","庆云县","平原县","夏津县"],n:"德州市"},{a:["兰陵县","兰山区","河东区","沂南县","沂水县","费县","平邑县","蒙阴县","临沭县","莒南县","郯城县","罗庄区"],n:"临沂市"},{a:["东昌府区","临清市","阳谷县","茌平县","莘县","东阿县","冠县","高唐县"],n:"聊城市"},{a:["北海新区","滨城区","邹平县","沾化县","惠民县","博兴县","阳信县","无棣县"],n:"滨州市"},{a:["牡丹区","单县","曹县","定陶县","巨野县","成武县","东明县","郓城县","鄄城县"],n:"菏泽市"},{a:["岚山区","新市区","五莲县","东港区","莒县"],n:"日照市"},{a:["梁山县","兖州市","微山县","汶上县","泗水县","嘉祥县","鱼台县","金乡县","邹城市","市中区","曲阜市","高新区","任城区"],n:"济宁市"},{a:["东平县","岱岳区","泰山区","肥城市","新泰市","宁阳县"],n:"泰安市"},{a:["高新区","长清区","历城区","天桥区","槐荫区","历下区","市中区","章丘市","平阴县","济阳县","商河县"],n:"济南市"},{a:["四方区","市北区","市南区","黄岛区","李沧区","即墨市","城阳区","崂山区","胶州市","平度市","莱西市"],n:"青岛市"},{a:["临淄区","张店区","周村区","淄川区","博山区","高青县","沂源县","桓台县"],n:"淄博市"},{a:["滕州市","山亭区","台儿庄区","峄城区","薛城区","市中区"],n:"枣庄市"}]},{n:"安徽",c:[{a:["铜官区","枞阳县","郊区","义安区"],n:"铜陵市"},{a:["包河区","蜀山区","瑶海区","庐阳区","滨湖新区","经济技术开发区","高新技术开发区","新站综合开发试验区","肥西县","政务文化新区","巢湖市","长丰县","肥东县","庐江县","北城新区"],n:"合肥市"},{a:["淮南高新技术开发区","田家庵区","大通区","谢家集区","八公山区","寿县","凤台县","潘集区"],n:"淮南市"},{a:["杜集区","烈山区","濉溪县","相山区"],n:"淮北市"},{a:["镜湖区","弋江区","无为县","芜湖县","繁昌县","南陵县","鸠江区","三山区"],n:"芜湖市"},{a:["蚌山区","怀远县","固镇县","五河县","淮上区","龙子湖区","禹会区"],n:"蚌埠市"},{a:["博望区","花山区","雨山区","当涂县","含山县","和县"],n:"马鞍山市"},{a:["桐城市","宿松县","太湖县","怀宁县","岳西县","望江县","潜山县","大观区","宜秀区","迎江区"],n:"安庆市"},{a:["徽州区","屯溪区","休宁县","歙县","黟县","祁门县","黄山区"],n:"黄山市"},{a:["琅琊区","天长市","明光市","全椒县","来安县","南谯区","定远县","凤阳县"],n:"滁州市"},{a:["经济开发区","界首市","太和县","阜南县","颍上县","临泉县","颍泉区","颍州区","颍东区"],n:"阜阳市"},{a:["利辛县","蒙城县","涡阳县","谯城区"],n:"亳州市"},{a:["旌德县","宁国市","郎溪县","广德县","绩溪县","泾县","宣州区"],n:"宣城市"},{a:["经济开发区","埇桥区","灵璧县","泗县","萧县","砀山县"],n:"宿州市"},{a:["贵池区","东至县","石台县","青阳县"],n:"池州市"},{a:["霍山县","金寨县","霍邱县","舒城县","金安区","裕安区"],n:"六安市"}]},{n:"浙江",c:[{a:["龙泉市","缙云县","遂昌县","松阳县","景宁县","云和县","青田县","莲都区","庆元县"],n:"丽水市"},{a:["临海市","三门县","天台县","仙居县","黄岩区","椒江区","路桥区","温岭市","玉环县"],n:"台州市"},{a:["岱山县","嵊泗县","普陀区","定海区"],n:"舟山市"},{a:["海曙区","江东区","高新科技开发区","慈溪市","北仑区","镇海区","鄞州区","江北区","余姚市","奉化市","宁海县","象山县"],n:"宁波市"},{a:["上城区","下城区","拱墅区","西湖区","江干区","下沙区","余杭区","萧山区","滨江区","临安市","富阳区","桐庐县","建德市","淳安县"],n:"杭州市"},{a:["龙湾区","茶山高教园区","瑞安市","乐清市","鹿城区","瓯海区","永嘉县","文成县","平阳县","泰顺县","洞头区","苍南县"],n:"温州市"},{a:["桐乡市","平湖市","嘉善县","南湖区","秀洲区","海宁市","海盐县"],n:"嘉兴市"},{a:["南浔区","吴兴区","长兴县","德清县","安吉县"],n:"湖州市"},{a:["柯桥区","越城区","诸暨市","上虞区","嵊州市","新昌县"],n:"绍兴市"},{a:["金东区","婺城区","兰溪市","武义县","浦江县","磐安县","义乌市","永康市","东阳市"],n:"金华市"},{a:["柯城区","衢江区","江山市","常山县","开化县","龙游县"],n:"衢州市"}]},{n:"福建",c:[{a:["台江区","鼓楼区","晋安区","仓山区","马尾区","福清市","闽侯县","长乐市","平潭县","连江县","罗源县","永泰县","闽清县"],n:"福州市"},{a:["思明区","湖里区","翔安区","海沧区","集美区","同安区"],n:"厦门市"},{a:["永安市","明溪县","将乐县","大田县","宁化县","建宁县","沙县","尤溪县","清流县","泰宁县","梅列区","三元区"],n:"三明市"},{a:["仙游县","城厢区","荔城区","秀屿区","涵江区"],n:"莆田市"},{a:["泉港区","石狮市","南安市","惠安县","安溪县","德化县","永春县","金门县","洛江区","鲤城区","丰泽区","晋江市"],n:"泉州市"},{a:["芗城区","龙文区","龙海市","平和县","南靖县","诏安县","漳浦县","华安县","云霄县","东山县","长泰县"],n:"漳州市"},{a:["建瓯市","邵武市","武夷山市","建阳市","松溪县","顺昌县","浦城县","政和县","光泽县","延平区"],n:"南平市"},{a:["新罗区","漳平市","长汀县","武平县","永定县","上杭县","连城县"],n:"龙岩市"},{a:["蕉城区","东侨开发区","福安市","福鼎市","寿宁县","霞浦县","柘荣县","屏南县","古田县","周宁县"],n:"宁德市"}]},{n:"湖北",c:[{a:["松柏镇","阳日镇","木鱼镇","红坪镇","新华镇","宋洛乡","九湖乡","下谷坪乡"],n:"神农架林区"},{a:["硚口区","武昌区","武汉经济技术开发区","江岸区","江汉区","蔡甸区","江夏区","新洲区","黄陂区","汉阳区","青山区","洪山区","汉南区","东西湖区"],n:"武汉市"},{a:["园林","杨市","周矶","广华","泰丰","竹根滩镇","高石碑镇","积玉口镇","渔洋镇","王场镇","熊口镇","老新镇","浩口镇","张金镇","龙湾镇","江汉石油管理局","潜江经济开发区","西大垸管理区","运粮湖管理区","周矶管理区","后湖管理区","熊口管理区","总口管理区","高场原种场","浩口原种场"],n:"潜江市"},{a:["黄石港区","下陆区","西塞山区","铁山区","大冶市","阳新县","经济技术开发区"],n:"黄石市"},{a:["老河口市","枣阳市","宜城市","南漳县","保康县","谷城县","樊城区","襄城区","襄州区"],n:"襄阳市"},{a:["丹江口市","房县","竹山县","竹溪县","郧县","郧西县","茅箭区","张湾区"],n:"十堰市"},{a:["沙市区","荆州区","江陵县","洪湖市","石首市","松滋市","监利县","公安县"],n:"荆州市"},{a:["伍家岗区","西陵区","宜都市","猇亭区","点军区","当阳市","枝江市","夷陵区","秭归县","兴山县","远安县","五峰土家族自治县","长阳土家族自治县"],n:"宜昌市"},{a:["汉川市","云梦县","大悟县","孝昌县","孝南区","应城市","安陆市"],n:"孝感市"},{a:["黄州区","蕲春县","麻城市","武穴市","浠水县","红安县","罗田县","黄梅县","英山县","团风县"],n:"黄冈市"},{a:["侨乡街道开发区","竟陵街道","杨林街道","佛子山镇","多宝镇","拖市镇","张港镇","蒋场镇","汪场镇","渔薪镇","黄潭镇","岳口镇","横林镇","彭市镇","麻洋镇","多祥镇","干驿镇","马湾镇","卢市镇","小板镇","九真镇","皂市镇","胡市镇","石河镇","净潭乡","蒋湖农场","白茅湖农场","沉湖管委会"],n:"天门市"},{a:["城区","郑场镇","毛嘴镇","豆河镇","三伏潭镇","胡场镇","长埫口镇","西流河镇","沙湖镇","杨林尾镇","彭场镇","张沟镇","郭河镇","沔城镇","通海口镇","陈场镇","工业园区","九合垸原种场","沙湖原种场","排湖渔场","五湖渔场","赵西垸林场","刘家垸林场","畜禽良种场"],n:"仙桃市"},{a:["咸安区","赤壁市","嘉鱼县","通山县","崇阳县","通城县"],n:"咸宁市"},{a:["恩施市","利川市","建始县","来凤县","巴东县","鹤峰县","宣恩县","咸丰县"],n:"恩施州"},{a:["梁子湖区","华容区","鄂城区"],n:"鄂州市"},{a:["东宝区","掇刀区","钟祥市","京山县","沙洋县"],n:"荆门市"},{a:["曾都区","广水市","随县"],n:"随州市"}]},{n:"湖南",c:[{a:["慈利县","桑植县","武陵源区","永定区"],n:"张家界市"},{a:["资兴市","宜章县","安仁县","汝城县","嘉禾县","临武县","桂东县","永兴县","桂阳县","北湖区","苏仙区"],n:"郴州市"},{a:["南县","桃江县","安化县","赫山区","资阳区","沅江市"],n:"益阳市"},{a:["冷水滩区","祁阳县","双牌县","道县","江永县","江华县","宁远县","新田县","蓝山县","东安县","零陵区"],n:"永州市"},{a:["鹤城区","洪江市","会同县","溆浦县","中方县","辰溪县","靖州县","通道县","芷江县","新晃县","麻阳县","沅陵县"],n:"怀化市"},{a:["娄星区","冷水江市","涟源市","新化县","双峰县"],n:"娄底市"},{a:["吉首市","古丈县","龙山县","永顺县","泸溪县","凤凰县","花垣县","保靖县"],n:"湘西州"},{a:["芙蓉区","岳麓区","雨花区","开福区","天心区","浏阳市","长沙县","宁乡县","望城区"],n:"长沙市"},{a:["天元区","石峰区","芦淞区","荷塘区","醴陵市","株洲县","攸县","茶陵县","炎陵县"],n:"株洲市"},{a:["雨湖区","岳塘区","湘乡市","湘潭县","韶山市"],n:"湘潭市"},{a:["蒸湘区","石鼓区","珠晖区","雁峰区","常宁市","衡阳县","耒阳市","衡东县","衡南县","衡山县","祁东县","南岳区"],n:"衡阳市"},{a:["大祥区","双清区","北塔区","武冈市","邵东县","洞口县","新邵县","绥宁县","新宁县","邵阳县","隆回县","城步县"],n:"邵阳市"},{a:["岳阳楼区","君山区","云溪区","临湘市","汨罗市","岳阳县","湘阴县","华容县","平江县"],n:"岳阳市"},{a:["汉寿县","石门县","安乡县","鼎城区","武陵区","津市市","澧县","临澧县","桃源县"],n:"常德市"}]},{n:"广东",c:[{a:["天河区","海珠区","荔湾区","越秀区","番禺区","花都区","萝岗区","白云区","南沙区","黄埔区","增城区","从化区","广州大学城"],n:"广州市"},{a:["罗湖区","福田区","南山区","宝安区","光明新区","龙岗区","坪山新区","盐田区","龙华新区","大鹏新区"],n:"深圳市"},{a:["斗门区","金湾区","香洲区"],n:"珠海市"},{a:["龙湖区","金平区","澄海区","潮阳区","潮南区","濠江区","南澳县"],n:"汕头市"},{a:["武江区","浈江区","南雄市","乐昌市","仁化县","始兴县","翁源县","新丰县","乳源瑶族自治县","曲江区"],n:"韶关市"},{a:["和平县","龙川县","紫金县","连平县","源城区","东源县"],n:"河源市"},{a:["梅江区","兴宁市","梅县","蕉岭县","大埔县","丰顺县","五华县","平远县"],n:"梅州市"},{a:["惠阳区","大亚湾区","惠城区","惠东县","博罗县","龙门县"],n:"惠州市"},{a:["城区","陆丰市","陆河县","海丰县"],n:"汕尾市"},{a:["长安镇","莞城区","南城区","寮步镇","大岭山镇","横沥镇","常平镇","厚街镇","万江区","樟木头镇","塘厦镇","凤岗镇","大朗镇","东坑镇","清溪镇","企石镇","茶山镇","东城区","虎门镇","黄江镇","石排镇","道滘镇","沙田镇","高埗镇","石龙镇","石碣镇","洪梅镇","麻涌镇","松山湖","桥头镇","望牛墩镇","中堂镇","谢岗镇"],n:"东莞市"},{a:["城区","火炬开发区","小榄镇","古镇","三乡镇","民众镇","东凤镇","板芙镇","神湾镇","横栏镇","港口镇","三角镇","大涌镇","南头镇","沙溪镇","坦洲镇","黄圃镇","五桂山镇","南朗镇","沙朗镇","阜沙镇","东升镇"],n:"中山市"},{a:["台山市","新会区","鹤山市","江海区","蓬江区","开平市","恩平市"],n:"江门市"},{a:["顺德区","禅城区","高明区","三水区","南海区"],n:"佛山市"},{a:["江城区","阳东县","阳春市","阳西县"],n:"阳江市"},{a:["赤坎区","霞山区","经济技术开发区","麻章区","遂溪县","廉江市","坡头区","雷州市","吴川市","徐闻县"],n:"湛江市"},{a:["茂南区","电白县","高州市","化州市","茂港区","信宜市"],n:"茂名市"},{a:["端州区","四会市","高要市","广宁县","德庆县","怀集县","封开县","鼎湖区"],n:"肇庆市"},{a:["云城区","罗定市","云安县","新兴县","郁南县"],n:"云浮市"},{a:["连州市","佛冈县","阳山县","清新县","连山县","连南县","清城区","英德市"],n:"清远市"},{a:["湘桥区","枫溪区","潮安区","饶平县"],n:"潮州市"},{a:["东山区","普宁市","榕城区","揭东县","揭西县","惠来县"],n:"揭阳市"}]},{n:"广西",c:[{a:["八步区","钟山县","昭平县","富川县","平桂管理区"],n:"贺州市"},{a:["右江区","平果县","乐业县","田阳县","西林县","田林县","德保县","靖西县","田东县","那坡县","隆林县","凌云县"],n:"百色市"},{a:["宜州市","天峨县","凤山县","南丹县","东兰县","巴马县","环江县","大化县","都安县","金城江区","罗城县"],n:"河池市"},{a:["江州区","凭祥市","扶绥县","大新县","天等县","宁明县","龙州县"],n:"崇左市"},{a:["良庆区","江南区","兴宁区","青秀区","西乡塘区","横县","上林县","隆安县","马山县","武鸣区","邕宁区","宾阳县"],n:"南宁市"},{a:["融安县","三江县","融水县","鱼峰区","城中区","柳南区","柳北区","柳江县","柳城县","鹿寨县"],n:"柳州市"},{a:["象山区","恭城县","秀峰区","叠彩区","七星区","雁山区","阳朔县","临桂县","灵川县","全州县","平乐县","兴安县","灌阳县","荔浦县","资源县","永福县","龙胜县"],n:"桂林市"},{a:["岑溪市","苍梧县","藤县","蒙山县","万秀区","蝶山区","长洲区"],n:"梧州市"},{a:["海城区","银海区","合浦县","铁山港区"],n:"北海市"},{a:["防城区","港口区","东兴市","上思县"],n:"防城港市"},{a:["钦南区","钦北区","浦北县","灵山县"],n:"钦州市"},{a:["港南区","港北区","桂平市","平南县","覃塘区"],n:"贵港市"},{a:["玉州区","北流市","容县","博白县","陆川县","兴业县"],n:"玉林市"},{a:["兴宾区","合山市","忻城县","武宣县","象州县","金秀县"],n:"来宾市"}]},{n:"江西",c:[{a:["青云谱区","西湖区","东湖区","昌北区","南昌县","进贤县","安义县","青山湖区","红谷滩新区","新建县","湾里区","高新区"],n:"南昌市"},{a:["珠山区","乐平市","浮梁县","昌江区"],n:"景德镇市"},{a:["湘东区","莲花县","上栗县","芦溪县","安源区"],n:"萍乡市"},{a:["分宜县","渝水区"],n:"新余市"},{a:["浔阳区","八里湖新区","经济技术开发区","修水县","瑞昌市","彭泽县","湖口县","共青城市","九江县","庐山区","德安县","都昌县","永修县","武宁县","星子县","庐山风景名胜区"],n:"九江市"},{a:["龙虎山风景旅游区","余江县","贵溪市","月湖区"],n:"鹰潭市"},{a:["德兴市","广丰县","鄱阳县","婺源县","余干县","横峰县","弋阳县","铅山县","玉山县","万年县","信州区","上饶县"],n:"上饶市"},{a:["丰城市","樟树市","袁州区","高安市","铜鼓县","靖安县","宜丰县","奉新县","万载县","上高县"],n:"宜春市"},{a:["南丰县","乐安县","金溪县","南城县","东乡县","资溪县","宜黄县","崇仁县","黎川县","广昌县","临川区"],n:"抚州市"},{a:["青原区","吉州区","井冈山市","吉安县","永丰县","永新县","新干县","泰和县","峡江县","遂川县","安福县","吉水县","万安县"],n:"吉安市"},{a:["章贡区","南康市","瑞金市","石城县","安远县","赣县","宁都县","寻乌县","兴国县","定南县","上犹县","于都县","龙南县","崇义县","大余县","信丰县","全南县","会昌县"],n:"赣州市"}]},{n:"四川",c:[{a:["仁寿县","彭山区","洪雅县","丹棱县","青神县","东坡区"],n:"眉山市"},{a:["雁江区","安岳县","乐至县","简阳市"],n:"资阳市"},{a:["马尔康县","九寨沟县","红原县","阿坝县","理县","若尔盖县","金川县","小金县","黑水县","松潘县","壤塘县","茂县","汶川县"],n:"阿坝州"},{a:["康定县","泸定县","九龙县","丹巴县","道孚县","炉霍县","色达县","甘孜县","新龙县","白玉县","德格县","石渠县","雅江县","理塘县","巴塘县","稻城县","乡城县","得荣县"],n:"甘孜州"},{a:["美姑县","昭觉县","会理县","会东县","普格县","宁南县","德昌县","冕宁县","盐源县","金阳县","布拖县","雷波县","越西县","喜德县","甘洛县","木里县","西昌市"],n:"凉山州"},{a:["武侯区","金牛区","青羊区","成华区","高新区","锦江区","郫县","双流县","高新西区","龙泉驿区","新都区","温江区","都江堰市","彭州市","青白江区","崇州市","金堂县","新津县","邛崃市","大邑县","蒲江县"],n:"成都市"},{a:["自流井区","沿滩区","荣县","富顺县","大安区","贡井区"],n:"自贡市"},{a:["仁和区","西区","东区","米易县","盐边县"],n:"攀枝花市"},{a:["纳溪区","江阳区","龙马潭区","泸县","合江县","叙永县","古蔺县"],n:"泸州市"},{a:["江油市","涪城区","游仙区","高新区","经开区","盐亭县","三台县","平武县","北川县","安县","梓潼县"],n:"绵阳市"},{a:["广汉市","什邡市","旌阳区","绵竹市","罗江县","中江县"],n:"德阳市"},{a:["昭化区","朝天区","利州区","青川县","旺苍县","剑阁县","苍溪县"],n:"广元市"},{a:["船山区","射洪县","蓬溪县","大英县","安居区"],n:"遂宁市"},{a:["东兴区","资中县","隆昌县","威远县","市中区"],n:"内江市"},{a:["市中区","峨眉山市","五通桥区","沙湾区","金口河区","夹江县","井研县","犍为县","沐川县","峨边县","马边县"],n:"乐山市"},{a:["宜宾县","南溪区","江安县","长宁县","兴文县","珙县","翠屏区","高县","屏山县","筠连县"],n:"宜宾市"},{a:["前锋区","岳池县","武胜县","邻水县","广安区","华蓥市"],n:"广安市"},{a:["顺庆区","高坪区","嘉陵区","西充县","阆中市","南部县","仪陇县","蓬安县","营山县"],n:"南充市"},{a:["通川区","达川区","大竹县","渠县","万源市","宣汉县","开江县"],n:"达州市"},{a:["巴州区","恩阳区","南江县","平昌县","通江县"],n:"巴中市"},{a:["芦山县","石棉县","名山区","天全县","荥经县","汉源县","宝兴县","雨城区"],n:"雅安市"}]},{n:"海南",c:[{a:["嘉积镇","万泉镇","石壁镇","中原镇","博鳌镇","阳江镇","龙江镇","潭门镇","塔洋镇","长坡镇","大路镇","会山镇","彬村山华侨农场","东太农场","东红农场","东升农场","南俸农场"],n:"琼海市"},{a:["兴隆镇","南林农场","万城镇","龙滚镇","和乐镇","后安镇","大茂镇","东澳镇","礼纪镇","长丰镇","山根镇","北大镇","南桥镇","三更罗镇","六连林场","东兴农场","东和农场","新中农场","兴隆华侨农场"],n:"万宁市"},{a:["秀英区","龙华区","琼山区","美兰区"],n:"海口市"},{a:["八所镇","东河镇","大田镇","感城镇","板桥镇","三家镇","四更镇","新龙镇","天安乡","江边乡","广坝农场","东方华侨农场"],n:"东方市"},{a:["崖城镇","海棠湾镇","吉阳镇","凤凰镇","天涯镇","育才镇","河西区","河东区","南田农场","南新农场","南岛农场","立才农场","南滨农场"],n:"三亚市"},{a:["文城镇","重兴镇","蓬莱镇","会文镇","东路镇","潭牛镇","东阁镇","文教镇","东郊镇","龙楼镇","昌洒镇","翁田镇","抱罗镇","冯坡镇","锦山镇","铺前镇","公坡镇","迈号镇","清谰镇","南阳镇","新桥镇","头苑镇","宝芳乡","龙马乡","湖山乡","东路农场","南阳农场","罗豆农场","橡胶研究所"],n:"文昌市"},{a:["通什镇","南圣镇","毛阳镇","番阳镇","畅好乡","毛道乡","水满乡","畅好农场"],n:"五指山市"},{a:["城区","临城镇","波莲镇","东英镇","博厚镇","皇桐镇","多文镇","和舍镇","南宝镇","新盈镇","调楼镇","加来镇","红华农场","加来农场"],n:"临高县"},{a:["城区","金江镇","老城镇","瑞溪镇","永发镇","加乐镇","文儒镇","中兴镇","仁兴镇","福山镇","桥头镇","大丰镇","红光农场","西达农场","金安农场"],n:"澄迈县"},{a:["黄竹镇","城区","定城镇","新竹镇","龙湖镇","雷鸣镇","龙门镇","龙河镇","岭口镇","翰林镇","富文镇","金鸡岭农场","中瑞农场","南海农场"],n:"定安县"},{a:["县城内","屯城镇","新兴镇","枫木镇","乌坡镇","南吕镇","南坤镇","中建农场","坡心镇","中坤农场","西昌镇"],n:"屯昌县"},{a:["红林农场","城区","石碌镇","叉河镇","十月田镇","乌烈镇","昌化镇","海尾镇","七叉镇","王下乡","海南矿业公司","霸王岭林场"],n:"昌江县"},{a:["南开乡","阜龙乡","青松乡","金波乡","荣邦乡","城区","白沙农场","牙叉镇","龙江农场","七坊镇","邦溪农场","邦溪镇","打安镇","细水乡","元门乡"],n:"白沙县"},{a:["吊罗山乡","黎母山林业公司","阳江农场","乌石农场","加钗农场","长征农场","营根镇","湾岭镇","黎母山镇","和平镇","长征镇","红毛镇","中平镇","上安乡","什运乡","城区"],n:"琼中县"},{a:["东华镇","南平镇","吊罗山林业公司","岭门农场","南平农场","椰林镇","光坡镇","三才镇","英州镇","隆广镇","文罗镇","本号镇","新村镇","黎安镇","提蒙乡","群英乡","城区"],n:"陵水县"},{a:["保亭研究所","新星农场","金江农场","三道农场","保城镇","什玲镇","加茂镇","响水镇","新政镇","三道镇","六弓乡","南林乡","毛感乡"],n:"保亭县"},{a:["尖峰岭林业公司","莺歌海盐场","山荣农场","乐光农场","抱由镇","保国农场","万冲镇","大安镇","志仲镇","千家镇","九所镇","利国镇","黄流镇","佛罗镇","尖峰镇","莺歌海镇","城区"],n:"乐东县"},{a:["中沙群岛","西沙群岛","南沙群岛"],n:"三沙市"},{a:["热作学院","那大镇","富克镇","和庆镇","南丰镇","大成镇","雅星镇","兰洋镇","光村镇","木棠镇","海头镇","峨蔓镇","三都镇","王五镇","白马井镇","中和镇","排浦镇","东成镇","新州镇","洋浦经济开发区","西培农场","西联农场","蓝洋农场","八一农场","西华农场","西庆农场","西流农场","新盈农场","龙山农场","红岭农场"],n:"儋州市"}]},{n:"贵州",c:[{a:["南明区","云岩区","花溪区","小河区","白云区","清镇市","开阳县","修文县","息烽县","乌当区","观山湖区"],n:"贵阳市"},{a:["盘县","六枝特区","水城县","钟山区"],n:"六盘水市"},{a:["红花岗区","汇川区","赤水市","仁怀市","遵义县","桐梓县","绥阳县","习水县","凤冈县","正安县","湄潭县","余庆县","道真县","务川县"],n:"遵义市"},{a:["碧江区","德江县","江口县","思南县","万山区","石阡县","玉屏侗族自治县","松桃苗族自治县","印江土家族苗族自治县","沿河土家族自治县"],n:"铜仁市"},{a:["七星关区","黔西县","大方县","织金县","金沙县","赫章县","纳雍县","威宁彝族回族苗族自治县"],n:"毕节市"},{a:["西秀区","普定县","平坝县","镇宁布依族苗族自治县","关岭布依族苗族自治县","紫云苗族布依族自治县"],n:"安顺市"},{a:["兴义市","望谟县","兴仁县","普安县","册亨县","晴隆县","贞丰县","安龙县"],n:"黔西南州"},{a:["凯里市","施秉市","从江县","锦屏县","镇远县","麻江县","台江县","天柱县","黄平县","榕江县","剑河县","三穗县","雷山县","黎平县","岑巩县","丹寨县"],n:"黔东南州"},{a:["都匀市","福泉市","贵定县","惠水县","罗甸县","瓮安县","荔波县","龙里县","平塘县","长顺县","独山县","三都县"],n:"黔南州"}]},{n:"云南",c:[{a:["玉龙县","华坪县","永胜县","宁蒗县","古城区"],n:"丽江市"},{a:["文山市","麻栗坡县","砚山县","广南县","马关县","富宁县","西畴县","丘北县"],n:"文山州"},{a:["香格里拉县","德钦县","维西县"],n:"迪庆州"},{a:["个旧市","开远市","弥勒县","红河县","绿春县","蒙自市","泸西县","建水县","元阳县","石屏县","金平县","屏边县","河口县"],n:"红河州"},{a:["景洪市","勐海县","勐腊县"],n:"西双版纳州"},{a:["元谋县","南华县","牟定县","武定县","大姚县","双柏县","禄丰县","永仁县","姚安县","楚雄市"],n:"楚雄州"},{a:["剑川县","弥渡县","云龙县","洱源县","鹤庆县","宾川县","祥云县","永平县","巍山县","漾濞县","南涧县","大理市"],n:"大理州"},{a:["芒市","瑞丽市","盈江县","梁河县","陇川县"],n:"德宏州"},{a:["泸水县","福贡县","兰坪县","贡山县"],n:"怒江州"},{a:["盘龙区","五华区","西山区","官渡区","呈贡区","东川区","安宁市","富民县","嵩明县","晋宁县","宜良县","禄劝县","石林县","寻甸县"],n:"昆明市"},{a:["麒麟区","马龙县","宣威市","富源县","会泽县","陆良县","师宗县","罗平县","沾益县"],n:"曲靖市"},{a:["红塔区","华宁县","澄江县","易门县","通海县","江川县","元江县","新平县","峨山县"],n:"玉溪市"},{a:["鲁甸县","绥江县","昭阳区","镇雄县","永善县","大关县","盐津县","彝良县","水富县","巧家县","威信县"],n:"昭通市"},{a:["孟连县","思茅区","宁洱县","景东县","镇沅县","景谷县","墨江县","澜沧县","西盟县","江城县"],n:"普洱市"},{a:["双江县","沧源县","临翔区","镇康县","凤庆县","云县","永德县","耿马县"],n:"临沧市"},{a:["隆阳区","施甸县","昌宁县","龙陵县","腾冲县"],n:"保山市"}]},{n:"西藏",c:[{a:["双湖县","索县","那曲县","嘉黎县","比如县","聂荣县","安多县","申扎县","班戈县","巴青县","尼玛县"],n:"那曲地区"},{a:["贡嘎县","扎囊县","乃东县","桑日县","琼结县","曲松县","措美县","洛扎县","加查县","隆子县","错那县","浪卡子县"],n:"山南地区"},{a:["昌都县","江达县","贡觉县","类乌齐县","丁青县","察雅县","八宿县","左贡县","芒康县","洛隆县","边坝县"],n:"昌都地区"},{a:["聂拉木县","昂仁县","日喀则市","南木林县","江孜县","定日县","萨迦县 ","拉孜县","谢通门县","白朗县","仁布县","康马县","定结县","仲巴县","亚东县","吉隆县","萨嘎县","岗巴县"],n:"日喀则地区"},{a:["噶尔县","普兰县","札达县 ","日土县","革吉县","改则县","措勤县"],n:"阿里地区"},{a:["林芝县","工布江达县","米林县","墨脱县","波密县","察隅县","朗县"],n:"林芝地区"},{a:["城关区","林周县","当雄县","尼木县","曲水县","堆龙德庆县","达孜县","墨竹工卡县"],n:"拉萨市"}]},{n:"陕西",c:[{a:["新城区","雁塔区","未央区","长安区","灞桥区","碑林区","莲湖区","临潼区","阎良区","西安武警工程学院","高陵县","蓝田县","户县","周至县"],n:"西安市"},{a:["印台区","宜君县","王益区","耀州区"],n:"铜川市"},{a:["渭滨区","金台区","岐山县","太白县","凤翔县","陇县","麟游县","千阳县","扶风县","凤县","眉县","陈仓区"],n:"宝鸡市"},{a:["秦都区","渭城区","兴平市","礼泉县","泾阳县","永寿县","三原县","彬县","旬邑县","长武县","乾县","武功县","淳化县","杨陵区"],n:"咸阳市"},{a:["韩城市","华阴市","蒲城县","华县","潼关县","大荔县","澄城县","合阳县","白水县","富平县","临渭区"],n:"渭南市"},{a:["宝塔区","安塞县","洛川县","子长县","黄陵县","延长县","宜川县","延川县","甘泉县","富县","志丹县","黄龙县","吴起县"],n:"延安市"},{a:["经济开发区南区","汉台区","南郑县","城固县","洋县","佛坪县","留坝县","镇巴县","西乡县","勉县","略阳县","宁强县"],n:"汉中市"},{a:["清涧县","绥德县","佳县","神木县","府谷县","子洲县","横山县","米脂县","吴堡县","定边县","榆阳区","靖边县"],n:"榆林市"},{a:["商州区","镇安县","山阳县","洛南县","商南县","丹凤县","柞水县"],n:"商洛市"},{a:["汉滨区","紫阳县","岚皋县","旬阳县","镇坪县","平利县","宁陕县","汉阴县","石泉县","白河县"],n:"安康市"}]},{n:"甘肃",c:[{a:["合作市","夏河县","碌曲县","舟曲县","玛曲县","迭部县","临潭县","卓尼县"],n:"甘南州"},{a:["岷县","安定区","通渭县","临洮县","漳县","渭源县","陇西县"],n:"定西市"},{a:["临夏县","康乐县","永靖县","和政县","东乡族自治县","积石山县","临夏市","广河县"],n:"临夏州"},{a:["七里河区","安宁区","城关区","西固区","红古区","永登县","榆中县","皋兰县"],n:"兰州市"},{a:["永昌县","金川区"],n:"金昌市"},{a:["白银区","平川区","靖远县","景泰县","会宁县"],n:"白银市"},{a:["麦积区","秦州区","甘谷县","武山县","清水县","秦安县","张家川县"],n:"天水市"},{a:["长城区","镜铁区","雄关区"],n:"嘉峪关市"},{a:["静宁县","崆峒区","华亭县","崇信县","泾川县","灵台县","庄浪县"],n:"平凉市"},{a:["庆城县","西峰区","镇原县","合水县","华池县","环县","宁县","正宁县"],n:"庆阳市"},{a:["成县","礼县","康县","武都区","文县","两当县","徽县","宕昌县","西和县"],n:"陇南市"},{a:["凉州区","古浪县","天祝县","民勤县"],n:"武威市"},{a:["甘州区","山丹县","临泽县","高台县","肃南县","民乐县"],n:"张掖市"},{a:["金塔县","阿克塞县","肃北县","瓜州县","肃州区","玉门市","敦煌市"],n:"酒泉市"}]},{n:"青海",c:[{a:["湟中县","湟源县","大通县","城中区","城东区","城西区","城北区"],n:"西宁市"},{a:["平安县","乐都县","民和县","互助县","化隆县","循化县"],n:"海东地区"},{a:["海晏县","祁连县","刚察县","门源县"],n:"海北州"},{a:["尖扎县","同仁县","泽库县","河南县"],n:"黄南州"},{a:["共和县","同德县","贵德县","兴海县","贵南县"],n:"海南州"},{a:["玛沁县","甘德县","达日县","班玛县","久治县","玛多县"],n:"果洛州"},{a:["玉树县","称多县","囊谦县","杂多县","治多县","曲麻莱县"],n:"玉树州"},{a:["德令哈市","乌兰县","天峻县","都兰县","大柴旦行委","冷湖行委","茫崖行委","格尔木市"],n:"海西州"}]},{n:"宁夏",c:[{a:["灵武市","永宁县","贺兰县","兴庆区","金凤区","西夏区"],n:"银川市"},{a:["平罗县","惠农区","大武口区"],n:"石嘴山市"},{a:["青铜峡市","同心县","盐池县","红寺堡开发区","利通区"],n:"吴忠市"},{a:["西吉县","隆德县","泾源县","彭阳县","原州区"],n:"固原市"},{a:["中宁县","海原县","沙坡头区"],n:"中卫市"}]},{n:"新疆",c:[{a:["铁门关市"],n:"铁门关市"},{a:["五家渠市"],n:"五家渠市"},{a:["阿拉尔市"],n:"阿拉尔市"},{a:["图木舒克市"],n:"图木舒克市"},{a:["天山区","头屯河区","达坂城区","米东区","新市区","沙依巴克区","水磨沟区","乌鲁木齐县"],n:"乌鲁木齐市"},{a:["克拉玛依区","独山子区","乌尔禾区","白碱滩区"],n:"克拉玛依市"},{a:["石河子市"],n:"石河子市"},{a:["吐鲁番市","托克逊县","鄯善县"],n:"吐鲁番地区"},{a:["哈密市","巴里坤县","伊吾县"],n:"哈密地区"},{a:["和田县","和田市","墨玉县","洛浦县","策勒县","于田县","民丰县","皮山县"],n:"和田地区"},{a:["阿克苏市","温宿县","沙雅县","拜城县","阿瓦提县","库车县","柯坪县","新和县","乌什县"],n:"阿克苏地区"},{a:["喀什市","巴楚县","泽普县","伽师县","叶城县","岳普湖县","疏附县","疏勒县","英吉沙县","麦盖提县","莎车县","塔什库尔干县"],n:"喀什地区"},{a:["阿图什市","阿合奇县","乌恰县","阿克陶县"],n:"克孜勒苏州"},{a:["库尔勒市","尉犁县","和静县","博湖县","和硕县","轮台县","若羌县","且末县","焉耆县"],n:"巴音郭楞州"},{a:["昌吉市","阜康市","奇台县","玛纳斯县","吉木萨尔县","呼图壁县","木垒县"],n:"昌吉州"},{a:["阿拉山口市","博乐市","精河县","温泉县"],n:"博尔塔拉州"},{a:["伊宁县","伊宁市","特克斯县","尼勒克县","昭苏县","新源县","霍城县","察布查尔县","巩留县","奎屯市"],n:"伊犁州"},{a:["塔城市","乌苏市","额敏县","裕民县","沙湾县","托里县","和布克赛尔县"],n:"塔城地区"},{a:["北屯市","阿勒泰市","富蕴县","青河县","吉木乃县","布尔津县","福海县","哈巴河县"],n:"阿勒泰地区"}]},{n:"台湾",c:[{a:["台湾市区内"],n:"台湾"}]},{n:"钓鱼岛",c:[{a:[],n:"钓鱼岛"}]},{n:"港澳",c:[{a:["中西区","东区","九龙城区","观塘区","深水埗区","湾仔区","黄大仙区","油尖旺区","离岛区","葵青区","北区","西贡区","沙田区","屯门区","大埔区","荃湾区","元朗区","香港","九龙","新界"],n:"香港特别行政区"},{a:["澳门特别行政区","澳门半岛","凼仔","路凼城","路环"],n:"澳门特别行政区"}]}];e=s,i="function"==typeof e?e.call(a,t,a,n):e,!(void 0!==i&&(n.exports=i))}()}})}); \ No newline at end of file diff --git a/dist/lib.rem/countdown/index.js b/dist/lib.rem/countdown/index.js index 57ef419f..7ffd38cc 100644 --- a/dist/lib.rem/countdown/index.js +++ b/dist/lib.rem/countdown/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var r=n(52),i=o(r);e.CountDown=i.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var u=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];u[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},52:function(t,e,n){var o=n(1)(n(186),n(128),null,null);t.exports=o.exports},128:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("span",{domProps:{innerHTML:t._s(t.str)}}),t._v(" "),t.showTpl?n("span",{ref:"tpl"},[t._t("default")],2):t._e()])},staticRenderFns:[]}},186:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var o=function(t){return t<=0?"00":t<10?"0"+t:t},r=["d","h","m","s"];return r.forEach(function(t){var r=o(n[t]).toString().split("");e=e.replace("{%"+t+"}",o(n[t])),e=e.replace("{%"+t+"0}",0!=~~r[0]?r[0]:""),e=e.replace("{%"+t+"1}",~~r[r.length-2]),e=e.replace("{%"+t+"2}",~~r[r.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var r=n(54),i=o(r);e.CountDown=i.default},1:function(t,e){t.exports=function(t,e,n,o){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),o){var u=a.computed||(a.computed={});Object.keys(o).forEach(function(t){var e=o[t];u[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},54:function(t,e,n){var o=n(1)(n(193),n(126),null,null);t.exports=o.exports},126:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("span",{domProps:{innerHTML:t._s(t.str)}}),t._v(" "),t.showTpl?n("span",{ref:"tpl"},[t._t("default")],2):t._e()])},staticRenderFns:[]}},193:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var o=function(t){return t<=0?"00":t<10?"0"+t:t},r=["d","h","m","s"];return r.forEach(function(t){var r=o(n[t]).toString().split("");e=e.replace("{%"+t+"}",o(n[t])),e=e.replace("{%"+t+"0}",0!=~~r[0]?r[0]:""),e=e.replace("{%"+t+"1}",~~r[r.length-2]),e=e.replace("{%"+t+"2}",~~r[r.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/countup/index.js b/dist/lib.rem/countup/index.js index 4fd3eb52..b430caf7 100644 --- a/dist/lib.rem/countup/index.js +++ b/dist/lib.rem/countup/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():t.ydui=n()}(this,function(){return function(t){function n(a){if(e[a])return e[a].exports;var i=e[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var e={};return n.m=t,n.c=e,n.p="/dist/",n(0)}({0:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.CountUp=void 0;var i=e(53),o=a(i);n.CountUp=o.default},1:function(t,n){t.exports=function(t,n,e,a){var i,o=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),a){var s=u.computed||(u.computed={});Object.keys(a).forEach(function(t){var n=a[t];s[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},53:function(t,n,e){var a=e(1)(e(187),e(125),null,null);t.exports=a.exports},125:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("span")},staticRenderFns:[]}},187:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(229),o=a(i);n.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var n=this;t&&this.instance.start(function(){"function"==typeof n.callback&&n.callback(n.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var n={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new o.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,n),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},229:function(t,n,e){var a,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(o,r){a=r,i="function"==typeof a?a.call(n,e,n,t):a,!(void 0!==i&&(t.exports=i))}(void 0,function(t,n,e){var a=function(t,n,e,a,i,r){for(var u=0,s=["webkit","moz","ms","o"],l=0;lc.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,a||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*Number(i)||2e3,c.formatNumber=function(t){t=t.toFixed(c.decimals),t+="";var n,e,a,i;if(n=t.split("."),e=n[0],a=n.length>1?c.options.decimal+n[1]:"",i=/(\d+)(\d{3})/,c.options.useGrouping)for(;i.test(e);)e=e.replace(i,"$1"+c.options.separator+"$2");return c.options.prefix+e+a+c.options.suffix},c.easeOutExpo=function(t,n,e,a){return e*(-Math.pow(2,-10*t/a)+1)*1024/1023+n},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.printValue=function(t){var n=c.formattingFn(t);"INPUT"===c.d.tagName?this.d.value=n:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=n:this.d.innerHTML=n},c.count=function(t){c.startTime||(c.startTime=t),c.timestamp=t;var n=t-c.startTime;c.remaining=c.duration-n,c.options.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(n,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(n,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.frameVal=c.startVal-(c.startVal-c.endVal)*(n/c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(n/c.duration),c.countDown?c.frameVal=c.frameValc.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),nc.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return a})}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():t.ydui=n()}(this,function(){return function(t){function n(a){if(e[a])return e[a].exports;var i=e[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var e={};return n.m=t,n.c=e,n.p="/dist/",n(0)}({0:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.CountUp=void 0;var i=e(55),o=a(i);n.CountUp=o.default},1:function(t,n){t.exports=function(t,n,e,a){var i,o=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),a){var s=u.computed||(u.computed={});Object.keys(a).forEach(function(t){var n=a[t];s[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},55:function(t,n,e){var a=e(1)(e(194),e(114),null,null);t.exports=a.exports},114:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("span")},staticRenderFns:[]}},194:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(238),o=a(i);n.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var n=this;t&&this.instance.start(function(){"function"==typeof n.callback&&n.callback(n.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var n={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new o.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,n),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},238:function(t,n,e){var a,i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(o,r){a=r,i="function"==typeof a?a.call(n,e,n,t):a,!(void 0!==i&&(t.exports=i))}(void 0,function(t,n,e){var a=function(t,n,e,a,i,r){for(var u=0,s=["webkit","moz","ms","o"],l=0;lc.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,a||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*Number(i)||2e3,c.formatNumber=function(t){t=t.toFixed(c.decimals),t+="";var n,e,a,i;if(n=t.split("."),e=n[0],a=n.length>1?c.options.decimal+n[1]:"",i=/(\d+)(\d{3})/,c.options.useGrouping)for(;i.test(e);)e=e.replace(i,"$1"+c.options.separator+"$2");return c.options.prefix+e+a+c.options.suffix},c.easeOutExpo=function(t,n,e,a){return e*(-Math.pow(2,-10*t/a)+1)*1024/1023+n},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.printValue=function(t){var n=c.formattingFn(t);"INPUT"===c.d.tagName?this.d.value=n:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=n:this.d.innerHTML=n},c.count=function(t){c.startTime||(c.startTime=t),c.timestamp=t;var n=t-c.startTime;c.remaining=c.duration-n,c.options.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(n,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(n,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.frameVal=c.startVal-(c.startVal-c.endVal)*(n/c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(n/c.duration),c.countDown?c.frameVal=c.frameValc.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),nc.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return a})}})}); \ No newline at end of file diff --git a/dist/lib.rem/datetime/index.js b/dist/lib.rem/datetime/index.js new file mode 100644 index 00000000..2e09cf36 --- /dev/null +++ b/dist/lib.rem/datetime/index.js @@ -0,0 +1,2 @@ +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.ydui=t(require("vue")):e.ydui=t(e.Vue)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateTime=void 0;var a=n(56),i=r(a);t.DateTime=i.default},1:function(e,t){e.exports=function(e,t,n,r){var a,i=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(a=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:a,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],a=0;a=0&&a0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,a){if(n!==r){var i=n+a>r?r:n+a;n>r&&(i=n-a1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),o=Math.ceil(i/a*50);t(n,r,o)};t.pageScroll=n,t.isIOS=r,t.isColor=a,t.getScrollview=i,t.checkInview=o,t.addClass=u,t.removeClass=l,t.scrollTop=c},8:function(t,n){t.exports=e},14:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDateTimeString:function(e){return/^\d{4}((\.|-|\/)(0[1-9]|1[0-2]))((\.|-|\/)(0[1-9]|[12][0-9]|3[0-1]))( ([01][0-9]|2[0-3]):([012345][0-9]))?$/.test(e)},isTimeString:function(e){return/^([01][0-9]|2[0-3]):([012345][0-9])$/.test(e)},mentStr:function(e){return(100+~~e+"").substr(1,2)},getYearItems:function(e){var t=[],n=new Date,r=n.getFullYear()-10,a=n.getFullYear()+10;for(0!=e.startYear&&(r=~~e.startYear),0!=e.endYear&&(a=~~e.endYear),a-1?i=31:1==a&&(i=r%100==0?r%400==0?29:28:r%4==0?29:28),e.endDate){var o=new Date(e.endDate.replace(/-/g,"/"));o.getMonth()+1==e.currentMonth&&o.getFullYear()==e.currentYear&&o.getDate()a{height:43px;padding:0 30px;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#555}.datetime-head>a:last-child{color:#0bb20c}.datetime-content{position:relative;width:100%;height:266px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datetime-item{font-size:16px;height:100%;position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.datetime-item-content>span{width:100%;display:block;height:38px;line-height:38px;text-align:center}.datetime-item-box{height:100%}.datetime-indicator,.datetime-mask{pointer-events:none;position:absolute;left:0;top:0;height:100%;width:100%}.datetime-mask{z-index:3;-webkit-transform:translateZ(0);transform:translateZ(0);background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 114px;background-repeat:no-repeat}.datetime-indicator{z-index:4;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.datetime-indicator>span{display:block;width:100%;height:38px;position:relative}.datetime-indicator>span:after{top:0;border-top:1px solid #d9d9d9}.datetime-indicator>span:after,.datetime-indicator>span:before{content:"";position:absolute;z-index:0;left:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-indicator>span:before{bottom:0;border-bottom:1px solid #d9d9d9}',""])},56:function(e,t,n){n(178);var r=n(1)(n(195),n(149),null,null);e.exports=r.exports},57:function(e,t,n){var r=n(1)(n(196),n(107),null,null);e.exports=r.exports},107:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-datetime",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),n("div",{staticClass:"m-datetime",class:e.show?"datetime-active":""},[n("div",{staticClass:"datetime-head"},[n("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]),e._v(" "),n("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.setValue(t)}}},[e._v("确定")])]),e._v(" "),n("div",{staticClass:"datetime-content"},[e._l(e.columns,function(t){return n("div",{staticClass:"datetime-item"},[n("div",{ref:"Component_"+t,refInFor:!0,staticClass:"datetime-item-box"},[n("div",{ref:"Content_"+t,refInFor:!0,staticClass:"datetime-item-content"},e._l(e.items[t],function(t){return n("span",{attrs:{"data-value":t.value},domProps:{innerHTML:e._s(t.name)}})}))])])}),e._v(" "),n("div",{staticClass:"datetime-mask"}),e._v(" "),e._m(0)],2)])])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datetime-indicator"},[n("span")])}]}},149:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datetime-input",on:{click:function(t){t.stopPropagation(),e.open(t)}}},[e._v(e._s(e.value))])},staticRenderFns:[]}},178:function(e,t,n){var r=n(40);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("0a6fc2b2",r,!0)},195:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(8),i=r(a),o=n(14),s=r(o),u=n(57),l=r(u);t.default={name:"yd-datetime",data:function(){return{picker:null,currentValue:this.value}},props:{readonly:{type:Boolean,default:!1},type:{type:String,validator:function(e){return["datetime","date","time"].indexOf(e)>-1},default:"datetime"},startDate:{type:String,validator:function(e){return!e||s.default.isDateTimeString(e)}},endDate:{type:String,validator:function(e){return!e||s.default.isDateTimeString(e)}},startYear:{validator:function(e){return/^\d{4}|0$/.test(e)},default:0},endYear:{validator:function(e){return/^\d{4}|0$/.test(e)},default:0},startHour:{validator:function(e){return/^(0|[1-9]|1[0-9]|2[0-3])?$/.test(e)},default:0},endHour:{validator:function(e){return/^([1-9]|1[0-9]|2[0-3])?$/.test(e)},default:23},yearFormat:{type:String,default:"{value}年"},monthFormat:{type:String,default:"{value}月"},dayFormat:{type:String,default:"{value}日"},hourFormat:{type:String,default:"{value}时"},minuteFormat:{type:String,default:"{value}分"},value:{type:String,validator:function(e){return!e||(s.default.isDateTimeString(e)||s.default.isTimeString(e))}}},watch:{value:function(e){this.currentValue!=e&&this.render()},startDate:function(){this.render()},endDate:function(){this.render()}},methods:{open:function(){this.readonly||this.picker.open()},close:function(){this.picker.close()},removeElement:function(){this.picker&&this.picker.$el&&document.body.removeChild(this.picker.$el)},render:function(){var e=this;this.removeElement();var t=i.default.extend(l.default),n=this._props;n.parentEL=this.$el,this.picker=new t({el:document.createElement("div"),data:n}),document.body.appendChild(this.picker.$el),this.picker.$on("pickerConfirm",function(t){e.currentValue=t,e.$emit("input",t)})}},mounted:function(){this.render()},beforeDestroy:function(){this.removeElement()}}},196:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(240),i=r(a),o=n(14),s=r(o),u=n(5);t.default={data:function(){return{value:"",show:!1,parentEL:null,columns:[],scroller:[],type:"",items:{Year:[],Month:[],Day:[],Hour:[],Minute:[]},scrolling:{Year:!1,Month:!1,Day:!1,Hour:!1,Minute:!1},readonly:!1,currentYear:"",currentMonth:"",currentDay:"",currentHour:"",currentMinute:"",currentValue:"",yearFormat:"{value}年",monthFormat:"{value}月",dayFormat:"{value}日",hourFormat:"{value}时",minuteFormat:"{value}分",startYear:0,endYear:0,startHour:0,endHour:23}},watch:{currentYear:function(e){this.setMonths(e)},currentMonth:function(e){this.setDays(e)},currentDay:function(e){this.setHours(e)},currentHour:function(e){this.setMinutes(e)}},methods:{init:function(){var e=this,t=e.currentValue=e.value.replace(/-/g,"/");if(e.startDate&&new Date(t).getTime()new Date(e.endDate).getTime()&&(t=e.currentValue=e.endDate),"time"!==e.type){var n=e.items.Year=s.default.getYearItems({format:e.yearFormat,startDate:e.startDate,endDate:e.endDate,startYear:e.startYear,endYear:e.endYear}),r=s.default.getMonthItems({format:e.monthFormat,currentYear:e.currentYear,startDate:e.startDate,endDate:e.endDate}),a=s.default.getDateItems({format:e.dayFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,startDate:e.startDate,endDate:e.endDate});if(t){var i=new Date(t);e.currentYear=i.getFullYear(),e.inDatas(n,e.currentYear)||(e.currentYear=n[0].value),e.currentMonth=s.default.mentStr(i.getMonth()+1),e.inDatas(r,e.currentMonth)||(e.currentMonth=r[0].value),e.currentDay=s.default.mentStr(i.getDate()),e.inDatas(a,e.currentDay)||(e.currentDay=a[0].value)}else e.currentYear=n[0].value,e.currentMonth=r[0].value,e.currentDay=a[0].value}if("datetime"===e.type||"time"===e.type){var o=s.default.getHourItems({format:e.hourFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:e.currentDay,startDate:e.startDate,endDate:e.endDate,startHour:e.startHour,endHour:e.endHour}),u=s.default.getMinuteItems({format:e.minuteFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:e.currentDay,currentHour:e.currentHour,startDate:e.startDate,endDate:e.endDate});if("time"===e.type&&(e.items.Hour=o),t){if(s.default.isDateTimeString(t)){var l=new Date(t);e.currentHour=s.default.mentStr(l.getHours()),e.currentMinute=s.default.mentStr(l.getMinutes())}else{var c=t.split(":");e.currentHour=s.default.mentStr(c[0]),e.currentMinute=s.default.mentStr(c[1])}e.inDatas(o,e.currentHour)||(e.currentHour=o[0].value),e.inDatas(u,e.currentMinute)||(e.currentMinute=u[0].value)}else e.currentHour=o[0].value,e.currentMinute=u[0].value}"datetime"===e.type?e.columns=["Year","Month","Day","Hour","Minute"]:"date"===e.type?e.columns=["Year","Month","Day"]:e.columns=["Hour","Minute"]},render:function(){var e=this;e.columns.forEach(function(t){var n=e.$refs["Component_"+t][0],r=e.$refs["Content_"+t][0];e.scroller[t]=new i.default(n,r,{itemHeight:38,onSelect:function(n){e["current"+t]=n,e.scrolling[t]=!1},callback:function(n,a){a&&(e.scrolling[t]=!0),r.style.webkitTransform="translate3d(0, "+-n+"px, 0)"}}),e.scroller[t].setDimensions(n.clientHeight,r.offsetHeight,e.items[t].length),e.scroller[t].select(e["current"+t],!1),e.scrolling[t]=!1}),e.setValue()},setMonths:function(e){var t=this,n=t.items.Month=s.default.getMonthItems({format:t.monthFormat,currentYear:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Month",n,function(){t.setDays(t.currentMonth)})},setDays:function(e){var t=this,n=t.items.Day=s.default.getDateItems({format:t.dayFormat,currentYear:t.currentYear,currentMonth:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Day",n,function(){t.setHours(t.currentDay)})},setHours:function(e){var t=this,n=t.items.Hour=s.default.getHourItems({format:t.hourFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:e,startDate:t.startDate,endDate:t.endDate,startHour:t.startHour,endHour:t.endHour});t.scrolloToPosition("Hour",n,function(){t.setMinutes(t.currentHour)})},setMinutes:function(e){var t=this,n=t.items.Minute=s.default.getMinuteItems({format:t.minuteFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:t.currentDay,currentHour:e,startDate:t.startDate,endDate:t.endDate});t.scrolloToPosition("Minute",n)},scrolloToPosition:function(e,t,n){var r=this,a=r.scroller[e];a&&(a.setDimensions(r.$refs["Component_"+e][0].clientHeight,r.$refs["Content_"+e][0].offsetHeight,t.length),setTimeout(function(){var i=r.inDatas(t,r["current"+e]);r.scrolling[e]||a.select(i?r["current"+e]:t[0].value,!1),"function"==typeof n&&n()},0))},setValue:function(){var e="";e="datetime"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay+" "+this.currentHour+":"+this.currentMinute:"date"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay:this.currentHour+":"+this.currentMinute,this.currentValue=e,this.$emit("pickerConfirm",e),this.close()},inDatas:function(e,t){var n=!1;return e.forEach(function(e){e.value==t&&(n=!0)}),n},open:function(){this.readonly||(this.show=!0,u.isIOS&&(u.pageScroll.lock(),(0,u.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")))},close:function(){this.show=!1,u.isIOS&&(u.pageScroll.unlock(),(0,u.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}},created:function(){this.init()},mounted:function(){this.scrollView=(0,u.getScrollview)(this.parentEL),this.$nextTick(this.render)},beforeDestroy:function(){var e=this;this.columns.forEach(function(t){e.scroller[t]=null})}}},239:function(e,t){"use strict";var n=Date.now||function(){return+new Date},r={},a=1,i=60,o=1e3;e.exports={requestAnimationFrame:function(){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame,t=!!e;if(e&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(e.toString())&&(t=!1),t)return function(t,n){e(t,n)};var n=60,r={},a=0,i=1,o=null,s=+new Date;return function(e,t){var u=i++;return r[u]=e,a++,null===o&&(o=setInterval(function(){var e=+new Date,t=r;r={},a=0;for(var n in t)t.hasOwnProperty(n)&&(t[n](e),s=e);e-s>2500&&(clearInterval(o),o=null)},1e3/n)),u}}(),stop:function(e){var t=null!=r[e];return t&&(r[e]=null),t},isRunning:function(e){return null!=r[e]},start:function e(t,s,u,l,c,d){var f=this,e=n(),m=e,_=0,p=0,h=a++;if(d||(d=document.body),h%20===0){var v={};for(var g in r)v[g]=!0;r=v}var D=function a(v){var g=v!==!0,D=n();if(!r[h]||s&&!s(h))return r[h]=null,void(u&&u(i-p/((D-e)/o),h,!1));if(g)for(var w=Math.round((D-m)/(o/i))-1,b=0;b1&&(_=1));var y=c?c(_):_;t(y,D,g)!==!1&&1!==_||!g?g&&(m=D,f.requestAnimationFrame(a,d)):(r[h]=null,u&&u(i-p/((D-e)/o),h,1===_||null==l))};return r[h]=!0,f.requestAnimationFrame(D,d),h}}},240:function(e,t,n){"use strict";var r=n(239),a=function(e,t,n){var r=this;if(e){n=n||{},r.options={onSelect:function(){},itemHeight:38};for(var a in n)void 0!==n[a]&&(r.options[a]=n[a]);r.__content=t,r.__component=e,r.__itemHeight=r.options.itemHeight;var i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),o={start:i?"touchstart":"mousedown",move:i?"touchmove":"mousemove",end:i?"touchend":"mouseup"};e.addEventListener(o.start,function(e){e.target.tagName.match(/input|textarea|select/i)||(e.preventDefault(),r.__doTouchStart(e,e.timeStamp))},!1),e.addEventListener(o.move,function(e){r.__doTouchMove(e,e.timeStamp)},!1),e.addEventListener(o.end,function(e){r.__doTouchEnd(e.timeStamp)},!1)}},i={value:null,__prevValue:null,__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientTop:0,__clientHeight:0,__contentHeight:0,__itemHeight:0,__scrollTop:0,__minScrollTop:0,__maxScrollTop:0,__scheduledTop:0,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollTop:null,__maxDecelerationScrollTop:null,__decelerationVelocityY:null,setDimensions:function(e,t,n){var r=this;r.__clientHeight=e,r.__contentHeight=t;var a=Math.round(r.__clientHeight/r.__itemHeight);r.__minScrollTop=-r.__itemHeight*(a/2),r.__maxScrollTop=r.__minScrollTop+n*r.__itemHeight-.1},selectByIndex:function(e,t){var n=this;e<0||e>n.__content.childElementCount-1||(n.__scrollTop=n.__minScrollTop+e*n.__itemHeight,n.scrollTo(n.__scrollTop,t),n.__selectItem(n.__content.children[e]))},select:function(e,t){for(var n=this,r=n.__content.children,a=0,i=r.length;af||cf?f:d)}u.length>40&&u.splice(0,20),u.push(c,t),r.__publish(c)}else{var m=0,_=5,p=Math.abs(s-r.__initialTouchTop);r.__enableScrollY=p>=m,u.push(r.__scrollTop,t),r.__isDragging=r.__enableScrollY&&p>=_,r.__isDragging&&(r.__interruptedAnimation=!1)}r.__lastTouchTop=s,r.__lastTouchMove=t,r.__lastScale=n}},__doTouchEnd:function(e){var t=this;if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(t.__isTracking){if(t.__isTracking=!1,t.__isDragging&&(t.__isDragging=!1,t.__isSingleTouch&&e-t.__lastTouchMove<=100)){for(var n=t.__positions,r=n.length-1,a=r,i=r;i>0&&n[i]>t.__lastTouchMove-100;i-=2)a=i;if(a!==r){var o=n[r]-n[a],s=t.__scrollTop-n[a-1];t.__decelerationVelocityY=s/o*(1e3/60);var u=4;Math.abs(t.__decelerationVelocityY)>u&&t.__startDeceleration(e)}}t.__isDecelerating||t.scrollTo(t.__scrollTop),t.__positions.length=0}},__easeOutCubic:function(e){return Math.pow(e-1,3)+1},__easeInOutCubic:function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},__publish:function(e,t){var n=this,a=n.__isAnimating;if(a&&(r.stop(a),n.__isAnimating=!1),t){n.__scheduledTop=e;var i=n.__scrollTop,o=e-i,s=function(e,t,r){n.__scrollTop=i+o*e,n.options.callback&&n.options.callback(n.__scrollTop,n.__isDragging)},u=function(e){return n.__isAnimating===e},l=function(e,t,r){t===n.__isAnimating&&(n.__isAnimating=!1),(n.__didDecelerationComplete||r)&&n.__scrollingComplete()};n.__isAnimating=r.start(s,u,l,t,a?n.__easeOutCubic:n.__easeInOutCubic)}else n.__scheduledTop=n.__scrollTop=e,n.options.callback&&n.options.callback(e,n.__isDragging)},__startDeceleration:function(e){var t=this;t.__minDecelerationScrollTop=t.__minScrollTop,t.__maxDecelerationScrollTop=t.__maxScrollTop;var n=function(e,n,r){t.__stepThroughDeceleration(r)},a=.5,i=function(){var e=Math.abs(t.__decelerationVelocityY)>=a;return e||(t.__didDecelerationComplete=!0),e},o=function(e,n,r){return t.__isDecelerating=!1,t.__scrollTop<=t.__minScrollTop||t.__scrollTop>=t.__maxScrollTop?void t.scrollTo(t.__scrollTop):void(t.__didDecelerationComplete&&t.__scrollingComplete())};t.__isDecelerating=r.start(n,i,o)},__stepThroughDeceleration:function(e){var t=this,n=t.__scrollTop+t.__decelerationVelocityY,r=Math.max(Math.min(t.__maxDecelerationScrollTop,n),t.__minDecelerationScrollTop);r!==n&&(n=r,t.__decelerationVelocityY=0),Math.abs(t.__decelerationVelocityY)<=1?Math.abs(n%t.__itemHeight)<1&&(t.__decelerationVelocityY=0):t.__decelerationVelocityY*=.95,t.__publish(n)}};for(var o in i)a.prototype[o]=i[o];e.exports=a}})}); \ No newline at end of file diff --git a/dist/lib.rem/dialog/index.js b/dist/lib.rem/dialog/index.js index 704f614c..dc86aac8 100644 --- a/dist/lib.rem/dialog/index.js +++ b/dist/lib.rem/dialog/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var r=o(230),a=n(r),i=o(231),s=n(i),l=o(234),c=n(l),d=o(233),m=n(d),f=o(232),u=n(f);e.Confirm=s.default,e.Alert=a.default,e.Toast=c.default,e.Notify=m.default,e.Loading=u.default},1:function(t,e){t.exports=function(t,e,o,n){var r,a=t=t||{},i=typeof t.default;"object"!==i&&"function"!==i||(r=t,a=t.default);var s="function"==typeof a?a.options:a;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),o&&(s._scopeId=o),n){var l=s.computed||(s.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:r,exports:a,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var i=[],r=0;r=0&&r0&&a<=o},i=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},s=function(t,e){i(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(i(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(o,n,r){if(o!==n){var a=o+r>n?n:o+r;o>n&&(a=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var a=Math.abs(o-n),i=Math.ceil(a/r*50);e(o,n,i)};e.pageScroll=o,e.isColor=n,e.getScrollview=r,e.checkInview=a,e.addClass=s,e.removeClass=l,e.scrollTop=c},8:function(e,o){e.exports=t},20:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,'.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:.28rem;font-size:.26rem;color:#fff;padding:.3rem .24rem;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}',""])},54:function(t,e,o){o(153);var n=o(1)(o(188),o(103),null,null);t.exports=n.exports},55:function(t,e,o){var n=o(1)(o(189),o(135),null,null);t.exports=n.exports},56:function(t,e,o){var n=o(1)(o(190),o(144),null,null);t.exports=n.exports},57:function(t,e,o){var n=o(1)(o(191),o(94),null,null);t.exports=n.exports},58:function(t,e,o){var n=o(1)(o(192),o(107),null,null);t.exports=n.exports},94:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"m-notify",class:t.classes,domProps:{innerHTML:t._s(t.mes)}})},staticRenderFns:[]}},103:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm m-alert"},[o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeAlert(e)}}},[t._v("确定")])])])])},staticRenderFns:[]}},107:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-toast",class:""==t.iconsClass?"toast-none-icon":""},[t.iconsClass?o("div",{class:t.iconsClass}):t._e(),t._v(" "),o("p",{staticClass:"toast-content",domProps:{innerHTML:t._s(t.mes)}})])])},staticRenderFns:[]}},135:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm"},[o("div",{staticClass:"confirm-hd"},[o("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[o("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return o("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},144:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-loading"},[o("div",{staticClass:"loading-icon"}),t._v(" "),o("div",{staticClass:"loading-txt",domProps:{innerHTML:t._s(t.title)}})])])},staticRenderFns:[]}},153:function(t,e,o){var n=o(20);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("905ecb9a",n,!0)},188:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},189:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},190:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},191:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},192:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},230:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(54)),l=new s({el:document.createElement("div")});s.prototype.closeAlert=function(){i.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},231:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(55)),l=new s({el:document.createElement("div")});s.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){i.pageScroll.unlock();var o=l.$el;o.parentNode&&o.parentNode.removeChild(o)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},232:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(56)),l=new s({el:document.createElement("div")});s.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),i.pageScroll.lock()},s.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock()},e.default={open:l.open,close:l.close}},233:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=a.default.extend(o(57)),s=new i({el:document.createElement("div")}),l=null,c=!1;i.prototype.closeNotify=function(){s.classes="notify-out",setTimeout(function(){var t=s.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.classes="",s.mes=t.mes,s.timeout=~~t.timeout||5e3,s.callback=t.callback,c||(c=!0,document.body.appendChild(s.$el),s.$el.addEventListener("click",function(){clearTimeout(l),s.closeNotify()}),l=setTimeout(function(){clearTimeout(l),s.closeNotify()},s.timeout))};e.default=d},234:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(58)),l=new s({el:document.createElement("div")});s.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var r=o(241),a=n(r),i=o(242),s=n(i),l=o(245),c=n(l),d=o(244),m=n(d),f=o(243),u=n(f);e.Confirm=s.default,e.Alert=a.default,e.Toast=c.default,e.Notify=m.default,e.Loading=u.default},1:function(t,e){t.exports=function(t,e,o,n){var r,a=t=t||{},i=typeof t.default;"object"!==i&&"function"!==i||(r=t,a=t.default);var s="function"==typeof a?a.options:a;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),o&&(s._scopeId=o),n){var l=s.computed||(s.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:r,exports:a,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var i=[],r=0;r=0&&r0&&a<=o},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},c=function(t,e){if(s(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},d=function(t){function e(o,n,r){if(o!==n){var a=o+r>n?n:o+r;o>n&&(a=o-r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var a=Math.abs(o-n),i=Math.ceil(a/r*50);e(o,n,i)};e.pageScroll=o,e.isIOS=n,e.isColor=r,e.getScrollview=a,e.checkInview=i,e.addClass=l,e.removeClass=c,e.scrollTop=d},8:function(e,o){e.exports=t},15:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,'.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:.28rem;font-size:.26rem;color:#fff;padding:.3rem .24rem;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}',""])},58:function(t,e,o){o(153);var n=o(1)(o(197),o(98),null,null);t.exports=n.exports},59:function(t,e,o){var n=o(1)(o(198),o(137),null,null);t.exports=n.exports},60:function(t,e,o){var n=o(1)(o(199),o(116),null,null);t.exports=n.exports},61:function(t,e,o){var n=o(1)(o(200),o(128),null,null);t.exports=n.exports},62:function(t,e,o){var n=o(1)(o(201),o(100),null,null);t.exports=n.exports},98:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm m-alert"},[o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeAlert(e)}}},[t._v("确定")])])])])},staticRenderFns:[]}},100:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-toast",class:""==t.iconsClass?"toast-none-icon":""},[t.iconsClass?o("div",{class:t.iconsClass}):t._e(),t._v(" "),o("p",{staticClass:"toast-content",domProps:{innerHTML:t._s(t.mes)}})])])},staticRenderFns:[]}},116:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-white-dialog"},[o("div",{staticClass:"m-loading"},[o("div",{staticClass:"loading-icon"}),t._v(" "),o("div",{staticClass:"loading-txt",domProps:{innerHTML:t._s(t.title)}})])])},staticRenderFns:[]}},128:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"m-notify",class:t.classes,domProps:{innerHTML:t._s(t.mes)}})},staticRenderFns:[]}},137:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mask-black-dialog"},[o("div",{staticClass:"m-confirm"},[o("div",{staticClass:"confirm-hd"},[o("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),o("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[o("div",{staticClass:"confirm-ft"},[o("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),o("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[o("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return o("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(o){o.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},153:function(t,e,o){var n=o(15);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("8d9c27a6",n,!0)},197:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},198:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},199:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},200:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},201:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},241:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(58)),l=new s({el:document.createElement("div")});s.prototype.closeAlert=function(){i.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},242:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(59)),l=new s({el:document.createElement("div")});s.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){i.pageScroll.unlock();var o=l.$el;o.parentNode&&o.parentNode.removeChild(o)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),i.pageScroll.lock()};e.default=c},243:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(60)),l=new s({el:document.createElement("div")});s.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),i.pageScroll.lock()},s.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock()},e.default={open:l.open,close:l.close}},244:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=a.default.extend(o(61)),s=new i({el:document.createElement("div")}),l=null,c=!1;i.prototype.closeNotify=function(){s.classes="notify-out",setTimeout(function(){var t=s.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.classes="",s.mes=t.mes,s.timeout=~~t.timeout||5e3,s.callback=t.callback,c||(c=!0,document.body.appendChild(s.$el),s.$el.addEventListener("click",function(){clearTimeout(l),s.closeNotify()}),l=setTimeout(function(){clearTimeout(l),s.closeNotify()},s.timeout))};e.default=d},245:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(8),a=n(r),i=o(5),s=a.default.extend(o(62)),l=new s({el:document.createElement("div")});s.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),i.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),i.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c}})}); \ No newline at end of file diff --git a/dist/lib.rem/flexbox/index.js b/dist/lib.rem/flexbox/index.js index bcb55aaa..7bd0632a 100644 --- a/dist/lib.rem/flexbox/index.js +++ b/dist/lib.rem/flexbox/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlexBoxItem=t.FlexBox=void 0;var o=n(60),i=r(o),s=n(59),a=r(s);t.FlexBox=i.default,t.FlexBoxItem=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var l=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o-1},default:"horizontal"}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlexBoxItem=t.FlexBox=void 0;var o=n(64),i=r(o),s=n(63),a=r(s);t.FlexBox=i.default,t.FlexBoxItem=a.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var l=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o-1},default:"horizontal"}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/grids/index.js b/dist/lib.rem/grids/index.js index 21282342..458b4710 100644 --- a/dist/lib.rem/grids/index.js +++ b/dist/lib.rem/grids/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var o=r[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var o=r(62),n=i(o),s=r(61),d=i(s);e.GridsItem=n.default,e.GridsGroup=d.default},1:function(t,e){t.exports=function(t,e,r,i){var o,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,n=t.default);var d="function"==typeof n?n.options:n;if(e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),r&&(d._scopeId=r),i){var a=d.computed||(d.computed={});Object.keys(i).forEach(function(t){var e=i[t];a[t]=function(){return e}})}return{esModule:o,exports:n,options:d}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(i.parts.length=r.parts.length)}else{for(var s=[],o=0;o-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},196:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var o=r[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var o=r(66),n=i(o),s=r(65),d=i(s);e.GridsItem=n.default,e.GridsGroup=d.default},1:function(t,e){t.exports=function(t,e,r,i){var o,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,n=t.default);var d="function"==typeof n?n.options:n;if(e&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns),r&&(d._scopeId=r),i){var a=d.computed||(d.computed={});Object.keys(i).forEach(function(t){var e=i[t];a[t]=function(){return e}})}return{esModule:o,exports:n,options:d}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(i.parts.length=r.parts.length)}else{for(var s=[],o=0;o-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},205:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/icons/index.js b/dist/lib.rem/icons/index.js index d89dfd84..9a92563e 100644 --- a/dist/lib.rem/icons/index.js +++ b/dist/lib.rem/icons/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():e.ydui=n()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="/dist/",n(0)}({0:function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Icons=void 0;var r=t(63),i=o(r);n.Icons=i.default},1:function(e,n){e.exports=function(e,n,t,o){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns),t&&(s._scopeId=t),o){var a=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var n=o[e];a[e]=function(){return n}})}return{esModule:r,exports:i,options:s}}},2:function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;nt.parts.length&&(o.parts.length=t.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=t},c=function(e,n){return n=n||"",0!=n.replace(/\s/g,"").length&&new RegExp(" "+n+" ").test(" "+e.className+" ")},s=function(e,n){c(e,n)||(e.className=""==e.className?n:e.className+" "+n)},a=function(e,n){if(c(e,n)){for(var t=" "+e.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+n+" ")>=0;)t=t.replace(" "+n+" "," ");e.className=t.replace(/^\s+|\s+$/g,"")}},f=function(e){function n(t,o,r){if(t!==o){var i=t+r>o?o:t+r;t>o&&(i=t-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(t-o),c=Math.ceil(i/r*50);n(t,o,c)};n.pageScroll=t,n.isColor=o,n.getScrollview=r,n.checkInview=i,n.addClass=s,n.removeClass=a,n.scrollTop=f},19:function(e,n,t){n=e.exports=t(2)(),n.push([e.id,'@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\\E636"}.icon-discount:before{content:"\\E633"}.icon-verifycode:before{content:"\\E632"}.icon-star-outline:before{content:"\\E630"}.icon-star:before{content:"\\E631"}.icon-weibo:before{content:"\\E62F"}.icon-download:before{content:"\\E62E"}.icon-next:before{content:"\\E62D"}.icon-home-outline:before{content:"\\E62C"}.icon-home:before{content:"\\E63D"}.icon-weixin:before{content:"\\E629"}.icon-refresh:before{content:"\\E628"}.icon-tencent-weibo:before{content:"\\E627"}.icon-search:before{content:"\\E626"}.icon-time:before{content:"\\E625"}.icon-prev:before{content:"\\E624"}.icon-like-outline:before{content:"\\E639"}.icon-like:before{content:"\\E63A"}.icon-setting:before{content:"\\E623"}.icon-delete:before{content:"\\E622"}.icon-sortlist:before{content:"\\E621"}.icon-sortlarger:before{content:"\\E620"}.icon-sortlargest:before{content:"\\E61F"}.icon-qq:before{content:"\\E62A"}.icon-more:before{content:"\\E618"}.icon-shopcart-outline:before{content:"\\E61A"}.icon-shopcart:before{content:"\\E619"}.icon-checkoff:before{content:"\\E617"}.icon-bad:before{content:"\\E61C"}.icon-video:before{content:"\\E61D"}.icon-clock:before{content:"\\E61E"}.icon-ucenter-outline:before{content:"\\E616"}.icon-ucenter:before{content:"\\E615"}.icon-warn-outline:before{content:"\\E613"}.icon-warn:before{content:"\\E614"}.icon-share1:before{content:"\\E610"}.icon-share2:before{content:"\\E60E"}.icon-share3:before{content:"\\E60D"}.icon-feedback:before{content:"\\E60F"}.icon-type:before{content:"\\E60C"}.icon-discover:before{content:"\\E60B"}.icon-good:before{content:"\\E61B"}.icon-shield-outline:before{content:"\\E608"}.icon-shield:before{content:"\\E60A"}.icon-qrscan:before{content:"\\E609"}.icon-location:before{content:"\\E607"}.icon-phone1:before{content:"\\E606"}.icon-phone2:before{content:"\\E637"}.icon-phone3:before{content:"\\E63B"}.icon-error-outline:before{content:"\\E602"}.icon-error:before{content:"\\E603"}.icon-play:before{content:"\\E601"}.icon-compose:before{content:"\\E600"}.icon-question:before{content:"\\E62B"}.icon-order:before{content:"\\E638"}',""])},63:function(e,n,t){t(152);var o=t(1)(t(197),t(102),null,null);e.exports=o.exports},102:function(e,n){e.exports={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("i",{class:e.classes,style:e.styles})},staticRenderFns:[]}},152:function(e,n,t){var o=t(19);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);t(3)("68c95bfc",o,!0)},197:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(5);n.default={name:"yd-icon",props:{name:String,color:{validator:function(e){return!e||(0,o.isColor)(e)}},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".6rem"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var e={};return this.size&&(e.fontSize=this.size),this.color&&(e.color=this.color),e}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():e.ydui=n()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="/dist/",n(0)}({0:function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Icons=void 0;var r=t(67),i=o(r);n.Icons=i.default},1:function(e,n){e.exports=function(e,n,t,o){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns),t&&(s._scopeId=t),o){var a=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var n=o[e];a[e]=function(){return n}})}return{esModule:r,exports:i,options:s}}},2:function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;nt.parts.length&&(o.parts.length=t.parts.length)}else{for(var c=[],r=0;r=0&&r0&&i<=t},s=function(e,n){return n=n||"",0!=n.replace(/\s/g,"").length&&new RegExp(" "+n+" ").test(" "+e.className+" ")},a=function(e,n){s(e,n)||(e.className=""==e.className?n:e.className+" "+n)},f=function(e,n){if(s(e,n)){for(var t=" "+e.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+n+" ")>=0;)t=t.replace(" "+n+" "," ");e.className=t.replace(/^\s+|\s+$/g,"")}},u=function(e){function n(t,o,r){if(t!==o){var i=t+r>o?o:t+r;t>o&&(i=t-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(t-o),c=Math.ceil(i/r*50);n(t,o,c)};n.pageScroll=t,n.isIOS=o,n.isColor=r,n.getScrollview=i,n.checkInview=c,n.addClass=a,n.removeClass=f,n.scrollTop=u},32:function(e,n,t){n=e.exports=t(2)(),n.push([e.id,'@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\\E636"}.icon-discount:before{content:"\\E633"}.icon-verifycode:before{content:"\\E632"}.icon-star-outline:before{content:"\\E630"}.icon-star:before{content:"\\E631"}.icon-weibo:before{content:"\\E62F"}.icon-download:before{content:"\\E62E"}.icon-next:before{content:"\\E62D"}.icon-home-outline:before{content:"\\E62C"}.icon-home:before{content:"\\E63D"}.icon-weixin:before{content:"\\E629"}.icon-refresh:before{content:"\\E628"}.icon-tencent-weibo:before{content:"\\E627"}.icon-search:before{content:"\\E626"}.icon-time:before{content:"\\E625"}.icon-prev:before{content:"\\E624"}.icon-like-outline:before{content:"\\E639"}.icon-like:before{content:"\\E63A"}.icon-setting:before{content:"\\E623"}.icon-delete:before{content:"\\E622"}.icon-sortlist:before{content:"\\E621"}.icon-sortlarger:before{content:"\\E620"}.icon-sortlargest:before{content:"\\E61F"}.icon-qq:before{content:"\\E62A"}.icon-more:before{content:"\\E618"}.icon-shopcart-outline:before{content:"\\E61A"}.icon-shopcart:before{content:"\\E619"}.icon-checkoff:before{content:"\\E617"}.icon-bad:before{content:"\\E61C"}.icon-video:before{content:"\\E61D"}.icon-clock:before{content:"\\E61E"}.icon-ucenter-outline:before{content:"\\E616"}.icon-ucenter:before{content:"\\E615"}.icon-warn-outline:before{content:"\\E613"}.icon-warn:before{content:"\\E614"}.icon-share1:before{content:"\\E610"}.icon-share2:before{content:"\\E60E"}.icon-share3:before{content:"\\E60D"}.icon-feedback:before{content:"\\E60F"}.icon-type:before{content:"\\E60C"}.icon-discover:before{content:"\\E60B"}.icon-good:before{content:"\\E61B"}.icon-shield-outline:before{content:"\\E608"}.icon-shield:before{content:"\\E60A"}.icon-qrscan:before{content:"\\E609"}.icon-location:before{content:"\\E607"}.icon-phone1:before{content:"\\E606"}.icon-phone2:before{content:"\\E637"}.icon-phone3:before{content:"\\E63B"}.icon-error-outline:before{content:"\\E602"}.icon-error:before{content:"\\E603"}.icon-play:before{content:"\\E601"}.icon-compose:before{content:"\\E600"}.icon-question:before{content:"\\E62B"}.icon-order:before{content:"\\E638"}',""])},67:function(e,n,t){t(170);var o=t(1)(t(206),t(132),null,null);e.exports=o.exports},132:function(e,n){e.exports={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("i",{class:e.classes,style:e.styles})},staticRenderFns:[]}},170:function(e,n,t){var o=t(32);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);t(3)("56401448",o,!0)},206:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(5);n.default={name:"yd-icon",props:{name:String,color:{validator:function(e){return!e||(0,o.isColor)(e)}},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".6rem"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var e={};return this.size&&(e.fontSize=this.size),this.color&&(e.color=this.color),e}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/infinitescroll/index.js b/dist/lib.rem/infinitescroll/index.js index f1e8836d..f5c61f8a 100644 --- a/dist/lib.rem/infinitescroll/index.js +++ b/dist/lib.rem/infinitescroll/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var o=n(64),s=i(o);e.InfiniteScroll=s.default},1:function(t,e){t.exports=function(t,e,n,i){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var d=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},5:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},o=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},s=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,o=e.getBoundingClientRect().top-i,s=o+e.offsetHeight;return o>=0&&o0&&s<=n},r=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){r(t,e)||(t.className=""==t.className?e:t.className+" "+e)},d=function(t,e){if(r(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(n,i,o){if(n!==i){var s=n+o>i?i:n+o;n>i&&(s=n-o1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var s=Math.abs(n-i),r=Math.ceil(s/o*50);e(n,i,r)};e.pageScroll=n,e.isColor=i,e.getScrollview=o,e.checkInview=s,e.addClass=a,e.removeClass=d,e.scrollTop=c},64:function(t,e,n){var i=n(1)(n(198),n(130),null,null);t.exports=i.exports},130:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},198:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,o=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(o+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var o=n(68),s=i(o);e.InfiniteScroll=s.default},1:function(t,e){t.exports=function(t,e,n,i){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var d=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},5:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),o=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},s=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},r=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,o=e.getBoundingClientRect().top-i,s=o+e.offsetHeight;return o>=0&&o0&&s<=n},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},d=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},c=function(t,e){if(a(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(n,i,o){if(n!==i){var s=n+o>i?i:n+o;n>i&&(s=n-o1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var s=Math.abs(n-i),r=Math.ceil(s/o*50);e(n,i,r)};e.pageScroll=n,e.isIOS=i,e.isColor=o,e.getScrollview=s,e.checkInview=r,e.addClass=d,e.removeClass=c,e.scrollTop=u},68:function(t,e,n){var i=n(1)(n(207),n(145),null,null);t.exports=i.exports},145:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},207:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,o=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(o+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/input/index.js b/dist/lib.rem/input/index.js index 1bc881ea..22141d84 100644 --- a/dist/lib.rem/input/index.js +++ b/dist/lib.rem/input/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Input=void 0;var a=r(65),o=n(a);t.Input=o.default},1:function(e,t){e.exports=function(e,t,r,n){var a,o=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(a=e,o=e.default);var u="function"==typeof o?o.options:o;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns),r&&(u._scopeId=r),n){var l=u.computed||(u.computed={});Object.keys(n).forEach(function(e){var t=n[e];l[e]=function(){return t}})}return{esModule:a,exports:o,options:u}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],a=0;ainput{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:.2rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\\E60C";color:#b2b2b2;font-size:.3rem}.m-input>.input-error:after{content:"\\E614";color:#f43530;font-size:.4rem}.m-input>.input-warn:after{content:"\\E614";color:#10aeff;font-size:.4rem}.m-input>.input-success:after{content:"\\E601";color:#09bb07;font-size:.4rem}.m-input>.input-password:after{content:"\\E77E";color:#b2b2b2;font-size:.45rem}.m-input>.input-password-open:after{content:"\\E77D";color:#434343}',""])},65:function(e,t,r){r(151);var n=r(1)(r(199),r(101),null,null);e.exports=n.exports},101:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-input"},["mobile"==e.regex?[r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",pattern:"[0-9]*",name:e.name,maxlength:"11",placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}})]:["password"==e.type?[e.showPwd?e._e():r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"password",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),e.showPwd?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]:e._e(),e._v(" "),"text"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"number"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"number",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:[e.blurHandler,function(t){e.$forceUpdate()}],input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"email",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"datetime-local"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"datetime-local",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"date"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"date",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"time"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"time",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()],e._v(" "),r("a",{directives:[{name:"show",rawName:"v-show",value:e.showClearIcon&&e.showClear&&!e.isempty,expression:"showClearIcon && showClear && !isempty"}],staticClass:"input-clear",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:e.clearInput}}),e._v(" "),e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&e.iserror&&e.initError,expression:"(!!regex || !!min || !!max || required) && iserror && initError"}],staticClass:"input-error"}):e._e(),e._v(" "),e.showRequiredIcon&&e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(e.required||!!e.min&&e.min>0)&&e.isempty&&e.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):e._e(),e._v(" "),e.showSuccessIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&!e.iserror&&""!=e.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):e._e(),e._v(" "),"password"==e.type?r("a",{staticClass:"input-password",class:e.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(t){t.stopPropagation(),e.showPwd=!e.showPwd}}}):e._e()],2)},staticRenderFns:[]}},151:function(e,t,r){var n=r(18);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("7906ed5c",n,!0)},199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(e){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(e)>-1},default:"text"},max:{validator:function(e){return/^\d*$/.test(e)}},min:{validator:function(e){return/^\d*$/.test(e)}}},watch:{value:function(e){this.currentValue=e,this.emitInput()},currentValue:function(e){this.isempty=!e,this.validatorInput(e,!0),this.emitInput()},required:function(e){this.required=e,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(e,t){if(this.initError=t,t&&(this.showWarn=!1),this.required&&""==e)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&e.lengthr.parts.length&&(n.parts.length=r.parts.length)}else{for(var i=[],a=0;ainput{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:.2rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\\E60C";color:#b2b2b2;font-size:.3rem}.m-input>.input-error:after{content:"\\E614";color:#f43530;font-size:.4rem}.m-input>.input-warn:after{content:"\\E614";color:#10aeff;font-size:.4rem}.m-input>.input-success:after{content:"\\E601";color:#09bb07;font-size:.4rem}.m-input>.input-password:after{content:"\\E77E";color:#b2b2b2;font-size:.45rem}.m-input>.input-password-open:after{content:"\\E77D";color:#434343}',""])},69:function(e,t,r){r(169);var n=r(1)(r(208),r(131),null,null);e.exports=n.exports},131:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-input"},["mobile"==e.regex?[r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",pattern:"[0-9]*",name:e.name,maxlength:"11",placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}})]:["password"==e.type?[e.showPwd?e._e():r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"password",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),e.showPwd?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]:e._e(),e._v(" "),"text"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"text",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"number"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"number",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:[e.blurHandler,function(t){e.$forceUpdate()}],input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"email",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"tel",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"datetime-local"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"datetime-local",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"date"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"date",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"time"==e.type?r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],attrs:{type:"time",name:e.name,maxlength:e.max,placeholder:e.placeholder,autocomplete:e.autocomplete,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:function(t){e.showClear=!0},blur:e.blurHandler,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()],e._v(" "),r("a",{directives:[{name:"show",rawName:"v-show",value:e.showClearIcon&&e.showClear&&!e.isempty,expression:"showClearIcon && showClear && !isempty"}],staticClass:"input-clear",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:e.clearInput}}),e._v(" "),e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&e.iserror&&e.initError,expression:"(!!regex || !!min || !!max || required) && iserror && initError"}],staticClass:"input-error"}):e._e(),e._v(" "),e.showRequiredIcon&&e.showErrorIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(e.required||!!e.min&&e.min>0)&&e.isempty&&e.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):e._e(),e._v(" "),e.showSuccessIcon?r("span",{directives:[{name:"show",rawName:"v-show",value:(!!e.regex||!!e.min||!!e.max||e.required)&&!e.iserror&&""!=e.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):e._e(),e._v(" "),"password"==e.type?r("a",{staticClass:"input-password",class:e.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(t){t.stopPropagation(),e.showPwd=!e.showPwd}}}):e._e()],2)},staticRenderFns:[]}},169:function(e,t,r){var n=r(31);"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);r(3)("7ef2aebd",n,!0)},208:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(e){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(e)>-1},default:"text"},max:{validator:function(e){return/^\d*$/.test(e)}},min:{validator:function(e){return/^\d*$/.test(e)}}},watch:{value:function(e){this.currentValue=e,this.emitInput()},currentValue:function(e){this.isempty=!e,this.validatorInput(e,!0),this.emitInput()},required:function(e){this.required=e,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(e,t){if(this.initError=t,t&&(this.showWarn=!1),this.required&&""==e)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&e.lengthr.parts.length&&(o.parts.length=r.parts.length)}else{for(var s=[],n=0;n=0&&n0&&i<=r},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(s(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(r,o,n){if(r!==o){var i=r+n>o?o:r+n;r>o&&(i=r-n1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(r-o),s=Math.ceil(i/n*50);t(r,o,s)};t.pageScroll=r,t.isColor=o,t.getScrollview=n,t.checkInview=i,t.addClass=a,t.removeClass=l,t.scrollTop=c},38:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:.3rem;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:.2rem 0 .12rem;color:#222;margin-bottom:1px;font-size:.24rem;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\\E60A";font-size:.26rem;color:#ff2424;line-height:1;margin-right:.06rem}.keyboard-numbers{font-size:.48rem;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:1rem;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:.3rem;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\\E609";font-size:.6rem}.keyboard-head{height:.8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:.3rem;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 .8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1rem}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px .8rem;color:red;overflow:hidden;height:.5rem;line-height:.5rem;font-size:.24rem;text-align:left}',""])},66:function(e,t,r){r(171);var o=r(1)(r(200),r(138),null,null);e.exports=o.exports},138:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),r("div",{staticClass:"m-keyboard",class:e.show?"keyboard-active":""},[e._m(0),e._v(" "),r("div",{staticClass:"keyboard-error"},[e._v(e._s(e.error))]),e._v(" "),r("ul",{staticClass:"keyboard-password"},e._l(6,function(t){return r("li",[r("i",{directives:[{name:"show",rawName:"v-show",value:e.nums.length>=t,expression:"nums.length >= n"}]})])})),e._v(" "),r("div",{staticClass:"keyboard-content"},[r("div",{staticClass:"keyboard-title"},[e._v(e._s(e.title))]),e._v(" "),r("ul",{staticClass:"keyboard-numbers"},e._l(4,function(t){return r("li",[4==t?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]):e._e(),e._v(" "),e.isMobile?e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return r("a",{attrs:{href:"javascript:;"},on:{touchstart:function(r){r.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}):e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return r("a",{attrs:{href:"javascript:;"},on:{click:function(r){r.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}),e._v(" "),4==t?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.backspace(t)}}}):e._e()],2)}))])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"keyboard-head"},[r("strong",[e._v("输入数字密码")])])}]}},171:function(e,t,r){var o=r(38);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);r(3)("6fc7c790",o,!0)},200:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(5);t.default={name:"yd-keyboard",data:function(){return{nums:"",show:this.value,error:"",numsArr:[1,2,3,4,5,6,7,8,9,0]}},props:{inputDone:{type:Function},disorder:{type:Boolean,default:!1},value:{type:Boolean,default:!1},title:{type:String,default:"YDUI安全键盘"}},watch:{value:function(e){this.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.nums="",this.error="",this.show=e,this.show&&this.disorder&&(this.numsArr=this.upsetOrder(this.numsArr))},nums:function(e){e.length>=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(e)}},methods:{init:function(){var e=this;this.scrollView=(0,o.getScrollview)(this.$el);var t=window.navigator&&window.navigator.userAgent||"";this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),this.isMobile=!!t.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$on("ydui.keyboard.error",function(t){e.setError(t)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(e){this.error="",this.nums.length>=6||(this.nums+=e)},backspace:function(){var e=this.nums;e&&(this.nums=e.substr(0,e.length-1))},upsetOrder:function(e){for(var t=Math.floor,r=Math.random,o=e.length,n=void 0,i=void 0,s=void 0,a=t(o/2)+1;a--;)n=t(r()*o),i=t(r()*o),n!==i&&(s=e[n],e[n]=e[i],e[i]=s);return e},close:function(){this.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(e){this.error=e,this.nums=""}},created:function(){this.init()},destroyed:function(){this.close()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KeyBoard=void 0;var n=r(70),i=o(n);t.KeyBoard=i.default},1:function(e,t){e.exports=function(e,t,r,o){var n,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(n=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),r&&(a._scopeId=r),o){var l=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];l[e]=function(){return t}})}return{esModule:n,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(o.parts.length=r.parts.length)}else{for(var s=[],n=0;n=0&&n0&&i<=r},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(a(e,t)){for(var r=" "+e.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(r,o,n){if(r!==o){var i=r+n>o?o:r+n;r>o&&(i=r-n1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(r-o),s=Math.ceil(i/n*50);t(r,o,s)};t.pageScroll=r,t.isIOS=o,t.isColor=n,t.getScrollview=i,t.checkInview=s,t.addClass=l,t.removeClass=c,t.scrollTop=d},36:function(e,t,r){t=e.exports=r(2)(),t.push([e.id,'.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:.3rem;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:.2rem 0 .12rem;color:#222;margin-bottom:1px;font-size:.24rem;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\\E60A";font-size:.26rem;color:#ff2424;line-height:1;margin-right:.06rem}.keyboard-numbers{font-size:.48rem;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:1rem;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:.3rem;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\\E609";font-size:.6rem}.keyboard-head{height:.8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:.3rem;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 .8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1rem}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px .8rem;color:red;overflow:hidden;height:.5rem;line-height:.5rem;font-size:.24rem;text-align:left}',""])},70:function(e,t,r){r(174);var o=r(1)(r(209),r(142),null,null);e.exports=o.exports},142:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(t){t.stopPropagation(),e.close(t)}}}),e._v(" "),r("div",{staticClass:"m-keyboard",class:e.show?"keyboard-active":""},[e._m(0),e._v(" "),r("div",{staticClass:"keyboard-error"},[e._v(e._s(e.error))]),e._v(" "),r("ul",{staticClass:"keyboard-password"},e._l(6,function(t){return r("li",[r("i",{directives:[{name:"show",rawName:"v-show",value:e.nums.length>=t,expression:"nums.length >= n"}]})])})),e._v(" "),r("div",{staticClass:"keyboard-content"},[r("div",{staticClass:"keyboard-title"},[e._v(e._s(e.title))]),e._v(" "),r("ul",{staticClass:"keyboard-numbers"},e._l(4,function(t){return r("li",[4==t?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.close(t)}}},[e._v("取消")]):e._e(),e._v(" "),e.isMobile?e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return r("a",{attrs:{href:"javascript:;"},on:{touchstart:function(r){r.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}):e._l(e.numsArr.slice(3*(t-1),3*t),function(t){return r("a",{attrs:{href:"javascript:;"},on:{click:function(r){r.stopPropagation(),e.numclick(t)}}},[e._v(e._s(t))])}),e._v(" "),4==t?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation(),e.backspace(t)}}}):e._e()],2)}))])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"keyboard-head"},[r("strong",[e._v("输入数字密码")])])}]}},174:function(e,t,r){var o=r(36);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);r(3)("65b5fadd",o,!0)},209:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(5);t.default={name:"yd-keyboard",data:function(){return{nums:"",show:this.value,error:"",numsArr:[1,2,3,4,5,6,7,8,9,0]}},props:{inputDone:{type:Function},disorder:{type:Boolean,default:!1},value:{type:Boolean,default:!1},title:{type:String,default:"YDUI安全键盘"}},watch:{value:function(e){o.isIOS&&(e?(o.pageScroll.lock(),(0,o.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(o.pageScroll.unlock(),(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.nums="",this.error="",this.show=e,this.show&&this.disorder&&(this.numsArr=this.upsetOrder(this.numsArr))},nums:function(e){e.length>=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(e)}},methods:{init:function(){var e=this;this.scrollView=(0,o.getScrollview)(this.$el),this.$on("ydui.keyboard.error",function(t){e.setError(t)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(e){this.error="",this.nums.length>=6||(this.nums+=e)},backspace:function(){var e=this.nums;e&&(this.nums=e.substr(0,e.length-1))},upsetOrder:function(e){for(var t=Math.floor,r=Math.random,o=e.length,n=void 0,i=void 0,s=void 0,a=t(o/2)+1;a--;)n=t(r()*o),i=t(r()*o),n!==i&&(s=e[n],e[n]=e[i],e[i]=s);return e},close:function(){o.isIOS&&(0,o.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(e){this.error=e,this.nums=""}},created:function(){var e=window.navigator&&window.navigator.userAgent||"";this.isMobile=!!e.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$nextTick(this.init)},destroyed:function(){this.close()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/layout/index.js b/dist/lib.rem/layout/index.js index d37232de..733b837f 100644 --- a/dist/lib.rem/layout/index.js +++ b/dist/lib.rem/layout/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="/dist/",t(0)}({0:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;var o=r(67),i=n(o);t.Layout=i.default},1:function(e,t){e.exports=function(e,t,r,n){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(e){var t=n[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tr.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&r0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},a=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,o,r){if(n!==o){var i=n+r>o?o:n+r;n>o&&(i=n-r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-o),s=Math.ceil(i/r*50);t(n,o,s)};t.pageScroll=n,t.isColor=o,t.getScrollview=r,t.checkInview=i,t.addClass=c,t.removeClass=a,t.scrollTop=u},68:function(e,t,n){var o=n(1)(n(202),n(104),null,null);e.exports=o.exports},104:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("img",{attrs:{src:e.defaultSrc,datasrc:e.src}})},staticRenderFns:[]}},202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,o.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,o.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LazyImg=void 0;var i=n(72),r=o(i);t.LazyImg=r.default},1:function(e,t){e.exports=function(e,t,n,o){var i,r=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,r=e.default);var a="function"==typeof r?r.options:r;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=a.computed||(a.computed={});Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}})}return{esModule:i,exports:r,options:a}}},5:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){var e=function(e){e.preventDefault(),e.stopPropagation()},t=!1;return{lock:function(){t||(t=!0,document.addEventListener("touchmove",e))},unlock:function(){t=!1,document.removeEventListener("touchmove",e)}}}(),o=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i=function(e){var t=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,o=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return t.test(e)||n.test(e)||o.test(e)},r=function(e){for(var t=e;t&&"HTML"!==t.tagName&&"BODY"!==t.tagName&&1===t.nodeType;){var n=document.defaultView.getComputedStyle(t).overflowY;if("scroll"===n||"auto"===n)return t;t=t.parentNode}return window},s=function(e,t){var n=e==window?document.body.offsetHeight:e.offsetHeight,o=e===window?0:e.getBoundingClientRect().top,i=t.getBoundingClientRect().top-o,r=i+t.offsetHeight;return i>=0&&i0&&r<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,o,i){if(n!==o){var r=n+i>o?o:n+i;n>o&&(r=n-i1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var r=Math.abs(n-o),s=Math.ceil(r/i*50);t(n,o,s)};t.pageScroll=n,t.isIOS=o,t.isColor=i,t.getScrollview=r,t.checkInview=s,t.addClass=c,t.removeClass=u,t.scrollTop=d},72:function(e,t,n){var o=n(1)(n(211),n(130),null,null);e.exports=o.exports},130:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("img",{attrs:{src:e.defaultSrc,datasrc:e.src}})},staticRenderFns:[]}},211:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,o.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,o.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/list/index.js b/dist/lib.rem/list/index.js index 224c975f..f15dc32b 100644 --- a/dist/lib.rem/list/index.js +++ b/dist/lib.rem/list/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(f){if(i[f])return i[f].exports;var r=i[f]={exports:{},id:f,loaded:!1};return t[f].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var r=i(71),n=f(r),s=i(69),o=f(s),l=i(70),a=f(l);e.ListTheme=n.default,e.ListItem=o.default,e.ListOther=a.default},1:function(t,e){t.exports=function(t,e,i,f){var r,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,n=t.default);var o="function"==typeof n?n.options:n;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),f){var l=o.computed||(o.computed={});Object.keys(f).forEach(function(t){var e=f[t];l[t]=function(){return e}})}return{esModule:r,exports:n,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(f.parts.length=i.parts.length)}else{for(var s=[],r=0;rem{font-size:.22rem}.list-del-price{padding-left:.06rem;font-size:.2rem;margin-left:.02rem;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:.1rem}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:.1rem}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item{width:50%;float:left;padding:.2rem;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:.1rem}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:2rem;padding:1rem 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:.38rem;max-height:1.34rem}.list-theme4 .list-item .list-mes .list-other{padding-top:.1rem}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:.2rem .2rem 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:.2rem 0 .15rem}.list-theme5 .list-item .list-mes .list-other{padding-top:.06rem}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:.2rem;text-align:center;font-size:.26rem;color:#999;height:.66rem;line-height:.66rem}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:.24rem;text-align:center;padding:.25rem 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:2.3rem;height:2.3rem;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\\E60D";font-family:YDUI-INLAY;font-size:.88rem;text-align:center;color:#fff;display:block;padding-top:.36rem}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:.28rem;display:block;padding-top:.2rem}',""])},69:function(t,e,i){var f=i(1)(i(203),i(116),null,null);t.exports=f.exports},70:function(t,e,i){var f=i(1)(i(204),i(126),null,null);t.exports=f.exports},71:function(t,e,i){i(158);var f=i(1)(i(205),i(117),null,null);t.exports=f.exports},116:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return"link"==t.type?i("router-link",{staticClass:"list-item",attrs:{to:t.href}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)]):i("a",{staticClass:"list-item",attrs:{href:t.href||"javascript:;"}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)])},staticRenderFns:[]}},117:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("article",{staticClass:"m-list",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},126:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-other"},[t._t("default")],2)},staticRenderFns:[]}},158:function(t,e,i){var f=i(25);"string"==typeof f&&(f=[[t.id,f,""]]),f.locals&&(t.exports=f.locals);i(3)("a940470c",f,!0)},203:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},204:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},205:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var f=i[n]={exports:{},id:n,loaded:!1};return t[n].call(f.exports,f,f.exports,e),f.loaded=!0,f.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var f=i(75),r=n(f),s=i(73),o=n(s),l=i(74),a=n(l);e.ListTheme=r.default,e.ListItem=o.default,e.ListOther=a.default},1:function(t,e){t.exports=function(t,e,i,n){var f,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(f=t,r=t.default);var o="function"==typeof r?r.options:r;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:f,exports:r,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var s=[],f=0;fem{font-size:.22rem}.list-del-price{padding-left:.06rem;font-size:.2rem;margin-left:.02rem;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:.1rem}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:.1rem}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item{width:50%;float:left;padding:.2rem;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:.1rem}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:2rem;padding:1rem 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:.38rem;max-height:1.34rem}.list-theme4 .list-item .list-mes .list-other{padding-top:.1rem}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:.2rem .2rem 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:.2rem 0 .15rem}.list-theme5 .list-item .list-mes .list-other{padding-top:.06rem}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:.2rem;text-align:center;font-size:.26rem;color:#999;height:.66rem;line-height:.66rem}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:.24rem;text-align:center;padding:.25rem 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:2.3rem;height:2.3rem;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\\E60D";font-family:YDUI-INLAY;font-size:.88rem;text-align:center;color:#fff;display:block;padding-top:.36rem}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:.28rem;display:block;padding-top:.2rem}',""])},73:function(t,e,i){var n=i(1)(i(212),i(119),null,null);t.exports=n.exports},74:function(t,e,i){var n=i(1)(i(213),i(112),null,null);t.exports=n.exports},75:function(t,e,i){i(165);var n=i(1)(i(214),i(123),null,null);t.exports=n.exports},112:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-other"},[t._t("default")],2)},staticRenderFns:[]}},119:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return"link"==t.type?i("router-link",{staticClass:"list-item",attrs:{to:t.href}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)]):i("a",{staticClass:"list-item",attrs:{href:t.href||"javascript:;"}},[i("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),i("div",{staticClass:"list-mes"},[i("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)])},staticRenderFns:[]}},123:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("article",{staticClass:"m-list",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},165:function(t,e,i){var n=i(27);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("638f5742",n,!0)},212:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},213:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},214:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/navbar/index.js b/dist/lib.rem/navbar/index.js index ea50f8a9..3cbdf385 100644 --- a/dist/lib.rem/navbar/index.js +++ b/dist/lib.rem/navbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NavBarNextIcon=t.NavBarBackIcon=t.NavBar=void 0;var o=n(74),i=r(o),a=n(72),s=r(a),l=n(73),c=r(l);t.NavBar=i.default,t.NavBarBackIcon=s.default,t.NavBarNextIcon=c.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=l,t.scrollTop=c},36:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-navbar{height:.9rem;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 .2rem;font-size:.3rem;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:.9rem;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:.9rem;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:.36rem;color:inherit}.back-icon:before{content:"\\E607"}.next-icon:before{content:"\\E608"}',""])},72:function(e,t,n){var r=n(1)(n(206),n(105),null,null);e.exports=r.exports},73:function(e,t,n){var r=n(1)(n(207),n(115),null,null);e.exports=r.exports},74:function(e,t,n){n(169);var r=n(1)(n(208),n(133),null,null);e.exports=r.exports},105:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("i",{staticClass:"back-icon",style:{color:e.color}}),e._t("default")],2)},staticRenderFns:[]}},115:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("default"),n("i",{staticClass:"next-icon",style:{color:e.color}})],2)},staticRenderFns:[]}},133:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:e.classes,style:{backgroundColor:e.bgcolor,height:e.height}},[n("div",{staticClass:"navbar-item"},[e._t("left")],2),e._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:e.height}},[n("div",{staticClass:"navbar-center"},[e._t("center",[n("span",{staticClass:"center-title",style:{color:e.color,fontSize:e.fontsize}},[e._v(e._s(e.title))])])],2)]),e._v(" "),n("div",{staticClass:"navbar-item"},[e._t("right")],2)])},staticRenderFns:[]}},169:function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("259181be",r,!0)},206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-back-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},207:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-next-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},208:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".4rem"},height:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".9rem"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NavBarNextIcon=t.NavBarBackIcon=t.NavBar=void 0;var o=n(78),i=r(o),a=n(76),s=r(a),l=n(77),c=r(l);t.NavBar=i.default,t.NavBarBackIcon=s.default,t.NavBarNextIcon=c.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=l,t.removeClass=c,t.scrollTop=d},33:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-navbar{height:.9rem;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 .2rem;font-size:.3rem;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:.9rem;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:.9rem;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:.36rem;color:inherit}.back-icon:before{content:"\\E607"}.next-icon:before{content:"\\E608"}',""])},76:function(e,t,n){var r=n(1)(n(215),n(141),null,null);e.exports=r.exports},77:function(e,t,n){var r=n(1)(n(216),n(136),null,null);e.exports=r.exports},78:function(e,t,n){n(171);var r=n(1)(n(217),n(133),null,null);e.exports=r.exports},133:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:e.classes,style:{backgroundColor:e.bgcolor,height:e.height}},[n("div",{staticClass:"navbar-item"},[e._t("left")],2),e._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:e.height}},[n("div",{staticClass:"navbar-center"},[e._t("center",[n("span",{staticClass:"center-title",style:{color:e.color,fontSize:e.fontsize}},[e._v(e._s(e.title))])])],2)]),e._v(" "),n("div",{staticClass:"navbar-item"},[e._t("right")],2)])},staticRenderFns:[]}},136:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("default"),n("i",{staticClass:"next-icon",style:{color:e.color}})],2)},staticRenderFns:[]}},141:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("i",{staticClass:"back-icon",style:{color:e.color}}),e._t("default")],2)},staticRenderFns:[]}},171:function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("5ceee8e2",r,!0)},215:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-back-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar-next-icon",props:{color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"}}}},217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#5C5C5C"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".4rem"},height:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".9rem"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/popup/index.js b/dist/lib.rem/popup/index.js index e31f4a6b..149185be 100644 --- a/dist/lib.rem/popup/index.js +++ b/dist/lib.rem/popup/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var i=o(75),r=n(i);e.Popup=r.default},1:function(t,e){t.exports=function(t,e,o,n){var i,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,r=t.default);var a="function"==typeof r?r.options:r;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),o&&(a._scopeId=o),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=o},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(s(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},p=function(t){function e(o,n,i){if(o!==n){var r=o+i>n?n:o+i;o>n&&(r=o-i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(o-n),s=Math.ceil(r/i*50);e(o,n,s)};e.pageScroll=o,e.isColor=n,e.getScrollview=i,e.checkInview=r,e.addClass=a,e.removeClass=l,e.scrollTop=p},40:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,".m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}",""])},75:function(t,e,o){o(173);var n=o(1)(o(209),o(145),null,null);t.exports=n.exports},145:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"m-popup-mask",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),o("div",{ref:"box",class:t.classes(),style:t.styles()},[t.$slots.top&&"center"!=t.position?o("div",{ref:"top"},[t._t("top")],2):t._e(),t._v(" "),o("div",{staticClass:"popup-content"},[o("div",{ref:"content"},[t._t("default")],2)]),t._v(" "),t.$slots.bottom&&"center"!=t.position?o("div",{ref:"bottom"},[t._t("bottom")],2):t._e()])])},staticRenderFns:[]}},173:function(t,e,o){var n=o(40);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("19f28fa0",n,!0)},209:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(5);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(this.isIOS){var e=this.$refs,o=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,i=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,r=o+e.content.offsetHeight+i;t?(n.pageScroll.lock(),r>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,n.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(n.pageScroll.unlock(),r>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){this.isIOS&&(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,n.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var o={};return e.m=t,e.c=o,e.p="/dist/",e(0)}({0:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var i=o(79),r=n(i);e.Popup=r.default},1:function(t,e){t.exports=function(t,e,o,n){var i,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,r=t.default);var a="function"==typeof r?r.options:r;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),o&&(a._scopeId=o),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;eo.parts.length&&(n.parts.length=o.parts.length)}else{for(var s=[],i=0;i=0&&i0&&r<=o},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},p=function(t,e){if(a(t,e)){for(var o=" "+t.className.replace(/[\t\r\n]/g,"")+" ";o.indexOf(" "+e+" ")>=0;)o=o.replace(" "+e+" "," ");t.className=o.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(o,n,i){if(o!==n){var r=o+i>n?n:o+i;o>n&&(r=o-i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(o-n),s=Math.ceil(r/i*50);e(o,n,s)};e.pageScroll=o,e.isIOS=n,e.isColor=i,e.getScrollview=r,e.checkInview=s,e.addClass=l,e.removeClass=p,e.scrollTop=u},22:function(t,e,o){e=t.exports=o(2)(),e.push([t.id,".m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}",""])},79:function(t,e,o){o(160);var n=o(1)(o(218),o(115),null,null);t.exports=n.exports},115:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"m-popup-mask",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),o("div",{ref:"box",class:t.classes(),style:t.styles()},[t.$slots.top&&"center"!=t.position?o("div",{ref:"top"},[t._t("top")],2):t._e(),t._v(" "),o("div",{staticClass:"popup-content"},[o("div",{ref:"content"},[t._t("default")],2)]),t._v(" "),t.$slots.bottom&&"center"!=t.position?o("div",{ref:"bottom"},[t._t("bottom")],2):t._e()])])},staticRenderFns:[]}},160:function(t,e,o){var n=o(22);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);o(3)("d53a01c2",n,!0)},218:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(5);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(n.isIOS){var e=this.$refs,o=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,i=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,r=o+e.content.offsetHeight+i;t?(n.pageScroll.lock(),r>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,n.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(n.pageScroll.unlock(),r>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){n.isIOS&&(0,n.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,n.getScrollview)(this.$el)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/progressbar/index.js b/dist/lib.rem/progressbar/index.js index 36105b64..a0176109 100644 --- a/dist/lib.rem/progressbar/index.js +++ b/dist/lib.rem/progressbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var o=r(76),i=n(o);e.ProgressBar=i.default},1:function(t,e){t.exports=function(t,e,r,n){var o,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:o,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=r},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(s(t,e)){for(var r=" "+t.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+e+" ")>=0;)r=r.replace(" "+e+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}},d=function(t){function e(r,n,o){if(r!==n){var i=r+o>n?n:r+o;r>n&&(i=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(r-n),s=Math.ceil(i/o*50);e(r,n,s)};e.pageScroll=r,e.isColor=n,e.getScrollview=o,e.checkInview=i,e.addClass=a,e.removeClass=l,e.scrollTop=d},35:function(t,e,r){e=t.exports=r(2)(),e.push([t.id,".m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:.3rem;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}",""])},76:function(t,e,r){r(168);var n=r(1)(r(210),r(132),null,null);t.exports=n.exports},132:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-progressbar"},["line"!=t.type?r("div",{staticClass:"progressbar-content"},[t._t("default")],2):t._e(),t._v(" "),r("svg",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],attrs:{viewBox:t.viewBox,preserveAspectRatio:"line"==t.type?"none":""}},[r("path",{attrs:{"fill-opacity":t.fillColor?1:0,d:t.getPathString,fill:t.fillColor,stroke:t.strokeColor,"stroke-width":t.trailWidth}}),t._v(" "),r("path",{ref:"trailPath",style:{strokeDasharray:t.stroke.dasharray,strokeDashoffset:t.stroke.dashoffset},attrs:{"fill-opacity":"0",d:t.getPathString,stroke:t.trailColor,"stroke-width":t.strokeWidth?t.strokeWidth:t.trailWidth}})])])},staticRenderFns:[]}},168:function(t,e,r){var n=r(35);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);r(3)("52e1409e",n,!0)},210:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(5);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,n.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,n.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){(0,n.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="/dist/",e(0)}({0:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var o=r(80),i=n(o);e.ProgressBar=i.default},1:function(t,e){t.exports=function(t,e,r,n){var o,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),r&&(a._scopeId=r),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:o,exports:i,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;er.parts.length&&(n.parts.length=r.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=r},a=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){a(t,e)||(t.className=""==t.className?e:t.className+" "+e)},d=function(t,e){if(a(t,e)){for(var r=" "+t.className.replace(/[\t\r\n]/g,"")+" ";r.indexOf(" "+e+" ")>=0;)r=r.replace(" "+e+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(r,n,o){if(r!==n){var i=r+o>n?n:r+o;r>n&&(i=r-o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var i=Math.abs(r-n),s=Math.ceil(i/o*50);e(r,n,s)};e.pageScroll=r,e.isIOS=n,e.isColor=o,e.getScrollview=i,e.checkInview=s,e.addClass=l,e.removeClass=d,e.scrollTop=u},26:function(t,e,r){e=t.exports=r(2)(),e.push([t.id,".m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:.3rem;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}",""])},80:function(t,e,r){r(164);var n=r(1)(r(219),r(121),null,null);t.exports=n.exports},121:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-progressbar"},["line"!=t.type?r("div",{staticClass:"progressbar-content"},[t._t("default")],2):t._e(),t._v(" "),r("svg",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],attrs:{viewBox:t.viewBox,preserveAspectRatio:"line"==t.type?"none":""}},[r("path",{attrs:{"fill-opacity":t.fillColor?1:0,d:t.getPathString,fill:t.fillColor,stroke:t.strokeColor,"stroke-width":t.trailWidth}}),t._v(" "),r("path",{ref:"trailPath",style:{strokeDasharray:t.stroke.dasharray,strokeDashoffset:t.stroke.dashoffset},attrs:{"fill-opacity":"0",d:t.getPathString,stroke:t.trailColor,"stroke-width":t.strokeWidth?t.strokeWidth:t.trailWidth}})])])},staticRenderFns:[]}},164:function(t,e,r){var n=r(26);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);r(3)("e1c8536c",n,!0)},219:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(5);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,n.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,n.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,n.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){(0,n.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/pullrefresh/index.js b/dist/lib.rem/pullrefresh/index.js index 1fefa900..00910ba4 100644 --- a/dist/lib.rem/pullrefresh/index.js +++ b/dist/lib.rem/pullrefresh/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var o=i(77),s=n(o);e.PullRefresh=s.default},1:function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),i&&(a._scopeId=i),n){var d=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},77:function(t,e,i){var n=i(1)(i(211),i(99),null,null);t.exports=n.exports},99:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{ref:"dragBox"},[t._t("default"),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[i("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?i("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("span",[t._v("下拉更新")])])}]}},211:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",i=window.localStorage;1!=i.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),i.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(i=this.dragTip.distance),this.dragTip.iconRotate=i/.25,this.touches.moveOffset=this.dragTip.translate=i}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,i=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,i.animationTiming="",i.iconOpacity=.5,i.translate=0,i.scale=1,i.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var o=i(81),s=n(o);e.PullRefresh=s.default},1:function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),i&&(a._scopeId=i),n){var d=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];d[t]=function(){return e}})}return{esModule:o,exports:s,options:a}}},81:function(t,e,i){var n=i(1)(i(220),i(135),null,null);t.exports=n.exports},135:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{ref:"dragBox"},[t._t("default"),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[i("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?i("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("span",[t._v("下拉更新")])])}]}},220:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",i=window.localStorage;1!=i.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),i.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(i=this.dragTip.distance),this.dragTip.iconRotate=i/.25,this.touches.moveOffset=this.dragTip.translate=i}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,i=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,i.animationTiming="",i.iconOpacity=.5,i.translate=0,i.scale=1,i.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/radio/index.js b/dist/lib.rem/radio/index.js index 61ab6c1c..b069ef8f 100644 --- a/dist/lib.rem/radio/index.js +++ b/dist/lib.rem/radio/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.Radio=void 0;var o=n(79),i=r(o),a=n(78),s=r(a);t.Radio=i.default,t.RadioGroup=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var d=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];d[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=d,t.scrollTop=u},39:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}',""])},78:function(e,t,n){n(172);var r=n(1)(n(212),n(143),null,null);e.exports=r.exports},79:function(e,t,n){var r=n(1)(n(213),n(142),null,null);e.exports=r.exports},142:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"m-radio"},[n("input",{attrs:{type:"radio",disabled:e.disabled},domProps:{checked:e.checked},on:{change:e.changeHandler}}),e._v(" "),n("span",{staticClass:"radio-icon",style:[{color:e.$parent.color},e.styles(1)]},[n("i",{style:e.styles(2)})]),e._v(" "),e.$slots.default?n("span",{staticClass:"radio-text"},[e._t("default")],2):n("span",{staticClass:"radio-text"},[e._v(e._s(e.val))])])},staticRenderFns:[]}},143:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default")],2)},staticRenderFns:[]}},172:function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("75c2d9e8",r,!0)},212:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-radio"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.checked=e==t.val})},change:function(e){this.currentValue=e,this.updateValue(),this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},213:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(e){this.disabled||(this.checked=e.target.checked,this.$parent.change(this.val))},styles:function(e){return{width:this.$parent.size/e+"px",height:this.$parent.size/e+"px"}}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.Radio=void 0;var o=n(83),i=r(o),a=n(82),s=r(a);t.Radio=i.default,t.RadioGroup=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var d=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];d[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},d=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=d,t.removeClass=u,t.scrollTop=c},39:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}',""])},82:function(e,t,n){n(177);var r=n(1)(n(221),n(147),null,null);e.exports=r.exports},83:function(e,t,n){var r=n(1)(n(222),n(103),null,null);e.exports=r.exports},103:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"m-radio"},[n("input",{attrs:{type:"radio",disabled:e.disabled},domProps:{checked:e.checked},on:{change:e.changeHandler}}),e._v(" "),n("span",{staticClass:"radio-icon",style:[{color:e.$parent.color},e.styles(1)]},[n("i",{style:e.styles(2)})]),e._v(" "),e.$slots.default?n("span",{staticClass:"radio-text"},[e._t("default")],2):n("span",{staticClass:"radio-text"},[e._v(e._s(e.val))])])},staticRenderFns:[]}},147:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default")],2)},staticRenderFns:[]}},177:function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("d325ae40",r,!0)},221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"},size:{validator:function(e){return/^([1-9]\d*)$/.test(e)},default:20}},methods:{updateValue:function(){var e=this.value;this.childrens=this.$children.filter(function(e){return"yd-radio"===e.$options.name}),this.childrens&&this.childrens.forEach(function(t){t.checked=e==t.val})},change:function(e){this.currentValue=e,this.updateValue(),this.$emit("input",e)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},222:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(e){this.disabled||(this.checked=e.target.checked,this.$parent.change(this.val))},styles:function(e){return{width:this.$parent.size/e+"px",height:this.$parent.size/e+"px"}}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/rate/index.js b/dist/lib.rem/rate/index.js index 987c9cf1..b4f5b204 100644 --- a/dist/lib.rem/rate/index.js +++ b/dist/lib.rem/rate/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Rate=void 0;var o=n(80),i=r(o);t.Rate=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=u,t.scrollTop=c},14:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\\E631"}.m-rate .rate-text{color:#657180;margin-left:.1rem;font-size:.3rem}',""])},80:function(e,t,n){n(147);var r=n(1)(n(214),n(95),null,null);e.exports=r.exports},95:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-rate",style:{fontSize:e.size,color:e.color}},[e._l(~~e.count,function(t){return n("a",{class:e.index>=t?"rate-active":"",style:{color:e.index>=t?e.activeColor:e.color,paddingRight:e.padding},attrs:{href:"javascript:;"},on:{click:function(n){!e.readonly&&e.choose(t)}}})}),e._v(" "),e.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:e._s(e.str)}}):e._e()],2)},staticRenderFns:[]}},147:function(e,t,n){var r=n(14);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("68d7c2d4",r,!0)},214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)},default:5},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".5rem"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#CCC"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FF5D50"},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".06rem"}},methods:{choose:function(e){this.index=e,this.$emit("input",e),this.showText&&(this.str=(this.showText[e-1]||"").replace("$",e))}},mounted:function(){var e=this;this.$nextTick(function(){e.choose(e.value)})}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Rate=void 0;var o=n(84),i=r(o);t.Rate=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=u,t.removeClass=c,t.scrollTop=d},37:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\\E631"}.m-rate .rate-text{color:#657180;margin-left:.1rem;font-size:.3rem}',""])},84:function(e,t,n){n(175);var r=n(1)(n(223),n(144),null,null);e.exports=r.exports},144:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-rate",style:{fontSize:e.size,color:e.color}},[e._l(~~e.count,function(t){return n("a",{class:e.index>=t?"rate-active":"",style:{color:e.index>=t?e.activeColor:e.color,paddingRight:e.padding},attrs:{href:"javascript:;"},on:{click:function(n){!e.readonly&&e.choose(t)}}})}),e._v(" "),e.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:e._s(e.str)}}):e._e()],2)},staticRenderFns:[]}},175:function(e,t,n){var r=n(37);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("0799159b",r,!0)},223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)},default:5},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".5rem"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#CCC"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FF5D50"},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".06rem"}},methods:{choose:function(e){this.index=e,this.$emit("input",e),this.showText&&(this.str=(this.showText[e-1]||"").replace("$",e))}},mounted:function(){var e=this;this.$nextTick(function(){e.choose(e.value)})}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/rollnotice/index.js b/dist/lib.rem/rollnotice/index.js index 307c1985..af5fbe39 100644 --- a/dist/lib.rem/rollnotice/index.js +++ b/dist/lib.rem/rollnotice/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var r=n(82),o=i(r),s=n(81),a=i(s);e.RollNotice=o.default,e.RollNoticeItem=a.default},1:function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,o=t.default);var a="function"==typeof o?o.options:o;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var l=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:r,exports:o,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(i.parts.length=n.parts.length)}else{for(var s=[],r=0;r-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var r=n(86),o=i(r),s=n(85),a=i(s);e.RollNotice=o.default,e.RollNoticeItem=a.default},1:function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,o=t.default);var a="function"==typeof o?o.options:o;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),i){var l=a.computed||(a.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:r,exports:o,options:a}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(i.parts.length=n.parts.length)}else{for(var s=[],r=0;r-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/scrolltab/index.js b/dist/lib.rem/scrolltab/index.js index 5e533618..62563c5e 100644 --- a/dist/lib.rem/scrolltab/index.js +++ b/dist/lib.rem/scrolltab/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var o=i(84),r=n(o),s=i(83),l=n(s);e.ScrollTab=r.default,e.ScrollTabPanel=l.default},1:function(t,e){t.exports=function(t,e,i,n){var o,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,r=t.default);var l="function"==typeof r?r.options:r;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),i&&(l._scopeId=i),n){var a=l.computed||(l.computed={});Object.keys(n).forEach(function(t){var e=n[t];a[t]=function(){return e}})}return{esModule:o,exports:r,options:l}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var s=[],o=0;oimg{height:.4rem;display:inline-block}.scrolltab-title{font-size:.3rem;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:1.6rem}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 .24rem .24rem;position:relative}.scrolltab-content-title{font-size:.3rem;font-weight:400;color:#555;display:block;padding-bottom:.1rem;padding-top:.32rem;margin-bottom:.2rem;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},83:function(t,e,i){var n=i(1)(i(217),i(108),null,null);t.exports=n.exports},84:function(t,e,i){i(156);var n=i(1)(i(218),i(112),null,null);t.exports=n.exports},108:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"scrolltab-content-item"},[i("strong",{staticClass:"scrolltab-content-title"},[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},112:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"m-scrolltab"},[i("div",{staticClass:"scrolltab-nav"},t._l(t.navList,function(e){return i("a",{staticClass:"scrolltab-item",class:t.activeIndex==e._uid?"scrolltab-active":"",attrs:{href:"javascript:;"},on:{click:function(i){t.moveHandler(e._uid)}}},[i("div",{staticClass:"scrolltab-icon"},[i("i",{class:e.icon})]),t._v(" "),i("div",{staticClass:"scrolltab-title"},[t._v(t._s(e.label))])])})),t._v(" "),i("div",{ref:"scrollView",staticClass:"scrolltab-content"},[t._t("default")],2)])},staticRenderFns:[]}},156:function(t,e,i){var n=i(23);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("3b20ff8b",n,!0)},217:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},218:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),i=0;e.forEach(function(n){n.active?(t.activeIndex=n._uid,t.moveHandler(n._uid)):(++i,i>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var i=this.getPanels(),n=i.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=n+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),i=e.length,n=this.scrollView,o=n.offsetHeight,r=n.scrollTop,s=e[0].$el.offsetHeight;return r>=s*i-o?void(this.activeIndex=e[i-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var o=i(88),r=n(o),s=i(87),l=n(s);e.ScrollTab=r.default,e.ScrollTabPanel=l.default},1:function(t,e){t.exports=function(t,e,i,n){var o,r=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,r=t.default);var l="function"==typeof r?r.options:r;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),i&&(l._scopeId=i),n){var a=l.computed||(l.computed={});Object.keys(n).forEach(function(t){var e=n[t];a[t]=function(){return e}})}return{esModule:o,exports:r,options:l}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var s=[],o=0;oimg{height:.4rem;display:inline-block}.scrolltab-title{font-size:.3rem;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:1.6rem}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 .24rem .24rem;position:relative}.scrolltab-content-title{font-size:.3rem;font-weight:400;color:#555;display:block;padding-bottom:.1rem;padding-top:.32rem;margin-bottom:.2rem;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}',""])},87:function(t,e,i){var n=i(1)(i(226),i(101),null,null);t.exports=n.exports},88:function(t,e,i){i(156);var n=i(1)(i(227),i(106),null,null);t.exports=n.exports},101:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"scrolltab-content-item"},[i("strong",{staticClass:"scrolltab-content-title"},[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},106:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"m-scrolltab"},[i("div",{staticClass:"scrolltab-nav"},t._l(t.navList,function(e){return i("a",{staticClass:"scrolltab-item",class:t.activeIndex==e._uid?"scrolltab-active":"",attrs:{href:"javascript:;"},on:{click:function(i){t.moveHandler(e._uid)}}},[i("div",{staticClass:"scrolltab-icon"},[i("i",{class:e.icon})]),t._v(" "),i("div",{staticClass:"scrolltab-title"},[t._v(t._s(e.label))])])})),t._v(" "),i("div",{ref:"scrollView",staticClass:"scrolltab-content"},[t._t("default")],2)])},staticRenderFns:[]}},156:function(t,e,i){var n=i(18);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("8e5442a0",n,!0)},226:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},227:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),i=0;e.forEach(function(n){n.active?(t.activeIndex=n._uid,t.moveHandler(n._uid)):(++i,i>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var i=this.getPanels(),n=i.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=n+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),i=e.length,n=this.scrollView,o=n.offsetHeight,r=n.scrollTop,s=e[0].$el.offsetHeight;return r>=s*i-o?void(this.activeIndex=e[i-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/sendcode/index.js b/dist/lib.rem/sendcode/index.js index 90264d8a..cdc502d2 100644 --- a/dist/lib.rem/sendcode/index.js +++ b/dist/lib.rem/sendcode/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SendCode=void 0;var o=n(85),i=r(o);t.SendCode=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var u=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},u=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),s=Math.ceil(i/o*50);t(n,r,s)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=a,t.removeClass=u,t.scrollTop=d},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var r=n(1)(n(13),n(11),null,null);e.exports=r.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var r=n(9);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("83af067c",r,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)}},color:{validator:function(e){return!e||(0,r.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},85:function(e,t,n){var r=n(1)(n(219),n(100),null,null);e.exports=r.exports},100:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("yd-button",{class:e.start?"btn-disabled":"",style:{backgroundColor:e.bgcolor,color:e.color},attrs:{size:e.size,type:e.type,disabled:e.start}},[e._v("\n "+e._s(e.tmpStr)+"\n")])},staticRenderFns:[]}},219:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o);t.default={name:"yd-sendcode",extends:i.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(e){return/^\d*$/.test(e)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var e=this,t=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){t--,e.tmpStr=e.getStr(t),t<=0&&e.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(e){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,e)}},watch:{value:function(e){this.start=e,e&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SendCode=void 0;var o=n(89),i=r(o);t.SendCode=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},u=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=u,t.removeClass=d,t.scrollTop=c},9:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}",""])},10:function(e,t,n){n(12);var r=n(1)(n(13),n(11),null,null);e.exports=r.exports},11:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.classes,style:{backgroundColor:e.bgcolor,color:e.color},attrs:{disabled:e.disabled}},[e._t("default")],2)},staticRenderFns:[]}},12:function(e,t,n){var r=n(9);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("62f2844a",r,!0)},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(e){return["primary","danger","warning","hollow","disabled"].indexOf(e)>-1},default:"primary"},size:{validator:function(e){return["small","large"].indexOf(e)>-1}},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)}},color:{validator:function(e){return!e||(0,r.isColor)(e)}}},computed:{classes:function(){var e="large"==this.size?"btn-block":"btn",t="btn-"+this.type;return this.disabled&&(t="btn-disabled"),this.bgcolor&&(t=""),e+" "+t}}}},89:function(e,t,n){var r=n(1)(n(228),n(102),null,null);e.exports=r.exports},102:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("yd-button",{class:e.start?"btn-disabled":"",style:{backgroundColor:e.bgcolor,color:e.color},attrs:{size:e.size,type:e.type,disabled:e.start}},[e._v("\n "+e._s(e.tmpStr)+"\n")])},staticRenderFns:[]}},228:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o);t.default={name:"yd-sendcode",extends:i.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(e){return/^\d*$/.test(e)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var e=this,t=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){t--,e.tmpStr=e.getStr(t),t<=0&&e.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(e){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,e)}},watch:{value:function(e){this.start=e,e&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/slider/index.js b/dist/lib.rem/slider/index.js index 53499cdf..afca83b2 100644 --- a/dist/lib.rem/slider/index.js +++ b/dist/lib.rem/slider/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var s=i(87),r=n(s),a=i(86),o=n(a);e.Slider=r.default,e.SliderItem=o.default},1:function(t,e){t.exports=function(t,e,i,n){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var o="function"==typeof r?r.options:r;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:s,exports:r,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],s=0;s.slider-pagination-item{margin:.05rem;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}",""])},86:function(t,e,i){var n=i(1)(i(220),i(106),null,null);t.exports=n.exports},87:function(t,e,i){i(162);var n=i(1)(i(221),i(121),null,null);t.exports=n.exports},106:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-item"},[t._t("default")],2)},staticRenderFns:[]}},121:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"slider",staticClass:"m-slider"},[i("div",{ref:"warpper",staticClass:"slider-wrapper",class:"vertical"==t.direction?"slider-wrapper-vertical":"",style:t.dragStyleObject},[i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.firtstItem)}})],2),t._v(" "),i("div",{staticClass:"slider-pagination",class:"vertical"==t.direction?"slider-pagination-vertical":""},t._l(t.itemNums,function(e,n){return i("span",{staticClass:"slider-pagination-item",class:t.paginationIndex==n?"slider-pagination-item-active":""})}))])},staticRenderFns:[]}},162:function(t,e,i){var n=i(29);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("787def37",n,!0)},220:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},221:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,i=(t-1)%e;this.paginationIndex=i<0?e-1:i}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var i=this.itemNums;if(0==this.index)return this.index=i,void this.setTranslate(0,-i*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>i&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var i=t.touches?t.touches[0].clientY:t.clientY,n=t.touches?t.touches[0].clientX:t.clientX,s=180*Math.atan2(Math.abs(i-e.startY),Math.abs(n-e.startX))/Math.PI;if((this.isVertical?90-s>45:s>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var r=e.moveOffset=this.isVertical?i-e.startY:n-e.startX;0!=r&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+r))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,i=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var n=Date.now()-t.touchStartTime;return n>300&&Math.abs(e)<=.5*i?this.setTranslate(this.speed,-this.index*i):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*i)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}({0:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var s=i(91),r=n(s),a=i(90),o=n(a);e.Slider=r.default,e.SliderItem=o.default},1:function(t,e){t.exports=function(t,e,i,n){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var o="function"==typeof r?r.options:r;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),i&&(o._scopeId=i),n){var l=o.computed||(o.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:s,exports:r,options:o}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],s=0;s.slider-pagination-item{margin:.05rem;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}",""])},90:function(t,e,i){var n=i(1)(i(229),i(99),null,null);t.exports=n.exports},91:function(t,e,i){i(163);var n=i(1)(i(230),i(120),null,null);t.exports=n.exports},99:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-item"},[t._t("default")],2)},staticRenderFns:[]}},120:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"slider",staticClass:"m-slider"},[i("div",{ref:"warpper",staticClass:"slider-wrapper",class:"vertical"==t.direction?"slider-wrapper-vertical":"",style:t.dragStyleObject},[i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),i("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.firtstItem)}})],2),t._v(" "),i("div",{staticClass:"slider-pagination",class:"vertical"==t.direction?"slider-pagination-vertical":""},t._l(t.itemNums,function(e,n){return i("span",{staticClass:"slider-pagination-item",class:t.paginationIndex==n?"slider-pagination-item-active":""})}))])},staticRenderFns:[]}},163:function(t,e,i){var n=i(25);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(3)("487e4844",n,!0)},229:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},230:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,i=(t-1)%e;this.paginationIndex=i<0?e-1:i}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var i=this.itemNums;if(0==this.index)return this.index=i,void this.setTranslate(0,-i*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>i&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var i=t.touches?t.touches[0].clientY:t.clientY,n=t.touches?t.touches[0].clientX:t.clientX,s=180*Math.atan2(Math.abs(i-e.startY),Math.abs(n-e.startX))/Math.PI;if((this.isVertical?90-s>45:s>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var r=e.moveOffset=this.isVertical?i-e.startY:n-e.startX;0!=r&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+r))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,i=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var n=Date.now()-t.touchStartTime;return n>300&&Math.abs(e)<=.5*i?this.setTranslate(this.speed,-this.index*i):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*i)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/spinner/index.js b/dist/lib.rem/spinner/index.js index 1d3f2115..abe8d9ea 100644 --- a/dist/lib.rem/spinner/index.js +++ b/dist/lib.rem/spinner/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var i=n(88),a=r(i);t.Spinner=a.default},1:function(e,t){e.exports=function(e,t,n,r){var i,a=e=e||{},o=typeof e.default;"object"!==o&&"function"!==o||(i=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:i,exports:a,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;ia{float:left;width:.6rem;height:.6rem;line-height:.62rem;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:.18rem}.m-spinner>a:first-child:after{content:"\\E60B"}.m-spinner>a:last-child:after{content:"\\E602"}.m-spinner>input{letter-spacing:0;float:left;width:.85rem;height:.6rem;line-height:2.4;text-align:center;color:#666;border:none;font-size:.26rem;background-color:#fff}',""])},88:function(e,t,n){n(167);var r=n(1)(n(222),n(131),null,null);e.exports=r.exports},131:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-spinner"},[n("a",{ref:"minus",attrs:{href:"javascript:;"}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.counter,expression:"counter"}],ref:"numInput",staticClass:"spinner-input",attrs:{type:"text",readonly:e.readonly,placeholder:""},domProps:{value:e.counter},on:{input:function(t){t.target.composing||(e.counter=t.target.value)}}}),e._v(" "),n("a",{ref:"add",attrs:{href:"javascript:;"}})])},staticRenderFns:[]}},167:function(e,t,n){var r=n(34);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("faa612fa",r,!0)},222:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(e){return/^([1-9]\d*)$/.test(e)}},max:{default:0,validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},min:{default:-1,validator:function(e){return/^((-?([1-9]\d*))|0)$/.test(e)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var e=~~this.max,t=~~this.unit,n=~~this.min;return e=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+t+") must be multiple."),!1):!(e0?void this.setValue(n):void this.setValue(t<0?e:t)},calculation:function(e){var t=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,r=~~this.unit;if(!this.readonly){var i=~~this.counter,a=void 0;if("add"==e){if(a=i+r,0!=t&&a>t)return}else if(a=i-r,at&&0!=t&&(e=t),e%r>0&&(e=e-e%r+r,e>t&&0!=t&&(e-=r)),e=40&&(i=100),this.tapParams.timer=setTimeout(function(){t.calculation(e)},1e3/i)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var e=this,t=this.$refs.add,n=this.$refs.minus,r={mousedownEvent:"touchstart",mouseupEvent:"touchend"},i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();i||(r.mousedownEvent="mousedown",r.mouseupEvent="mouseup"),t.addEventListener(r.mousedownEvent,function(n){e.longpress&&(n.preventDefault(),n.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,t.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("add")}),n.addEventListener(r.mousedownEvent,function(t){e.longpress&&(t.preventDefault(),t.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){e.setValue(~~e.counter)})}},mounted:function(){this.init()}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var i=n(92),o=r(i);t.Spinner=o.default},1:function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var u=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];u[e]=function(){return t}})}return{esModule:i,exports:o,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;ia{float:left;width:.6rem;height:.6rem;line-height:.62rem;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:.18rem}.m-spinner>a:first-child:after{content:"\\E60B"}.m-spinner>a:last-child:after{content:"\\E602"}.m-spinner>input{letter-spacing:0;float:left;width:.85rem;height:.6rem;line-height:2.4;text-align:center;color:#666;border:none;font-size:.26rem;background-color:#fff}',""])},92:function(e,t,n){n(154);var r=n(1)(n(231),n(104),null,null);e.exports=r.exports},104:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"m-spinner"},[n("a",{ref:"minus",attrs:{href:"javascript:;"}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.counter,expression:"counter"}],ref:"numInput",staticClass:"spinner-input",attrs:{type:"text",readonly:e.readonly,placeholder:""},domProps:{value:e.counter},on:{input:function(t){t.target.composing||(e.counter=t.target.value)}}}),e._v(" "),n("a",{ref:"add",attrs:{href:"javascript:;"}})])},staticRenderFns:[]}},154:function(e,t,n){var r=n(16);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("3d2df5f8",r,!0)},231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(e){return/^([1-9]\d*)$/.test(e)}},max:{default:0,validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}},min:{default:-1,validator:function(e){return/^((-?([1-9]\d*))|0)$/.test(e)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(e){return/^(([1-9]\d*)|0)$/.test(e)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var e=~~this.max,t=~~this.unit,n=~~this.min;return e=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+t+") must be multiple."),!1):!(e0?void this.setValue(n):void this.setValue(t<0?e:t)},calculation:function(e){var t=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,r=~~this.unit;if(!this.readonly){var i=~~this.counter,o=void 0;if("add"==e){if(o=i+r,0!=t&&o>t)return}else if(o=i-r,ot&&0!=t&&(e=t),e%r>0&&(e=e-e%r+r,e>t&&0!=t&&(e-=r)),e=40&&(i=100),this.tapParams.timer=setTimeout(function(){t.calculation(e)},1e3/i)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var e=this,t=this.$refs.add,n=this.$refs.minus,r={mousedownEvent:"touchstart",mouseupEvent:"touchend"},i=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();i||(r.mousedownEvent="mousedown",r.mouseupEvent="mouseup"),t.addEventListener(r.mousedownEvent,function(n){e.longpress&&(n.preventDefault(),n.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,t.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("add")}),n.addEventListener(r.mousedownEvent,function(t){e.longpress&&(t.preventDefault(),t.stopPropagation(),e.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(r.mouseupEvent,e.clearTapTimer)),e.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){e.setValue(~~e.counter)})}},mounted:function(){this.init()}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/switch/index.js b/dist/lib.rem/switch/index.js index c0d2a156..40d78bbb 100644 --- a/dist/lib.rem/switch/index.js +++ b/dist/lib.rem/switch/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var o=n(89),i=r(o);t.Switch=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,i=e.default);var a="function"==typeof i?i.options:i;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var c=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:o,exports:i,options:a}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),s=Math.ceil(i/o*50);t(n,r,s)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=a,t.removeClass=c,t.scrollTop=d},33:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}',""])},89:function(e,t,n){n(166);var r=n(1)(n(223),n(129),null,null);e.exports=r.exports},129:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],staticClass:"m-switch",style:{color:e.color},attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=e._i(n,i);o?s<0&&(e.checked=n.concat(i)):s>-1&&(e.checked=n.slice(0,s).concat(n.slice(s+1)))}else e.checked=o}}})},staticRenderFns:[]}},166:function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("a1eec858",r,!0)},223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var o=n(93),i=r(o);t.Switch=i.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var c=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},c=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},d=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=c,t.removeClass=d,t.scrollTop=u},35:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}',""])},93:function(e,t,n){n(173);var r=n(1)(n(232),n(138),null,null);e.exports=r.exports},138:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],staticClass:"m-switch",style:{color:e.color},attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=null,a=e._i(n,i);o?a<0&&(e.checked=n.concat(i)):a>-1&&(e.checked=n.slice(0,a).concat(n.slice(a+1)))}else e.checked=o}}})},staticRenderFns:[]}},173:function(e,t,n){var r=n(35);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("7c03577b",r,!0)},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#4CD864"}},watch:{checked:function(e){this.$emit("input",e)},value:function(e){this.checked=e}}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/tab/index.js b/dist/lib.rem/tab/index.js index 1cc9c4c5..c2030987 100644 --- a/dist/lib.rem/tab/index.js +++ b/dist/lib.rem/tab/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(a){if(n[a])return n[a].exports;var i=n[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var i=n(91),r=a(i),o=n(90),s=a(o);e.Tab=r.default,e.TabPanel=s.default},1:function(t,e){t.exports=function(t,e,n,a){var i,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),a){var l=s.computed||(s.computed={});Object.keys(a).forEach(function(t){var e=a[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(a.parts.length=n.parts.length)}else{for(var o=[],i=0;i=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(a){if(n[a])return n[a].exports;var i=n[a]={exports:{},id:a,loaded:!1};return t[a].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}({0:function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var i=n(95),r=a(i),o=n(94),s=a(o);e.Tab=r.default,e.TabPanel=s.default},1:function(t,e){t.exports=function(t,e,n,a){var i,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),a){var l=s.computed||(s.computed={});Object.keys(a).forEach(function(t){var e=a[t];l[t]=function(){return e}})}return{esModule:i,exports:r,options:s}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(a.parts.length=n.parts.length)}else{for(var o=[],i=0;i=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}}})}); \ No newline at end of file diff --git a/dist/lib.rem/tabbar/index.js b/dist/lib.rem/tabbar/index.js index 09a52b28..58e19477 100644 --- a/dist/lib.rem/tabbar/index.js +++ b/dist/lib.rem/tabbar/index.js @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TabBarItem=t.TabBar=void 0;var o=n(93),i=r(o),a=n(92),s=r(a);t.TabBar=i.default,t.TabBarItem=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},a=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){a(e,t)||(e.className=""==e.className?t:e.className+" "+t)},l=function(e,t){if(a(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},c=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isColor=r,t.getScrollview=o,t.checkInview=i,t.addClass=s,t.removeClass=l,t.scrollTop=c},27:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.104rem 0 .07rem;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-.02rem;margin-left:-.15rem}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:.02rem;margin-left:-.11rem}.tabbar-icon{height:.5832rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}',""])},92:function(e,t,n){var r=n(1)(n(226),n(141),null,null);e.exports=r.exports},93:function(e,t,n){n(160);var r=n(1)(n(227),n(119),null,null);e.exports=r.exports},119:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"m-tabbar tabbbar-top-line-color",class:e.classes,style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},141:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"tabbar-item",class:e.classes,style:e.styles,attrs:{to:e.link,exact:e.$parent.exact,"active-class":e.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[e._t("icon"),e._v(" "),n("span",{staticClass:"tabbar-badge"},[e._t("badge")],2),e._v(" "),e.dot?n("span",{staticClass:"tabbar-dot"}):e._e()],2),e._v(" "),n("span",{staticClass:"tabbar-txt"},[e._v(e._s(e.title))])])},staticRenderFns:[]}},160:function(e,t,n){var r=n(27);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("0af85aae",r,!0)},226:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5);t.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#09BB07"},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#979797"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".24rem"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}}})}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ydui=t():e.ydui=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TabBarItem=t.TabBar=void 0;var o=n(97),i=r(o),a=n(96),s=r(a);t.TabBar=i.default,t.TabBarItem=s.default},1:function(e,t){e.exports=function(e,t,n,r){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}})}return{esModule:o,exports:i,options:s}}},2:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o=0&&o0&&i<=n},s=function(e,t){return t=t||"",0!=t.replace(/\s/g,"").length&&new RegExp(" "+t+" ").test(" "+e.className+" ")},l=function(e,t){s(e,t)||(e.className=""==e.className?t:e.className+" "+t)},c=function(e,t){if(s(e,t)){for(var n=" "+e.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},u=function(e){function t(n,r,o){if(n!==r){var i=n+o>r?r:n+o;n>r&&(i=n-o1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var i=Math.abs(n-r),a=Math.ceil(i/o*50);t(n,r,a)};t.pageScroll=n,t.isIOS=r,t.isColor=o,t.getScrollview=i,t.checkInview=a,t.addClass=l,t.removeClass=c,t.scrollTop=u},23:function(e,t,n){t=e.exports=n(2)(),t.push([e.id,'.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.104rem 0 .07rem;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-.02rem;margin-left:-.15rem}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:.02rem;margin-left:-.11rem}.tabbar-icon{height:.5832rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}',""])},96:function(e,t,n){var r=n(1)(n(235),n(148),null,null);e.exports=r.exports},97:function(e,t,n){n(161);var r=n(1)(n(236),n(117),null,null);e.exports=r.exports},117:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"m-tabbar tabbbar-top-line-color",class:e.classes,style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},148:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"tabbar-item",class:e.classes,style:e.styles,attrs:{to:e.link,exact:e.$parent.exact,"active-class":e.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[e._t("icon"),e._v(" "),n("span",{staticClass:"tabbar-badge"},[e._t("badge")],2),e._v(" "),e.dot?n("span",{staticClass:"tabbar-dot"}):e._e()],2),e._v(" "),n("span",{staticClass:"tabbar-txt"},[e._v(e._s(e.title))])])},staticRenderFns:[]}},161:function(e,t,n){var r=n(23);"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);n(3)("60d2d3cd",r,!0)},235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5);t.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},236:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#09BB07"},bgcolor:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#FFF"},color:{validator:function(e){return!e||(0,r.isColor)(e)},default:"#979797"},fontsize:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:".24rem"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}}})}); \ No newline at end of file diff --git a/dist/ydui.js b/dist/ydui.js index 9ee5ae0f..8e067956 100644 --- a/dist/ydui.js +++ b/dist/ydui.js @@ -1,6 +1,7 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var a=n[i]={exports:{},id:i,loaded:!1};return t[i].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(8);var i=n(216),a=n(228),s=n(208),r=n(231),o=n(209),l=n(242),c=n(223),u=n(224),d=n(230),A=n(225),f=n(234),h=n(207),p=n(244),v=n(243),m=n(238),g=n(205),w=n(239),y=n(227),C=n(240),b=n(241),_=n(211),B=n(233),x=n(229),E=n(213),I=n(236),k=n(245),Q=n(232),L=n(214),M=n(237),F=n(226),D=n(222),T=n(235),R=n(210),S=n(206),P=n(204);window.document.addEventListener("touchstart",function(t){},!1);var V=function(t){t.component(a.Layout.name,a.Layout),t.component(s.Button.name,s.Button),t.component(s.ButtonGroup.name,s.ButtonGroup),t.component(r.NavBar.name,r.NavBar),t.component(r.NavBarBackIcon.name,r.NavBarBackIcon),t.component(r.NavBarNextIcon.name,r.NavBarNextIcon),t.component(o.CellGroup.name,o.CellGroup),t.component(o.CellItem.name,o.CellItem),t.component(l.Switch.name,l.Switch),t.component(c.GridsItem.name,c.GridsItem),t.component(c.GridsGroup.name,c.GridsGroup),t.component(u.Icons.name,u.Icons),t.component(d.ListTheme.name,d.ListTheme),t.component(d.ListItem.name,d.ListItem),t.component(d.ListOther.name,d.ListOther),t.component(A.InfiniteScroll.name,A.InfiniteScroll),t.component(f.PullRefresh.name,f.PullRefresh),t.component(h.Badge.name,h.Badge),t.component(p.TabBar.name,p.TabBar),t.component(p.TabBarItem.name,p.TabBarItem),t.component(v.Tab.name,v.Tab),t.component(v.TabPanel.name,v.TabPanel),t.component(m.ScrollTab.name,m.ScrollTab),t.component(m.ScrollTabPanel.name,m.ScrollTabPanel),t.component(g.ActionSheet.name,g.ActionSheet),t.component(w.SendCode.name,w.SendCode),t.component(y.KeyBoard.name,y.KeyBoard),t.component(C.Slider.name,C.Slider),t.component(C.SliderItem.name,C.SliderItem),t.component(b.Spinner.name,b.Spinner),t.component(_.CitySelect.name,_.CitySelect),t.component(B.ProgressBar.name,B.ProgressBar),t.component(x.LazyImg.name,x.LazyImg),t.component(E.CountDown.name,E.CountDown),t.component(I.Rate.name,I.Rate),t.component(k.TextArea.name,k.TextArea),t.component(Q.Popup.name,Q.Popup),t.component(L.CountUp.name,L.CountUp),t.component(M.RollNotice.name,M.RollNotice),t.component(M.RollNoticeItem.name,M.RollNoticeItem),t.component(F.Input.name,F.Input),t.component(D.FlexBox.name,D.FlexBox),t.component(D.FlexBoxItem.name,D.FlexBoxItem),t.component(T.Radio.name,T.Radio),t.component(T.RadioGroup.name,T.RadioGroup),t.component(R.CheckBox.name,R.CheckBox),t.component(R.CheckBoxGroup.name,R.CheckBoxGroup),t.component(S.BackTop.name,S.BackTop),t.component(P.Accordion.name,P.Accordion),t.component(P.AccordionItem.name,P.AccordionItem),t.prototype.$dialog={confirm:i.Confirm,alert:i.Alert,toast:i.Toast,notify:i.Notify,loading:i.Loading}};"undefined"!=typeof window&&window.Vue&&V(window.Vue),e.default={install:V}},function(t,e){t.exports=function(t,e,n,i){var a,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(a=t,s=t.default);var o="function"==typeof s?s.options:s;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),n&&(o._scopeId=n),i){var l=o.computed||(o.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:a,exports:s,options:o}}},,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},a=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},s=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,a=e.getBoundingClientRect().top-i,s=a+e.offsetHeight;return a>=0&&a0&&s<=n},r=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},o=function(t,e){r(t,e)||(t.className=""==t.className?e:t.className+" "+e)},l=function(t,e){if(r(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},c=function(t){function e(n,i,a){if(n!==i){var s=n+a>i?i:n+a;n>i&&(s=n-a1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var s=Math.abs(n-i),r=Math.ceil(s/a*50);e(n,i,r)};e.pageScroll=n,e.isColor=i,e.getScrollview=a,e.checkInview=s,e.addClass=o,e.removeClass=l,e.scrollTop=c},,function(e,n){e.exports=t},function(t,e,n){n(21);var i=n(1)(n(155),n(113),null,null);t.exports=i.exports},function(t,e,n){function i(t,e){for(var n=0;n=0&&w.splice(e,1)}function o(t){var e=document.createElement("style");return e.type="text/css",s(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",s(t,e),e}function c(t,e){var n,i,a;if(e.singleton){var s=g++;n=m||(m=o(e)),i=u.bind(null,n,s,!1),a=u.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=A.bind(null,n),a=function(){r(n),n.href&&URL.revokeObjectURL(n.href)}):(n=o(e),i=d.bind(null,n),a=function(){r(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else a()}}function u(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}function d(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function A(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,g=0,w=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=a(t);return i(n,e),function(t){for(var s=[],r=0;rinput[type=button]::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:none}input[type=checkbox],input[type=radio]{vertical-align:middle}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;margin:0}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset}textarea{outline:none;border-radius:0;-webkit-appearance:none;-moz-appearance:none;overflow:auto;resize:none;font:100% tahoma,\\5b8b\\4f53,arial}@font-face{font-family:YDUI-INLAY;src:url(data:application/x-font-ttf;base64,AAEAAAAQAQAABAAARkZUTXaxPUoAAAEMAAAAHEdERUYAQgAGAAABKAAAACBPUy8yV1RamQAAAUgAAABWY21hcICtoY0AAAGgAAABlmN2dCANZf70AAAWhAAAACRmcGdtMPeelQAAFqgAAAmWZ2FzcAAAABAAABZ8AAAACGdseWYdLdrBAAADOAAADvpoZWFkDZLedwAAEjQAAAA2aGhlYQe2A4YAABJsAAAAJGhtdHgQSwNBAAASkAAAADRsb2NhI7AnKwAAEsQAAAAsbWF4cAE4CisAABLwAAAAIG5hbWUMLcMUAAATEAAAAitwb3N0Hm/aCgAAFTwAAAE+cHJlcKW5vmYAACBAAAAAlQAAAAEAAAAAzD2izwAAAADVOc09AAAAANU5zT0AAQAAAA4AAAAYAAAAAAACAAEAAwAUAAEABAAAAAIAAAABA/4B9AAFAAgCmQLMAAAAjwKZAswAAAHrADMBCQAAAgAGAwAAAAAAAAAAAAEQAAAAAAAAAAAAAABQZkVkAEAAeOeIA4D/gABcA4AAgAAAAAEAAAAAAAAAAAADAAAAAwAAABwAAQAAAAAAkAADAAEAAAAcAAQAdAAAABQAEAADAAQAAAB45gLmBOYN5hTmMed+54j//wAAAAAAeOYA5gTmB+YU5jDnfeeI//8AAP+LAAAaAQAAGfIZ2BiVGIwAAQAAAAAAEAAAABIAAAAAAAAAAAAAAAcACgAQAAwADQAOAA8AEQAEAAsAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAs/+EDvAMYABYAMAA6AFIAXgF3S7ATUFhASgIBAA0ODQAOZgADDgEOA14AAQgIAVwQAQkICgYJXhEBDAYEBgxeAAsEC2kPAQgABgwIBlgACgcFAgQLCgRZEgEODg1RAA0NCg5CG0uwF1BYQEsCAQANDg0ADmYAAw4BDgNeAAEICAFcEAEJCAoICQpmEQEMBgQGDF4ACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkIbS7AYUFhATAIBAA0ODQAOZgADDgEOA14AAQgIAVwQAQkICggJCmYRAQwGBAYMBGYACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkIbQE4CAQANDg0ADmYAAw4BDgMBZgABCA4BCGQQAQkICggJCmYRAQwGBAYMBGYACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkJZWVlAKFNTOzsyMRcXU15TXltYO1I7UktDNzUxOjI6FzAXMFERMRgRKBVAExYrAQYrASIOAh0BITU0JjU0LgIrARUhBRUUFhQOAiMGJisBJyEHKwEiJyIuAj0BFyIGFBYzMjY0JhcGBw4DHgE7BjI2Jy4BJyYnATU0PgI7ATIWHQEBGRsaUxIlHBIDkAEKGCcehf5KAqIBFR8jDg4fDiAt/kksHSIUGRkgEwh3DBISDA0SEowIBgULBAIEDw4lQ1FQQCQXFgkFCQUFBv6kBQ8aFbwfKQIfAQwZJxpMKRAcBA0gGxJhiDQXOjolFwkBAYCAARMbIA6nPxEaEREaEXwaFhMkDhANCBgaDSMRExQBd+QLGBMMHSbjAAADAED/wAPAA0AAEQAuAC8AOUA2Ly4nIBgFAwUBQAYBBQADAAUDZgQBAwEAAwFkAgEABQEATQIBAAABUQABAAFFFBgkFBcXEAcVKwEiDgIUHgIyPgI0LgIjExYUBiIvAQcGIyImND8BJyY0NjIfATc2MhYUDwEXAgBbpnhHR3imtqZ4R0d4plu3CRMaComKCg0NEwqKigkTGgqJigoaEwqKigNAR3imtqZ4R0d4prameEf9tgkbEgmKiQkTGwmIigkbEgmKiQkTGwmIigADAED/wQO+A0AAJgA1ADYANUAyJAEAAwQFAUA2AQQBPwIBAgAABQQABVkGAQQDAwRNBgEEBANRAAMEA0UVFhgsEhEbBxUrEzU2MTY3Njc2NzY3MjczFjEWFxYXFhcWBwYHBgcGJyYnJicmJzQnATI+ATU0LgEiDgEUHgEzMUABCAEVRElrQUUBFRkHPjp8U1gMBg0PJkBtcYFDOrpMGQUCAcBrtWhptNW1aWm1agFxHAZEA2lVWiwbBQIBAxMpZGuKQD9KQWw7PQgEF0e4PEQBFf6HabRra7RpabTWtGkAAAMAQP/AA8ADQAAPABcAIwArQCgAAAAFBAAFWQAEAAMCBANZAAIBAQJNAAICAVEAAQIBRRUVExcXEAYUKwAiDgIUHgIyPgI0LgECIiY0NjIWFDUUBiImPQE0NjIWFQJbtqZ4R0d4prameEdHePIeFhYeFhYeFhYeFgNAR3imtqZ4R0d4prameP2nFh8WFh+SDxYWD/MPFhYPAAAAAAIAQAAZA8AC5wAGAAcACLUHBwUBAiYrCQI3FwEXMQO//br+x3PGAe1ZAoz9jgGTYs8BploAAAAAAwA2/8EDygM/ACYAOgA7ACVAIjs6ODQyMC4sKigmIhoSDgEAAUAAAAEAaAIBAQFfJC4XAxErAS4BLwIuASIGDwIOAQcGHwEHBhcWMzI/ARcWMzI3Ni8BNzYnMQ8BHwEvAQ8BPwEvASUTHwMHOQEDygYdEvBpCCEmIQhp8BIdBg0dsCkHIhEWEQ/R0Q8RFRIiBymwHAzjHgcp0yYm0ykHHq4BH3ZpEyrvrgHyERcDJNgSFBQS2CQDFxEmHLDzKBgMCHFxCAwYKPOwHCbDHijzcRQUcvQoHq4qAQDaJwYjrgACADb/wQPKAz8AJgAnABxAGScmIhoSBQEAAUAAAAEAaAIBAQFfJC4XAxErAS4BLwIuASIGDwIOAQcGHwEHBhcWMzI/ARcWMzI3Ni8BNzYnMQcDygYdEvBpCCEmIQhp8BIdBg0dsCkHIhEWEQ/R0Q8RFRIiBymwHAzjAfIRFwMk2BIUFBLYJAMXESYcsPMoGAwIcXEIDBgo87AcJsMAAAAAAwBA/8ADwANAABEAJwAoADZAMygBAwQhGQIBAwJAAAQAAwAEA2YAAwEAAwFkAgEABAEATQIBAAABUQABAAFFFB0XFxAFEysBIg4CFB4CMj4CNC4CIwkBMQ4BJyYnMScmNDYyHwEBNjIWFAcxAgBbpnhHR3imtqZ4R0d4plsBAf7eChsMBASnDBgiC4sBBQsiGAwDQEd4prameEdHeKa2pnhH/rT+3woEBwMEpgwiFwuKAQQMFyIMAAQAsv/FA0wDOQAxADIASgBLAG5AHERDOjkrIx0XFg4KAAMNAQIBAAJASwECPjIBAT1LsBdQWEAZBAECAwJoAAADAQMAAWYAAQEDUQADAwoBQhtAHgQBAgMCaAAAAwEDAAFmAAMAAQNNAAMDAU8AAQMBQ1lAC0pJPz40MzEwFwUPKwUDPAE+AxYXHgEfARM+BB4BFxM+AxYXPgMWFz4EHgEXERQOAQchMRMiBhUUFhc1JjU0NjIWFRQHFT4BNTQmIzEBj9wBBQwSIBQZJwcGAgIEDg8VFRcLAQIKHh8sFQMIHB4sFwEEDg4WFBkMBBkU/nQCXII9MjhhiWE2MzyCWzoBEgIHFBARCAIJCygODgGhAgYPCgcDExL++AMLFAUTGgQLFgYUHAIIEgwIBhsY/rQDCh0NA3OCXDxmHUUySUVhYUVIMkYeZTxcggAAAgD9/8ADAwNAAAYABwAItQcHBQMCJislCQE3CQEnMQL2/qwBVA39+gIGDVkBJwEnmf5A/kGYAAACAP3/wAMDA0AABgAHAAi1BwcDAQImKyUHCQEXCQExAQoNAgb9+g0BVP6sWZgBvwHAmf7Z/tkAAAIAQAByA8ACjgAgAFgASEBFCwEGAFhVVFBNRkQ9PDQqKCEUEA8DBgJAAQEACAcCBgMABlkFBAIDAgIDTQUEAgMDAlIAAgMCRklIQkFAPyYRF08hFQkUKyURLgMjJyEiBg8CDgEHFRQWHwIeATsBIT4EJQ4BIwciJi8CBwYjIicmNTQ/AScuAT0BNDY/AT4BMzcyFh8CNzYzFhcWFRYPARceARUXFAYHA8ABFRwcCQr92QYJAwLdAwMBBAIC2gQJAwMCKhwoEgoB/usECgQDBwwCAkhIBxAMCQoKR0gFBAUCAgQLAwMHDAIDSEgJDwsKCAMMR0cEBQEFA9QBVhspEgwBAwIC9AMJAwIGCgID8gQDARYZIQs7AwQBBQICSEgJCAoNEAhHSAULBAMGCwICBAUBBQMCSEgKAQkHDgwLSEcEDAQEBgsDAAACACj/gAPYA4AAGgAgACFAHiAfHh0cGxoHAQABQAYAAgA+AAABAGgAAQFfGRsCECsBBi4CLwEOBCMUHgczJBM2JwEnNxcTFwPWOo53Zh0dJn10eTcIIDVGTE5EOB0BAUFvOAj9+b4mhfg5AswGITc5FBUvSCMWBG/HlYNbSy0fDKkBUqqd/gCYOXIBHSYAAAABAED/wAPAA0AACwAlQCIAAQAEAUsCAQAFAQMEAANXAAEBBE8ABAEEQxEREREREAYUKwEhESMRIRUhETMRIQPA/n9+/n8BgX4BgQG/AYH+f37+fwGBAAAAAQBAAUEDwAG/AAcAI0AgBAMCAAEBAEsEAwIAAAFPAgEBAAFDAAAABwAHERERBRErATEhFSExITUCP/4BAf8BgQG/fn4AAAAAAgBAAEIDwAK+ADwARABJQEY8Ozo5ODc1MjAuLConDg0MAQASBwgVFAIBBwJAAAAACAcACFkABwEBB00ABwcBUQYFBAMCBQEHAUVCQT49ESIRIREdJwkVKwE5AS4BJzEmIyIGBzkDFhcxFhcVFhcwMzAyMzEyMDEyMzE+ATcxNDY1NjcwNzY3MDcwNjU2NzkEBCImNDYyFhQDwC/AeisslvM3MWUfIWt6AgIBAQgJh986AQIBAQEBAgECAv57dlNTdlMBgXilFwivjX5UGRMBPgEFnH0BAQEDAgMEAQQDAQQEj1N2U1N2AAYAQABCA8ACvgAnADcAPwBIAFgAWQB1QHIMAQIAVC0DAwMCLgEFA1ZTSEZFQD49NSgnJhQTEgAQBAVMAQcESzYgFwQGBwZAWQEGAT8AAAACAwACWQADAAUEAwVZAAQABwYEB1kIAQYBAQZNCAEGBgFRAAEGAUVKSU9NSVhKWERCPDoxLywqIyEtCQ8rATEmJzc+AS8BLgEPASYjIgYHOQMWFwcOAR8BHgE/ARYzMjY3OQEhPgEzMhcHJiMiBhUUFwcmJRQGIyInNxYHNDYzMhcHJjUXIic3FjMyNjU0JzcWFw4BIwPANXAoCQEIBAgYCTRreZbzNzJqMAkBCAQIGAk7boCW8zf8wzPOfF5UWCkxQ14TZ1kBrzkoHBiKC8I5KBUThAVhZFlYLDlDXhplYDEzznwBgYdVJAgYCQQJAgkvPK+NglQsCBgJBQgCCDZCsI5yiylRG15CKSNeRGYoORB9FRcoOQl3DxD8L1AjXkIwKFtDbnOLAAACAGL/wAOeA0AAHQApAK+2GBECAgABQEuwE1BYQCoABgUGaAEBAAUCBQBeAAQCAwIEXgADA2cHAQUAAgVNBwEFBQJRAAIFAkUbS7AmUFhAKwAGBQZoAQEABQIFAAJmAAQCAwIEXgADA2cHAQUAAgVNBwEFBQJRAAIFAkUbQCwABgUGaAEBAAUCBQACZgAEAgMCBANmAAMDZwcBBQACBU0HAQUFAlEAAgUCRVlZQA8gHiYjHikgKRUVFyISCBMrCQEmIzAmIyIHBgcBBhQWMj8BERQWMjY1EQEWMjY0EyEiJjQ2MyEyFhQGA1H+ywoPAgEHBwcF/ukKFBwL3hQcFAD/ChwUIP0KDhQUDgL2DhQUAXQBNwoBAwMF/uoLHBQK3f2iDhUVDgJg/wAKFB0BkRQcFRUcFAAAAAABAAAAAQAA66MF018PPPUACwQAAAAAANU5zT0AAAAA1TnNPQAo/4AD2AOAAAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAPYAAEAAAAAAAAAAAAAAAAAAAAFBAAAAAAAAAABVQAAA+kALAQAAEAAQABAAEAANgA2AEAAsgD9AP0AQAAoAEAAQABAAEAAYgAAAAAAAAAAATwBogISAmACfALsAzwDmAQ+BFoEdgUaBWIFjgWyBiYG4gd9AAEAAAAVAF8ABgAAAAAAAgAmADQAbAAAAIoJlgAAAAAAAAAMAJYAAQAAAAAAAQAIAAAAAQAAAAAAAgAGAAgAAQAAAAAAAwAkAA4AAQAAAAAABAAIADIAAQAAAAAABQBFADoAAQAAAAAABgAIAH8AAwABBAkAAQAQAIcAAwABBAkAAgAMAJcAAwABBAkAAwBIAKMAAwABBAkABAAQAOsAAwABBAkABQCKAPsAAwABBAkABgAQAYVpY29uZm9udE1lZGl1bUZvbnRGb3JnZSAyLjAgOiBpY29uZm9udCA6IDExLTUtMjAxN2ljb25mb250VmVyc2lvbiAxLjA7IHR0ZmF1dG9oaW50ICh2MC45NCkgLWwgOCAtciA1MCAtRyAyMDAgLXggMTQgLXcgIkciIC1mIC1zaWNvbmZvbnQAaQBjAG8AbgBmAG8AbgB0AE0AZQBkAGkAdQBtAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAAaQBjAG8AbgBmAG8AbgB0ACAAOgAgADEAMQAtADUALQAyADAAMQA3AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAOwAgAHQAdABmAGEAdQB0AG8AaABpAG4AdAAgACgAdgAwAC4AOQA0ACkAIAAtAGwAIAA4ACAALQByACAANQAwACAALQBHACAAMgAwADAAIAAtAHgAIAAxADQAIAAtAHcAIAAiAEcAIgAgAC0AZgAgAC0AcwBpAGMAbwBuAGYAbwBuAHQAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAAAAEAAgBbAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEg95ZHVpY3Vvd3VzaGl4aW4QeWR1aWRhbnh1YW5rdWFuZxN5ZHVpZ2FudGFuaGFvc2hpeGluC3lkdWlnb3V4dWFuE3lkdWl4aW5neGluZ2tvbmd4aW4SeWR1aXhpbmd4aW5nc2hpeGluEnlkdWl6aGVuZ3F1ZXNoaXhpbgdzaG91emhpCnlkdWlmYW5odWkLeWR1aXFpYW5qaW4JeWR1aXR1aWdlB3lkdWlkdW4HeWR1aWppYQh5ZHVpamlhbhBZRFVJLXlpbmNhbmdtaW1hEVlEVUkteWluY2FuZ21pbWExEVlEVUktZmFuaHVpZGluZ2J1AAAAAQAB//8ADwAAAAAAAAAAAAAAAAAAAAAAMgAyAxj/4QOA/4ADGP/hA4D/gLAALLAgYGYtsAEsIGQgsMBQsAQmWrAERVtYISMhG4pYILBQUFghsEBZGyCwOFBYIbA4WVkgsApFYWSwKFBYIbAKRSCwMFBYIbAwWRsgsMBQWCBmIIqKYSCwClBYYBsgsCBQWCGwCmAbILA2UFghsDZgG2BZWVkbsAArWVkjsABQWGVZWS2wAiwgRSCwBCVhZCCwBUNQWLAFI0KwBiNCGyEhWbABYC2wAywjISMhIGSxBWJCILAGI0KyCgACKiEgsAZDIIogirAAK7EwBSWKUVhgUBthUllYI1khILBAU1iwACsbIbBAWSOwAFBYZVktsAQssAgjQrAHI0KwACNCsABDsAdDUViwCEMrsgABAENgQrAWZRxZLbAFLLAAQyBFILACRWOwAUViYEQtsAYssABDIEUgsAArI7EEBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhREQtsAcssQUFRbABYUQtsAgssAFgICCwCkNKsABQWCCwCiNCWbALQ0qwAFJYILALI0JZLbAJLCC4BABiILgEAGOKI2GwDENgIIpgILAMI0IjLbAKLEtUWLEHAURZJLANZSN4LbALLEtRWEtTWLEHAURZGyFZJLATZSN4LbAMLLEADUNVWLENDUOwAWFCsAkrWbAAQ7ACJUKyAAEAQ2BCsQoCJUKxCwIlQrABFiMgsAMlUFiwAEOwBCVCioogiiNhsAgqISOwAWEgiiNhsAgqIRuwAEOwAiVCsAIlYbAIKiFZsApDR7ALQ0dgsIBiILACRWOwAUViYLEAABMjRLABQ7AAPrIBAQFDYEItsA0ssQAFRVRYALANI0IgYLABYbUODgEADABCQopgsQwEK7BrKxsiWS2wDiyxAA0rLbAPLLEBDSstsBAssQINKy2wESyxAw0rLbASLLEEDSstsBMssQUNKy2wFCyxBg0rLbAVLLEHDSstsBYssQgNKy2wFyyxCQ0rLbAYLLAHK7EABUVUWACwDSNCIGCwAWG1Dg4BAAwAQkKKYLEMBCuwaysbIlktsBkssQAYKy2wGiyxARgrLbAbLLECGCstsBwssQMYKy2wHSyxBBgrLbAeLLEFGCstsB8ssQYYKy2wICyxBxgrLbAhLLEIGCstsCIssQkYKy2wIywgYLAOYCBDI7ABYEOwAiWwAiVRWCMgPLABYCOwEmUcGyEhWS2wJCywIyuwIyotsCUsICBHICCwAkVjsAFFYmAjYTgjIIpVWCBHICCwAkVjsAFFYmAjYTgbIVktsCYssQAFRVRYALABFrAlKrABFTAbIlktsCcssAcrsQAFRVRYALABFrAlKrABFTAbIlktsCgsIDWwAWAtsCksALADRWOwAUVisAArsAJFY7ABRWKwACuwABa0AAAAAABEPiM4sSgBFSotsCosIDwgRyCwAkVjsAFFYmCwAENhOC2wKywuFzwtsCwsIDwgRyCwAkVjsAFFYmCwAENhsAFDYzgtsC0ssQIAFiUgLiBHsAAjQrACJUmKikcjRyNhIFhiGyFZsAEjQrIsAQEVFCotsC4ssAAWsAQlsAQlRyNHI2GwBkUrZYouIyAgPIo4LbAvLLAAFrAEJbAEJSAuRyNHI2EgsAQjQrAGRSsgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjILAJQyCKI0cjRyNhI0ZgsARDsIBiYCCwACsgiophILACQ2BkI7ADQ2FkUFiwAkNhG7ADQ2BZsAMlsIBiYSMgILAEJiNGYTgbI7AJQ0awAiWwCUNHI0cjYWAgsARDsIBiYCMgsAArI7AEQ2CwACuwBSVhsAUlsIBisAQmYSCwBCVgZCOwAyVgZFBYIRsjIVkjICCwBCYjRmE4WS2wMCywABYgICCwBSYgLkcjRyNhIzw4LbAxLLAAFiCwCSNCICAgRiNHsAArI2E4LbAyLLAAFrADJbACJUcjRyNhsABUWC4gPCMhG7ACJbACJUcjRyNhILAFJbAEJUcjRyNhsAYlsAUlSbACJWGwAUVjIyBYYhshWWOwAUViYCMuIyAgPIo4IyFZLbAzLLAAFiCwCUMgLkcjRyNhIGCwIGBmsIBiIyAgPIo4LbA0LCMgLkawAiVGUlggPFkusSQBFCstsDUsIyAuRrACJUZQWCA8WS6xJAEUKy2wNiwjIC5GsAIlRlJYIDxZIyAuRrACJUZQWCA8WS6xJAEUKy2wNyywLisjIC5GsAIlRlJYIDxZLrEkARQrLbA4LLAvK4ogIDywBCNCijgjIC5GsAIlRlJYIDxZLrEkARQrsARDLrAkKy2wOSywABawBCWwBCYgLkcjRyNhsAZFKyMgPCAuIzixJAEUKy2wOiyxCQQlQrAAFrAEJbAEJSAuRyNHI2EgsAQjQrAGRSsgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjIEewBEOwgGJgILAAKyCKimEgsAJDYGQjsANDYWRQWLACQ2EbsANDYFmwAyWwgGJhsAIlRmE4IyA8IzgbISAgRiNHsAArI2E4IVmxJAEUKy2wOyywLisusSQBFCstsDwssC8rISMgIDywBCNCIzixJAEUK7AEQy6wJCstsD0ssAAVIEewACNCsgABARUUEy6wKiotsD4ssAAVIEewACNCsgABARUUEy6wKiotsD8ssQABFBOwKyotsEAssC0qLbBBLLAAFkUjIC4gRoojYTixJAEUKy2wQiywCSNCsEErLbBDLLIAADorLbBELLIAATorLbBFLLIBADorLbBGLLIBATorLbBHLLIAADsrLbBILLIAATsrLbBJLLIBADsrLbBKLLIBATsrLbBLLLIAADcrLbBMLLIAATcrLbBNLLIBADcrLbBOLLIBATcrLbBPLLIAADkrLbBQLLIAATkrLbBRLLIBADkrLbBSLLIBATkrLbBTLLIAADwrLbBULLIAATwrLbBVLLIBADwrLbBWLLIBATwrLbBXLLIAADgrLbBYLLIAATgrLbBZLLIBADgrLbBaLLIBATgrLbBbLLAwKy6xJAEUKy2wXCywMCuwNCstsF0ssDArsDUrLbBeLLAAFrAwK7A2Ky2wXyywMSsusSQBFCstsGAssDErsDQrLbBhLLAxK7A1Ky2wYiywMSuwNistsGMssDIrLrEkARQrLbBkLLAyK7A0Ky2wZSywMiuwNSstsGYssDIrsDYrLbBnLLAzKy6xJAEUKy2waCywMyuwNCstsGkssDMrsDUrLbBqLLAzK7A2Ky2waywrsAhlsAMkUHiwARUwLQAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRCCwAyNwsA5FICBLuAAOUUuwBlNaWLA0G7AoWWBmIIpVWLACJWGwAUVjI2KwAiNEswoJBQQrswoLBQQrsw4PBQQrWbIEKAlFUkSzCg0GBCuxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAAA=) format("truetype")}.g-fix-ios-overflow-scrolling-bug{-webkit-overflow-scrolling:auto!important}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e=e?"rate-active":"",style:{color:t.index>=e?t.activeColor:t.color,paddingRight:t.padding},attrs:{href:"javascript:;"},on:{click:function(n){!t.readonly&&t.choose(e)}}})}),t._v(" "),t.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:t._s(t.str)}}):t._e()],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"grids-item",attrs:{to:t.link||""}},[t.checkIcon?n("div",{staticClass:"grids-icon"},[t._t("icon")],2):t._e(),t._v(" "),t.checkText?n("div",{staticClass:"grids-txt"},[t._t("text")],2):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{staticClass:"m-actionsheet",class:t.show?"actionsheet-active":""},[t._l(t.items,function(e){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.itemClick(e)}}},[t._v(t._s(e.label))])}),t._v(" "),t.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.close(e)}}},[t._v(t._s(t.cancel))]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"g-flexview"},[t.showNavbar?t._t("navbar",[t.title?n("yd-navbar",{attrs:{title:t.title}},[n("router-link",{attrs:{to:t.link||"/"},slot:"left"},[n("yd-navbar-back-icon")],1)],1):t._e()]):t._e(),t._v(" "),t._t("top"),t._v(" "),n("section",{ref:"scrollView",staticClass:"g-scrollview",attrs:{id:"scrollView"}},[t._t("default")],2),t._v(" "),t._t("bottom"),t._v(" "),t._t("tabbar")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"dragBox"},[t._t("default"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[n("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?n("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("span",[t._v("下拉更新")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-textarea"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.mlstr,expression:"mlstr"}],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,readonly:t.readonly},domProps:{value:t.mlstr},on:{input:function(e){e.target.composing||(t.mlstr=e.target.value)}}}),t._v(" "),t.showCounter&&t.maxlength?n("div",{staticClass:"textarea-counter"},[t._v(t._s(t.num)+"/"+t._s(t.maxlength))]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("yd-button",{class:t.start?"btn-disabled":"",style:{backgroundColor:t.bgcolor,color:t.color},attrs:{size:t.size,type:t.type,disabled:t.start}},[t._v("\n "+t._s(t.tmpStr)+"\n")])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-input"},["mobile"==t.regex?[n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"tel",pattern:"[0-9]*",name:t.name,maxlength:"11",placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}})]:["password"==t.type?[t.showPwd?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"password",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t._v(" "),t.showPwd?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue, -expression:"currentValue"}],attrs:{type:"text",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e()]:t._e(),t._v(" "),"text"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"text",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"number"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"number",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:[t.blurHandler,function(e){t.$forceUpdate()}],input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"email"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"email",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"tel"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"tel",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"datetime-local"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"datetime-local",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"date"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"date",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"time"==t.type?n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{type:"time",name:t.name,maxlength:t.max,placeholder:t.placeholder,autocomplete:t.autocomplete,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:function(e){t.showClear=!0},blur:t.blurHandler,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e()],t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.showClearIcon&&t.showClear&&!t.isempty,expression:"showClearIcon && showClear && !isempty"}],staticClass:"input-clear",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:t.clearInput}}),t._v(" "),t.showErrorIcon?n("span",{directives:[{name:"show",rawName:"v-show",value:(!!t.regex||!!t.min||!!t.max||t.required)&&t.iserror&&t.initError,expression:"(!!regex || !!min || !!max || required) && iserror && initError"}],staticClass:"input-error"}):t._e(),t._v(" "),t.showRequiredIcon&&t.showErrorIcon?n("span",{directives:[{name:"show",rawName:"v-show",value:(t.required||!!t.min&&t.min>0)&&t.isempty&&t.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):t._e(),t._v(" "),t.showSuccessIcon?n("span",{directives:[{name:"show",rawName:"v-show",value:(!!t.regex||!!t.min||!!t.max||t.required)&&!t.iserror&&""!=t.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):t._e(),t._v(" "),"password"==t.type?n("a",{staticClass:"input-password",class:t.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(e){e.stopPropagation(),t.showPwd=!t.showPwd}}}):t._e()],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("i",{class:t.classes,style:t.styles})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mask-black-dialog"},[n("div",{staticClass:"m-confirm m-alert"},[n("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),n("div",{staticClass:"confirm-ft"},[n("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeAlert(e)}}},[t._v("确定")])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("img",{attrs:{src:t.defaultSrc,datasrc:t.src}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"back-icon",style:{color:t.color}}),t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"slider-item"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mask-white-dialog"},[n("div",{staticClass:"m-toast",class:""==t.iconsClass?"toast-none-icon":""},[t.iconsClass?n("div",{class:t.iconsClass}):t._e(),t._v(" "),n("p",{staticClass:"toast-content",domProps:{innerHTML:t._s(t.mes)}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"scrolltab-content-item"},[n("strong",{staticClass:"scrolltab-content-title"},[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],on:{click:function(e){e.stopPropagation(),t.backtop(e)}}},[t.$slots.default?t._t("default"):n("div",{staticClass:"m-backtop"})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"rollnotice-item"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-tab"},[n("ul",{staticClass:"tab-nav"},t._l(t.navList,function(e){return n("li",{staticClass:"tab-nav-item",class:e._uid==t.activeIndex?"tab-active":"",on:{click:function(n){t.changeHandler(e._uid,e.label,e.tabkey)}}},[n("a",{attrs:{href:"javascript:;"}},[t._v(t._s(e.label))])])})),t._v(" "),n("div",{staticClass:"tab-panel"},[t._t("default")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{class:t.classes,style:{backgroundColor:t.bgcolor,color:t.color},attrs:{disabled:t.disabled}},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-scrolltab"},[n("div",{staticClass:"scrolltab-nav"},t._l(t.navList,function(e){return n("a",{staticClass:"scrolltab-item",class:t.activeIndex==e._uid?"scrolltab-active":"",attrs:{href:"javascript:;"},on:{click:function(n){t.moveHandler(e._uid)}}},[n("div",{staticClass:"scrolltab-icon"},[n("i",{class:e.icon})]),t._v(" "),n("div",{staticClass:"scrolltab-title"},[t._v(t._s(e.label))])])})),t._v(" "),n("div",{ref:"scrollView",staticClass:"scrolltab-content"},[t._t("default")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"badge",class:t.typesClass,style:{backgroundColor:t.bgcolor,color:t.color}},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[t._t("default"),n("i",{staticClass:"next-icon",style:{color:t.color}})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"link"==t.type?n("router-link",{staticClass:"list-item",attrs:{to:t.href}},[n("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),n("div",{staticClass:"list-mes"},[n("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)]):n("a",{staticClass:"list-item",attrs:{href:t.href||"javascript:;"}},[n("div",{staticClass:"list-img"},[t._t("img")],2),t._v(" "),n("div",{staticClass:"list-mes"},[n("div",{staticClass:"list-title"},[t._t("title")],2),t._v(" "),t._t("other")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{staticClass:"m-list",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-accordion"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"m-tabbar tabbbar-top-line-color",class:t.classes,style:t.styles},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-flexbox",class:"vertical"==t.direction?"flexbox-vertical":"flexbox-horizontal"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"slider",staticClass:"m-slider"},[n("div",{ref:"warpper",staticClass:"slider-wrapper",class:"vertical"==t.direction?"slider-wrapper-vertical":"",style:t.dragStyleObject},[n("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),n("div",{staticClass:"slider-item",style:t.itemHeight,domProps:{innerHTML:t._s(t.firtstItem)}})],2),t._v(" "),n("div",{staticClass:"slider-pagination",class:"vertical"==t.direction?"slider-pagination-vertical":""},t._l(t.itemNums,function(e,i){return n("span",{staticClass:"slider-pagination-item",class:t.paginationIndex==i?"slider-pagination-item-active":""})}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-rollnotice",style:{height:t.height+"px"}},[n("div",{staticClass:"rollnotice-box",class:"align-"+t.align,style:t.styles},[n("div",{staticClass:"rollnotice-item",domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),n("div",{staticClass:"rollnotice-item",domProps:{innerHTML:t._s(t.firtstItem)}})],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"label"==t.type||"checkbox"==t.type||"radio"==t.type?n("label",{staticClass:"cell-item"},[t.checkLeft?n("span",{staticClass:"cell-left"},[n("span",{staticClass:"cell-icon"},[t._t("icon")],2),t._v(" "),t._t("left")],2):t._e(),t._v(" "),n("label",{staticClass:"cell-right",class:t.classes},[t._t("right"),t._v(" "),"checkbox"==t.type?n("i",{staticClass:"cell-checkbox-icon"}):t._e(),t._v(" "),"radio"==t.type?n("i",{staticClass:"cell-radio-icon"}):t._e()],2)]):"link"==t.type?n("router-link",{staticClass:"cell-item",attrs:{to:t.href}},[t.checkLeft?n("div",{staticClass:"cell-left"},[n("span",{staticClass:"cell-icon"},[t._t("icon")],2),t._v(" "),t._t("left")],2):t._e(),t._v(" "),n("div",{staticClass:"cell-right",class:t.classes},[t._t("right")],2)]):"a"==t.type?n("a",{staticClass:"cell-item",attrs:{href:t.href}},[t.checkLeft?n("div",{staticClass:"cell-left"},[n("span",{staticClass:"cell-icon"},[t._t("icon")],2),t._v(" "),t._t("left")],2):t._e(),t._v(" "),n("div",{staticClass:"cell-right",class:t.classes},[t._t("right")],2)]):n("div",{staticClass:"cell-item"},[t.checkLeft?n("div",{staticClass:"cell-left"},[n("span",{staticClass:"cell-icon"},[t._t("icon")],2),t._v(" "),t._t("left")],2):t._e(),t._v(" "),n("div",{staticClass:"cell-right",class:t.classes},[t._t("right")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-button"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span")},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"list-other"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mask-cityselect",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{staticClass:"m-cityselect",class:t.show?"cityselect-active":""},[n("div",{staticClass:"cityselect-header"},[n("p",{staticClass:"cityselect-title"},[t._v("所在地区")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.ready,expression:"ready"}],staticClass:"cityselect-nav"},[n("a",{directives:[{name:"show",rawName:"v-show",value:!!t.nav.txt1,expression:"!!nav.txt1"}],class:0==t.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.backoffView(0)}}},[t._v(t._s(t.nav.txt1))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!!t.nav.txt2,expression:"!!nav.txt2"}],class:1==t.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.backoffView(1)}}},[t._v(t._s(t.nav.txt2))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!!t.nav.txt3,expression:"!!nav.txt3"}],class:2==t.nav.index?"cityselect-nav-active":"",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.forwardView(!0)}}},[t._v(t._s(t.nav.txt3))])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.ready,expression:"!ready"}],staticClass:"cityselect-loading"},[t._v("加载中")]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.ready,expression:"ready"}],staticClass:"cityselect-content",class:t.activeClasses},[n("li",{ref:"provanceBox",staticClass:"cityselect-item"},[n("div",{staticClass:"cityselect-item-box"},t._l(t.citys,function(e){return n("a",{class:e.n==t.activeProvance?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.chooseProvance(e.n,e.c)}}},[n("span",[t._v(t._s(e.n))])])}))]),t._v(" "),n("li",{ref:"cityBox",staticClass:"cityselect-item"},[n("div",{staticClass:"cityselect-item-box"},t._l(t.cityArray,function(e){return n("a",{class:e.n==t.activeCity?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.chooseCity(e.n,e.a)}}},[n("span",[t._v(t._s(e.n))])])}))]),t._v(" "),n("li",{ref:"areaBox",staticClass:"cityselect-item"},[n("div",{staticClass:"cityselect-item-box"},t._l(t.areaArray,function(e){return n("a",{class:e==t.activeArea?"cityselect-item-active":"",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.chooseArea(e)}}},[n("span",[t._v(t._s(e))])])}))])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("span",{domProps:{innerHTML:t._s(t.str)}}),t._v(" "),t.showTpl?n("span",{ref:"tpl"},[t._t("default")],2):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],staticClass:"m-switch",style:{color:t.color},attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{__c:function(e){var n=t.checked,i=e.target,a=!!i.checked;if(Array.isArray(n)){var s=null,r=t._i(n,s);a?r<0&&(t.checked=n.concat(s)):r>-1&&(t.checked=n.slice(0,r).concat(n.slice(r+1)))}else t.checked=a}}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"m-spinner"},[n("a",{ref:"minus",attrs:{href:"javascript:;"}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.counter,expression:"counter"}],ref:"numInput",staticClass:"spinner-input",attrs:{type:"text",readonly:t.readonly,placeholder:""},domProps:{value:t.counter},on:{input:function(e){e.target.composing||(t.counter=e.target.value)}}}),t._v(" "),n("a",{ref:"add",attrs:{href:"javascript:;"}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-progressbar"},["line"!=t.type?n("div",{staticClass:"progressbar-content"},[t._t("default")],2):t._e(),t._v(" "),n("svg",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],attrs:{viewBox:t.viewBox,preserveAspectRatio:"line"==t.type?"none":""}},[n("path",{attrs:{"fill-opacity":t.fillColor?1:0,d:t.getPathString,fill:t.fillColor,stroke:t.strokeColor,"stroke-width":t.trailWidth}}),t._v(" "),n("path",{ref:"trailPath",style:{strokeDasharray:t.stroke.dasharray,strokeDashoffset:t.stroke.dashoffset},attrs:{"fill-opacity":"0",d:t.getPathString,stroke:t.trailColor,"stroke-width":t.strokeWidth?t.strokeWidth:t.trailWidth}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:t.classes,style:{backgroundColor:t.bgcolor,height:t.height}},[n("div",{staticClass:"navbar-item"},[t._t("left")],2),t._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:t.height}},[n("div",{staticClass:"navbar-center"},[t._t("center",[n("span",{staticClass:"center-title",style:{color:t.color,fontSize:t.fontsize}},[t._v(t._s(t.title))])])],2)]),t._v(" "),n("div",{staticClass:"navbar-item"},[t._t("right")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"m-checkbox"},[t.group?[n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],attrs:{type:"checkbox",disabled:t.disabled},domProps:{value:t.val,checked:Array.isArray(t.model)?t._i(t.model,t.val)>-1:t.model},on:{change:t.changeHandler,__c:function(e){var n=t.model,i=e.target,a=!!i.checked;if(Array.isArray(n)){var s=t.val,r=t._i(n,s);a?r<0&&(t.model=n.concat(s)):r>-1&&(t.model=n.slice(0,r).concat(n.slice(r+1)))}else t.model=a}}})]:[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{__c:function(e){var n=t.checked,i=e.target,a=!!i.checked;if(Array.isArray(n)){var s=null,r=t._i(n,s);a?r<0&&(t.checked=n.concat(s)):r>-1&&(t.checked=n.slice(0,r).concat(n.slice(r+1)))}else t.checked=a}}})],t._v(" "),n("span",{staticClass:"checkbox-icon",style:t.iconStyles()},[n("i",{style:t.checkIconStyles()})]),t._v(" "),t.$slots.default?[n("span",{staticClass:"checkbox-text"},[t._t("default")],2)]:[n("span",{staticClass:"checkbox-text"},[t._v(t._s(t.val))])]],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mask-black-dialog"},[n("div",{staticClass:"m-confirm"},[n("div",{staticClass:"confirm-hd"},[n("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),n("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[n("div",{staticClass:"confirm-ft"},[n("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),n("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[n("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return n("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flexbox-item"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"accordion-title",on:{click:t.toggle}},[t.$slots.title?n("span",[t._t("title")],2):n("span",[t._v(t._s(t.title))]),t._v(" "),n("i",{class:t.show?"accordion-rotated":""})]),t._v(" "),n("div",{staticClass:"accordion-content",style:{height:t.height}},[n("div",{ref:"content"},[t._t("default")],2)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{staticClass:"m-keyboard",class:t.show?"keyboard-active":""},[t._m(0),t._v(" "),n("div",{staticClass:"keyboard-error"},[t._v(t._s(t.error))]),t._v(" "),n("ul",{staticClass:"keyboard-password"},t._l(6,function(e){return n("li",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.nums.length>=e,expression:"nums.length >= n"}]})])})),t._v(" "),n("div",{staticClass:"keyboard-content"},[n("div",{staticClass:"keyboard-title"},[t._v(t._s(t.title))]),t._v(" "),n("ul",{staticClass:"keyboard-numbers"},t._l(4,function(e){return n("li",[4==e?n("a",{attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.close(e)}}},[t._v("取消")]):t._e(),t._v(" "),t.isMobile?t._l(t.numsArr.slice(3*(e-1),3*e),function(e){return n("a",{attrs:{href:"javascript:;"},on:{touchstart:function(n){n.stopPropagation(),t.numclick(e)}}},[t._v(t._s(e))])}):t._l(t.numsArr.slice(3*(e-1),3*e),function(e){return n("a",{attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.numclick(e)}}},[t._v(t._s(e))])}),t._v(" "),4==e?n("a",{attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.backspace(e)}}}):t._e()],2)}))])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"keyboard-head"},[n("strong",[t._v("输入数字密码")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-cell-box"},[n("div",{staticClass:"m-cell"},[t.title?n("div",{staticClass:"cell-title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._t("default")],2),t._v(" "),t._t("bottom")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.title?n("div",{staticClass:"m-gridstitle"},[t._v(t._s(t.title))]):t._e(),t._v(" "),n("div",{class:t.classes},[t._t("default")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"tabbar-item",class:t.classes,style:t.styles,attrs:{to:t.link,exact:t.$parent.exact,"active-class":t.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[t._t("icon"),t._v(" "),n("span",{staticClass:"tabbar-badge"},[t._t("badge")],2),t._v(" "),t.dot?n("span",{staticClass:"tabbar-dot"}):t._e()],2),t._v(" "),n("span",{staticClass:"tabbar-txt"},[t._v(t._s(t.title))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"m-radio"},[n("input",{attrs:{type:"radio",disabled:t.disabled},domProps:{checked:t.checked},on:{change:t.changeHandler}}),t._v(" "),n("span",{staticClass:"radio-icon",style:[{color:t.$parent.color},t.styles(1)]},[n("i",{style:t.styles(2)})]),t._v(" "),t.$slots.default?n("span",{staticClass:"radio-text"},[t._t("default")],2):n("span",{staticClass:"radio-text"},[t._v(t._s(t.val))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mask-white-dialog"},[n("div",{staticClass:"m-loading"},[n("div",{staticClass:"loading-icon"}),t._v(" "),n("div",{staticClass:"loading-txt",domProps:{innerHTML:t._s(t.title)}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"m-popup-mask",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{ref:"box",class:t.classes(),style:t.styles()},[t.$slots.top&&"center"!=t.position?n("div",{ref:"top"},[t._t("top")],2):t._e(),t._v(" "),n("div",{staticClass:"popup-content"},[n("div",{ref:"content"},[t._t("default")],2)]),t._v(" "),t.$slots.bottom&&"center"!=t.position?n("div",{ref:"bottom"},[t._t("bottom")],2):t._e()])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-panel-item",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion-item",data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(t){this.show=t,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(t){var e=this;this.$children.forEach(function(n){n._uid==t?n.show=!n.show:e.accordion||(n.show=!1,n.height=0)})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(t){this.isIOS&&(t?(i.pageScroll.lock(),(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(i.pageScroll.unlock(),(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=t}},methods:{itemClick:function(t){t&&("function"==typeof t.method&&t.method(t),!t.stay&&this.close())},close:function(){this.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var t=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,i.scrollTop)(this.scrollView,t,0)},scrollHandler:function(){var t=window.pageYOffset,e=window.innerHeight;this.scrollView!=window&&(t=this.scrollView.scrollTop,e=this.scrollView.offsetHeight),this.show=t>=e/2},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-badge",props:{type:{validator:function(t){return["primary","danger","warning","hollow"].indexOf(t)>-1}},shape:{validator:function(t){return["circle","square"].indexOf(t)>-1}},color:{validator:function(t){return!t||(0,i.isColor)(t)}},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-button-group"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(t){return["primary","danger","warning","hollow","disabled"].indexOf(t)>-1},default:"primary"},size:{validator:function(t){return["small","large"].indexOf(t)>-1}},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)}},color:{validator:function(t){return!t||(0,i.isColor)(t)}}},computed:{classes:function(){var t="large"==this.size?"btn-block":"btn",e="btn-"+this.type;return this.disabled&&(e="btn-disabled"),this.bgcolor&&(e=""),t+" "+e}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-cell-group",props:{title:String}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-cell-item",props:{type:{validator:function(t){return["link","a","label","div","checkbox","radio"].indexOf(t)>-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864" -},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{updateValue:function(){var t=this.value;this.childrens=this.$children.filter(function(t){return"yd-checkbox"===t.$options.name}),this.childrens&&this.childrens.forEach(function(e){e.model=t})},change:function(t){this.$emit("input",t)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var t=(this.group?this.$parent.size:this.size)+"px",e=this.group?this.$parent.color:this.color;return{width:t,height:t,color:e}},checkIconStyles:function(){var t=this.group?this.$parent.size:this.size;return{width:Math.round(t/2.8)+"px",height:Math.round(t/1.5)+"px"}}},watch:{checked:function(t){this.$emit("input",t)},value:function(t){this.checked=t}},created:function(){this.$parent.color&&(this.group=!0)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(3),s=n(212),r=i(s);e.default={name:"yd-cityselect",data:function(){return{citys:r.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(t){this.isIOS&&(t?(0,a.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,a.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=t},ready:function(t){t&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,a.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))},chooseProvance:function(t,e){this.nav.index=1,this.nav.txt1=this.activeProvance=t,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=e,this.activeCity=""},chooseCity:function(t,e){return this.nav.txt2=this.activeCity=t,this.activeArea="",e.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=e,void this.forwardView(!0))},chooseArea:function(t){this.nav.txt3=this.activeArea=t,this.returnValue()},setDefalutValue:function(){var t=this;this.provance&&this.citys.every(function(e,n){if(e.n==t.provance){var i=t.$refs.provanceBox;i.scrollTop=n*t.itemHeight-i.offsetHeight/3,t.nav.index=1,t.nav.txt1=t.activeProvance=t.provance,t.nav.txt2="请选择";var a=t.cityArray=e.c;return a.every(function(e,n){if(e.n==t.city){var i=t.$refs.cityBox;i.scrollTop=n*t.itemHeight-i.offsetHeight/3,t.nav.txt2=t.activeCity=t.city;var a=t.areaArray=e.a,s=a.indexOf(t.area);if(a.length>0&&(t.nav.index=2,t.nav.txt3="请选择",t.forwardView(!1)),s>-1){var r=t.$refs.areaBox;r.scrollTop=s*t.itemHeight-r.offsetHeight/3,t.nav.txt3=t.activeArea=t.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){this.isIOS&&(0,a.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(t){this.nav.index=t,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(t){this.nav.index=2,this.activeClasses=(t?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var i=function(t){return t<=0?"00":t<10?"0"+t:t},a=["d","h","m","s"];return a.forEach(function(t){var a=i(n[t]).toString().split("");e=e.replace("{%"+t+"}",i(n[t])),e=e.replace("{%"+t+"0}",0!=~~a[0]?a[0]:""),e=e.replace("{%"+t+"1}",~~a[a.length-2]),e=e.replace("{%"+t+"2}",~~a[a.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(215),s=i(a);e.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var e=this;t&&this.instance.start(function(){"function"==typeof e.callback&&e.callback(e.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var e={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new s.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,e),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-flexbox-item"}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-flexbox",props:{direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-group",props:{rows:{validator:function(t){return["2","3","4","5"].indexOf(t+"")>-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-icon",props:{name:String,color:{validator:function(t){return!t||(0,i.isColor)(t)}},size:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".6rem"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var t={};return this.size&&(t.fontSize=this.size),this.color&&(t.color=this.color),t}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,a=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(a+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(t){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(t)>-1},default:"text"},max:{validator:function(t){return/^\d*$/.test(t)}},min:{validator:function(t){return/^\d*$/.test(t)}}},watch:{value:function(t){this.currentValue=t,this.emitInput()},currentValue:function(t){this.isempty=!t,this.validatorInput(t,!0),this.emitInput()},required:function(t){this.required=t,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(t,e){if(this.initError=e,e&&(this.showWarn=!1),this.required&&""==t)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&t.length=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(t)}},methods:{init:function(){var t=this;this.scrollView=(0,i.getScrollview)(this.$el);var e=window.navigator&&window.navigator.userAgent||"";this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),this.isMobile=!!e.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$on("ydui.keyboard.error",function(e){t.setError(e)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(t){this.error="",this.nums.length>=6||(this.nums+=t)},backspace:function(){var t=this.nums;t&&(this.nums=t.substr(0,t.length-1))},upsetOrder:function(t){for(var e=Math.floor,n=Math.random,i=t.length,a=void 0,s=void 0,r=void 0,o=e(i/2)+1;o--;)a=e(n()*i),s=e(n()*i),a!==s&&(r=t[a],t[a]=t[s],t[s]=r);return t},close:function(){this.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(t){this.error=t,this.nums=""}},created:function(){this.init()},destroyed:function(){this.close()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-layout",props:{link:String,title:String,showNavbar:{type:Boolean,default:!0}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,i.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,i.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var t=this;this.$nextTick(function(){t.init()})},destoryed:function(){this.unbindEvent()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar-back-icon",props:{color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar-next-icon",props:{color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FFF"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"},fontsize:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".4rem"},height:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".9rem"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(this.isIOS){var e=this.$refs,n=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,a=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,s=n+e.content.offsetHeight+a;t?(i.pageScroll.lock(),s>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(i.pageScroll.unlock(),s>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){this.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el),this.isIOS=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,i.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,i.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){(0,i.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",n=window.localStorage;1!=n.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),n.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(n=this.dragTip.distance),this.dragTip.iconRotate=n/.25,this.touches.moveOffset=this.dragTip.translate=n}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,n=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,n.animationTiming="",n.iconOpacity=.5,n.translate=0,n.scale=1,n.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{updateValue:function(){var t=this.value;this.childrens=this.$children.filter(function(t){return"yd-radio"===t.$options.name}),this.childrens&&this.childrens.forEach(function(e){e.checked=t==e.val})},change:function(t){this.currentValue=t,this.updateValue(),this.$emit("input",t)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(t){this.disabled||(this.checked=t.target.checked,this.$parent.change(this.val))},styles:function(t){return{width:this.$parent.size/t+"px",height:this.$parent.size/t+"px"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)},default:5},size:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".5rem"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#CCC"},activeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FF5D50"},value:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".06rem"}},methods:{choose:function(t){this.index=t,this.$emit("input",t),this.showText&&(this.str=(this.showText[t-1]||"").replace("$",t))}},mounted:function(){var t=this;this.$nextTick(function(){t.choose(t.value)})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-rollnotice-item",mounted:function(){this.$parent.init()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-rollnotice",data:function(){return{timer:null,index:1,totalNum:0,firtstItem:"",lastItem:"",styles:{transform:0,transitionDuration:0}}},props:{height:{validator:function(t){return/^\d*$/.test(t)},default:30},speed:{validator:function(t){return/^\d*$/.test(t)},default:500},autoplay:{validator:function(t){return/^\d*$/.test(t)},default:3e3},align:{validator:function(t){return["left","center","right"].indexOf(t)>-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),n=0;e.forEach(function(i){i.active?(t.activeIndex=i._uid,t.moveHandler(i._uid)):(++n,n>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var n=this.getPanels(),i=n.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=i+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),n=e.length,i=this.scrollView,a=i.offsetHeight,s=i.scrollTop,r=e[0].$el.offsetHeight;return s>=r*n-a?void(this.activeIndex=e[n-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),s=i(a);e.default={name:"yd-sendcode",extends:s.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(t){return/^\d*$/.test(t)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var t=this,e=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){e--,t.tmpStr=t.getStr(e),e<=0&&t.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(t){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,t)}},watch:{value:function(t){this.start=t,t&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,n=(t-1)%e;this.paginationIndex=n<0?e-1:n}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){ -var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var n=this.itemNums;if(0==this.index)return this.index=n,void this.setTranslate(0,-n*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>n&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var n=t.touches?t.touches[0].clientY:t.clientY,i=t.touches?t.touches[0].clientX:t.clientX,a=180*Math.atan2(Math.abs(n-e.startY),Math.abs(i-e.startX))/Math.PI;if((this.isVertical?90-a>45:a>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var s=e.moveOffset=this.isVertical?n-e.startY:i-e.startX;0!=s&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+s))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,n=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var i=Date.now()-t.touchStartTime;return i>300&&Math.abs(e)<=.5*n?this.setTranslate(this.speed,-this.index*n):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*n)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(t){return/^([1-9]\d*)$/.test(t)}},max:{default:0,validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}},min:{default:-1,validator:function(t){return/^((-?([1-9]\d*))|0)$/.test(t)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var t=~~this.max,e=~~this.unit,n=~~this.min;return t=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+e+") must be multiple."),!1):!(t0?void this.setValue(n):void this.setValue(e<0?t:e)},calculation:function(t){var e=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,i=~~this.unit;if(!this.readonly){var a=~~this.counter,s=void 0;if("add"==t){if(s=a+i,0!=e&&s>e)return}else if(s=a-i,se&&0!=e&&(t=e),t%i>0&&(t=t-t%i+i,t>e&&0!=e&&(t-=i)),t=40&&(a=100),this.tapParams.timer=setTimeout(function(){e.calculation(t)},1e3/a)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var t=this,e=this.$refs.add,n=this.$refs.minus,i={mousedownEvent:"touchstart",mouseupEvent:"touchend"},a=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();a||(i.mousedownEvent="mousedown",i.mouseupEvent="mouseup"),e.addEventListener(i.mousedownEvent,function(n){t.longpress&&(n.preventDefault(),n.stopPropagation(),t.tapParams.tapStartTime=(new Date).getTime()/1e3,e.addEventListener(i.mouseupEvent,t.clearTapTimer)),t.calculation("add")}),n.addEventListener(i.mousedownEvent,function(e){t.longpress&&(e.preventDefault(),e.stopPropagation(),t.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(i.mouseupEvent,t.clearTapTimer)),t.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){t.setValue(~~t.counter)})}},mounted:function(){this.init()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"}},watch:{checked:function(t){this.$emit("input",t)},value:function(t){this.checked=t}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-tab-panel",props:{label:String,active:Boolean,tabkey:[String,Number]},computed:{classes:function(){return this.$parent.activeIndex==this._uid?"tab-active":""}},watch:{active:function(){this.$parent.init(!0)},label:function(){this.$parent.init("label")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-tab",data:function(){return{navList:[],activeIndex:0,tmpIndex:0}},props:{change:Function},methods:{init:function(t){var e=this,n=this.$children.filter(function(t){return"yd-tab-panel"===t.$options.name}),i=0;n.forEach(function(a,s){return"label"===t?e.navList[s]=a:(t||e.navList.push({label:a.label,_uid:a._uid,tabkey:a.tabkey}),void(a.active?(e.activeIndex=e.tmpIndex=a._uid,e.emitChange(a.label,a.tabkey)):(++i,i>=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n(3);e.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#09BB07"},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FFF"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#979797"},fontsize:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".24rem"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-textarea",data:function(){return{num:0,mlstr:""}},props:{maxlength:{validator:function(t){return!t||/^(([1-9]\d*)|0)$/.test(t)}},placeholder:{type:String},readonly:{type:Boolean,default:!1},value:{type:String},showCounter:{type:Boolean,default:!0},change:{type:Function}},watch:{mlstr:function(t){this.$emit("input",t),"function"==typeof this.change&&this.change(),this.showCounter&&(this.num=t.length)},value:function(t){this.mlstr=t}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.value;e&&(t.mlstr=e.length>t.maxlength?e.substr(e,t.maxlength):e)})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.AccordionItem=e.Accordion=void 0;var a=n(41),s=i(a),r=n(40),o=i(r);e.Accordion=s.default,e.AccordionItem=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=void 0;var a=n(42),s=i(a);e.ActionSheet=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.BackTop=void 0;var a=n(43),s=i(a);e.BackTop=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Badge=void 0;var a=n(44),s=i(a);e.Badge=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonGroup=e.Button=void 0;var a=n(6),s=i(a),r=n(45),o=i(r);e.Button=s.default,e.ButtonGroup=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CellGroup=e.CellItem=void 0;var a=n(47),s=i(a),r=n(46),o=i(r);e.CellItem=s.default,e.CellGroup=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CheckBoxGroup=e.CheckBox=void 0;var a=n(49),s=i(a),r=n(48),o=i(r);e.CheckBox=s.default,e.CheckBoxGroup=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CitySelect=void 0;var a=n(50),s=i(a);e.CitySelect=s.default},function(t,e,n){var i,a;!function(){var s=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"],n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"],n:"苏州市"}]},{n:"山东",c:[{a:["河口区","广饶县","利津县","垦利区","东营区"],n:"东营市"},{a:["潍城区","奎文区","高新区","寒亭区","寿光市","青州市","诸城市","安丘市","高密市","昌邑市","昌乐县","临朐县","坊子区"],n:"潍坊市"},{a:["莱山区","芝罘区","开发区","福山区","牟平区","龙口市","莱州市","莱阳市","招远市","蓬莱市","栖霞市","海阳市","长岛县"],n:"烟台市"},{a:["荣成市","文登市","乳山市","环翠区"],n:"威海市"},{a:["莱城区","钢城区"],n:"莱芜市"},{a:["德城区","临邑县","齐河县","乐陵市","禹城市","陵县","宁津县","武城县","庆云县","平原县","夏津县"],n:"德州市"},{a:["兰陵县","兰山区","河东区","沂南县","沂水县","费县","平邑县","蒙阴县","临沭县","莒南县","郯城县","罗庄区"],n:"临沂市"},{a:["东昌府区","临清市","阳谷县","茌平县","莘县","东阿县","冠县","高唐县"],n:"聊城市"},{a:["北海新区","滨城区","邹平县","沾化县","惠民县","博兴县","阳信县","无棣县"],n:"滨州市"},{a:["牡丹区","单县","曹县","定陶县","巨野县","成武县","东明县","郓城县","鄄城县"],n:"菏泽市"},{a:["岚山区","新市区","五莲县","东港区","莒县"],n:"日照市"},{a:["梁山县","兖州市","微山县","汶上县","泗水县","嘉祥县","鱼台县","金乡县","邹城市","市中区","曲阜市","高新区","任城区"],n:"济宁市"},{a:["东平县","岱岳区","泰山区","肥城市","新泰市","宁阳县"],n:"泰安市"},{a:["高新区","长清区","历城区","天桥区","槐荫区","历下区","市中区","章丘市","平阴县","济阳县","商河县"],n:"济南市"},{a:["四方区","市北区","市南区","黄岛区","李沧区","即墨市","城阳区","崂山区","胶州市","平度市","莱西市"],n:"青岛市"},{a:["临淄区","张店区","周村区","淄川区","博山区","高青县","沂源县","桓台县"],n:"淄博市"},{a:["滕州市","山亭区","台儿庄区","峄城区","薛城区","市中区"],n:"枣庄市"}]},{n:"安徽",c:[{a:["铜官区","枞阳县","郊区","义安区"],n:"铜陵市"},{a:["包河区","蜀山区","瑶海区","庐阳区","滨湖新区","经济技术开发区","高新技术开发区","新站综合开发试验区","肥西县","政务文化新区","巢湖市","长丰县","肥东县","庐江县","北城新区"],n:"合肥市"},{a:["淮南高新技术开发区","田家庵区","大通区","谢家集区","八公山区","寿县","凤台县","潘集区"],n:"淮南市"},{a:["杜集区","烈山区","濉溪县","相山区"],n:"淮北市"},{a:["镜湖区","弋江区","无为县","芜湖县","繁昌县","南陵县","鸠江区","三山区"],n:"芜湖市"},{a:["蚌山区","怀远县","固镇县","五河县","淮上区","龙子湖区","禹会区"],n:"蚌埠市"},{a:["博望区","花山区","雨山区","当涂县","含山县","和县"],n:"马鞍山市"},{a:["桐城市","宿松县","太湖县","怀宁县","岳西县","望江县","潜山县","大观区","宜秀区","迎江区"],n:"安庆市"},{a:["徽州区","屯溪区","休宁县","歙县","黟县","祁门县","黄山区"],n:"黄山市"},{a:["琅琊区","天长市","明光市","全椒县","来安县","南谯区","定远县","凤阳县"],n:"滁州市"},{a:["经济开发区","界首市","太和县","阜南县","颍上县","临泉县","颍泉区","颍州区","颍东区"],n:"阜阳市"},{a:["利辛县","蒙城县","涡阳县","谯城区"],n:"亳州市"},{a:["旌德县","宁国市","郎溪县","广德县","绩溪县","泾县","宣州区"],n:"宣城市"},{a:["经济开发区","埇桥区","灵璧县","泗县","萧县","砀山县"],n:"宿州市"},{a:["贵池区","东至县","石台县","青阳县"],n:"池州市"},{a:["霍山县","金寨县","霍邱县","舒城县","金安区","裕安区"],n:"六安市"}]},{n:"浙江",c:[{a:["龙泉市","缙云县","遂昌县","松阳县","景宁县","云和县","青田县","莲都区","庆元县"],n:"丽水市"},{a:["临海市","三门县","天台县","仙居县","黄岩区","椒江区","路桥区","温岭市","玉环县"],n:"台州市"},{a:["岱山县","嵊泗县","普陀区","定海区"],n:"舟山市"},{a:["海曙区","江东区","高新科技开发区","慈溪市","北仑区","镇海区","鄞州区","江北区","余姚市","奉化市","宁海县","象山县"],n:"宁波市"},{a:["上城区","下城区","拱墅区","西湖区","江干区","下沙区","余杭区","萧山区","滨江区","临安市","富阳区","桐庐县","建德市","淳安县"],n:"杭州市"},{a:["龙湾区","茶山高教园区","瑞安市","乐清市","鹿城区","瓯海区","永嘉县","文成县","平阳县","泰顺县","洞头区","苍南县"],n:"温州市"},{a:["桐乡市","平湖市","嘉善县","南湖区","秀洲区","海宁市","海盐县"],n:"嘉兴市"},{a:["南浔区","吴兴区","长兴县","德清县","安吉县"],n:"湖州市"},{a:["柯桥区","越城区","诸暨市","上虞区","嵊州市","新昌县"],n:"绍兴市"},{a:["金东区","婺城区","兰溪市","武义县","浦江县","磐安县","义乌市","永康市","东阳市"],n:"金华市"},{a:["柯城区","衢江区","江山市","常山县","开化县","龙游县"],n:"衢州市"}]},{n:"福建",c:[{a:["台江区","鼓楼区","晋安区","仓山区","马尾区","福清市","闽侯县","长乐市","平潭县","连江县","罗源县","永泰县","闽清县"],n:"福州市"},{a:["思明区","湖里区","翔安区","海沧区","集美区","同安区"],n:"厦门市"},{a:["永安市","明溪县","将乐县","大田县","宁化县","建宁县","沙县","尤溪县","清流县","泰宁县","梅列区","三元区"],n:"三明市"},{a:["仙游县","城厢区","荔城区","秀屿区","涵江区"],n:"莆田市"},{a:["泉港区","石狮市","南安市","惠安县","安溪县","德化县","永春县","金门县","洛江区","鲤城区","丰泽区","晋江市"],n:"泉州市"},{a:["芗城区","龙文区","龙海市","平和县","南靖县","诏安县","漳浦县","华安县","云霄县","东山县","长泰县"],n:"漳州市"},{a:["建瓯市","邵武市","武夷山市","建阳市","松溪县","顺昌县","浦城县","政和县","光泽县","延平区"],n:"南平市"},{a:["新罗区","漳平市","长汀县","武平县","永定县","上杭县","连城县"],n:"龙岩市"},{a:["蕉城区","东侨开发区","福安市","福鼎市","寿宁县","霞浦县","柘荣县","屏南县","古田县","周宁县"], -n:"宁德市"}]},{n:"湖北",c:[{a:["松柏镇","阳日镇","木鱼镇","红坪镇","新华镇","宋洛乡","九湖乡","下谷坪乡"],n:"神农架林区"},{a:["硚口区","武昌区","武汉经济技术开发区","江岸区","江汉区","蔡甸区","江夏区","新洲区","黄陂区","汉阳区","青山区","洪山区","汉南区","东西湖区"],n:"武汉市"},{a:["园林","杨市","周矶","广华","泰丰","竹根滩镇","高石碑镇","积玉口镇","渔洋镇","王场镇","熊口镇","老新镇","浩口镇","张金镇","龙湾镇","江汉石油管理局","潜江经济开发区","西大垸管理区","运粮湖管理区","周矶管理区","后湖管理区","熊口管理区","总口管理区","高场原种场","浩口原种场"],n:"潜江市"},{a:["黄石港区","下陆区","西塞山区","铁山区","大冶市","阳新县","经济技术开发区"],n:"黄石市"},{a:["老河口市","枣阳市","宜城市","南漳县","保康县","谷城县","樊城区","襄城区","襄州区"],n:"襄阳市"},{a:["丹江口市","房县","竹山县","竹溪县","郧县","郧西县","茅箭区","张湾区"],n:"十堰市"},{a:["沙市区","荆州区","江陵县","洪湖市","石首市","松滋市","监利县","公安县"],n:"荆州市"},{a:["伍家岗区","西陵区","宜都市","猇亭区","点军区","当阳市","枝江市","夷陵区","秭归县","兴山县","远安县","五峰土家族自治县","长阳土家族自治县"],n:"宜昌市"},{a:["汉川市","云梦县","大悟县","孝昌县","孝南区","应城市","安陆市"],n:"孝感市"},{a:["黄州区","蕲春县","麻城市","武穴市","浠水县","红安县","罗田县","黄梅县","英山县","团风县"],n:"黄冈市"},{a:["侨乡街道开发区","竟陵街道","杨林街道","佛子山镇","多宝镇","拖市镇","张港镇","蒋场镇","汪场镇","渔薪镇","黄潭镇","岳口镇","横林镇","彭市镇","麻洋镇","多祥镇","干驿镇","马湾镇","卢市镇","小板镇","九真镇","皂市镇","胡市镇","石河镇","净潭乡","蒋湖农场","白茅湖农场","沉湖管委会"],n:"天门市"},{a:["城区","郑场镇","毛嘴镇","豆河镇","三伏潭镇","胡场镇","长埫口镇","西流河镇","沙湖镇","杨林尾镇","彭场镇","张沟镇","郭河镇","沔城镇","通海口镇","陈场镇","工业园区","九合垸原种场","沙湖原种场","排湖渔场","五湖渔场","赵西垸林场","刘家垸林场","畜禽良种场"],n:"仙桃市"},{a:["咸安区","赤壁市","嘉鱼县","通山县","崇阳县","通城县"],n:"咸宁市"},{a:["恩施市","利川市","建始县","来凤县","巴东县","鹤峰县","宣恩县","咸丰县"],n:"恩施州"},{a:["梁子湖区","华容区","鄂城区"],n:"鄂州市"},{a:["东宝区","掇刀区","钟祥市","京山县","沙洋县"],n:"荆门市"},{a:["曾都区","广水市","随县"],n:"随州市"}]},{n:"湖南",c:[{a:["慈利县","桑植县","武陵源区","永定区"],n:"张家界市"},{a:["资兴市","宜章县","安仁县","汝城县","嘉禾县","临武县","桂东县","永兴县","桂阳县","北湖区","苏仙区"],n:"郴州市"},{a:["南县","桃江县","安化县","赫山区","资阳区","沅江市"],n:"益阳市"},{a:["冷水滩区","祁阳县","双牌县","道县","江永县","江华县","宁远县","新田县","蓝山县","东安县","零陵区"],n:"永州市"},{a:["鹤城区","洪江市","会同县","溆浦县","中方县","辰溪县","靖州县","通道县","芷江县","新晃县","麻阳县","沅陵县"],n:"怀化市"},{a:["娄星区","冷水江市","涟源市","新化县","双峰县"],n:"娄底市"},{a:["吉首市","古丈县","龙山县","永顺县","泸溪县","凤凰县","花垣县","保靖县"],n:"湘西州"},{a:["芙蓉区","岳麓区","雨花区","开福区","天心区","浏阳市","长沙县","宁乡县","望城区"],n:"长沙市"},{a:["天元区","石峰区","芦淞区","荷塘区","醴陵市","株洲县","攸县","茶陵县","炎陵县"],n:"株洲市"},{a:["雨湖区","岳塘区","湘乡市","湘潭县","韶山市"],n:"湘潭市"},{a:["蒸湘区","石鼓区","珠晖区","雁峰区","常宁市","衡阳县","耒阳市","衡东县","衡南县","衡山县","祁东县","南岳区"],n:"衡阳市"},{a:["大祥区","双清区","北塔区","武冈市","邵东县","洞口县","新邵县","绥宁县","新宁县","邵阳县","隆回县","城步县"],n:"邵阳市"},{a:["岳阳楼区","君山区","云溪区","临湘市","汨罗市","岳阳县","湘阴县","华容县","平江县"],n:"岳阳市"},{a:["汉寿县","石门县","安乡县","鼎城区","武陵区","津市市","澧县","临澧县","桃源县"],n:"常德市"}]},{n:"广东",c:[{a:["天河区","海珠区","荔湾区","越秀区","番禺区","花都区","萝岗区","白云区","南沙区","黄埔区","增城区","从化区","广州大学城"],n:"广州市"},{a:["罗湖区","福田区","南山区","宝安区","光明新区","龙岗区","坪山新区","盐田区","龙华新区","大鹏新区"],n:"深圳市"},{a:["斗门区","金湾区","香洲区"],n:"珠海市"},{a:["龙湖区","金平区","澄海区","潮阳区","潮南区","濠江区","南澳县"],n:"汕头市"},{a:["武江区","浈江区","南雄市","乐昌市","仁化县","始兴县","翁源县","新丰县","乳源瑶族自治县","曲江区"],n:"韶关市"},{a:["和平县","龙川县","紫金县","连平县","源城区","东源县"],n:"河源市"},{a:["梅江区","兴宁市","梅县","蕉岭县","大埔县","丰顺县","五华县","平远县"],n:"梅州市"},{a:["惠阳区","大亚湾区","惠城区","惠东县","博罗县","龙门县"],n:"惠州市"},{a:["城区","陆丰市","陆河县","海丰县"],n:"汕尾市"},{a:["长安镇","莞城区","南城区","寮步镇","大岭山镇","横沥镇","常平镇","厚街镇","万江区","樟木头镇","塘厦镇","凤岗镇","大朗镇","东坑镇","清溪镇","企石镇","茶山镇","东城区","虎门镇","黄江镇","石排镇","道滘镇","沙田镇","高埗镇","石龙镇","石碣镇","洪梅镇","麻涌镇","松山湖","桥头镇","望牛墩镇","中堂镇","谢岗镇"],n:"东莞市"},{a:["城区","火炬开发区","小榄镇","古镇","三乡镇","民众镇","东凤镇","板芙镇","神湾镇","横栏镇","港口镇","三角镇","大涌镇","南头镇","沙溪镇","坦洲镇","黄圃镇","五桂山镇","南朗镇","沙朗镇","阜沙镇","东升镇"],n:"中山市"},{a:["台山市","新会区","鹤山市","江海区","蓬江区","开平市","恩平市"],n:"江门市"},{a:["顺德区","禅城区","高明区","三水区","南海区"],n:"佛山市"},{a:["江城区","阳东县","阳春市","阳西县"],n:"阳江市"},{a:["赤坎区","霞山区","经济技术开发区","麻章区","遂溪县","廉江市","坡头区","雷州市","吴川市","徐闻县"],n:"湛江市"},{a:["茂南区","电白县","高州市","化州市","茂港区","信宜市"],n:"茂名市"},{a:["端州区","四会市","高要市","广宁县","德庆县","怀集县","封开县","鼎湖区"],n:"肇庆市"},{a:["云城区","罗定市","云安县","新兴县","郁南县"],n:"云浮市"},{a:["连州市","佛冈县","阳山县","清新县","连山县","连南县","清城区","英德市"],n:"清远市"},{a:["湘桥区","枫溪区","潮安区","饶平县"],n:"潮州市"},{a:["东山区","普宁市","榕城区","揭东县","揭西县","惠来县"],n:"揭阳市"}]},{n:"广西",c:[{a:["八步区","钟山县","昭平县","富川县","平桂管理区"],n:"贺州市"},{a:["右江区","平果县","乐业县","田阳县","西林县","田林县","德保县","靖西县","田东县","那坡县","隆林县","凌云县"],n:"百色市"},{a:["宜州市","天峨县","凤山县","南丹县","东兰县","巴马县","环江县","大化县","都安县","金城江区","罗城县"],n:"河池市"},{a:["江州区","凭祥市","扶绥县","大新县","天等县","宁明县","龙州县"],n:"崇左市"},{a:["良庆区","江南区","兴宁区","青秀区","西乡塘区","横县","上林县","隆安县","马山县","武鸣区","邕宁区","宾阳县"],n:"南宁市"},{a:["融安县","三江县","融水县","鱼峰区","城中区","柳南区","柳北区","柳江县","柳城县","鹿寨县"],n:"柳州市"},{a:["象山区","恭城县","秀峰区","叠彩区","七星区","雁山区","阳朔县","临桂县","灵川县","全州县","平乐县","兴安县","灌阳县","荔浦县","资源县","永福县","龙胜县"],n:"桂林市"},{a:["岑溪市","苍梧县","藤县","蒙山县","万秀区","蝶山区","长洲区"],n:"梧州市"},{a:["海城区","银海区","合浦县","铁山港区"],n:"北海市"},{a:["防城区","港口区","东兴市","上思县"],n:"防城港市"},{a:["钦南区","钦北区","浦北县","灵山县"],n:"钦州市"},{a:["港南区","港北区","桂平市","平南县","覃塘区"],n:"贵港市"},{a:["玉州区","北流市","容县","博白县","陆川县","兴业县"],n:"玉林市"},{a:["兴宾区","合山市","忻城县","武宣县","象州县","金秀县"],n:"来宾市"}]},{n:"江西",c:[{a:["青云谱区","西湖区","东湖区","昌北区","南昌县","进贤县","安义县","青山湖区","红谷滩新区","新建县","湾里区","高新区"],n:"南昌市"},{a:["珠山区","乐平市","浮梁县","昌江区"],n:"景德镇市"},{a:["湘东区","莲花县","上栗县","芦溪县","安源区"],n:"萍乡市"},{a:["分宜县","渝水区"],n:"新余市"},{a:["浔阳区","八里湖新区","经济技术开发区","修水县","瑞昌市","彭泽县","湖口县","共青城市","九江县","庐山区","德安县","都昌县","永修县","武宁县","星子县","庐山风景名胜区"],n:"九江市"},{a:["龙虎山风景旅游区","余江县","贵溪市","月湖区"],n:"鹰潭市"},{a:["德兴市","广丰县","鄱阳县","婺源县","余干县","横峰县","弋阳县","铅山县","玉山县","万年县","信州区","上饶县"],n:"上饶市"},{a:["丰城市","樟树市","袁州区","高安市","铜鼓县","靖安县","宜丰县","奉新县","万载县","上高县"],n:"宜春市"},{a:["南丰县","乐安县","金溪县","南城县","东乡县","资溪县","宜黄县","崇仁县","黎川县","广昌县","临川区"],n:"抚州市"},{a:["青原区","吉州区","井冈山市","吉安县","永丰县","永新县","新干县","泰和县","峡江县","遂川县","安福县","吉水县","万安县"],n:"吉安市"},{a:["章贡区","南康市","瑞金市","石城县","安远县","赣县","宁都县","寻乌县","兴国县","定南县","上犹县","于都县","龙南县","崇义县","大余县","信丰县","全南县","会昌县"],n:"赣州市"}]},{n:"四川",c:[{a:["仁寿县","彭山区","洪雅县","丹棱县","青神县","东坡区"],n:"眉山市"},{a:["雁江区","安岳县","乐至县","简阳市"],n:"资阳市"},{a:["马尔康县","九寨沟县","红原县","阿坝县","理县","若尔盖县","金川县","小金县","黑水县","松潘县","壤塘县","茂县","汶川县"],n:"阿坝州"},{a:["康定县","泸定县","九龙县","丹巴县","道孚县","炉霍县","色达县","甘孜县","新龙县","白玉县","德格县","石渠县","雅江县","理塘县","巴塘县","稻城县","乡城县","得荣县"],n:"甘孜州"},{a:["美姑县","昭觉县","会理县","会东县","普格县","宁南县","德昌县","冕宁县","盐源县","金阳县","布拖县","雷波县","越西县","喜德县","甘洛县","木里县","西昌市"],n:"凉山州"},{a:["武侯区","金牛区","青羊区","成华区","高新区","锦江区","郫县","双流县","高新西区","龙泉驿区","新都区","温江区","都江堰市","彭州市","青白江区","崇州市","金堂县","新津县","邛崃市","大邑县","蒲江县"],n:"成都市"},{a:["自流井区","沿滩区","荣县","富顺县","大安区","贡井区"],n:"自贡市"},{a:["仁和区","西区","东区","米易县","盐边县"],n:"攀枝花市"},{a:["纳溪区","江阳区","龙马潭区","泸县","合江县","叙永县","古蔺县"],n:"泸州市"},{a:["江油市","涪城区","游仙区","高新区","经开区","盐亭县","三台县","平武县","北川县","安县","梓潼县"],n:"绵阳市"},{a:["广汉市","什邡市","旌阳区","绵竹市","罗江县","中江县"],n:"德阳市"},{a:["昭化区","朝天区","利州区","青川县","旺苍县","剑阁县","苍溪县"],n:"广元市"},{a:["船山区","射洪县","蓬溪县","大英县","安居区"],n:"遂宁市"},{a:["东兴区","资中县","隆昌县","威远县","市中区"],n:"内江市"},{a:["市中区","峨眉山市","五通桥区","沙湾区","金口河区","夹江县","井研县","犍为县","沐川县","峨边县","马边县"],n:"乐山市"},{a:["宜宾县","南溪区","江安县","长宁县","兴文县","珙县","翠屏区","高县","屏山县","筠连县"],n:"宜宾市"},{a:["前锋区","岳池县","武胜县","邻水县","广安区","华蓥市"],n:"广安市"},{a:["顺庆区","高坪区","嘉陵区","西充县","阆中市","南部县","仪陇县","蓬安县","营山县"],n:"南充市"},{a:["通川区","达川区","大竹县","渠县","万源市","宣汉县","开江县"],n:"达州市"},{a:["巴州区","恩阳区","南江县","平昌县","通江县"],n:"巴中市"},{a:["芦山县","石棉县","名山区","天全县","荥经县","汉源县","宝兴县","雨城区"],n:"雅安市"}]},{n:"海南",c:[{a:["嘉积镇","万泉镇","石壁镇","中原镇","博鳌镇","阳江镇","龙江镇","潭门镇","塔洋镇","长坡镇","大路镇","会山镇","彬村山华侨农场","东太农场","东红农场","东升农场","南俸农场"],n:"琼海市"},{a:["兴隆镇","南林农场","万城镇","龙滚镇","和乐镇","后安镇","大茂镇","东澳镇","礼纪镇","长丰镇","山根镇","北大镇","南桥镇","三更罗镇","六连林场","东兴农场","东和农场","新中农场","兴隆华侨农场"],n:"万宁市"},{a:["秀英区","龙华区","琼山区","美兰区"],n:"海口市"},{a:["八所镇","东河镇","大田镇","感城镇","板桥镇","三家镇","四更镇","新龙镇","天安乡","江边乡","广坝农场","东方华侨农场"],n:"东方市"},{a:["崖城镇","海棠湾镇","吉阳镇","凤凰镇","天涯镇","育才镇","河西区","河东区","南田农场","南新农场","南岛农场","立才农场","南滨农场"],n:"三亚市"},{a:["文城镇","重兴镇","蓬莱镇","会文镇","东路镇","潭牛镇","东阁镇","文教镇","东郊镇","龙楼镇","昌洒镇","翁田镇","抱罗镇","冯坡镇","锦山镇","铺前镇","公坡镇","迈号镇","清谰镇","南阳镇","新桥镇","头苑镇","宝芳乡","龙马乡","湖山乡","东路农场","南阳农场","罗豆农场","橡胶研究所"],n:"文昌市"},{a:["通什镇","南圣镇","毛阳镇","番阳镇","畅好乡","毛道乡","水满乡","畅好农场"],n:"五指山市"},{a:["城区","临城镇","波莲镇","东英镇","博厚镇","皇桐镇","多文镇","和舍镇","南宝镇","新盈镇","调楼镇","加来镇","红华农场","加来农场"],n:"临高县"},{a:["城区","金江镇","老城镇","瑞溪镇","永发镇","加乐镇","文儒镇","中兴镇","仁兴镇","福山镇","桥头镇","大丰镇","红光农场","西达农场","金安农场"],n:"澄迈县"},{a:["黄竹镇","城区","定城镇","新竹镇","龙湖镇","雷鸣镇","龙门镇","龙河镇","岭口镇","翰林镇","富文镇","金鸡岭农场","中瑞农场","南海农场"],n:"定安县"},{a:["县城内","屯城镇","新兴镇","枫木镇","乌坡镇","南吕镇","南坤镇","中建农场","坡心镇","中坤农场","西昌镇"],n:"屯昌县"},{a:["红林农场","城区","石碌镇","叉河镇","十月田镇","乌烈镇","昌化镇","海尾镇","七叉镇","王下乡","海南矿业公司","霸王岭林场"],n:"昌江县"},{a:["南开乡","阜龙乡","青松乡","金波乡","荣邦乡","城区","白沙农场","牙叉镇","龙江农场","七坊镇","邦溪农场","邦溪镇","打安镇","细水乡","元门乡"],n:"白沙县"},{a:["吊罗山乡","黎母山林业公司","阳江农场","乌石农场","加钗农场","长征农场","营根镇","湾岭镇","黎母山镇","和平镇","长征镇","红毛镇","中平镇","上安乡","什运乡","城区"],n:"琼中县"},{a:["东华镇","南平镇","吊罗山林业公司","岭门农场","南平农场","椰林镇","光坡镇","三才镇","英州镇","隆广镇","文罗镇","本号镇","新村镇","黎安镇","提蒙乡","群英乡","城区"],n:"陵水县"},{a:["保亭研究所","新星农场","金江农场","三道农场","保城镇","什玲镇","加茂镇","响水镇","新政镇","三道镇","六弓乡","南林乡","毛感乡"],n:"保亭县"},{a:["尖峰岭林业公司","莺歌海盐场","山荣农场","乐光农场","抱由镇","保国农场","万冲镇","大安镇","志仲镇","千家镇","九所镇","利国镇","黄流镇","佛罗镇","尖峰镇","莺歌海镇","城区"],n:"乐东县"},{a:["中沙群岛","西沙群岛","南沙群岛"],n:"三沙市"},{a:["热作学院","那大镇","富克镇","和庆镇","南丰镇","大成镇","雅星镇","兰洋镇","光村镇","木棠镇","海头镇","峨蔓镇","三都镇","王五镇","白马井镇","中和镇","排浦镇","东成镇","新州镇","洋浦经济开发区","西培农场","西联农场","蓝洋农场","八一农场","西华农场","西庆农场","西流农场","新盈农场","龙山农场","红岭农场"],n:"儋州市"}]},{n:"贵州",c:[{a:["南明区","云岩区","花溪区","小河区","白云区","清镇市","开阳县","修文县","息烽县","乌当区","观山湖区"],n:"贵阳市"},{a:["盘县","六枝特区","水城县","钟山区"],n:"六盘水市"},{a:["红花岗区","汇川区","赤水市","仁怀市","遵义县","桐梓县","绥阳县","习水县","凤冈县","正安县","湄潭县","余庆县","道真县","务川县"],n:"遵义市"},{a:["碧江区","德江县","江口县","思南县","万山区","石阡县","玉屏侗族自治县","松桃苗族自治县","印江土家族苗族自治县","沿河土家族自治县"],n:"铜仁市"},{a:["七星关区","黔西县","大方县","织金县","金沙县","赫章县","纳雍县","威宁彝族回族苗族自治县"],n:"毕节市"},{a:["西秀区","普定县","平坝县","镇宁布依族苗族自治县","关岭布依族苗族自治县","紫云苗族布依族自治县"],n:"安顺市"},{a:["兴义市","望谟县","兴仁县","普安县","册亨县","晴隆县","贞丰县","安龙县"],n:"黔西南州"},{a:["凯里市","施秉市","从江县","锦屏县","镇远县","麻江县","台江县","天柱县","黄平县","榕江县","剑河县","三穗县","雷山县","黎平县","岑巩县","丹寨县"],n:"黔东南州"},{a:["都匀市","福泉市","贵定县","惠水县","罗甸县","瓮安县","荔波县","龙里县","平塘县","长顺县","独山县","三都县"],n:"黔南州"}]},{n:"云南",c:[{a:["玉龙县","华坪县","永胜县","宁蒗县","古城区"],n:"丽江市"},{a:["文山市","麻栗坡县","砚山县","广南县","马关县","富宁县","西畴县","丘北县"],n:"文山州"},{a:["香格里拉县","德钦县","维西县"],n:"迪庆州"},{a:["个旧市","开远市","弥勒县","红河县","绿春县","蒙自市","泸西县","建水县","元阳县","石屏县","金平县","屏边县","河口县"],n:"红河州"},{a:["景洪市","勐海县","勐腊县"],n:"西双版纳州"},{a:["元谋县","南华县","牟定县","武定县","大姚县","双柏县","禄丰县","永仁县","姚安县","楚雄市"],n:"楚雄州"},{a:["剑川县","弥渡县","云龙县","洱源县","鹤庆县","宾川县","祥云县","永平县","巍山县","漾濞县","南涧县","大理市"],n:"大理州"},{a:["芒市","瑞丽市","盈江县","梁河县","陇川县"],n:"德宏州"},{a:["泸水县","福贡县","兰坪县","贡山县"],n:"怒江州"},{a:["盘龙区","五华区","西山区","官渡区","呈贡区","东川区","安宁市","富民县","嵩明县","晋宁县","宜良县","禄劝县","石林县","寻甸县"],n:"昆明市"},{a:["麒麟区","马龙县","宣威市","富源县","会泽县","陆良县","师宗县","罗平县","沾益县"],n:"曲靖市"},{a:["红塔区","华宁县","澄江县","易门县","通海县","江川县","元江县","新平县","峨山县"],n:"玉溪市"},{a:["鲁甸县","绥江县","昭阳区","镇雄县","永善县","大关县","盐津县","彝良县","水富县","巧家县","威信县"],n:"昭通市"},{a:["孟连县","思茅区","宁洱县","景东县","镇沅县","景谷县","墨江县","澜沧县","西盟县","江城县"],n:"普洱市"},{a:["双江县","沧源县","临翔区","镇康县","凤庆县","云县","永德县","耿马县"],n:"临沧市"},{a:["隆阳区","施甸县","昌宁县","龙陵县","腾冲县"],n:"保山市"}]},{n:"西藏",c:[{a:["双湖县","索县","那曲县","嘉黎县","比如县","聂荣县","安多县","申扎县","班戈县","巴青县","尼玛县"],n:"那曲地区"},{a:["贡嘎县","扎囊县","乃东县","桑日县","琼结县","曲松县","措美县","洛扎县","加查县","隆子县","错那县","浪卡子县"],n:"山南地区"},{a:["昌都县","江达县","贡觉县","类乌齐县","丁青县","察雅县","八宿县","左贡县","芒康县","洛隆县","边坝县"],n:"昌都地区"},{a:["聂拉木县","昂仁县","日喀则市","南木林县","江孜县","定日县","萨迦县 ","拉孜县","谢通门县","白朗县","仁布县","康马县","定结县","仲巴县","亚东县","吉隆县","萨嘎县","岗巴县"],n:"日喀则地区"},{a:["噶尔县","普兰县","札达县 ","日土县","革吉县","改则县","措勤县"],n:"阿里地区"},{a:["林芝县","工布江达县","米林县","墨脱县","波密县","察隅县","朗县"],n:"林芝地区"},{a:["城关区","林周县","当雄县","尼木县","曲水县","堆龙德庆县","达孜县","墨竹工卡县"],n:"拉萨市"}]},{n:"陕西",c:[{a:["新城区","雁塔区","未央区","长安区","灞桥区","碑林区","莲湖区","临潼区","阎良区","西安武警工程学院","高陵县","蓝田县","户县","周至县"],n:"西安市"},{a:["印台区","宜君县","王益区","耀州区"],n:"铜川市"},{a:["渭滨区","金台区","岐山县","太白县","凤翔县","陇县","麟游县","千阳县","扶风县","凤县","眉县","陈仓区"],n:"宝鸡市"},{a:["秦都区","渭城区","兴平市","礼泉县","泾阳县","永寿县","三原县","彬县","旬邑县","长武县","乾县","武功县","淳化县","杨陵区"],n:"咸阳市"},{a:["韩城市","华阴市","蒲城县","华县","潼关县","大荔县","澄城县","合阳县","白水县","富平县","临渭区"],n:"渭南市"},{a:["宝塔区","安塞县","洛川县","子长县","黄陵县","延长县","宜川县","延川县","甘泉县","富县","志丹县","黄龙县","吴起县"],n:"延安市"},{a:["经济开发区南区","汉台区","南郑县","城固县","洋县","佛坪县","留坝县","镇巴县","西乡县","勉县","略阳县","宁强县"],n:"汉中市"},{a:["清涧县","绥德县","佳县","神木县","府谷县","子洲县","横山县","米脂县","吴堡县","定边县","榆阳区","靖边县"],n:"榆林市"},{a:["商州区","镇安县","山阳县","洛南县","商南县","丹凤县","柞水县"],n:"商洛市"},{a:["汉滨区","紫阳县","岚皋县","旬阳县","镇坪县","平利县","宁陕县","汉阴县","石泉县","白河县"],n:"安康市"}]},{n:"甘肃",c:[{a:["合作市","夏河县","碌曲县","舟曲县","玛曲县","迭部县","临潭县","卓尼县"],n:"甘南州"},{a:["岷县","安定区","通渭县","临洮县","漳县","渭源县","陇西县"],n:"定西市"},{a:["临夏县","康乐县","永靖县","和政县","东乡族自治县","积石山县","临夏市","广河县"],n:"临夏州"},{a:["七里河区","安宁区","城关区","西固区","红古区","永登县","榆中县","皋兰县"],n:"兰州市"},{a:["永昌县","金川区"],n:"金昌市"},{a:["白银区","平川区","靖远县","景泰县","会宁县"],n:"白银市"},{a:["麦积区","秦州区","甘谷县","武山县","清水县","秦安县","张家川县"],n:"天水市"},{a:["长城区","镜铁区","雄关区"],n:"嘉峪关市"},{a:["静宁县","崆峒区","华亭县","崇信县","泾川县","灵台县","庄浪县"],n:"平凉市"},{a:["庆城县","西峰区","镇原县","合水县","华池县","环县","宁县","正宁县"],n:"庆阳市"},{a:["成县","礼县","康县","武都区","文县","两当县","徽县","宕昌县","西和县"],n:"陇南市"},{a:["凉州区","古浪县","天祝县","民勤县"],n:"武威市"},{a:["甘州区","山丹县","临泽县","高台县","肃南县","民乐县"],n:"张掖市"},{a:["金塔县","阿克塞县","肃北县","瓜州县","肃州区","玉门市","敦煌市"],n:"酒泉市"}]},{n:"青海",c:[{a:["湟中县","湟源县","大通县","城中区","城东区","城西区","城北区"],n:"西宁市"},{a:["平安县","乐都县","民和县","互助县","化隆县","循化县"],n:"海东地区"},{a:["海晏县","祁连县","刚察县","门源县"],n:"海北州"},{a:["尖扎县","同仁县","泽库县","河南县"],n:"黄南州"},{a:["共和县","同德县","贵德县","兴海县","贵南县"],n:"海南州"},{a:["玛沁县","甘德县","达日县","班玛县","久治县","玛多县"],n:"果洛州"},{a:["玉树县","称多县","囊谦县","杂多县","治多县","曲麻莱县"],n:"玉树州"},{a:["德令哈市","乌兰县","天峻县","都兰县","大柴旦行委","冷湖行委","茫崖行委","格尔木市"],n:"海西州"}]},{n:"宁夏",c:[{a:["灵武市","永宁县","贺兰县","兴庆区","金凤区","西夏区"],n:"银川市"},{a:["平罗县","惠农区","大武口区"],n:"石嘴山市"},{a:["青铜峡市","同心县","盐池县","红寺堡开发区","利通区"],n:"吴忠市"},{a:["西吉县","隆德县","泾源县","彭阳县","原州区"],n:"固原市"},{a:["中宁县","海原县","沙坡头区"],n:"中卫市"}]},{n:"新疆",c:[{a:["铁门关市"],n:"铁门关市"},{a:["五家渠市"],n:"五家渠市"},{a:["阿拉尔市"],n:"阿拉尔市"},{a:["图木舒克市"],n:"图木舒克市"},{a:["天山区","头屯河区","达坂城区","米东区","新市区","沙依巴克区","水磨沟区","乌鲁木齐县"],n:"乌鲁木齐市"},{a:["克拉玛依区","独山子区","乌尔禾区","白碱滩区"],n:"克拉玛依市"},{a:["石河子市"],n:"石河子市"},{a:["吐鲁番市","托克逊县","鄯善县"],n:"吐鲁番地区"},{a:["哈密市","巴里坤县","伊吾县"],n:"哈密地区"},{a:["和田县","和田市","墨玉县","洛浦县","策勒县","于田县","民丰县","皮山县"],n:"和田地区"},{a:["阿克苏市","温宿县","沙雅县","拜城县","阿瓦提县","库车县","柯坪县","新和县","乌什县"],n:"阿克苏地区"},{a:["喀什市","巴楚县","泽普县","伽师县","叶城县","岳普湖县","疏附县","疏勒县","英吉沙县","麦盖提县","莎车县","塔什库尔干县"],n:"喀什地区"},{a:["阿图什市","阿合奇县","乌恰县","阿克陶县"],n:"克孜勒苏州"},{a:["库尔勒市","尉犁县","和静县","博湖县","和硕县","轮台县","若羌县","且末县","焉耆县"],n:"巴音郭楞州"},{a:["昌吉市","阜康市","奇台县","玛纳斯县","吉木萨尔县","呼图壁县","木垒县"],n:"昌吉州"},{a:["阿拉山口市","博乐市","精河县","温泉县"],n:"博尔塔拉州"},{a:["伊宁县","伊宁市","特克斯县","尼勒克县","昭苏县","新源县","霍城县","察布查尔县","巩留县","奎屯市"],n:"伊犁州"},{a:["塔城市","乌苏市","额敏县","裕民县","沙湾县","托里县","和布克赛尔县"],n:"塔城地区"},{a:["北屯市","阿勒泰市","富蕴县","青河县","吉木乃县","布尔津县","福海县","哈巴河县"],n:"阿勒泰地区"}]},{n:"台湾",c:[{a:["台湾市区内"],n:"台湾"}]},{n:"钓鱼岛",c:[{a:[],n:"钓鱼岛"}]},{n:"港澳",c:[{a:["中西区","东区","九龙城区","观塘区","深水埗区","湾仔区","黄大仙区","油尖旺区","离岛区","葵青区","北区","西贡区","沙田区","屯门区","大埔区","荃湾区","元朗区","香港","九龙","新界"],n:"香港特别行政区"},{a:["澳门特别行政区","澳门半岛","凼仔","路凼城","路环"],n:"澳门特别行政区"}]}];i=s,a="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==a&&(t.exports=a))}()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var a=n(51),s=i(a);e.CountDown=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountUp=void 0;var a=n(52),s=i(a);e.CountUp=s.default},function(t,e,n){var i,a,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(s,r){i=r,a="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==a&&(t.exports=a))}(void 0,function(t,e,n){var i=function(t,e,n,i,a,r){for(var o=0,l=["webkit","moz","ms","o"],c=0;cu.endVal,u.frameVal=u.startVal,u.decimals=Math.max(0,i||0),u.dec=Math.pow(10,u.decimals),u.duration=1e3*Number(a)||2e3,u.formatNumber=function(t){t=t.toFixed(u.decimals),t+="";var e,n,i,a;if(e=t.split("."),n=e[0],i=e.length>1?u.options.decimal+e[1]:"",a=/(\d+)(\d{3})/,u.options.useGrouping)for(;a.test(n);)n=n.replace(a,"$1"+u.options.separator+"$2");return u.options.prefix+n+i+u.options.suffix},u.easeOutExpo=function(t,e,n,i){return n*(-Math.pow(2,-10*t/i)+1)*1024/1023+e},u.easingFn=u.options.easingFn?u.options.easingFn:u.easeOutExpo,u.formattingFn=u.options.formattingFn?u.options.formattingFn:u.formatNumber,u.printValue=function(t){var e=u.formattingFn(t);"INPUT"===u.d.tagName?this.d.value=e:"text"===u.d.tagName||"tspan"===u.d.tagName?this.d.textContent=e:this.d.innerHTML=e},u.count=function(t){u.startTime||(u.startTime=t),u.timestamp=t;var e=t-u.startTime;u.remaining=u.duration-e,u.options.useEasing?u.countDown?u.frameVal=u.startVal-u.easingFn(e,0,u.startVal-u.endVal,u.duration):u.frameVal=u.easingFn(e,u.startVal,u.endVal-u.startVal,u.duration):u.countDown?u.frameVal=u.startVal-(u.startVal-u.endVal)*(e/u.duration):u.frameVal=u.startVal+(u.endVal-u.startVal)*(e/u.duration),u.countDown?u.frameVal=u.frameValu.endVal?u.endVal:u.frameVal,u.frameVal=Math.round(u.frameVal*u.dec)/u.dec,u.printValue(u.frameVal),eu.endVal,u.rAF=requestAnimationFrame(u.count)},u.printValue(u.startVal)};return i})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var a=n(217),s=i(a),r=n(218),o=i(r),l=n(221),c=i(l),u=n(220),d=i(u),A=n(219),f=i(A);e.Confirm=o.default,e.Alert=s.default,e.Toast=c.default,e.Notify=d.default,e.Loading=f.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),s=i(a),r=n(3),o=s.default.extend(n(53)),l=new o({el:document.createElement("div")});o.prototype.closeAlert=function(){r.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),r.pageScroll.lock()};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),s=i(a),r=n(3),o=s.default.extend(n(54)),l=new o({el:document.createElement("div")});o.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){r.pageScroll.unlock();var n=l.$el;n.parentNode&&n.parentNode.removeChild(n)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),r.pageScroll.lock()};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),s=i(a),r=n(3),o=s.default.extend(n(55)),l=new o({el:document.createElement("div")});o.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),r.pageScroll.lock()},o.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),r.pageScroll.unlock()},e.default={open:l.open,close:l.close}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),s=i(a),r=s.default.extend(n(56)),o=new r({el:document.createElement("div")}),l=null,c=!1;r.prototype.closeNotify=function(){o.classes="notify-out",setTimeout(function(){var t=o.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.classes="",o.mes=t.mes,o.timeout=~~t.timeout||5e3,o.callback=t.callback,c||(c=!0,document.body.appendChild(o.$el),o.$el.addEventListener("click",function(){clearTimeout(l),o.closeNotify()}),l=setTimeout(function(){clearTimeout(l),o.closeNotify()},o.timeout))};e.default=u},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),s=i(a),r=n(3),o=s.default.extend(n(57)),l=new o({el:document.createElement("div")});o.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),r.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),r.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.FlexBoxItem=e.FlexBox=void 0;var a=n(59),s=i(a),r=n(58),o=i(r);e.FlexBox=s.default,e.FlexBoxItem=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var a=n(61),s=i(a),r=n(60),o=i(r);e.GridsItem=s.default,e.GridsGroup=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Icons=void 0;var a=n(62),s=i(a);e.Icons=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var a=n(63),s=i(a);e.InfiniteScroll=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Input=void 0;var a=n(64),s=i(a);e.Input=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.KeyBoard=void 0;var a=n(65),s=i(a);e.KeyBoard=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Layout=void 0;var a=n(66),s=i(a);e.Layout=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.LazyImg=void 0;var a=n(67),s=i(a);e.LazyImg=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var a=n(70),s=i(a),r=n(68),o=i(r),l=n(69),c=i(l);e.ListTheme=s.default,e.ListItem=o.default,e.ListOther=c.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.NavBarNextIcon=e.NavBarBackIcon=e.NavBar=void 0;var a=n(73),s=i(a),r=n(71),o=i(r),l=n(72),c=i(l);e.NavBar=s.default,e.NavBarBackIcon=o.default,e.NavBarNextIcon=c.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var a=n(74),s=i(a);e.Popup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var a=n(75),s=i(a);e.ProgressBar=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var a=n(76),s=i(a);e.PullRefresh=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RadioGroup=e.Radio=void 0;var a=n(78),s=i(a),r=n(77),o=i(r);e.Radio=s.default,e.RadioGroup=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Rate=void 0;var a=n(79),s=i(a);e.Rate=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var a=n(81),s=i(a),r=n(80),o=i(r);e.RollNotice=s.default,e.RollNoticeItem=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var a=n(83),s=i(a),r=n(82),o=i(r);e.ScrollTab=s.default,e.ScrollTabPanel=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SendCode=void 0;var a=n(84),s=i(a);e.SendCode=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var a=n(86),s=i(a),r=n(85),o=i(r);e.Slider=s.default,e.SliderItem=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Spinner=void 0;var a=n(87),s=i(a);e.Spinner=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Switch=void 0;var a=n(88),s=i(a);e.Switch=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var a=n(90),s=i(a),r=n(89),o=i(r);e.Tab=s.default,e.TabPanel=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabBarItem=e.TabBar=void 0;var a=n(92),s=i(a),r=n(91),o=i(r);e.TabBar=s.default,e.TabBarItem=o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TextArea=void 0;var a=n(93),s=i(a);e.TextArea=s.default}])}); \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.ydui=e(require("vue")):t.ydui=e(t.Vue)}(this,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var a=n[i]={exports:{},id:i,loaded:!1};return t[i].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(9);var i=n(227),a=n(239),r=n(216),o=n(242),s=n(217),l=n(253),c=n(234),u=n(235),d=n(241),A=n(236),f=n(245),h=n(215),p=n(255),m=n(254),v=n(249),g=n(213),_=n(250),w=n(238),y=n(251),b=n(252),C=n(219),B=n(244),x=n(240),E=n(221),I=n(247),D=n(256),M=n(243),k=n(222),T=n(248),F=n(237),Q=n(233),L=n(246),S=n(218),R=n(214),H=n(212),V=n(224);window.document.addEventListener("touchstart",function(t){},!1);var Y=function(t){t.component(a.Layout.name,a.Layout),t.component(r.Button.name,r.Button),t.component(r.ButtonGroup.name,r.ButtonGroup),t.component(o.NavBar.name,o.NavBar),t.component(o.NavBarBackIcon.name,o.NavBarBackIcon),t.component(o.NavBarNextIcon.name,o.NavBarNextIcon),t.component(s.CellGroup.name,s.CellGroup),t.component(s.CellItem.name,s.CellItem),t.component(l.Switch.name,l.Switch),t.component(c.GridsItem.name,c.GridsItem),t.component(c.GridsGroup.name,c.GridsGroup),t.component(u.Icons.name,u.Icons),t.component(d.ListTheme.name,d.ListTheme),t.component(d.ListItem.name,d.ListItem),t.component(d.ListOther.name,d.ListOther),t.component(A.InfiniteScroll.name,A.InfiniteScroll),t.component(f.PullRefresh.name,f.PullRefresh),t.component(h.Badge.name,h.Badge),t.component(p.TabBar.name,p.TabBar),t.component(p.TabBarItem.name,p.TabBarItem),t.component(m.Tab.name,m.Tab),t.component(m.TabPanel.name,m.TabPanel),t.component(v.ScrollTab.name,v.ScrollTab),t.component(v.ScrollTabPanel.name,v.ScrollTabPanel),t.component(g.ActionSheet.name,g.ActionSheet),t.component(_.SendCode.name,_.SendCode),t.component(w.KeyBoard.name,w.KeyBoard),t.component(y.Slider.name,y.Slider),t.component(y.SliderItem.name,y.SliderItem),t.component(b.Spinner.name,b.Spinner),t.component(C.CitySelect.name,C.CitySelect),t.component(B.ProgressBar.name,B.ProgressBar),t.component(x.LazyImg.name,x.LazyImg),t.component(E.CountDown.name,E.CountDown),t.component(I.Rate.name,I.Rate),t.component(D.TextArea.name,D.TextArea),t.component(M.Popup.name,M.Popup),t.component(k.CountUp.name,k.CountUp),t.component(T.RollNotice.name,T.RollNotice),t.component(T.RollNoticeItem.name,T.RollNoticeItem),t.component(F.Input.name,F.Input),t.component(Q.FlexBox.name,Q.FlexBox),t.component(Q.FlexBoxItem.name,Q.FlexBoxItem),t.component(L.Radio.name,L.Radio),t.component(L.RadioGroup.name,L.RadioGroup),t.component(S.CheckBox.name,S.CheckBox),t.component(S.CheckBoxGroup.name,S.CheckBoxGroup),t.component(R.BackTop.name,R.BackTop),t.component(H.Accordion.name,H.Accordion),t.component(H.AccordionItem.name,H.AccordionItem),t.component(V.DateTime.name,V.DateTime),t.prototype.$dialog={confirm:i.Confirm,alert:i.Alert,toast:i.Toast,notify:i.Notify,loading:i.Loading}};"undefined"!=typeof window&&window.Vue&&Y(window.Vue),e.default={install:Y}},function(t,e){t.exports=function(t,e,n,i){var a,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(a=t,r=t.default);var s="function"==typeof r?r.options:r;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),i){var l=s.computed||(s.computed={});Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}})}return{esModule:a,exports:r,options:s}}},,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(){e||(e=!0,document.addEventListener("touchmove",t))},unlock:function(){e=!1,document.removeEventListener("touchmove",t)}}}(),i=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),a=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,n=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,i=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return e.test(t)||n.test(t)||i.test(t)},r=function(t){for(var e=t;e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType;){var n=document.defaultView.getComputedStyle(e).overflowY;if("scroll"===n||"auto"===n)return e;e=e.parentNode}return window},o=function(t,e){var n=t==window?document.body.offsetHeight:t.offsetHeight,i=t===window?0:t.getBoundingClientRect().top,a=e.getBoundingClientRect().top-i,r=a+e.offsetHeight;return a>=0&&a0&&r<=n},s=function(t,e){return e=e||"",0!=e.replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")},l=function(t,e){s(t,e)||(t.className=""==t.className?e:t.className+" "+e)},c=function(t,e){if(s(t,e)){for(var n=" "+t.className.replace(/[\t\r\n]/g,"")+" ";n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},u=function(t){function e(n,i,a){if(n!==i){var r=n+a>i?i:n+a;n>i&&(r=n-a1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var r=Math.abs(n-i),o=Math.ceil(r/a*50);e(n,i,o)};e.pageScroll=n,e.isIOS=i,e.isColor=a,e.getScrollview=r,e.checkInview=o,e.addClass=l,e.removeClass=c,e.scrollTop=u},,function(e,n){e.exports=t},function(t,e,n){n(18);var i=n(1)(n(161),n(110),null,null);t.exports=i.exports},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={isDateTimeString:function(t){return/^\d{4}((\.|-|\/)(0[1-9]|1[0-2]))((\.|-|\/)(0[1-9]|[12][0-9]|3[0-1]))( ([01][0-9]|2[0-3]):([012345][0-9]))?$/.test(t)},isTimeString:function(t){return/^([01][0-9]|2[0-3]):([012345][0-9])$/.test(t)},mentStr:function(t){return(100+~~t+"").substr(1,2)},getYearItems:function(t){var e=[],n=new Date,i=n.getFullYear()-10,a=n.getFullYear()+10;for(0!=t.startYear&&(i=~~t.startYear),0!=t.endYear&&(a=~~t.endYear),a-1?r=31:1==a&&(r=i%100==0?i%400==0?29:28:i%4==0?29:28),t.endDate){var o=new Date(t.endDate.replace(/-/g,"/"));o.getMonth()+1==t.currentMonth&&o.getFullYear()==t.currentYear&&o.getDate()=0&&_.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",r(t,e),e}function c(t,e){var n,i,a;if(e.singleton){var r=g++;n=v||(v=s(e)),i=u.bind(null,n,r,!1),a=u.bind(null,n,r,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=A.bind(null,n),a=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=d.bind(null,n),a=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else a()}}function u(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=w(e,a);else{var r=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function d(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function A(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([n],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(a),r&&URL.revokeObjectURL(r)}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,_=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=a(t);return i(n,e),function(t){for(var r=[],o=0;oinput[type=button]::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:none}input[type=checkbox],input[type=radio]{vertical-align:middle}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;margin:0}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset}textarea{outline:none;border-radius:0;-webkit-appearance:none;-moz-appearance:none;overflow:auto;resize:none;font:100% tahoma,\\5b8b\\4f53,arial}@font-face{font-family:YDUI-INLAY;src:url(data:application/x-font-ttf;base64,AAEAAAAQAQAABAAARkZUTXaxPUoAAAEMAAAAHEdERUYAQgAGAAABKAAAACBPUy8yV1RamQAAAUgAAABWY21hcICtoY0AAAGgAAABlmN2dCANZf70AAAWhAAAACRmcGdtMPeelQAAFqgAAAmWZ2FzcAAAABAAABZ8AAAACGdseWYdLdrBAAADOAAADvpoZWFkDZLedwAAEjQAAAA2aGhlYQe2A4YAABJsAAAAJGhtdHgQSwNBAAASkAAAADRsb2NhI7AnKwAAEsQAAAAsbWF4cAE4CisAABLwAAAAIG5hbWUMLcMUAAATEAAAAitwb3N0Hm/aCgAAFTwAAAE+cHJlcKW5vmYAACBAAAAAlQAAAAEAAAAAzD2izwAAAADVOc09AAAAANU5zT0AAQAAAA4AAAAYAAAAAAACAAEAAwAUAAEABAAAAAIAAAABA/4B9AAFAAgCmQLMAAAAjwKZAswAAAHrADMBCQAAAgAGAwAAAAAAAAAAAAEQAAAAAAAAAAAAAABQZkVkAEAAeOeIA4D/gABcA4AAgAAAAAEAAAAAAAAAAAADAAAAAwAAABwAAQAAAAAAkAADAAEAAAAcAAQAdAAAABQAEAADAAQAAAB45gLmBOYN5hTmMed+54j//wAAAAAAeOYA5gTmB+YU5jDnfeeI//8AAP+LAAAaAQAAGfIZ2BiVGIwAAQAAAAAAEAAAABIAAAAAAAAAAAAAAAcACgAQAAwADQAOAA8AEQAEAAsAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAs/+EDvAMYABYAMAA6AFIAXgF3S7ATUFhASgIBAA0ODQAOZgADDgEOA14AAQgIAVwQAQkICgYJXhEBDAYEBgxeAAsEC2kPAQgABgwIBlgACgcFAgQLCgRZEgEODg1RAA0NCg5CG0uwF1BYQEsCAQANDg0ADmYAAw4BDgNeAAEICAFcEAEJCAoICQpmEQEMBgQGDF4ACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkIbS7AYUFhATAIBAA0ODQAOZgADDgEOA14AAQgIAVwQAQkICggJCmYRAQwGBAYMBGYACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkIbQE4CAQANDg0ADmYAAw4BDgMBZgABCA4BCGQQAQkICggJCmYRAQwGBAYMBGYACwQLaQ8BCAAGDAgGWAAKBwUCBAsKBFkSAQ4ODVEADQ0KDkJZWVlAKFNTOzsyMRcXU15TXltYO1I7UktDNzUxOjI6FzAXMFERMRgRKBVAExYrAQYrASIOAh0BITU0JjU0LgIrARUhBRUUFhQOAiMGJisBJyEHKwEiJyIuAj0BFyIGFBYzMjY0JhcGBw4DHgE7BjI2Jy4BJyYnATU0PgI7ATIWHQEBGRsaUxIlHBIDkAEKGCcehf5KAqIBFR8jDg4fDiAt/kksHSIUGRkgEwh3DBISDA0SEowIBgULBAIEDw4lQ1FQQCQXFgkFCQUFBv6kBQ8aFbwfKQIfAQwZJxpMKRAcBA0gGxJhiDQXOjolFwkBAYCAARMbIA6nPxEaEREaEXwaFhMkDhANCBgaDSMRExQBd+QLGBMMHSbjAAADAED/wAPAA0AAEQAuAC8AOUA2Ly4nIBgFAwUBQAYBBQADAAUDZgQBAwEAAwFkAgEABQEATQIBAAABUQABAAFFFBgkFBcXEAcVKwEiDgIUHgIyPgI0LgIjExYUBiIvAQcGIyImND8BJyY0NjIfATc2MhYUDwEXAgBbpnhHR3imtqZ4R0d4plu3CRMaComKCg0NEwqKigkTGgqJigoaEwqKigNAR3imtqZ4R0d4prameEf9tgkbEgmKiQkTGwmIigkbEgmKiQkTGwmIigADAED/wQO+A0AAJgA1ADYANUAyJAEAAwQFAUA2AQQBPwIBAgAABQQABVkGAQQDAwRNBgEEBANRAAMEA0UVFhgsEhEbBxUrEzU2MTY3Njc2NzY3MjczFjEWFxYXFhcWBwYHBgcGJyYnJicmJzQnATI+ATU0LgEiDgEUHgEzMUABCAEVRElrQUUBFRkHPjp8U1gMBg0PJkBtcYFDOrpMGQUCAcBrtWhptNW1aWm1agFxHAZEA2lVWiwbBQIBAxMpZGuKQD9KQWw7PQgEF0e4PEQBFf6HabRra7RpabTWtGkAAAMAQP/AA8ADQAAPABcAIwArQCgAAAAFBAAFWQAEAAMCBANZAAIBAQJNAAICAVEAAQIBRRUVExcXEAYUKwAiDgIUHgIyPgI0LgECIiY0NjIWFDUUBiImPQE0NjIWFQJbtqZ4R0d4prameEdHePIeFhYeFhYeFhYeFgNAR3imtqZ4R0d4prameP2nFh8WFh+SDxYWD/MPFhYPAAAAAAIAQAAZA8AC5wAGAAcACLUHBwUBAiYrCQI3FwEXMQO//br+x3PGAe1ZAoz9jgGTYs8BploAAAAAAwA2/8EDygM/ACYAOgA7ACVAIjs6ODQyMC4sKigmIhoSDgEAAUAAAAEAaAIBAQFfJC4XAxErAS4BLwIuASIGDwIOAQcGHwEHBhcWMzI/ARcWMzI3Ni8BNzYnMQ8BHwEvAQ8BPwEvASUTHwMHOQEDygYdEvBpCCEmIQhp8BIdBg0dsCkHIhEWEQ/R0Q8RFRIiBymwHAzjHgcp0yYm0ykHHq4BH3ZpEyrvrgHyERcDJNgSFBQS2CQDFxEmHLDzKBgMCHFxCAwYKPOwHCbDHijzcRQUcvQoHq4qAQDaJwYjrgACADb/wQPKAz8AJgAnABxAGScmIhoSBQEAAUAAAAEAaAIBAQFfJC4XAxErAS4BLwIuASIGDwIOAQcGHwEHBhcWMzI/ARcWMzI3Ni8BNzYnMQcDygYdEvBpCCEmIQhp8BIdBg0dsCkHIhEWEQ/R0Q8RFRIiBymwHAzjAfIRFwMk2BIUFBLYJAMXESYcsPMoGAwIcXEIDBgo87AcJsMAAAAAAwBA/8ADwANAABEAJwAoADZAMygBAwQhGQIBAwJAAAQAAwAEA2YAAwEAAwFkAgEABAEATQIBAAABUQABAAFFFB0XFxAFEysBIg4CFB4CMj4CNC4CIwkBMQ4BJyYnMScmNDYyHwEBNjIWFAcxAgBbpnhHR3imtqZ4R0d4plsBAf7eChsMBASnDBgiC4sBBQsiGAwDQEd4prameEdHeKa2pnhH/rT+3woEBwMEpgwiFwuKAQQMFyIMAAQAsv/FA0wDOQAxADIASgBLAG5AHERDOjkrIx0XFg4KAAMNAQIBAAJASwECPjIBAT1LsBdQWEAZBAECAwJoAAADAQMAAWYAAQEDUQADAwoBQhtAHgQBAgMCaAAAAwEDAAFmAAMAAQNNAAMDAU8AAQMBQ1lAC0pJPz40MzEwFwUPKwUDPAE+AxYXHgEfARM+BB4BFxM+AxYXPgMWFz4EHgEXERQOAQchMRMiBhUUFhc1JjU0NjIWFRQHFT4BNTQmIzEBj9wBBQwSIBQZJwcGAgIEDg8VFRcLAQIKHh8sFQMIHB4sFwEEDg4WFBkMBBkU/nQCXII9MjhhiWE2MzyCWzoBEgIHFBARCAIJCygODgGhAgYPCgcDExL++AMLFAUTGgQLFgYUHAIIEgwIBhsY/rQDCh0NA3OCXDxmHUUySUVhYUVIMkYeZTxcggAAAgD9/8ADAwNAAAYABwAItQcHBQMCJislCQE3CQEnMQL2/qwBVA39+gIGDVkBJwEnmf5A/kGYAAACAP3/wAMDA0AABgAHAAi1BwcDAQImKyUHCQEXCQExAQoNAgb9+g0BVP6sWZgBvwHAmf7Z/tkAAAIAQAByA8ACjgAgAFgASEBFCwEGAFhVVFBNRkQ9PDQqKCEUEA8DBgJAAQEACAcCBgMABlkFBAIDAgIDTQUEAgMDAlIAAgMCRklIQkFAPyYRF08hFQkUKyURLgMjJyEiBg8CDgEHFRQWHwIeATsBIT4EJQ4BIwciJi8CBwYjIicmNTQ/AScuAT0BNDY/AT4BMzcyFh8CNzYzFhcWFRYPARceARUXFAYHA8ABFRwcCQr92QYJAwLdAwMBBAIC2gQJAwMCKhwoEgoB/usECgQDBwwCAkhIBxAMCQoKR0gFBAUCAgQLAwMHDAIDSEgJDwsKCAMMR0cEBQEFA9QBVhspEgwBAwIC9AMJAwIGCgID8gQDARYZIQs7AwQBBQICSEgJCAoNEAhHSAULBAMGCwICBAUBBQMCSEgKAQkHDgwLSEcEDAQEBgsDAAACACj/gAPYA4AAGgAgACFAHiAfHh0cGxoHAQABQAYAAgA+AAABAGgAAQFfGRsCECsBBi4CLwEOBCMUHgczJBM2JwEnNxcTFwPWOo53Zh0dJn10eTcIIDVGTE5EOB0BAUFvOAj9+b4mhfg5AswGITc5FBUvSCMWBG/HlYNbSy0fDKkBUqqd/gCYOXIBHSYAAAABAED/wAPAA0AACwAlQCIAAQAEAUsCAQAFAQMEAANXAAEBBE8ABAEEQxEREREREAYUKwEhESMRIRUhETMRIQPA/n9+/n8BgX4BgQG/AYH+f37+fwGBAAAAAQBAAUEDwAG/AAcAI0AgBAMCAAEBAEsEAwIAAAFPAgEBAAFDAAAABwAHERERBRErATEhFSExITUCP/4BAf8BgQG/fn4AAAAAAgBAAEIDwAK+ADwARABJQEY8Ozo5ODc1MjAuLConDg0MAQASBwgVFAIBBwJAAAAACAcACFkABwEBB00ABwcBUQYFBAMCBQEHAUVCQT49ESIRIREdJwkVKwE5AS4BJzEmIyIGBzkDFhcxFhcVFhcwMzAyMzEyMDEyMzE+ATcxNDY1NjcwNzY3MDcwNjU2NzkEBCImNDYyFhQDwC/AeisslvM3MWUfIWt6AgIBAQgJh986AQIBAQEBAgECAv57dlNTdlMBgXilFwivjX5UGRMBPgEFnH0BAQEDAgMEAQQDAQQEj1N2U1N2AAYAQABCA8ACvgAnADcAPwBIAFgAWQB1QHIMAQIAVC0DAwMCLgEFA1ZTSEZFQD49NSgnJhQTEgAQBAVMAQcESzYgFwQGBwZAWQEGAT8AAAACAwACWQADAAUEAwVZAAQABwYEB1kIAQYBAQZNCAEGBgFRAAEGAUVKSU9NSVhKWERCPDoxLywqIyEtCQ8rATEmJzc+AS8BLgEPASYjIgYHOQMWFwcOAR8BHgE/ARYzMjY3OQEhPgEzMhcHJiMiBhUUFwcmJRQGIyInNxYHNDYzMhcHJjUXIic3FjMyNjU0JzcWFw4BIwPANXAoCQEIBAgYCTRreZbzNzJqMAkBCAQIGAk7boCW8zf8wzPOfF5UWCkxQ14TZ1kBrzkoHBiKC8I5KBUThAVhZFlYLDlDXhplYDEzznwBgYdVJAgYCQQJAgkvPK+NglQsCBgJBQgCCDZCsI5yiylRG15CKSNeRGYoORB9FRcoOQl3DxD8L1AjXkIwKFtDbnOLAAACAGL/wAOeA0AAHQApAK+2GBECAgABQEuwE1BYQCoABgUGaAEBAAUCBQBeAAQCAwIEXgADA2cHAQUAAgVNBwEFBQJRAAIFAkUbS7AmUFhAKwAGBQZoAQEABQIFAAJmAAQCAwIEXgADA2cHAQUAAgVNBwEFBQJRAAIFAkUbQCwABgUGaAEBAAUCBQACZgAEAgMCBANmAAMDZwcBBQACBU0HAQUFAlEAAgUCRVlZQA8gHiYjHikgKRUVFyISCBMrCQEmIzAmIyIHBgcBBhQWMj8BERQWMjY1EQEWMjY0EyEiJjQ2MyEyFhQGA1H+ywoPAgEHBwcF/ukKFBwL3hQcFAD/ChwUIP0KDhQUDgL2DhQUAXQBNwoBAwMF/uoLHBQK3f2iDhUVDgJg/wAKFB0BkRQcFRUcFAAAAAABAAAAAQAA66MF018PPPUACwQAAAAAANU5zT0AAAAA1TnNPQAo/4AD2AOAAAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAPYAAEAAAAAAAAAAAAAAAAAAAAFBAAAAAAAAAABVQAAA+kALAQAAEAAQABAAEAANgA2AEAAsgD9AP0AQAAoAEAAQABAAEAAYgAAAAAAAAAAATwBogISAmACfALsAzwDmAQ+BFoEdgUaBWIFjgWyBiYG4gd9AAEAAAAVAF8ABgAAAAAAAgAmADQAbAAAAIoJlgAAAAAAAAAMAJYAAQAAAAAAAQAIAAAAAQAAAAAAAgAGAAgAAQAAAAAAAwAkAA4AAQAAAAAABAAIADIAAQAAAAAABQBFADoAAQAAAAAABgAIAH8AAwABBAkAAQAQAIcAAwABBAkAAgAMAJcAAwABBAkAAwBIAKMAAwABBAkABAAQAOsAAwABBAkABQCKAPsAAwABBAkABgAQAYVpY29uZm9udE1lZGl1bUZvbnRGb3JnZSAyLjAgOiBpY29uZm9udCA6IDExLTUtMjAxN2ljb25mb250VmVyc2lvbiAxLjA7IHR0ZmF1dG9oaW50ICh2MC45NCkgLWwgOCAtciA1MCAtRyAyMDAgLXggMTQgLXcgIkciIC1mIC1zaWNvbmZvbnQAaQBjAG8AbgBmAG8AbgB0AE0AZQBkAGkAdQBtAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAAaQBjAG8AbgBmAG8AbgB0ACAAOgAgADEAMQAtADUALQAyADAAMQA3AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAOwAgAHQAdABmAGEAdQB0AG8AaABpAG4AdAAgACgAdgAwAC4AOQA0ACkAIAAtAGwAIAA4ACAALQByACAANQAwACAALQBHACAAMgAwADAAIAAtAHgAIAAxADQAIAAtAHcAIAAiAEcAIgAgAC0AZgAgAC0AcwBpAGMAbwBuAGYAbwBuAHQAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAAAAEAAgBbAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEg95ZHVpY3Vvd3VzaGl4aW4QeWR1aWRhbnh1YW5rdWFuZxN5ZHVpZ2FudGFuaGFvc2hpeGluC3lkdWlnb3V4dWFuE3lkdWl4aW5neGluZ2tvbmd4aW4SeWR1aXhpbmd4aW5nc2hpeGluEnlkdWl6aGVuZ3F1ZXNoaXhpbgdzaG91emhpCnlkdWlmYW5odWkLeWR1aXFpYW5qaW4JeWR1aXR1aWdlB3lkdWlkdW4HeWR1aWppYQh5ZHVpamlhbhBZRFVJLXlpbmNhbmdtaW1hEVlEVUkteWluY2FuZ21pbWExEVlEVUktZmFuaHVpZGluZ2J1AAAAAQAB//8ADwAAAAAAAAAAAAAAAAAAAAAAMgAyAxj/4QOA/4ADGP/hA4D/gLAALLAgYGYtsAEsIGQgsMBQsAQmWrAERVtYISMhG4pYILBQUFghsEBZGyCwOFBYIbA4WVkgsApFYWSwKFBYIbAKRSCwMFBYIbAwWRsgsMBQWCBmIIqKYSCwClBYYBsgsCBQWCGwCmAbILA2UFghsDZgG2BZWVkbsAArWVkjsABQWGVZWS2wAiwgRSCwBCVhZCCwBUNQWLAFI0KwBiNCGyEhWbABYC2wAywjISMhIGSxBWJCILAGI0KyCgACKiEgsAZDIIogirAAK7EwBSWKUVhgUBthUllYI1khILBAU1iwACsbIbBAWSOwAFBYZVktsAQssAgjQrAHI0KwACNCsABDsAdDUViwCEMrsgABAENgQrAWZRxZLbAFLLAAQyBFILACRWOwAUViYEQtsAYssABDIEUgsAArI7EEBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhREQtsAcssQUFRbABYUQtsAgssAFgICCwCkNKsABQWCCwCiNCWbALQ0qwAFJYILALI0JZLbAJLCC4BABiILgEAGOKI2GwDENgIIpgILAMI0IjLbAKLEtUWLEHAURZJLANZSN4LbALLEtRWEtTWLEHAURZGyFZJLATZSN4LbAMLLEADUNVWLENDUOwAWFCsAkrWbAAQ7ACJUKyAAEAQ2BCsQoCJUKxCwIlQrABFiMgsAMlUFiwAEOwBCVCioogiiNhsAgqISOwAWEgiiNhsAgqIRuwAEOwAiVCsAIlYbAIKiFZsApDR7ALQ0dgsIBiILACRWOwAUViYLEAABMjRLABQ7AAPrIBAQFDYEItsA0ssQAFRVRYALANI0IgYLABYbUODgEADABCQopgsQwEK7BrKxsiWS2wDiyxAA0rLbAPLLEBDSstsBAssQINKy2wESyxAw0rLbASLLEEDSstsBMssQUNKy2wFCyxBg0rLbAVLLEHDSstsBYssQgNKy2wFyyxCQ0rLbAYLLAHK7EABUVUWACwDSNCIGCwAWG1Dg4BAAwAQkKKYLEMBCuwaysbIlktsBkssQAYKy2wGiyxARgrLbAbLLECGCstsBwssQMYKy2wHSyxBBgrLbAeLLEFGCstsB8ssQYYKy2wICyxBxgrLbAhLLEIGCstsCIssQkYKy2wIywgYLAOYCBDI7ABYEOwAiWwAiVRWCMgPLABYCOwEmUcGyEhWS2wJCywIyuwIyotsCUsICBHICCwAkVjsAFFYmAjYTgjIIpVWCBHICCwAkVjsAFFYmAjYTgbIVktsCYssQAFRVRYALABFrAlKrABFTAbIlktsCcssAcrsQAFRVRYALABFrAlKrABFTAbIlktsCgsIDWwAWAtsCksALADRWOwAUVisAArsAJFY7ABRWKwACuwABa0AAAAAABEPiM4sSgBFSotsCosIDwgRyCwAkVjsAFFYmCwAENhOC2wKywuFzwtsCwsIDwgRyCwAkVjsAFFYmCwAENhsAFDYzgtsC0ssQIAFiUgLiBHsAAjQrACJUmKikcjRyNhIFhiGyFZsAEjQrIsAQEVFCotsC4ssAAWsAQlsAQlRyNHI2GwBkUrZYouIyAgPIo4LbAvLLAAFrAEJbAEJSAuRyNHI2EgsAQjQrAGRSsgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjILAJQyCKI0cjRyNhI0ZgsARDsIBiYCCwACsgiophILACQ2BkI7ADQ2FkUFiwAkNhG7ADQ2BZsAMlsIBiYSMgILAEJiNGYTgbI7AJQ0awAiWwCUNHI0cjYWAgsARDsIBiYCMgsAArI7AEQ2CwACuwBSVhsAUlsIBisAQmYSCwBCVgZCOwAyVgZFBYIRsjIVkjICCwBCYjRmE4WS2wMCywABYgICCwBSYgLkcjRyNhIzw4LbAxLLAAFiCwCSNCICAgRiNHsAArI2E4LbAyLLAAFrADJbACJUcjRyNhsABUWC4gPCMhG7ACJbACJUcjRyNhILAFJbAEJUcjRyNhsAYlsAUlSbACJWGwAUVjIyBYYhshWWOwAUViYCMuIyAgPIo4IyFZLbAzLLAAFiCwCUMgLkcjRyNhIGCwIGBmsIBiIyAgPIo4LbA0LCMgLkawAiVGUlggPFkusSQBFCstsDUsIyAuRrACJUZQWCA8WS6xJAEUKy2wNiwjIC5GsAIlRlJYIDxZIyAuRrACJUZQWCA8WS6xJAEUKy2wNyywLisjIC5GsAIlRlJYIDxZLrEkARQrLbA4LLAvK4ogIDywBCNCijgjIC5GsAIlRlJYIDxZLrEkARQrsARDLrAkKy2wOSywABawBCWwBCYgLkcjRyNhsAZFKyMgPCAuIzixJAEUKy2wOiyxCQQlQrAAFrAEJbAEJSAuRyNHI2EgsAQjQrAGRSsgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjIEewBEOwgGJgILAAKyCKimEgsAJDYGQjsANDYWRQWLACQ2EbsANDYFmwAyWwgGJhsAIlRmE4IyA8IzgbISAgRiNHsAArI2E4IVmxJAEUKy2wOyywLisusSQBFCstsDwssC8rISMgIDywBCNCIzixJAEUK7AEQy6wJCstsD0ssAAVIEewACNCsgABARUUEy6wKiotsD4ssAAVIEewACNCsgABARUUEy6wKiotsD8ssQABFBOwKyotsEAssC0qLbBBLLAAFkUjIC4gRoojYTixJAEUKy2wQiywCSNCsEErLbBDLLIAADorLbBELLIAATorLbBFLLIBADorLbBGLLIBATorLbBHLLIAADsrLbBILLIAATsrLbBJLLIBADsrLbBKLLIBATsrLbBLLLIAADcrLbBMLLIAATcrLbBNLLIBADcrLbBOLLIBATcrLbBPLLIAADkrLbBQLLIAATkrLbBRLLIBADkrLbBSLLIBATkrLbBTLLIAADwrLbBULLIAATwrLbBVLLIBADwrLbBWLLIBATwrLbBXLLIAADgrLbBYLLIAATgrLbBZLLIBADgrLbBaLLIBATgrLbBbLLAwKy6xJAEUKy2wXCywMCuwNCstsF0ssDArsDUrLbBeLLAAFrAwK7A2Ky2wXyywMSsusSQBFCstsGAssDErsDQrLbBhLLAxK7A1Ky2wYiywMSuwNistsGMssDIrLrEkARQrLbBkLLAyK7A0Ky2wZSywMiuwNSstsGYssDIrsDYrLbBnLLAzKy6xJAEUKy2waCywMyuwNCstsGkssDMrsDUrLbBqLLAzK7A2Ky2waywrsAhlsAMkUHiwARUwLQAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRCCwAyNwsA5FICBLuAAOUUuwBlNaWLA0G7AoWWBmIIpVWLACJWGwAUVjI2KwAiNEswoJBQQrswoLBQQrsw4PBQQrWbIEKAlFUkSzCg0GBCuxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAAA=) format("truetype")}.g-fix-ios-overflow-scrolling-bug{-webkit-overflow-scrolling:auto!important}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e0)&&t.isempty&&t.showWarn,expression:"(required || (!!min && min > 0)) && isempty && showWarn"}],staticClass:"input-warn"}):t._e(),t._v(" "),t.showSuccessIcon?n("span",{directives:[{name:"show",rawName:"v-show",value:(!!t.regex||!!t.min||!!t.max||t.required)&&!t.iserror&&""!=t.currentValue,expression:"(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"}],staticClass:"input-success"}):t._e(),t._v(" "),"password"==t.type?n("a",{staticClass:"input-password",class:t.showPwd?"input-password-open":"",attrs:{href:"javascript:;",tabindex:"-1"},on:{click:function(e){e.stopPropagation(),t.showPwd=!t.showPwd}}}):t._e()],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("i",{class:t.classes,style:t.styles})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"m-navbar navbar-bottom-line-color",class:t.classes,style:{backgroundColor:t.bgcolor,height:t.height}},[n("div",{staticClass:"navbar-item"},[t._t("left")],2),t._v(" "),n("div",{staticClass:"navbar-center-box",style:{height:t.height}},[n("div",{staticClass:"navbar-center"},[t._t("center",[n("span",{staticClass:"center-title",style:{color:t.color,fontSize:t.fontsize}},[t._v(t._s(t.title))])])],2)]),t._v(" "),n("div",{staticClass:"navbar-item"},[t._t("right")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"m-checkbox"},[t.group?[n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],attrs:{type:"checkbox",disabled:t.disabled},domProps:{value:t.val,checked:Array.isArray(t.model)?t._i(t.model,t.val)>-1:t.model},on:{change:t.changeHandler,__c:function(e){var n=t.model,i=e.target,a=!!i.checked;if(Array.isArray(n)){var r=t.val,o=t._i(n,r);a?o<0&&(t.model=n.concat(r)):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=a}}})]:[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{__c:function(e){var n=t.checked,i=e.target,a=!!i.checked;if(Array.isArray(n)){var r=null,o=t._i(n,r);a?o<0&&(t.checked=n.concat(r)):o>-1&&(t.checked=n.slice(0,o).concat(n.slice(o+1)))}else t.checked=a}}})],t._v(" "),n("span",{staticClass:"checkbox-icon",style:t.iconStyles()},[n("i",{style:t.checkIconStyles()})]),t._v(" "),t.$slots.default?[n("span",{staticClass:"checkbox-text"},[t._t("default")],2)]:[n("span",{staticClass:"checkbox-text"},[t._v(t._s(t.val))])]],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"dragBox"},[t._t("default"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.touches.isDraging,expression:"touches.isDraging"}],ref:"dragTip",staticClass:"pullrefresh-dragtip",class:t.dragTip.animationTiming,style:{transform:"translate3d(0, "+t.dragTip.translate+"px, 0) scale("+t.dragTip.scale+")"}},[n("span",{class:t.dragTip.loadingIcon,style:{transform:"rotate("+t.dragTip.iconRotate+"deg)",opacity:t.dragTip.iconOpacity}})])],2),t._v(" "),t.showHelpTag?n("div",{staticClass:"pullrefresh-draghelp",on:{click:function(e){t.showHelpTag=!1}}},[t._m(0)]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("span",[t._v("下拉更新")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[t._t("default"),n("i",{staticClass:"next-icon",style:{color:t.color}})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mask-black-dialog"},[n("div",{staticClass:"m-confirm"},[n("div",{staticClass:"confirm-hd"},[n("strong",{staticClass:"confirm-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),n("div",{staticClass:"confirm-bd",domProps:{innerHTML:t._s(t.mes)}}),t._v(" "),"function"==typeof t.opts?[n("div",{staticClass:"confirm-ft"},[n("a",{staticClass:"confirm-btn default",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1)}}},[t._v("取消")]),t._v(" "),n("a",{staticClass:"confirm-btn primary",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.closeConfirm(!1,t.opts)}}},[t._v("确定")])])]:[n("div",{staticClass:"confirm-ft"},t._l(t.opts,function(e){return n("a",{staticClass:"confirm-btn",class:"boolean"==typeof e.color?e.color?"primary":"default":"",style:{color:e.color},attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.closeConfirm(e.stay,e.callback)}}},[t._v(t._s(e.txt))])}))]],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],staticClass:"m-switch",style:{color:t.color},attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{__c:function(e){var n=t.checked,i=e.target,a=!!i.checked;if(Array.isArray(n)){var r=null,o=t._i(n,r);a?o<0&&(t.checked=n.concat(r)):o>-1&&(t.checked=n.slice(0,o).concat(n.slice(o+1)))}else t.checked=a}}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"accordion-title",on:{click:t.toggle}},[t.$slots.title?n("span",[t._t("title")],2):n("span",[t._v(t._s(t.title))]),t._v(" "),n("i",{class:t.show?"accordion-rotated":""})]),t._v(" "),n("div",{staticClass:"accordion-content",style:{height:t.height}},[n("div",{ref:"content"},[t._t("default")],2)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"back-icon",style:{color:t.color}}),t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mask-keyboard",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{staticClass:"m-keyboard",class:t.show?"keyboard-active":""},[t._m(0),t._v(" "),n("div",{staticClass:"keyboard-error"},[t._v(t._s(t.error))]),t._v(" "),n("ul",{staticClass:"keyboard-password"},t._l(6,function(e){return n("li",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.nums.length>=e,expression:"nums.length >= n"}]})])})),t._v(" "),n("div",{staticClass:"keyboard-content"},[n("div",{staticClass:"keyboard-title"},[t._v(t._s(t.title))]),t._v(" "),n("ul",{staticClass:"keyboard-numbers"},t._l(4,function(e){return n("li",[4==e?n("a",{attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.close(e)}}},[t._v("取消")]):t._e(),t._v(" "),t.isMobile?t._l(t.numsArr.slice(3*(e-1),3*e),function(e){return n("a",{attrs:{href:"javascript:;"},on:{touchstart:function(n){n.stopPropagation(),t.numclick(e)}}},[t._v(t._s(e))])}):t._l(t.numsArr.slice(3*(e-1),3*e),function(e){return n("a",{attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.numclick(e)}}},[t._v(t._s(e))])}),t._v(" "),4==e?n("a",{attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.backspace(e)}}}):t._e()],2)}))])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"keyboard-head"},[n("strong",[t._v("输入数字密码")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.title?n("div",{staticClass:"m-gridstitle"},[t._v(t._s(t.title))]):t._e(),t._v(" "),n("div",{class:t.classes},[t._t("default")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"m-rate",style:{fontSize:t.size,color:t.color}},[t._l(~~t.count,function(e){return n("a",{class:t.index>=e?"rate-active":"",style:{color:t.index>=e?t.activeColor:t.color,paddingRight:t.padding},attrs:{href:"javascript:;"},on:{click:function(n){!t.readonly&&t.choose(e)}}})}),t._v(" "),t.str?n("span",{staticClass:"rate-text",domProps:{innerHTML:t._s(t.str)}}):t._e()],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("list"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading&&t.isDone,expression:"!isLoading && isDone"}],staticClass:"list-donetip"},[t._t("doneTip",[t._v("没有更多数据了")])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"list-loading"},[t._t("loadingTip",[t._v("加载中")])],2),t._v(" "),n("div",{ref:"tag",staticStyle:{height:"1px"}})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mask-actionsheet",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),n("div",{staticClass:"m-actionsheet",class:t.show?"actionsheet-active":""},[t._l(t.items,function(e){return n("a",{staticClass:"actionsheet-item",attrs:{href:"javascript:;"},on:{click:function(n){n.stopPropagation(),t.itemClick(e)}}},[t._v(t._s(e.label))])}),t._v(" "),t.cancel?n("a",{staticClass:"actionsheet-action",attrs:{href:"javascript:;"},on:{click:function(e){e.stopPropagation(),t.close(e)}}},[t._v(t._s(t.cancel))]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"tabbar-item",class:t.classes,style:t.styles,attrs:{to:t.link,exact:t.$parent.exact,"active-class":t.$parent.activeClass}},[n("span",{staticClass:"tabbar-icon"},[t._t("icon"),t._v(" "),n("span",{staticClass:"tabbar-badge"},[t._t("badge")],2),t._v(" "),t.dot?n("span",{staticClass:"tabbar-dot"}):t._e()],2),t._v(" "),n("span",{staticClass:"tabbar-txt"},[t._v(t._s(t.title))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"datetime-input",on:{click:function(e){e.stopPropagation(),t.open(e)}}},[t._v(t._s(t.value))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-rollnotice",style:{height:t.height+"px"}},[n("div",{staticClass:"rollnotice-box",class:"align-"+t.align,style:t.styles},[n("div",{staticClass:"rollnotice-item",domProps:{innerHTML:t._s(t.lastItem)}}),t._v(" "),t._t("default"),t._v(" "),n("div",{staticClass:"rollnotice-item",domProps:{innerHTML:t._s(t.firtstItem)}})],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-panel-item",class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"badge",class:t.typesClass,style:{backgroundColor:t.bgcolor,color:t.color}},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion-item", +data:function(){return{show:this.open,height:0}},props:{title:String,open:{type:Boolean,default:!1}},watch:{open:function(t){this.show=t,this.setHeight()}},methods:{toggle:function(){this.$parent.open(this._uid),this.setHeight()},setHeight:function(){this.height=(this.show?this.$refs.content.offsetHeight:0)+"px"}},mounted:function(){this.setHeight()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-accordion",props:{accordion:{type:Boolean,default:!1}},methods:{open:function(t){var e=this;this.$children.forEach(function(n){n._uid==t?n.show=!n.show:e.accordion||(n.show=!1,n.height=0)})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-actionsheet",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},items:{type:Array,require:!0},cancel:String},watch:{value:function(t){i.isIOS&&(t?(i.pageScroll.lock(),(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(i.pageScroll.unlock(),(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))),this.show=t}},methods:{itemClick:function(t){t&&("function"==typeof t.method&&t.method(t),!t.stay&&this.close())},close:function(){i.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)}},destroyed:function(){this.close()},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-backtop",data:function(){return{show:!1}},methods:{backtop:function(){var t=this.scrollView==window?document.body.scrollTop:this.scrollView.scrollTop;(0,i.scrollTop)(this.scrollView,t,0)},scrollHandler:function(){var t=window.pageYOffset,e=window.innerHeight;this.scrollView!=window&&(t=this.scrollView.scrollTop,e=this.scrollView.offsetHeight),this.show=t>=e/2},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},100)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el),this.scrollView.addEventListener("scroll",this.throttledCheck,!1),this.scrollView.addEventListener("resize",this.scrollHandler,!1)},destroyed:function(){this.scrollView.removeEventListener("scroll",this.throttledCheck,!1),this.scrollView.removeEventListener("resize",this.scrollHandler,!1)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-badge",props:{type:{validator:function(t){return["primary","danger","warning","hollow"].indexOf(t)>-1}},shape:{validator:function(t){return["circle","square"].indexOf(t)>-1}},color:{validator:function(t){return!t||(0,i.isColor)(t)}},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)}}},computed:{typesClass:function(){return this.bgcolor?"square"==this.shape?" badge-radius":"":(this.type?"badge-"+this.type:"")+("square"==this.shape?" badge-radius":"")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-button-group"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-button",props:{disabled:Boolean,type:{validator:function(t){return["primary","danger","warning","hollow","disabled"].indexOf(t)>-1},default:"primary"},size:{validator:function(t){return["small","large"].indexOf(t)>-1}},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)}},color:{validator:function(t){return!t||(0,i.isColor)(t)}}},computed:{classes:function(){var t="large"==this.size?"btn-block":"btn",e="btn-"+this.type;return this.disabled&&(e="btn-disabled"),this.bgcolor&&(e=""),t+" "+e}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-cell-group",props:{title:String}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-cell-item",props:{type:{validator:function(t){return["link","a","label","div","checkbox","radio"].indexOf(t)>-1},default:"div"},arrow:{type:Boolean,default:!1},href:{type:[String,Object]}},computed:{checkLeft:function(){return!!this.$slots.left||!!this.$slots.icon},classes:function(){return this.arrow?"cell-arrow":""}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-checkbox-group",props:{value:{type:Array,default:[]},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{updateValue:function(){var t=this.value;this.childrens=this.$children.filter(function(t){return"yd-checkbox"===t.$options.name}),this.childrens&&this.childrens.forEach(function(e){e.model=t})},change:function(t){this.$emit("input",t)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-checkbox",data:function(){return{model:[],group:!1,checked:this.value}},props:{value:{type:Boolean,default:!1},val:{type:[Boolean,String,Number]},disabled:{type:Boolean,default:!1},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{changeHandler:function(){this.disabled||this.$parent.change(this.model)},iconStyles:function(){var t=(this.group?this.$parent.size:this.size)+"px",e=this.group?this.$parent.color:this.color;return{width:t,height:t,color:e}},checkIconStyles:function(){var t=this.group?this.$parent.size:this.size;return{width:Math.round(t/2.8)+"px",height:Math.round(t/1.5)+"px"}}},watch:{checked:function(t){this.$emit("input",t)},value:function(t){this.checked=t}},created:function(){this.$parent.color&&(this.group=!0)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(3),r=n(220),o=i(r);e.default={name:"yd-cityselect",data:function(){return{citys:o.default,show:this.value,nav:{index:0,txt1:"请选择",txt2:"",txt3:""},activeProvance:"",activeCity:"",activeArea:"",cityArray:[],areaArray:[],activeClasses:"",itemHeight:40}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,done:Function,value:{type:Boolean,default:!1}},watch:{value:function(t){a.isIOS&&(t?(0,a.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"):(0,a.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")),this.show=t},ready:function(t){t&&setTimeout(this.init,0)}},methods:{init:function(){this.ready&&(this.setDefalutValue(),this.scrollView=(0,a.getScrollview)(this.$el))},chooseProvance:function(t,e){this.nav.index=1,this.nav.txt1=this.activeProvance=t,this.nav.txt2="请选择",this.nav.txt3="",this.cityArray=e,this.activeCity=""},chooseCity:function(t,e){return this.nav.txt2=this.activeCity=t,this.activeArea="",e.length<=0?void this.returnValue():(this.nav.txt3="请选择",this.areaArray=e,void this.forwardView(!0))},chooseArea:function(t){this.nav.txt3=this.activeArea=t,this.returnValue()},setDefalutValue:function(){var t=this;this.provance&&this.citys.every(function(e,n){if(e.n==t.provance){var i=t.$refs.provanceBox;i.scrollTop=n*t.itemHeight-i.offsetHeight/3,t.nav.index=1,t.nav.txt1=t.activeProvance=t.provance,t.nav.txt2="请选择";var a=t.cityArray=e.c;return a.every(function(e,n){if(e.n==t.city){var i=t.$refs.cityBox;i.scrollTop=n*t.itemHeight-i.offsetHeight/3,t.nav.txt2=t.activeCity=t.city;var a=t.areaArray=e.a,r=a.indexOf(t.area);if(a.length>0&&(t.nav.index=2,t.nav.txt3="请选择",t.forwardView(!1)),r>-1){var o=t.$refs.areaBox;o.scrollTop=r*t.itemHeight-o.offsetHeight/3,t.nav.txt3=t.activeArea=t.area}return!1}return!0}),!1}return!0})},returnValue:function(){this.done({provance:this.activeProvance,city:this.activeCity,area:this.activeArea}),this.close()},close:function(){a.isIOS&&(0,a.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1),this.show=!1},backoffView:function(t){this.nav.index=t,this.activeClasses="cityselect-move-animate cityselect-prev"},forwardView:function(t){this.nav.index=2,this.activeClasses=(t?"cityselect-move-animate":"")+" cityselect-next"}},mounted:function(){this.init()},destroyed:function(){this.close()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-countdown",data:function(){return{str:"",timer:null,tempFormat:"",showTpl:!0}},props:{time:{type:[String,Number]},format:{type:String,default:"{%d}天{%h}时{%m}分{%s}秒"},timetype:{validator:function(t){return["datetime","second"].indexOf(t)>-1},default:"datetime"},callback:{type:Function},doneText:{type:String,default:"已结束"}},watch:{time:function(t){t&&this.run()}},methods:{run:function(){this.time&&("second"==this.timetype?this.lastTime=Math.floor(new Date/1e3)+~~this.time:this.lastTime=Math.floor(new Date(this.time).getTime()/1e3),this.doRun(),this.timer=setInterval(this.doRun,1e3))},doRun:function(){var t=this.lastTime-Math.floor((new Date).getTime()/1e3);t>0?this.str=this.timestampTotime(t):("function"==typeof this.callback&&this.callback(),this.str=this.doneText,clearInterval(this.timer))},timestampTotime:function(t){var e=this.tempFormat,n={};n.s=t%60,t=Math.floor(t/60),n.m=t%60,t=Math.floor(t/60),n.h=t%24,n.d=Math.floor(t/24);var i=function(t){return t<=0?"00":t<10?"0"+t:t},a=["d","h","m","s"];return a.forEach(function(t){var a=i(n[t]).toString().split("");e=e.replace("{%"+t+"}",i(n[t])),e=e.replace("{%"+t+"0}",0!=~~a[0]?a[0]:""),e=e.replace("{%"+t+"1}",~~a[a.length-2]),e=e.replace("{%"+t+"2}",~~a[a.length-1])}),e}},mounted:function(){var t=this;this.$nextTick(function(){t.tempFormat=t.$slots.default?t.$refs.tpl.innerHTML:t.format,t.showTpl=!1,t.run()})},destroyed:function(){clearInterval(this.timer)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(223),r=i(a);e.default={name:"yd-countup",data:function(){return{instance:null}},props:{start:{type:Boolean,default:!0},startnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:0},endnum:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},required:!0},decimals:{validator:function(t){return/^\d*$/.test(t)},default:0},duration:{validator:function(t){return/^([0]|[1-9]\d*)(\.\d*)?$/.test(t)},default:2},useEasing:{type:Boolean,default:!1},separator:{type:String,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},callback:{type:Function}},watch:{start:function(t){var e=this;t&&this.instance.start(function(){"function"==typeof e.callback&&e.callback(e.instance)})},endnum:function(t){this.instance&&this.instance.update&&this.instance.update(t)}},methods:{init:function(){var t=this;if(!this.instance){var e={decimal:".",useEasing:this.useEasing,separator:this.separator,prefix:this.prefix,suffix:this.suffix};this.instance=new r.default(this.$el,this.startnum,this.endnum,this.decimals,this.duration,e),this.start&&this.instance.start(function(){"function"==typeof t.callback&&t.callback(t.instance)})}}},mounted:function(){this.init()},destroyed:function(){this.instance=null}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=n(7),s=i(o),l=n(56),c=i(l);e.default={name:"yd-datetime",data:function(){return{picker:null,currentValue:this.value}},props:{readonly:{type:Boolean,default:!1},type:{type:String,validator:function(t){return["datetime","date","time"].indexOf(t)>-1},default:"datetime"},startDate:{type:String,validator:function(t){return!t||s.default.isDateTimeString(t)}},endDate:{type:String,validator:function(t){return!t||s.default.isDateTimeString(t)}},startYear:{validator:function(t){return/^\d{4}|0$/.test(t)},default:0},endYear:{validator:function(t){return/^\d{4}|0$/.test(t)},default:0},startHour:{validator:function(t){return/^(0|[1-9]|1[0-9]|2[0-3])?$/.test(t)},default:0},endHour:{validator:function(t){return/^([1-9]|1[0-9]|2[0-3])?$/.test(t)},default:23},yearFormat:{type:String,default:"{value}年"},monthFormat:{type:String,default:"{value}月"},dayFormat:{type:String,default:"{value}日"},hourFormat:{type:String,default:"{value}时"},minuteFormat:{type:String,default:"{value}分"},value:{type:String,validator:function(t){return!t||(s.default.isDateTimeString(t)||s.default.isTimeString(t))}}},watch:{value:function(t){this.currentValue!=t&&this.render()},startDate:function(){this.render()},endDate:function(){this.render()}},methods:{open:function(){this.readonly||this.picker.open()},close:function(){this.picker.close()},removeElement:function(){this.picker&&this.picker.$el&&document.body.removeChild(this.picker.$el)},render:function(){var t=this;this.removeElement();var e=r.default.extend(c.default),n=this._props;n.parentEL=this.$el,this.picker=new e({el:document.createElement("div"),data:n}),document.body.appendChild(this.picker.$el),this.picker.$on("pickerConfirm",function(e){t.currentValue=e,t.$emit("input",e)})}},mounted:function(){this.render()},beforeDestroy:function(){this.removeElement()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(226),r=i(a),o=n(7),s=i(o),l=n(3);e.default={data:function(){return{value:"",show:!1,parentEL:null,columns:[],scroller:[],type:"",items:{Year:[],Month:[],Day:[],Hour:[],Minute:[]},scrolling:{Year:!1,Month:!1,Day:!1,Hour:!1,Minute:!1},readonly:!1,currentYear:"",currentMonth:"",currentDay:"",currentHour:"",currentMinute:"",currentValue:"",yearFormat:"{value}年",monthFormat:"{value}月",dayFormat:"{value}日",hourFormat:"{value}时",minuteFormat:"{value}分",startYear:0,endYear:0,startHour:0,endHour:23}},watch:{currentYear:function(t){this.setMonths(t)},currentMonth:function(t){this.setDays(t)},currentDay:function(t){this.setHours(t)},currentHour:function(t){this.setMinutes(t)}},methods:{init:function(){var t=this,e=t.currentValue=t.value.replace(/-/g,"/");if(t.startDate&&new Date(e).getTime()new Date(t.endDate).getTime()&&(e=t.currentValue=t.endDate),"time"!==t.type){var n=t.items.Year=s.default.getYearItems({format:t.yearFormat,startDate:t.startDate,endDate:t.endDate,startYear:t.startYear,endYear:t.endYear}),i=s.default.getMonthItems({format:t.monthFormat,currentYear:t.currentYear,startDate:t.startDate,endDate:t.endDate}),a=s.default.getDateItems({format:t.dayFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,startDate:t.startDate,endDate:t.endDate});if(e){var r=new Date(e);t.currentYear=r.getFullYear(),t.inDatas(n,t.currentYear)||(t.currentYear=n[0].value),t.currentMonth=s.default.mentStr(r.getMonth()+1),t.inDatas(i,t.currentMonth)||(t.currentMonth=i[0].value),t.currentDay=s.default.mentStr(r.getDate()),t.inDatas(a,t.currentDay)||(t.currentDay=a[0].value)}else t.currentYear=n[0].value,t.currentMonth=i[0].value,t.currentDay=a[0].value}if("datetime"===t.type||"time"===t.type){var o=s.default.getHourItems({format:t.hourFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:t.currentDay,startDate:t.startDate,endDate:t.endDate,startHour:t.startHour,endHour:t.endHour}),l=s.default.getMinuteItems({format:t.minuteFormat,currentYear:t.currentYear,currentMonth:t.currentMonth,currentDay:t.currentDay,currentHour:t.currentHour,startDate:t.startDate,endDate:t.endDate});if("time"===t.type&&(t.items.Hour=o),e){if(s.default.isDateTimeString(e)){var c=new Date(e);t.currentHour=s.default.mentStr(c.getHours()),t.currentMinute=s.default.mentStr(c.getMinutes())}else{var u=e.split(":");t.currentHour=s.default.mentStr(u[0]),t.currentMinute=s.default.mentStr(u[1])}t.inDatas(o,t.currentHour)||(t.currentHour=o[0].value),t.inDatas(l,t.currentMinute)||(t.currentMinute=l[0].value)}else t.currentHour=o[0].value,t.currentMinute=l[0].value}"datetime"===t.type?t.columns=["Year","Month","Day","Hour","Minute"]:"date"===t.type?t.columns=["Year","Month","Day"]:t.columns=["Hour","Minute"]},render:function(){var t=this;t.columns.forEach(function(e){var n=t.$refs["Component_"+e][0],i=t.$refs["Content_"+e][0];t.scroller[e]=new r.default(n,i,{itemHeight:38,onSelect:function(n){t["current"+e]=n,t.scrolling[e]=!1},callback:function(n,a){a&&(t.scrolling[e]=!0),i.style.webkitTransform="translate3d(0, "+-n+"px, 0)"}}),t.scroller[e].setDimensions(n.clientHeight,i.offsetHeight,t.items[e].length),t.scroller[e].select(t["current"+e],!1),t.scrolling[e]=!1}),t.setValue()},setMonths:function(t){var e=this,n=e.items.Month=s.default.getMonthItems({format:e.monthFormat,currentYear:t,startDate:e.startDate,endDate:e.endDate});e.scrolloToPosition("Month",n,function(){e.setDays(e.currentMonth)})},setDays:function(t){var e=this,n=e.items.Day=s.default.getDateItems({format:e.dayFormat,currentYear:e.currentYear,currentMonth:t,startDate:e.startDate,endDate:e.endDate});e.scrolloToPosition("Day",n,function(){e.setHours(e.currentDay)})},setHours:function(t){var e=this,n=e.items.Hour=s.default.getHourItems({format:e.hourFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:t,startDate:e.startDate,endDate:e.endDate,startHour:e.startHour,endHour:e.endHour});e.scrolloToPosition("Hour",n,function(){e.setMinutes(e.currentHour)})},setMinutes:function(t){var e=this,n=e.items.Minute=s.default.getMinuteItems({format:e.minuteFormat,currentYear:e.currentYear,currentMonth:e.currentMonth,currentDay:e.currentDay,currentHour:t,startDate:e.startDate,endDate:e.endDate});e.scrolloToPosition("Minute",n)},scrolloToPosition:function(t,e,n){var i=this,a=i.scroller[t];a&&(a.setDimensions(i.$refs["Component_"+t][0].clientHeight,i.$refs["Content_"+t][0].offsetHeight,e.length),setTimeout(function(){var r=i.inDatas(e,i["current"+t]);i.scrolling[t]||a.select(r?i["current"+t]:e[0].value,!1),"function"==typeof n&&n()},0))},setValue:function(){var t="";t="datetime"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay+" "+this.currentHour+":"+this.currentMinute:"date"===this.type?this.currentYear+"-"+this.currentMonth+"-"+this.currentDay:this.currentHour+":"+this.currentMinute,this.currentValue=t,this.$emit("pickerConfirm",t),this.close()},inDatas:function(t,e){var n=!1;return t.forEach(function(t){t.value==e&&(n=!0)}),n},open:function(){this.readonly||(this.show=!0,l.isIOS&&(l.pageScroll.lock(),(0,l.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")))},close:function(){this.show=!1,l.isIOS&&(l.pageScroll.unlock(),(0,l.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}},created:function(){this.init()},mounted:function(){this.scrollView=(0,l.getScrollview)(this.parentEL),this.$nextTick(this.render)},beforeDestroy:function(){var t=this;this.columns.forEach(function(e){t.scroller[e]=null})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,callback:Function}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String,mes:String,opts:{type:[Array,Function],default:function(){}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:String}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{classes:""}},props:{mes:String,timeout:Number,callback:Function}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mes:String,icon:String,timeout:Number,callback:Function},computed:{iconsClass:function(){var t="";return"success"!=this.icon&&"error"!=this.icon||(t="toast-"+this.icon+"-icon"),t}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-flexbox-item"}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-flexbox",props:{direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-group",props:{rows:{validator:function(t){return["2","3","4","5"].indexOf(t+"")>-1},default:"4"},title:String},computed:{classes:function(){return"m-grids-"+this.rows}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-grids-item",props:{link:String},computed:{checkIcon:function(){return!!this.$slots.icon},checkText:function(){return!!this.$slots.text}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-icon",props:{name:String,color:{validator:function(t){return!t||(0,i.isColor)(t)}},size:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".6rem"}},computed:{classes:function(){return"icon-"+this.name},styles:function(){var t={};return this.size&&(t.fontSize=this.size),this.color&&(t.color=this.color),t}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-infinitescroll",data:function(){return{isLoading:!1,isDone:!1,num:1}},props:{onInfinite:{type:Function,required:!0},distance:{default:0,validator:function(t){return/^\d*$/.test(t)}}},methods:{init:function(){var t=this;this.scrollview=(0,i.getScrollview)(this.$el),this.scrollview.addEventListener("scroll",this.throttledCheck,!1),this.$on("ydui.infinitescroll.loadedDone",function(){t.isLoading=!1,t.isDone=!0}),this.$on("ydui.infinitescroll.finishLoad",function(){t.isLoading=!1}),this.$on("ydui.infinitescroll.reInit",function(){t.isLoading=!1,t.isDone=!1})},scrollHandler:function(){if(!this.isLoading&&!this.isDone){var t=this.scrollview,e=document.body.offsetHeight,n=t==window?0:t.getBoundingClientRect().top;if(!t)return void console.warn("Can't find the scrollview!");if(!this.$refs.tag)return void console.warn("Can't find the refs.tag!");var i=Math.floor(this.$refs.tag.getBoundingClientRect().top)-1,a=this.distance&&this.distance>0?~~this.distance:Math.floor(e/10);i>n&&i-(a+n)*this.num<=e&&(this.isLoading=!0,this.onInfinite(),this.num++)}},throttle:function(t,e){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},50)},throttledCheck:function(){this.throttle(this.scrollHandler)}},mounted:function(){this.$nextTick(this.init)},destroyed:function(){this.scrollview.removeEventListener("scroll",this.throttledCheck)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-input",data:function(){return{currentValue:this.value,isempty:!this.value,iserror:!1,showPwd:!1,showClear:!1,showWarn:!0,initError:!1,valid:!0,errorMsg:"",errorCode:"",regexObj:{email:"^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",mobile:"^(86)?1[3,4,5,7,8]\\d{9}$",bankcard:"^\\d{15,19}$"}}},props:{name:String,placeholder:String,value:[String,Number],readonly:Boolean,disabled:Boolean,regex:String,autocomplete:{type:String,default:"off"},showClearIcon:{type:Boolean,default:!0},showErrorIcon:{type:Boolean,default:!0},showSuccessIcon:{type:Boolean,default:!0},showRequiredIcon:{type:Boolean,default:!0},required:{type:Boolean,default:!1},type:{validator:function(t){return["text","password","email","number","tel","datetime-local","date","time"].indexOf(t)>-1},default:"text"},max:{validator:function(t){return/^\d*$/.test(t)}},min:{validator:function(t){return/^\d*$/.test(t)}}},watch:{value:function(t){this.currentValue=t,this.emitInput()},currentValue:function(t){this.isempty=!t,this.validatorInput(t,!0),this.emitInput()},required:function(t){this.required=t,this.validatorInput(this.currentValue,!1)}},methods:{validatorInput:function(t,e){if(this.initError=e,e&&(this.showWarn=!1),this.required&&""==t)return this.setError("不能为空","NOT_NULL"),void(this.iserror=!0);if(this.min&&t.length=6&&this.inputDone&&"function"==typeof this.inputDone&&this.inputDone(t)}},methods:{init:function(){var t=this;this.scrollView=(0,i.getScrollview)(this.$el),this.$on("ydui.keyboard.error",function(e){t.setError(e)}),this.$on("ydui.keyboard.close",this.close)},numclick:function(t){this.error="",this.nums.length>=6||(this.nums+=t)},backspace:function(){var t=this.nums;t&&(this.nums=t.substr(0,t.length-1))},upsetOrder:function(t){for(var e=Math.floor,n=Math.random,i=t.length,a=void 0,r=void 0,o=void 0,s=e(i/2)+1;s--;)a=e(n()*i),r=e(n()*i),a!==r&&(o=t[a],t[a]=t[r],t[r]=o);return t},close:function(){i.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.$emit("input",!1)},setError:function(t){this.error=t,this.nums=""}},created:function(){var t=window.navigator&&window.navigator.userAgent||"";this.isMobile=!!t.match(/AppleWebKit.*Mobile.*/)||"ontouchstart"in document.documentElement,this.$nextTick(this.init)},destroyed:function(){this.close()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-layout",props:{link:String,title:String,showNavbar:{type:Boolean,default:!0}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-lazyimg",props:{src:{type:String},defaultSrc:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}},methods:{init:function(){this.scrollview=(0,i.getScrollview)(this.$el),this.scrollHandler(),this.bindEvent()},scrollHandler:function(){(0,i.checkInview)(this.scrollview,this.$el)&&(this.$el.setAttribute("src",this.$el.getAttribute("datasrc")),this.unbindEvent())},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},mounted:function(){var t=this;this.$nextTick(function(){t.init()})},destoryed:function(){this.unbindEvent()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-item",props:{type:{type:String,validator:function(t){return["link","a"].indexOf(t)>-1},default:"a"},href:[String,Object]}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list-other"}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-list",props:{theme:{validator:function(t){return["1","2","3","4","5"].indexOf(t+"")>-1},default:"1"}},computed:{classes:function(){return"list-theme"+this.theme}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar-back-icon",props:{color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar-next-icon",props:{color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-navbar",props:{title:String,fixed:Boolean,bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FFF"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#5C5C5C"},fontsize:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".4rem"},height:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".9rem"}},computed:{classes:function(){return this.fixed?"navbar-fixed":""}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-popup",data:function(){return{show:this.value}},props:{position:{validator:function(t){return["bottom","center","left","right"].indexOf(t)>-1},default:"bottom"},height:{type:String,default:"50%"},width:{type:String,default:"50%"},value:{type:Boolean}},watch:{value:function(t){if(i.isIOS){var e=this.$refs,n=this.$slots.top&&"center"!=this.position?e.top.offsetHeight:0,a=this.$slots.bottom&&"center"!=this.position?e.bottom.offsetHeight:0,r=n+e.content.offsetHeight+a;t?(i.pageScroll.lock(),r>e.box.offsetHeight&&e.box.addEventListener("touchmove",this.stopPropagation),(0,i.addClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug")):(i.pageScroll.unlock(),r>e.box.offsetHeight&&e.box.removeEventListener("touchmove",this.stopPropagation),(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"))}this.show=t}},methods:{stopPropagation:function(t){t.stopPropagation()},styles:function(){return"left"==this.position||"right"==this.position?{width:this.width}:"bottom"==this.position?{width:"100%",height:this.height}:{width:this.width}},classes:function(){return("center"==this.position?"m-popup-center ":"m-popup ")+(this.show?"popup-show ":"")+"popup-"+this.position},close:function(){i.isIOS&&(0,i.removeClass)(this.scrollView,"g-fix-ios-overflow-scrolling-bug"),this.show=!1,this.$emit("input",!1)}},mounted:function(){this.scrollView=(0,i.getScrollview)(this.$el)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-progressbar",data:function(){return{viewBox:"0 0 100 100",show:!1,stroke:{dasharray:"",dashoffset:""}}},props:{type:{validator:function(t){return["circle","line"].indexOf(t)>-1},default:"circle"},fillColor:{validator:function(t){return!t||(0,i.isColor)(t)}},strokeWidth:{validator:function(t){return/^\d*$/.test(t)},default:0},strokeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#E5E5E5"},trailWidth:{validator:function(t){return/^\d*$/.test(t)},default:0,require:!0},trailColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#646464"},progress:{validator:function(t){return/^(0(.\d+)?|1(\.0+)?)$/.test(t)},default:0}},methods:{init:function(){var t=this,e=this.length=this.$refs.trailPath.getTotalLength();this.stroke.dashoffset=e,this.stroke.dasharray=e+","+e,this.scrollview=(0,i.getScrollview)(this.$el),this.show=!0,"line"==this.type&&(this.viewBox="0 0 100 "+(this.strokeWidth?this.strokeWidth:this.trailWidth)),this.$nextTick(function(){t.scrollHandler()}),this.bindEvent()},scrollHandler:function(){ +(0,i.checkInview)(this.scrollview,this.$el)&&(this.stroke.dashoffset=this.length-this.progress*this.length)},bindEvent:function(){this.scrollview.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},unbindEvent:function(){this.scrollview.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}},watch:{progress:function(t){this.stroke.dashoffset=this.length-t*this.length}},computed:{getPathString:function(){if("line"==this.type)return"M 0,{R} L 100,{R}".replace(/\{R\}/g,this.trailWidth/2);var t=50-(this.strokeWidth?this.strokeWidth:this.trailWidth)/2;return"M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g,t).replace(/\{2R\}/g,2*t)}},mounted:function(){this.init()},destoryed:function(){this.unbindEvent()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-pullrefresh",props:{onInfinite:{type:Function,required:!0}},data:function(){return{showHelpTag:!1,dragTip:{iconOpacity:.5,iconRotate:0,loadingIcon:"",animationTiming:"",scale:1,translate:0,distance:100},touches:{loading:!1,startClientY:0,moveOffset:0,isDraging:!1}}},methods:{init:function(){this.offsetTop=this.$refs.dragBox.getBoundingClientRect().top,this.bindEvents(),this.$on("ydui.pullrefresh.finishLoad",this.finishLoad),this.showHelp()},showHelp:function(){var t=this,e="PULLREFRESH-TIP",n=window.localStorage;1!=n.getItem(e)&&(this.showHelpTag=!0,setTimeout(function(){t.showHelpTag=!1},5e3)),n.setItem(e,1)},bindEvents:function(){var t=this.$refs.dragBox;t.addEventListener("touchstart",this.touchStartHandler),t.addEventListener("touchmove",this.touchMoveHandler),t.addEventListener("touchend",this.touchEndHandler),document.body.addEventListener("touchmove",this.stopDragEvent)},unbindEvents:function(){var t=this.$refs.dragBox;t.removeEventListener("touchstart",this.touchStartHandler),t.removeEventListener("touchmove",this.touchMoveHandler),t.removeEventListener("touchend",this.touchEndHandler),document.body.removeEventListener("touchmove",this.stopDragEvent)},stopDragEvent:function(t){this.touches.isDraging&&t.preventDefault()},touchStartHandler:function(t){return this.touches.loading?void t.preventDefault():void(this.$refs.dragBox.getBoundingClientRect().tope.clientY||this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance&&(n=this.dragTip.distance),this.dragTip.iconRotate=n/.25,this.touches.moveOffset=this.dragTip.translate=n}},touchEndHandler:function(t){var e=this.touches;if(e.loading)return void t.preventDefault();if(!(this.$refs.dragBox.getBoundingClientRect().top=this.dragTip.distance)return this.dragTip.translate=this.dragTip.distance/1.5,this.dragTip.loadingIcon="pullrefresh-loading",void this.triggerLoad();this.dragTip.translate=0,this.resetParams()}},triggerLoad:function(){this.touches.loading=!0,this.onInfinite()},finishLoad:function(){var t=this;setTimeout(function(){t.dragTip.iconRotate=0,t.dragTip.scale=0,t.resetParams()},200)},resetParams:function(){var t=this;setTimeout(function(){var e=t.touches,n=t.dragTip;e.isDraging=!1,e.loading=!1,e.moveOffset=0,n.animationTiming="",n.iconOpacity=.5,n.translate=0,n.scale=1,n.loadingIcon=""},150)}},mounted:function(){this.$nextTick(this.init)},beforeDestroy:function(){this.unbindEvents()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-radio-group",data:function(){return{currentValue:this.value}},props:{value:{type:[String,Number],default:""},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"},size:{validator:function(t){return/^([1-9]\d*)$/.test(t)},default:20}},methods:{updateValue:function(){var t=this.value;this.childrens=this.$children.filter(function(t){return"yd-radio"===t.$options.name}),this.childrens&&this.childrens.forEach(function(e){e.checked=t==e.val})},change:function(t){this.currentValue=t,this.updateValue(),this.$emit("input",t)}},watch:{value:function(){this.updateValue()}},mounted:function(){setTimeout(this.updateValue,10)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-radio",data:function(){return{checked:!1}},props:{val:[String,Number],disabled:{type:Boolean,default:!1}},methods:{changeHandler:function(t){this.disabled||(this.checked=t.target.checked,this.$parent.change(this.val))},styles:function(t){return{width:this.$parent.size/t+"px",height:this.$parent.size/t+"px"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-rate",data:function(){return{index:0,str:""}},props:{count:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)},default:5},size:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".5rem"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#CCC"},activeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FF5D50"},value:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}},showText:{type:Array},readonly:{type:Boolean,default:!1},padding:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".06rem"}},methods:{choose:function(t){this.index=t,this.$emit("input",t),this.showText&&(this.str=(this.showText[t-1]||"").replace("$",t))}},mounted:function(){var t=this;this.$nextTick(function(){t.choose(t.value)})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-rollnotice-item",mounted:function(){this.$parent.init()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-rollnotice",data:function(){return{timer:null,index:1,totalNum:0,firtstItem:"",lastItem:"",styles:{transform:0,transitionDuration:0}}},props:{height:{validator:function(t){return/^\d*$/.test(t)},default:30},speed:{validator:function(t){return/^\d*$/.test(t)},default:500},autoplay:{validator:function(t){return/^\d*$/.test(t)},default:3e3},align:{validator:function(t){return["left","center","right"].indexOf(t)>-1},default:"left"},direction:{validator:function(t){return["up","down"].indexOf(t)>-1},default:"up"}},methods:{init:function(){this.destroy(),this.items=this.$children.filter(function(t){return"yd-rollnotice-item"===t.$options.name}),this.totalNum=this.items.length,this.totalNum<=0||(this.firtstItem=this.items[0].$el.innerHTML,this.lastItem=this.items[this.totalNum-1].$el.innerHTML,this.setTranslate(0,-this.height),this.autoPlay())},autoPlay:function(){var t=this;this.timer=setInterval(function(){"up"==t.direction?(t.setTranslate(t.speed,-(++t.index*t.height)),t.index>=t.totalNum&&(t.index=0,setTimeout(function(){t.setTranslate(0,0)},t.speed))):(t.setTranslate(t.speed,-(--t.index*t.height)),t.index<=0&&(t.index=t.totalNum,setTimeout(function(){t.setTranslate(0,-t.totalNum*t.height)},t.speed)))},this.autoplay)},setTranslate:function(t,e){this.styles.transitionDuration=t+"ms",this.styles.transform="translate3d(0, "+e+"px, 0)"},destroy:function(){clearInterval(this.timer)}},destroyed:function(){this.destroy()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab-panel",props:{label:String,icon:String,active:Boolean},mounted:function(){this.$parent.addItem({label:this.label,icon:this.icon,_uid:this._uid})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-scrolltab",data:function(){return{scrolling:!1,navList:[],activeIndex:0,timer:null}},methods:{init:function(){this.scrollView=this.$refs.scrollView,this.contentOffsetTop=this.scrollView.getBoundingClientRect().top,this.bindEvent()},addItem:function(t){this.navList.push(t)},getPanels:function(){return this.$children.filter(function(t){return"yd-scrolltab-panel"===t.$options.name})},bindEvent:function(){this.scrollView.addEventListener("scroll",this.scrollHandler),window.addEventListener("resize",this.scrollHandler)},setDefault:function(){var t=this,e=this.getPanels(),n=0;e.forEach(function(i){i.active?(t.activeIndex=i._uid,t.moveHandler(i._uid)):(++n,n>=e.length&&(t.activeIndex=e[0]._uid))})},moveHandler:function(t){var e=this;if(!this.scrolling){this.scrolling=!0;var n=this.getPanels(),i=n.filter(function(e){return e._uid==t})[0].$el.getBoundingClientRect().top;this.scrollView.scrollTop=i+this.scrollView.scrollTop-this.contentOffsetTop+2,this.activeIndex=t,setTimeout(function(){e.scrolling=!1},6)}},scrollHandler:function(){var t=this;if(!this.scrolling){var e=this.getPanels(),n=e.length,i=this.scrollView,a=i.offsetHeight,r=i.scrollTop,o=e[0].$el.offsetHeight;return r>=o*n-a?void(this.activeIndex=e[n-1]._uid):void e.forEach(function(e){e.$el.getBoundingClientRect().top<=t.contentOffsetTop&&(t.activeIndex=e._uid)})}}},watch:{navList:function(){this.setDefault()}},mounted:function(){this.init()},destroyed:function(){this.scrollView.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.scrollHandler)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),r=i(a);e.default={name:"yd-sendcode",extends:r.default,data:function(){return{tmpStr:"获取短信验证码",timer:null,start:!1}},props:{initStr:String,second:{default:60,validator:function(t){return/^\d*$/.test(t)}},runStr:{type:String,default:"{%s}秒后重新获取"},resetStr:{type:String,default:"重新获取验证码"},value:{type:Boolean,default:!1}},methods:{run:function(){var t=this,e=this.second;this.tmpStr=this.getStr(this.second),this.timer=setInterval(function(){e--,t.tmpStr=t.getStr(e),e<=0&&t.stop()},1e3)},stop:function(){this.tmpStr=this.resetStr,this.$emit("input",!1),clearInterval(this.timer)},getStr:function(t){return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g,t)}},watch:{value:function(t){this.start=t,t&&this.run()}},mounted:function(){this.initStr&&(this.tmpStr=this.initStr)},destroyed:function(){this.stop()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider-item",mounted:function(){this.$parent.init()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-slider",data:function(){return{firtstItem:"",lastItem:"",itemNums:0,index:1,itemsArr:[],autoPlayTimer:null,paginationIndex:0,itemHeight:{height:null},dragStyleObject:{transform:0,speed:0},touches:{moveTag:0,moveOffset:0,touchStartTime:0,isTouchEvent:!1,allowClick:!1,isDraging:!1}}},props:{speed:{default:300,validator:function(t){return/^\d*$/.test(t)}},autoplay:{default:0,validator:function(t){return/^\d*$/.test(t)}},direction:{validator:function(t){return["horizontal","vertical"].indexOf(t)>-1},default:"horizontal"}},watch:{index:function t(){var t=this.index,e=this.itemNums,n=(t-1)%e;this.paginationIndex=n<0?e-1:n}},methods:{init:function(){if(this.destroy(),this.isVertical="vertical"==this.direction,this.itemsArr=this.$children.filter(function(t){return"yd-slider-item"===t.$options.name}),this.itemNums=this.itemsArr.length,this.isVertical){this.$refs.slider.style.height="100%";var t=this.$el.clientHeight;this.itemHeight.height=t+"px",this.setTranslate(0,-t),this.itemsArr.forEach(function(e){e.$el.style.height=t+"px"})}else this.setTranslate(0,-this.$refs.warpper.offsetWidth);this.cloneItem(),this.bindEvents(),this.autoPlay()},cloneItem:function(){var t=this.itemsArr;this.firtstItem=t[0].$el.innerHTML,this.lastItem=t[t.length-1].$el.innerHTML},touchStartHandler:function(t){var e=this.touches;if(e.allowClick=!0,e.isTouchEvent="touchstart"===t.type,(e.isTouchEvent||!("which"in t)||3!==t.which)&&0==e.moveTag){e.moveTag=1,e.startX=t.touches?t.touches[0].clientX:t.clientX,e.startY=t.touches?t.touches[0].clientY:t.clientY,e.touchStartTime=Date.now();var n=this.itemNums;if(0==this.index)return this.index=n,void this.setTranslate(0,-n*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));this.index>n&&(this.index=1,this.setTranslate(0,this.isVertical?-this.$el.clientHeight:-this.$refs.warpper.offsetWidth))}},touchMoveHandler:function(t){this.supportTouch&&!this.isVertical||t.preventDefault();var e=this.touches;if(e.allowClick=!1,!e.isTouchEvent||"mousemove"!==t.type){var n=t.touches?t.touches[0].clientY:t.clientY,i=t.touches?t.touches[0].clientX:t.clientX,a=180*Math.atan2(Math.abs(n-e.startY),Math.abs(i-e.startX))/Math.PI;if((this.isVertical?90-a>45:a>45)&&this.supportTouch)return e.moveTag=3,this.stopAutoplay(),void this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth));e.isDraging=!0;var r=e.moveOffset=this.isVertical?n-e.startY:i-e.startX;0!=r&&0!=e.moveTag&&(1==e.moveTag&&(this.stopAutoplay(),e.moveTag=2),2==e.moveTag&&this.setTranslate(0,-this.index*(this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth)+r))}},touchEndHandler:function(){var t=this.touches,e=t.moveOffset,n=this.isVertical?this.$el.clientHeight:this.$refs.warpper.offsetWidth;if(1==t.moveTag&&(t.moveTag=0),setTimeout(function(){t.allowClick=!0,t.isDraging=!1},this.speed),2==t.moveTag){t.moveTag=0;var i=Date.now()-t.touchStartTime;return i>300&&Math.abs(e)<=.5*n?this.setTranslate(this.speed,-this.index*n):this.setTranslate(this.speed,-((e>0?--this.index:++this.index)*n)),void this.autoPlay()}3==t.moveTag&&(t.moveTag=0,this.autoPlay())},autoPlay:function(){var t=this;this.autoplay<=0||(this.autoPlayTimer=setInterval(function(){var e=t.isVertical?t.$el.clientHeight:t.$refs.warpper.offsetWidth;return t.index>t.itemNums?(t.index=1,t.setTranslate(0,-e),void setTimeout(function(){t.setTranslate(t.speed,-(++t.index*e))},100)):void t.setTranslate(t.speed,-(++t.index*e))},this.autoplay))},stopAutoplay:function(){clearInterval(this.autoPlayTimer)},stopDrag:function(t){this.touches.isDraging&&t.preventDefault()},bindEvents:function(){var t=this,e=this.touchEvents();this.$el.addEventListener(e.start,this.touchStartHandler),this.$el.addEventListener(e.move,this.touchMoveHandler),this.$el.addEventListener(e.end,this.touchEndHandler),this.$el.addEventListener("click",function(e){t.touches.allowClick||e.preventDefault()}),window.addEventListener("resize",this.resizeSlides),document.body.addEventListener("touchmove",this.stopDrag)},unbindEvents:function(){var t=this.touchEvents();this.$el.removeEventListener(t.start,this.touchStartHandler),this.$el.removeEventListener(t.move,this.touchMoveHandler),this.$el.removeEventListener(t.end,this.touchEndHandler),window.removeEventListener("resize",this.resizeSlides),document.body.removeEventListener("touchmove",this.stopDrag)},touchEvents:function(){var t=this.supportTouch=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();return{start:t?"touchstart":"mousedown",move:t?"touchmove":"mousemove",end:t?"touchend":"mouseup"}},setTranslate:function(t,e){this.dragStyleObject.transitionDuration=t+"ms",this.isVertical?this.dragStyleObject.transform="translate3d(0, "+e+"px, 0)":this.dragStyleObject.transform="translate3d("+e+"px, 0, 0)"},resizeSlides:function(){if(this.isVertical){var t=this.$el.clientHeight;this.dragStyleObject.transform="translate3d(0, "+-this.index*t+"px, 0)"}else{var e=this.$refs.warpper.offsetWidth;this.dragStyleObject.transform="translate3d("+-this.index*e+"px, 0, 0)"}},destroy:function(){this.unbindEvents(),this.stopAutoplay()}},destroyed:function(){this.destroy()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-spinner",data:function(){return{counter:0,tapParams:{timer:null,tapStartTime:0},parms:{max:0,min:-1}}},props:{unit:{default:1,validator:function(t){return/^([1-9]\d*)$/.test(t)}},max:{default:0,validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}},min:{default:-1,validator:function(t){return/^((-?([1-9]\d*))|0)$/.test(t)}},longpress:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},value:{validator:function(t){return/^(([1-9]\d*)|0)$/.test(t)}}},methods:{init:function(){this.checkParameters()&&(this.setDefalutValue(),this.bindEvents())},checkParameters:function(){var t=~~this.max,e=~~this.unit,n=~~this.min;return t=0?(console.error("[YDUI warn]: The parameter 'min'("+n+") and 'unit'("+e+") must be multiple."),!1):!(t0?void this.setValue(n):void this.setValue(e<0?t:e)},calculation:function(t){var e=~~this.max,n=~~this.min<0?~~this.unit:~~this.min,i=~~this.unit;if(!this.readonly){var a=~~this.counter,r=void 0;if("add"==t){if(r=a+i,0!=e&&r>e)return}else if(r=a-i,re&&0!=e&&(t=e),t%i>0&&(t=t-t%i+i,t>e&&0!=e&&(t-=i)),t=40&&(a=100),this.tapParams.timer=setTimeout(function(){e.calculation(t)},1e3/a)},clearTapTimer:function(){clearTimeout(this.tapParams.timer)},bindEvents:function(){var t=this,e=this.$refs.add,n=this.$refs.minus,i={mousedownEvent:"touchstart",mouseupEvent:"touchend"},a=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}();a||(i.mousedownEvent="mousedown",i.mouseupEvent="mouseup"),e.addEventListener(i.mousedownEvent,function(n){t.longpress&&(n.preventDefault(),n.stopPropagation(),t.tapParams.tapStartTime=(new Date).getTime()/1e3,e.addEventListener(i.mouseupEvent,t.clearTapTimer)),t.calculation("add")}),n.addEventListener(i.mousedownEvent,function(e){t.longpress&&(e.preventDefault(),e.stopPropagation(),t.tapParams.tapStartTime=(new Date).getTime()/1e3,n.addEventListener(i.mouseupEvent,t.clearTapTimer)),t.calculation("minus")}),this.$refs.numInput.addEventListener("change",function(){t.setValue(~~t.counter)})}},mounted:function(){this.init()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-switch",data:function(){return{checked:this.value}},props:{value:Boolean,disabled:{type:Boolean,default:!1},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#4CD864"}},watch:{checked:function(t){this.$emit("input",t)},value:function(t){this.checked=t}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-tab-panel",props:{label:String,active:Boolean,tabkey:[String,Number]},computed:{classes:function(){return this.$parent.activeIndex==this._uid?"tab-active":""}},watch:{active:function(){this.$parent.init(!0)},label:function(){this.$parent.init("label")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-tab",data:function(){return{navList:[],activeIndex:0,tmpIndex:0}},props:{change:Function},methods:{init:function(t){var e=this,n=this.$children.filter(function(t){return"yd-tab-panel"===t.$options.name}),i=0;n.forEach(function(a,r){return"label"===t?e.navList[r]=a:(t||e.navList.push({label:a.label,_uid:a._uid,tabkey:a.tabkey}),void(a.active?(e.activeIndex=e.tmpIndex=a._uid,e.emitChange(a.label,a.tabkey)):(++i,i>=n.length&&(e.activeIndex=e.tmpIndex=n[0]._uid,e.emitChange(n[0].label,n[0].tabkey)))))})},emitChange:function(t,e){"function"==typeof this.change&&this.change(t,e)},changeHandler:function(t,e,n){this.tmpIndex!=t&&(this.activeIndex=this.tmpIndex=t,this.emitChange(e,n))}},mounted:function(){this.init(!1)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n(3);e.default={name:"yd-tabbar-item",props:{link:[String,Object],title:String,active:Boolean,dot:Boolean},computed:{classes:function(){return this.active?"tabbar-active":""},styles:function(){return this.active?{}:{color:this.$parent.color}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={name:"yd-tabbar",props:{fixed:Boolean,exact:{type:Boolean,default:!0},activeClass:{type:String,default:"router-link-active"},activeColor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#09BB07"},bgcolor:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#FFF"},color:{validator:function(t){return!t||(0,i.isColor)(t)},default:"#979797"},fontsize:{validator:function(t){return/^(\.|\d+\.)?\d+(px|rem)$/.test(t)},default:".24rem"}},computed:{classes:function(){return this.fixed?"tabbar-fixed":""},styles:function(){return{color:this.activeColor,backgroundColor:this.bgcolor,fontSize:this.fontsize}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"yd-textarea",data:function(){return{num:0,mlstr:""}},props:{maxlength:{validator:function(t){return!t||/^(([1-9]\d*)|0)$/.test(t)}},placeholder:{type:String},readonly:{type:Boolean,default:!1},value:{type:String},showCounter:{type:Boolean,default:!0},change:{type:Function}},watch:{mlstr:function(t){this.$emit("input",t),"function"==typeof this.change&&this.change(),this.showCounter&&(this.num=t.length)},value:function(t){this.mlstr=t}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.value;e&&(t.mlstr=e.length>t.maxlength?e.substr(e,t.maxlength):e)})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.AccordionItem=e.Accordion=void 0;var a=n(43),r=i(a),o=n(42),s=i(o);e.Accordion=r.default,e.AccordionItem=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=void 0;var a=n(44),r=i(a);e.ActionSheet=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.BackTop=void 0;var a=n(45),r=i(a);e.BackTop=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Badge=void 0;var a=n(46),r=i(a);e.Badge=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonGroup=e.Button=void 0;var a=n(6),r=i(a),o=n(47),s=i(o);e.Button=r.default,e.ButtonGroup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CellGroup=e.CellItem=void 0;var a=n(49),r=i(a),o=n(48),s=i(o);e.CellItem=r.default,e.CellGroup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CheckBoxGroup=e.CheckBox=void 0;var a=n(51),r=i(a),o=n(50),s=i(o);e.CheckBox=r.default,e.CheckBoxGroup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CitySelect=void 0;var a=n(52),r=i(a);e.CitySelect=r.default},function(t,e,n){var i,a;!function(){var r=[{n:"北京",c:[{a:["城区","城区以外"],n:"密云区"},{a:["三环到四环之间","四环到五环之间","五环到六环之间","管庄","北苑","定福庄","三环以内"],n:"朝阳区"},{a:["六环以内","城区","城区以外"],n:"昌平区"},{a:["城区","城区以外"],n:"平谷区"},{a:["三环以内","三环到四环之间","四环到五环之间","五环到六环之间","六环以外","西三旗","西二旗"],n:"海淀区"},{a:["内环到二环里","二环到三环"],n:"西城区"},{a:["内环到三环里"],n:"东城区"},{a:["一环到二环","二环到三环"],n:"崇文区"},{a:["内环到三环里"],n:"宣武区"},{a:["四环到五环之间","二环到三环","三环到四环之间","五环到六环之间","六环之外"],n:"丰台区"},{a:["四环到五环内","石景山城区","八大处科技园区"],n:"石景山区"},{a:["城区","龙泉镇","永定镇","大台镇","潭柘寺镇","王平镇","军庄镇","妙峰山镇","雁翅镇","斋堂镇","清水镇"],n:"门头沟"},{a:["城区","大安山乡","大石窝镇","窦店镇","佛子庄乡","韩村河镇","河北镇","良乡镇","琉璃河镇","南窖乡","蒲洼乡","青龙湖镇","十渡镇","石楼镇","史家营乡","霞云岭乡","新镇","阎村镇","燕山地区","张坊镇","长沟镇","长阳镇","周口店镇"],n:"房山区"},{a:["六环内(马驹桥镇)","中仓街道","新华街道","玉桥街道","北苑街道","六环外(马驹桥镇)","永顺镇","梨园镇","宋庄镇","漷县镇","张家湾镇","西集镇","永乐店镇","潞城镇","台湖镇","于家务乡","次渠镇"],n:"通州区"},{a:["延庆镇","城区","康庄镇","八达岭镇","永宁镇","旧县镇","张山营镇","四海镇","千家店镇","沈家营镇","大榆树镇","井庄镇","大庄科乡","刘斌堡乡","香营乡","珍珠泉乡"],n:"延庆县"},{a:["四环至五环之间","五环至六环之间","六环以外","亦庄经济开发区"],n:"大兴区"},{a:["北石槽镇","北务镇","北小营镇","大孙各庄镇","高丽营镇","光明街道","后沙峪地区","空港街道","李桥镇","李遂镇","龙湾屯镇","马坡地区","木林镇","南彩镇","南法信地区","牛栏山地区","仁和地区","胜利街道","石园街道","双丰街道","天竺地区","旺泉街道","杨镇地区","张镇","赵全营镇"],n:"顺义区"},{a:["城区以内","郊区"],n:"怀柔区"}]},{n:"上海",c:[{a:["城区"],n:"静安区"},{a:["城区"],n:"闸北区"},{a:["城区"],n:"虹口区"},{a:["城区"],n:"杨浦区"},{a:["罗店镇","城区","大场镇","杨行镇","月浦镇","罗泾镇","顾村镇","高境镇","庙行镇","淞南镇","宝山城市工业园区"],n:"宝山区"},{a:["城区","莘庄镇","七宝镇","浦江镇","梅陇镇","虹桥镇","马桥镇","吴泾镇","华漕镇","颛桥镇"],n:"闵行区"},{a:["城区","南翔镇","马陆镇","华亭镇","江桥镇","菊园新区","安亭镇","徐行镇","外冈镇","嘉定工业区"],n:"嘉定区"},{a:["城区","川沙新镇","祝桥镇","新场镇","高桥镇","惠南镇","北蔡镇","合庆镇","唐镇","曹路镇","金桥镇","高行镇","高东镇","张江镇","三林镇","南汇新城镇","康桥镇","宣桥镇","书院镇","大团镇","周浦镇","芦潮港镇","泥城镇","航头镇","万祥镇","老港镇"],n:"浦东新区"},{a:["城区","赵巷镇","徐泾镇","华新镇","重固镇","白鹤镇","练塘镇","金泽镇","朱家角镇"],n:"青浦区"},{a:["城区","泗泾镇","佘山镇","车墩镇","新桥镇","洞泾镇","九亭镇","泖港镇","石湖荡镇","新浜镇","叶榭镇","小昆山镇"],n:"松江区"},{a:["城区","金山工业区","朱泾镇","枫泾镇","张堰镇","亭林镇","吕巷镇","廊下镇","金山卫镇","漕泾镇","山阳镇"],n:"金山区"},{a:["南桥镇","奉城镇","四团镇","柘林镇","庄行镇","金汇镇","青村镇","海湾镇"],n:"奉贤区"},{a:["城区"],n:"普陀区"},{a:["城区"],n:"黄浦区"},{a:["堡镇","庙镇","陈家镇","城桥镇","东平镇","港西镇","港沿镇","建设镇","绿华镇","三星镇","竖新镇","向化镇","新海镇","新河镇","中兴镇","长兴乡","横沙乡","新村乡"],n:"崇明县"},{a:["城区"],n:"徐汇区"},{a:["城区"],n:"长宁区"}]},{n:"天津",c:[{a:["全境"],n:"东丽区"},{a:["全境"],n:"和平区"},{a:["全境"],n:"河北区"},{a:["全境"],n:"河东区"},{a:["全境"],n:"河西区"},{a:["全境"],n:"红桥区"},{a:["全境"],n:"蓟县"},{a:["全境"],n:"静海县"},{a:["全境"],n:"南开区"},{a:["全境"],n:"塘沽区"},{a:["杨柳青,中北,精武,大寺镇,环外海泰及外环内","其它地区"],n:"西青区"},{a:["杨村镇、下朱庄内","其它地区"],n:"武清区"},{a:["双港,辛庄","咸水沽镇、海河教育园,海河科技园","其他地区"],n:"津南区"},{a:["汉沽区街里、汉沽开发区","其它地区"],n:"汉沽区"},{a:["大港油田","主城区内","主城区外"],n:"大港区"},{a:["外环外双街镇,河北工大新校,屈店工业园","外环内","外环外其它地区"],n:"北辰区"},{a:["城关镇、马家店开发区、天宝工业园","其它地区"],n:"宝坻区"},{a:["芦台镇、经济开发区、贸易开发区","其它地区"],n:"宁河县"}]},{n:"重庆",c:[{a:["县城内","青杠镇","来凤镇","丁家镇","大路镇","八塘镇","七塘镇","河边镇","福禄镇","大兴镇","正兴镇","广普镇","三合镇","健龙镇"],n:"璧山县"},{a:["县城内","广顺镇","安富镇","峰高镇","双河镇","直升镇","路孔镇","清江镇","仁义镇","河包镇","古昌镇","吴家镇","观胜镇","铜鼓镇","清流镇","盘龙镇","远觉镇","清升镇","荣隆镇","龙集镇"],n:"荣昌县"},{a:["县城内","土桥镇","二坪镇","水口镇","安居镇","白羊镇","平滩镇","石鱼镇","福果镇","维新镇","高楼镇","大庙镇","围龙镇","华兴镇","永嘉镇","安溪镇","西河镇","太平镇","旧县镇","虎峰镇","少云镇","蒲吕镇","侣俸镇","小林乡","双山乡","庆隆乡"],n:"铜梁县"},{a:["内环以内","寸滩镇","郭家沱镇","铁山坪镇","鱼嘴镇","复盛镇","五宝镇","大石坝镇"],n:"江北区"},{a:["城区","内环以内","茶园新区","鸡冠石镇","长生桥镇","峡口镇","广阳镇","迎龙镇"],n:"南岸区"},{a:["内环以内","白市驿镇","铜罐驿镇","华岩镇","巴福镇","含谷镇","金凤镇","石板镇","陶家镇","西彭镇","走马镇"],n:"九龙坡区"},{a:["内环以内","陈家桥镇","歌乐山镇","青木关镇","回龙坝镇","大学城","虎溪镇","西永镇","土主镇","井口镇","曾家镇","凤凰镇","中梁镇"],n:"沙坪坝区"},{a:["茄子溪镇","建胜镇","跳磴镇","内环以内"],n:"大渡口区"},{a:["城区","三江镇","安稳镇","打通镇","丁山镇","东溪镇","扶欢镇","赶水镇","郭扶镇","横山镇","隆盛镇","三角镇","石壕镇","石角镇","新盛镇","永城镇","永新镇","中峰镇","篆塘镇","丛林镇","关坝镇","黑山镇","金桥镇","南桐镇","青年镇","石林镇","万东镇"],n:"綦江区"},{a:["城区","草街镇","盐井镇","云门镇","大石镇","沙鱼镇","官渡镇","涞滩镇","肖家镇","古楼镇","三庙镇","二郎镇","龙凤镇","隆兴镇","铜溪镇","双凤镇","狮滩镇","清平镇","土场镇","小沔镇","三汇镇","香龙镇","钱塘镇","龙市镇","燕窝镇","太和镇","渭沱镇","双槐镇"],n:"合川区"},{a:["城区","南泉镇","一品镇","南彭镇","惠民镇","麻柳嘴镇","天星寺镇","双河口镇","界石镇","安澜镇","跳石镇","木洞镇","丰盛镇","二圣镇","东泉镇","姜家镇","接龙镇","石滩镇","石龙镇"],n:"巴南区"},{a:["城区","东阳镇","蔡家岗镇","童家溪镇","施家梁镇","金刀峡镇","澄江镇","水土镇","歇马镇","天府镇","复兴镇","静观镇","柳荫镇","三圣镇"],n:"北碚区"},{a:["城区","四面山镇","支坪镇","白沙镇","珞璜镇","柏林镇","蔡家镇","慈云镇","杜市镇","广兴镇","嘉平镇","贾嗣镇","李市镇","龙华镇","石蟆镇","石门镇","塘河镇","吴滩镇","西湖镇","夏坝镇","先锋镇","永兴镇","油溪镇","中山镇","朱杨镇"],n:"江津区"},{a:["城区","礼嘉镇","两路镇","王家镇","悦来镇","玉峰山镇","茨竹镇","大盛镇","大塆镇","古路镇","龙兴镇","洛碛镇","木耳镇","石船镇","统景镇","兴隆镇"],n:"渝北区"},{a:["城区","长寿湖镇","邻封镇","但渡镇","云集镇","双龙镇","龙河镇","石堰镇","云台镇","海棠镇","葛兰镇","新市镇","八颗镇","洪湖镇","万顺镇"],n:"长寿区"},{a:["城区","双竹镇","三教镇","大安镇","陈食镇","板桥镇","宝峰镇","临江镇","红炉镇","吉安镇","金龙镇","来苏镇","青峰镇","双石镇","松溉镇","五间镇","仙龙镇","永荣镇","朱沱镇","何埂镇"],n:"永川区"},{a:["全境"],n:"渝中区"},{a:["全境"],n:"高新区"},{a:["全境"],n:"北部新区"},{a:["城区","龙滩子镇","龙水镇","智凤镇","宝顶镇","中敖镇","三驱镇","宝兴镇","玉龙镇","石马镇","拾万镇","回龙镇","金山镇","万古镇","国梁镇","雍溪镇","珠溪镇","龙石镇","邮亭镇","铁山镇","高升镇","季家镇","古龙镇","高坪镇","双路镇","通桥镇"],n:"大足区"},{a:["城区","白土镇","白羊镇","大周镇","弹子镇","分水镇","甘宁镇","高峰镇","高梁镇","后山镇","李河镇","龙驹镇","龙沙镇","罗田镇","孙家镇","太安镇","太龙镇","天城镇","武陵镇","响水镇","小周镇","新田镇","新乡镇","熊家镇","余家镇","长岭镇","长坪镇","长滩镇","走马镇","瀼渡镇","茨竹乡","柱山乡","燕山乡","溪口乡","普子乡","地宝乡","铁峰乡","黄柏乡","九池乡","梨树乡","郭村乡","恒合乡"],n:"万州区"},{a:["城区","李渡镇","白涛镇","百胜镇","堡子镇","焦石镇","蔺市镇","龙桥镇","龙潭镇","马武镇","南沱镇","青羊镇","清溪镇","石沱镇","新妙镇","义和镇","增福乡","珍溪镇","镇安镇","致韩镇","土地坡乡","武陵山乡","中峰乡","梓里乡","丛林乡","大木乡","惠民乡","酒店乡","聚宝乡","卷洞乡","两汇乡","罗云乡","明家乡","仁义乡","山窝乡","石和乡","石龙乡","太和乡","天台乡","同乐乡","新村乡"],n:"涪陵区"},{a:["县城内","梁山镇","柏家镇","碧山镇","大观镇","福禄镇","合兴镇","和林镇","虎城镇","回龙镇","金带镇","聚奎镇","礼让镇","龙门镇","明达镇","蟠龙镇","屏锦镇","仁贤镇","石安镇","文化镇","新盛镇","荫平镇","袁驿镇","云龙镇","竹山镇","安胜乡","铁门乡","紫照乡","曲水乡","龙胜乡","城北乡","城东乡","复平乡"],n:"梁平县"},{a:["城区","头渡镇","兴隆镇","冷水关乡","德隆乡","峰岩乡","福寿乡","古花乡","河图乡","民主乡","木凉乡","乾丰乡","庆元乡","石莲乡","石溪乡","铁村乡","土溪乡","鱼泉乡","中桥乡","太平场镇","大观镇","大有镇","合溪镇","金山镇","鸣玉镇","南平镇","三泉镇","神童镇","石墙镇","水江镇"],n:"南川区"},{a:["县城内","柏梓镇","宝龙镇","崇龛镇","古溪镇","龙形镇","米心镇","群力镇","上和镇","双江镇","太安镇","塘坝镇","卧佛镇","五桂镇","小渡镇","新胜镇","玉溪镇","别口乡","田家乡","寿桥乡"],n:"潼南县"},{a:["城区","正阳镇","舟白镇","阿蓬江镇","小南海镇","鹅池镇","冯家镇","黑溪镇","黄溪镇","金溪镇","黎水镇","邻鄂镇","马喇镇","石会镇","石家镇","濯水镇","白石乡","白土乡","金洞乡","蓬东乡","沙坝乡","杉岭乡","水市乡","水田乡","太极乡","五里乡","新华乡","中塘乡"],n:"黔江区"},{a:["白桥镇","大德镇","金峰镇","谭家镇","天和镇","白泉乡","县城内","九龙山镇","大进镇","敦好镇","高桥镇","郭家镇","和谦镇","河堰镇","厚坝镇","临江镇","南门镇","南雅镇","渠口镇","铁桥镇","岳溪镇","温泉镇","义和镇","长沙镇","赵家镇","镇安镇","中和镇","竹溪镇","三汇口乡","白桥乡","大德乡","关面乡","金峰乡","麻柳乡","满月乡","谭家乡","天和乡","巫山镇","五通乡","紫水乡"],n:"开县"},{a:["县城内","云阳镇","巴阳镇","凤鸣镇","高阳镇","故陵镇","红狮镇","黄石镇","江口镇","龙角镇","路阳镇","南溪镇","农坝镇","盘龙镇","平安镇","渠马镇","人和镇","桑坪镇","沙市镇","双土镇","鱼泉镇","云安镇","洞鹿乡","后叶乡","龙洞乡","毛坝乡","泥溪乡","票草乡","普安乡","栖霞乡","清水乡","上坝乡","石门乡","双龙乡","水口乡","外郎乡","新津乡","堰坪乡","养鹿乡","耀灵乡","云硐乡"],n:"云阳县"},{a:["县城内","忠州镇","拔山镇","白石镇","东溪镇","复兴镇","官坝镇","花桥镇","黄金镇","金鸡镇","马灌镇","任家镇","汝溪镇","三汇镇","石宝镇","石黄镇","双桂镇","乌杨镇","新生镇","洋渡镇","野鹤镇","永丰镇","金声乡","磨子乡","善广乡","石子乡","涂井乡","兴峰乡","新立镇"],n:"忠县"},{a:["县城内","桂溪镇","澄溪镇","高安镇","高峰镇","鹤游镇","普顺镇","沙坪镇","太平镇","五洞镇","新民镇","砚台镇","永安镇","周嘉镇","白家乡","包家乡","曹回乡","大石乡","杠家乡","坪山镇","黄沙乡","裴兴乡","三溪乡","沙河乡","永平乡","长龙乡"],n:"垫江县"},{a:["县城内","葛城镇","巴山镇","高观镇","庙坝镇","明通镇","坪坝镇","修齐镇","北屏乡","东安乡","高楠乡","高燕乡","河鱼乡","厚坪乡","鸡鸣乡","岚天乡","蓼子乡","龙田乡","明中乡","双河乡","咸宜乡","沿河乡","治平乡","周溪乡","左岚乡"],n:"城口县"},{a:["县城内","仙女山镇","巷口镇","白马镇","火炉镇","江口镇","平桥镇","桐梓镇","土坎镇","鸭江镇","羊角镇","长坝镇","白云乡","沧沟乡","凤来乡","浩口乡","和顺乡","后坪乡","黄莺乡","接龙乡","庙垭乡","石桥乡","双河乡","铁矿乡","土地乡","文复乡","赵家乡"],n:"武隆县"},{a:["县城内","南天湖镇","许明寺镇","包鸾镇","董家镇","高家镇","虎威镇","江池镇","龙河镇","名山镇","三元镇","社坛镇","十直镇","树人镇","双路镇","武平镇","兴义镇","湛普镇","镇江镇","太平坝乡","双龙场乡","保合乡","崇兴乡","都督乡","暨龙乡","栗子乡","龙孔乡","青龙乡","仁沙乡","三坝乡","三建乡"],n:"丰都县"},{a:["永乐镇","县城内","永安镇","白帝镇","草堂镇","大树镇","汾河镇","公平镇","甲高镇","康乐镇","青龙镇","吐祥镇","新民镇","兴隆镇","羊市镇","朱衣镇","竹园镇","安坪乡","冯坪乡","鹤峰乡","红土乡","康坪乡","龙桥乡","平安乡","石岗乡","太和乡","五马乡","新政乡","岩湾乡","云雾乡","长安乡"],n:"奉节县"},{a:["县城内","城厢镇","凤凰镇","古路镇","尖山镇","宁厂镇","上磺镇","文峰镇","下堡镇","徐家镇","朝阳洞乡","大河乡","峰灵乡","花台乡","兰英乡","菱角乡","蒲莲乡","胜利乡","双阳乡","塘坊乡","天星乡","天元乡","田坝乡","通城乡","土城乡","乌龙乡","鱼鳞乡","长桂乡","中岗乡","中梁乡"],n:"巫溪县"},{a:["县城内","巫峡镇","大昌镇","福田镇","官渡镇","官阳镇","龙溪镇","骡坪镇","庙堂乡","庙宇镇","双龙镇","铜鼓镇","抱龙镇","大溪乡","当阳乡","邓家乡","笃坪乡","红椿乡","建平乡","金坪乡","两坪乡","龙井乡","培石乡","平河乡","曲尺乡","三溪乡","竹贤乡"],n:"巫山县"},{a:["王家乡","洗新乡","新乐乡","中益乡","县城内","南宾镇","黄水镇","临溪镇","龙沙镇","马武镇","沙子镇","王场镇","西沱镇","下路镇","沿溪镇","渔池镇","悦崃镇","大歇乡","枫木乡","河嘴乡","黄鹤乡","金铃乡","金竹乡","冷水乡","黎场乡","六塘乡","龙潭乡","桥头乡","三河乡","三益乡","石家乡","万朝乡"], +n:"石柱县"},{a:["保家镇","高谷镇","黄家镇","连湖镇","龙射镇","鹿角镇","普子镇","桑柘镇","万足镇","郁山镇","梅子垭乡","鞍子乡","大垭乡","棣棠乡","靛水乡","朗溪乡","联合乡","龙塘乡","龙溪乡","芦塘乡","鹿鸣乡","平安乡","迁乔乡","乔梓乡","润溪乡","三义乡","善感乡","县城内","石柳乡","石盘乡","双龙乡","太原乡","桐楼乡","小厂乡","新田乡","岩东乡","长滩乡","诸佛乡","走马乡"],n:"彭水县"},{a:["县城内","钟多镇","苍岭镇","车田乡","大溪镇","丁市镇","泔溪镇","龚滩镇","黑水镇","后溪镇","李溪镇","龙潭镇","麻旺镇","小河镇","兴隆镇","酉酬镇","南腰界乡","后坪坝乡","板溪乡","官清乡","花田乡","江丰乡","可大乡","浪坪乡","两罾乡","毛坝乡","庙溪乡","木叶乡","楠木乡","偏柏乡","清泉乡","双泉乡","天馆乡","铜鼓乡","涂市乡","万木乡","五福乡","宜居乡","腴地乡","板桥乡"],n:"酉阳县"},{a:["县城内","清溪场镇","中和镇","隘口镇","峨溶镇","官庄镇","洪安镇","兰桥镇","龙池镇","梅江镇","平凯镇","溶溪镇","石堤镇","石耶镇","雅江镇","巴家乡","保安乡","岑溪乡","大溪乡","干川乡","膏田乡","官舟乡","海洋乡","里仁乡","妙泉乡","平马乡","宋农乡","溪口乡","孝溪乡","涌洞乡","中平乡","钟灵乡"],n:"秀山县"}]},{n:"河北",c:[{a:["路北区","路南区","迁安市","丰润区","古冶区","开平区","遵化市","丰南区","迁西县","滦南县","玉田县","曹妃甸区","乐亭县","滦县"],n:"唐山市"},{a:["沧县","泊头市","河间市","献县","肃宁县","青县","东光县","吴桥县","南皮县","盐山县","海兴县","孟村县","运河区","新华区","任丘市","黄骅市"],n:"沧州市"},{a:["三河市","广阳区","开发区","固安县","安次区","永清县","香河县","大城县","文安县","大厂县","霸州市"],n:"廊坊市"},{a:["冀州市","深州市","饶阳县","枣强县","桃城区","故城县","阜城县","安平县","武邑县","景县","武强县"],n:"衡水市"},{a:["藁城市","鹿泉市","正定县","新华区","桥西区","桥东区","裕华区","长安区","辛集市","晋州市","新乐市","平山县","井陉矿区","井陉县","栾城县","行唐县","灵寿县","高邑县","赵县","赞皇县","深泽县","无极县","元氏县"],n:"石家庄市"},{a:["丛台区","邯山区","复兴区","武安市","临漳县","永年县","邯郸县","峰峰矿区","曲周县","馆陶县","魏县","成安县","大名县","涉县","鸡泽县","邱县","广平县","肥乡县","磁县"],n:"邯郸市"},{a:["宁晋县","威县","桥西区","桥东区","邢台县","南宫市","沙河市","柏乡县","任县","清河县","隆尧县","临城县","广宗县","临西县","内丘县","平乡县","巨鹿县","新河县","南和县"],n:"邢台市"},{a:["涿州市","定州市","徐水县","高碑店市","新市区","北市区","南市区","安国市","安新县","满城县","清苑县","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","易县","曲阳县","蠡县","顺平县","博野县","雄县"],n:"保定市"},{a:["怀安县","沽源县","宣化区","宣化县","康保县","张北县","阳原县","赤城县","崇礼县","尚义县","蔚县","涿鹿县","万全县","下花园区","桥西区","桥东区","怀来县"],n:"张家口市"},{a:["双滦区","鹰手营子矿区","隆化县","兴隆县","平泉县","滦平县","丰宁县","围场县","宽城县","双桥区","承德县"],n:"承德市"},{a:["卢龙县","青龙县","昌黎县","北戴河区","海港区","山海关区","抚宁县"],n:"秦皇岛市"}]},{n:"山西",c:[{a:["长治县","潞城市","郊区","襄垣县","屯留县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县","城区"],n:"长治市"},{a:["小店区","迎泽区","晋源区","万柏林区","尖草坪区","杏花岭区","古交市","阳曲县","娄烦县","清徐县"],n:"太原市"},{a:["大同县","天镇县","灵丘县","阳高县","左云县","浑源县","广灵县","城区","新荣区","南郊区","矿区"],n:"大同市"},{a:["盂县","平定县","郊区","城区","矿区"],n:"阳泉市"},{a:["城区","高平市","阳城县","沁水县","陵川县","泽州县"],n:"晋城市"},{a:["平鲁区","山阴县","右玉县","应县","怀仁县","朔城区"],n:"朔州市"},{a:["介休市","昔阳县","祁县","左权县","寿阳县","太谷县","和顺县","灵石县","平遥县","榆社县","榆次区"],n:"晋中市"},{a:["原平市","代县","神池县","五寨县","五台县","偏关县","宁武县","静乐县","繁峙县","河曲县","保德县","定襄县","忻府区","岢岚县"],n:"忻州市"},{a:["离石区","孝义市","汾阳市","文水县","中阳县","兴县","临县","方山县","柳林县","岚县","交口县","交城县","石楼县"],n:"吕梁市"},{a:["曲沃县","侯马市","霍州市","汾西县","吉县","安泽县","浮山县","大宁县","古县","隰县","襄汾县","翼城县","永和县","乡宁县","洪洞县","蒲县","尧都区"],n:"临汾市"},{a:["盐湖区","河津市","永济市","新绛县","平陆县","垣曲县","绛县","稷山县","芮城县","夏县","临猗县","万荣县","闻喜县"],n:"运城市"}]},{n:"河南",c:[{a:["永城市","宁陵县","虞城县","民权县","夏邑县","柘城县","睢县","睢阳区","梁园区"],n:"商丘市"},{a:["项城市","商水县","淮阳县","太康县","鹿邑县","西华县","扶沟县","沈丘县","郸城县","川汇区","东新区","经济开发区"],n:"周口市"},{a:["确山县","新蔡县","上蔡县","泌阳县","西平县","遂平县","汝南县","平舆县","正阳县","驿城区"],n:"驻马店市"},{a:["潢川县","淮滨县","息县","新县","固始县","罗山县","光山县","商城县","平桥区","浉河区"],n:"信阳市"},{a:["二七区","中原区","郑东新区","管城区","金水区","经济开发区","高新技术开发区","新郑市","巩义市","荥阳市","中牟县","新密市","登封市","惠济区","上街区"],n:"郑州市"},{a:["金明区","龙亭区","顺河区","鼓楼区","禹王台区","通许县","开封县","杞县","兰考县","尉氏县"],n:"开封市"},{a:["涧西区","西工区","洛龙区","嵩县","偃师市","孟津县","汝阳县","伊川县","洛宁县","宜阳县","栾川县","新安县","伊滨区","吉利区","瀍河区","老城区"],n:"洛阳市"},{a:["湛河区","卫东区","新华区","汝州市","舞钢市","郏县","叶县","鲁山县","宝丰县","石龙区"],n:"平顶山市"},{a:["沁阳市","孟州市","修武县","温县","武陟县","博爱县","山阳区","解放区","马村区","中站区"],n:"焦作市"},{a:["淇滨区","浚县","淇县","鹤山区","山城区"],n:"鹤壁市"},{a:["牧野区","红旗区","卫滨区","卫辉市","辉县市","新乡县","获嘉县","原阳县","长垣县","延津县","封丘县","凤泉区"],n:"新乡市"},{a:["龙安区","殷都区","文峰区","开发区","北关区","林州市","安阳县","滑县","汤阴县","内黄县"],n:"安阳市"},{a:["濮阳县","南乐县","台前县","清丰县","范县","华龙区"],n:"濮阳市"},{a:["城区","五龙口镇","下冶镇","轵城镇","王屋镇","思礼镇","邵原镇","坡头镇","梨林镇","克井镇","大峪镇","承留镇"],n:"济源市"},{a:["魏都区","禹州市","长葛市","许昌县","鄢陵县","襄城县"],n:"许昌市"},{a:["郾城区","临颍县","召陵区","舞阳县","源汇区"],n:"漯河市"},{a:["渑池县","湖滨区","义马市","灵宝市","陕县","卢氏县"],n:"三门峡市"},{a:["社旗县","西峡县","卧龙区","宛城区","邓州市","桐柏县","方城县","淅川县","镇平县","唐河县","南召县","内乡县","新野县"],n:"南阳市"}]},{n:"辽宁",c:[{a:["苏家屯区","新民市","法库县","辽中县","康平县","皇姑区","铁西区","大东区","沈河区","东陵区","于洪区","和平区","浑南新区","沈北新区"],n:"沈阳市"},{a:["中山区","沙河口区","西岗区","甘井子区","高新园区","大连开发区","金州区","旅顺口区","普兰店市","瓦房店市","庄河市","长海县"],n:"大连市"},{a:["铁东区","立山区","台安县","海城市","岫岩县","铁西区","千山区"],n:"鞍山市"},{a:["望花区","东洲区","新抚区","顺城区","抚顺县","新宾县","清原县"],n:"抚顺市"},{a:["桓仁县","本溪县","平山区","溪湖区","明山区","南芬区"],n:"本溪市"},{a:["元宝区","振兴区","振安区","东港市","凤城市","宽甸县"],n:"丹东市"},{a:["凌河区","古塔区","太和区","义县","凌海市","北镇市","黑山县","经济技术开发区"],n:"锦州市"},{a:["龙港区","连山区","兴城市","绥中县","建昌县","南票区"],n:"葫芦岛市"},{a:["西市区","站前区","大石桥市","盖州市","老边区","鲅鱼圈区"],n:"营口市"},{a:["盘山县","大洼县","兴隆台区","双台子区"],n:"盘锦市"},{a:["阜新县","彰武县","海州区","太平区","细河区","清河门区","新邱区"],n:"阜新市"},{a:["辽阳县","白塔区","文圣区","灯塔市","太子河区","弓长岭区","宏伟区"],n:"辽阳市"},{a:["凌源市","北票市","喀喇沁左翼县","朝阳县","双塔区","建平县","龙城区"],n:"朝阳市"},{a:["银州区","清河区","开原市","铁岭县","西丰县","昌图县","调兵山市"],n:"铁岭市"}]},{n:"吉林",c:[{a:["德惠市","榆树市","九台市","农安县","朝阳区","南关区","宽城区","二道区","双阳区","绿园区","净月区","汽车产业开发区","高新技术开发区","经济技术开发区"],n:"长春市"},{a:["昌邑区","龙潭区","船营区","丰满区","舒兰市","桦甸市","蛟河市","磐石市","永吉县"],n:"吉林市"},{a:["铁东区","铁西区","公主岭市","双辽市","梨树县","伊通县"],n:"四平市"},{a:["东昌区","梅河口市","集安市","通化县","辉南县","柳河县","二道江区"],n:"通化市"},{a:["浑江区","临江市","江源区","靖宇县","抚松县","长白县"],n:"白山市"},{a:["宁江区","前郭县","乾安县","长岭县","扶余县"],n:"松原市"},{a:["大安市","洮南市","通榆县","镇赉县","洮北区"],n:"白城市"},{a:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"],n:"延边州"},{a:["龙山区","西安区","东丰县","东辽县"],n:"辽源市"}]},{n:"黑龙江",c:[{a:["勃利县","桃山区","新兴区","茄子河区"],n:"七台河市"},{a:["北安市","五大连池市","逊克县","孙吴县","嫩江县","爱辉区"],n:"黑河市"},{a:["北林区","安达市","肇东市","海伦市","绥棱县","兰西县","明水县","青冈县","庆安县","望奎县"],n:"绥化市"},{a:["加格达奇区","松岭区","呼中区","呼玛县","塔河县","漠河县","新林区"],n:"大兴安岭地区"},{a:["阿城区","尚志市","双城市","五常市","方正县","宾县","依兰县","巴彦县","通河县","木兰县","延寿县","呼兰区","松北区","道里区","南岗区","道外区","香坊区","平房区"],n:"哈尔滨市"},{a:["建华区","龙沙区","铁锋区","梅里斯区","昂昂溪区","富拉尔基区","碾子山区","讷河市","富裕县","拜泉县","甘南县","依安县","克山县","龙江县","克东县","泰来县"],n:"齐齐哈尔市"},{a:["兴山区","向阳区","工农区","南山区","兴安区","东山区","萝北县","绥滨县"],n:"鹤岗市"},{a:["尖山区","岭东区","四方台区","宝山区","集贤县","宝清县","友谊县","饶河县"],n:"双鸭山市"},{a:["恒山区","滴道区","梨树区","城子河区","麻山区","鸡冠区","密山市","虎林市","鸡东县"],n:"鸡西市"},{a:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","林甸县","肇州县","肇源县","杜尔伯特县"],n:"大庆市"},{a:["伊春区","南岔区","友好区","西林区","翠峦区","新青区","美溪区","金山屯区","五营区","乌马河区","汤旺河区","带岭区","乌伊岭区","红星区","上甘岭区","铁力市","嘉荫县"],n:"伊春市"},{a:["爱民区","东安区","阳明区","西安区","绥芬河市","海林市","宁安市","穆棱市","林口县","东宁县"],n:"牡丹江市"},{a:["桦川县","抚远县","桦南县","汤原县","前进区","向阳区","东风区","郊区","同江市","富锦市"],n:"佳木斯市"}]},{n:"内蒙古",c:[{a:["玉泉区","赛罕区","土默特左旗","和林格尔县","武川县","托克托县","清水河县","回民区","新城区"],n:"呼和浩特市"},{a:["固阳县","土默特右旗","达茂联合旗","东河区","九原区","青山区","昆都仑区","石拐区","白云矿区"],n:"包头市"},{a:["海勃湾区","海南区","乌达区"],n:"乌海市"},{a:["宁城县","敖汉旗","喀喇沁旗","翁牛特旗","巴林右旗","林西县","克什克腾旗","巴林左旗","阿鲁科尔沁旗","元宝山区","红山区","松山区"],n:"赤峰市"},{a:["集宁区","丰镇市","兴和县","卓资县","商都县","凉城县","化德县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗"],n:"乌兰察布市"},{a:["锡林浩特市","二连浩特市","多伦县","阿巴嘎旗","西乌珠穆沁旗","东乌珠穆沁旗","苏尼特右旗","苏尼特左旗","太仆寺旗","正镶白旗","正蓝旗","镶黄旗"],n:"锡林郭勒盟"},{a:["海拉尔区","满洲里市","牙克石市","扎兰屯市","根河市","额尔古纳市","陈巴尔虎旗","阿荣旗","新巴尔虎左旗","新巴尔虎右旗","鄂伦春旗","莫力达瓦旗","鄂温克族旗"],n:"呼伦贝尔市"},{a:["东胜区","准格尔旗","伊金霍洛旗","乌审旗","杭锦旗","鄂托克旗","鄂托克前旗","达拉特旗","康巴什新区"],n:"鄂尔多斯市"},{a:["临河区","五原县","磴口县","杭锦后旗","乌拉特中旗","乌拉特后旗 ","乌拉特前旗"],n:"巴彦淖尔市"},{a:["阿拉善右旗","阿拉善左旗","额济纳旗"],n:"阿拉善盟"},{a:["乌兰浩特市","阿尔山市","突泉县","扎赉特旗","科尔沁右翼前旗","科尔沁右翼中旗"],n:"兴安盟"},{a:["科尔沁区","霍林郭勒市","开鲁县","库伦旗","奈曼旗","扎鲁特旗","科尔沁左翼中旗","科尔沁左翼后旗"],n:"通辽市"}]},{n:"江苏",c:[{a:["玄武区","秦淮区","建邺区","鼓楼区","栖霞区","江宁区","六合区","雨花台区","高淳区","溧水区","浦口区"],n:"南京市"},{a:["贾汪区","金山桥开发区","铜山经济技术开发区","八段工业园区","鼓楼区","邳州市","泉山区","新沂市","云龙区","铜山区","睢宁县","沛县","丰县"],n:"徐州市"},{a:["海州区","赣榆区","连云区","灌云县","东海县","灌南县"],n:"连云港市"},{a:["经济开发区","楚州区","洪泽县","金湖县","盱眙县","清河区","淮阴区","清浦区","涟水县"],n:"淮安市"},{a:["宿城区","沭阳县","泗阳县","宿豫区","泗洪县","宿迁经济开发区"],n:"宿迁市"},{a:["射阳县","亭湖区","盐都区","东台市","大丰区","建湖县","响水县","阜宁县","滨海县"],n:"盐城市"},{a:["广陵区","邗江区","宝应县","仪征市","高邮市","江都区"],n:"扬州市"},{a:["海陵区","高港区","泰兴市","靖江市","兴化市","姜堰区"],n:"泰州市"},{a:["港闸区","崇川区","通州区","南通经济技术开发区","如东县","海安县","如皋市","海门市","启东市"],n:"南通市"},{a:["润州区","京口区","丹徒区","镇江新区","丹阳市","句容市","扬中市","丹徒新区"],n:"镇江市"},{a:["钟楼区","天宁区","武进区","新北区","金坛区","溧阳市"],n:"常州市"},{a:["崇安区","南长区","北塘区","锡山区","惠山区","新区","江阴市","宜兴市","滨湖区"],n:"无锡市"},{a:["常熟市","张家港市","太仓市","相城区","金阊区","虎丘区","平江区","沧浪区","工业园区","高新区","吴江区","吴中区","昆山市"],n:"苏州市"}]},{n:"山东",c:[{a:["河口区","广饶县","利津县","垦利区","东营区"],n:"东营市"},{a:["潍城区","奎文区","高新区","寒亭区","寿光市","青州市","诸城市","安丘市","高密市","昌邑市","昌乐县","临朐县","坊子区"],n:"潍坊市"},{a:["莱山区","芝罘区","开发区","福山区","牟平区","龙口市","莱州市","莱阳市","招远市","蓬莱市","栖霞市","海阳市","长岛县"],n:"烟台市"},{a:["荣成市","文登市","乳山市","环翠区"],n:"威海市"},{a:["莱城区","钢城区"],n:"莱芜市"},{a:["德城区","临邑县","齐河县","乐陵市","禹城市","陵县","宁津县","武城县","庆云县","平原县","夏津县"],n:"德州市"},{a:["兰陵县","兰山区","河东区","沂南县","沂水县","费县","平邑县","蒙阴县","临沭县","莒南县","郯城县","罗庄区"],n:"临沂市"},{a:["东昌府区","临清市","阳谷县","茌平县","莘县","东阿县","冠县","高唐县"],n:"聊城市"},{a:["北海新区","滨城区","邹平县","沾化县","惠民县","博兴县","阳信县","无棣县"],n:"滨州市"},{a:["牡丹区","单县","曹县","定陶县","巨野县","成武县","东明县","郓城县","鄄城县"],n:"菏泽市"},{a:["岚山区","新市区","五莲县","东港区","莒县"],n:"日照市"},{a:["梁山县","兖州市","微山县","汶上县","泗水县","嘉祥县","鱼台县","金乡县","邹城市","市中区","曲阜市","高新区","任城区"],n:"济宁市"},{a:["东平县","岱岳区","泰山区","肥城市","新泰市","宁阳县"],n:"泰安市"},{a:["高新区","长清区","历城区","天桥区","槐荫区","历下区","市中区","章丘市","平阴县","济阳县","商河县"],n:"济南市"},{a:["四方区","市北区","市南区","黄岛区","李沧区","即墨市","城阳区","崂山区","胶州市","平度市","莱西市"],n:"青岛市"},{a:["临淄区","张店区","周村区","淄川区","博山区","高青县","沂源县","桓台县"],n:"淄博市"},{a:["滕州市","山亭区","台儿庄区","峄城区","薛城区","市中区"],n:"枣庄市"}]},{n:"安徽",c:[{a:["铜官区","枞阳县","郊区","义安区"],n:"铜陵市"},{a:["包河区","蜀山区","瑶海区","庐阳区","滨湖新区","经济技术开发区","高新技术开发区","新站综合开发试验区","肥西县","政务文化新区","巢湖市","长丰县","肥东县","庐江县","北城新区"],n:"合肥市"},{a:["淮南高新技术开发区","田家庵区","大通区","谢家集区","八公山区","寿县","凤台县","潘集区"],n:"淮南市"},{a:["杜集区","烈山区","濉溪县","相山区"],n:"淮北市"},{a:["镜湖区","弋江区","无为县","芜湖县","繁昌县","南陵县","鸠江区","三山区"],n:"芜湖市"},{a:["蚌山区","怀远县","固镇县","五河县","淮上区","龙子湖区","禹会区"],n:"蚌埠市"},{a:["博望区","花山区","雨山区","当涂县","含山县","和县"],n:"马鞍山市"},{a:["桐城市","宿松县","太湖县","怀宁县","岳西县","望江县","潜山县","大观区","宜秀区","迎江区"],n:"安庆市"},{a:["徽州区","屯溪区","休宁县","歙县","黟县","祁门县","黄山区"],n:"黄山市"},{a:["琅琊区","天长市","明光市","全椒县","来安县","南谯区","定远县","凤阳县"],n:"滁州市"},{a:["经济开发区","界首市","太和县","阜南县","颍上县","临泉县","颍泉区","颍州区","颍东区"],n:"阜阳市"},{a:["利辛县","蒙城县","涡阳县","谯城区"],n:"亳州市"},{a:["旌德县","宁国市","郎溪县","广德县","绩溪县","泾县","宣州区"],n:"宣城市"},{a:["经济开发区","埇桥区","灵璧县","泗县","萧县","砀山县"],n:"宿州市"},{a:["贵池区","东至县","石台县","青阳县"],n:"池州市"},{a:["霍山县","金寨县","霍邱县","舒城县","金安区","裕安区"],n:"六安市"}]},{n:"浙江",c:[{a:["龙泉市","缙云县","遂昌县","松阳县","景宁县","云和县","青田县","莲都区","庆元县"],n:"丽水市"},{a:["临海市","三门县","天台县","仙居县","黄岩区","椒江区","路桥区","温岭市","玉环县"],n:"台州市"},{a:["岱山县","嵊泗县","普陀区","定海区"],n:"舟山市"},{a:["海曙区","江东区","高新科技开发区","慈溪市","北仑区","镇海区","鄞州区","江北区","余姚市","奉化市","宁海县","象山县"],n:"宁波市"},{a:["上城区","下城区","拱墅区","西湖区","江干区","下沙区","余杭区","萧山区","滨江区","临安市","富阳区","桐庐县","建德市","淳安县"],n:"杭州市"},{a:["龙湾区","茶山高教园区","瑞安市","乐清市","鹿城区","瓯海区","永嘉县","文成县","平阳县","泰顺县","洞头区","苍南县"],n:"温州市"},{a:["桐乡市","平湖市","嘉善县","南湖区","秀洲区","海宁市","海盐县"],n:"嘉兴市"},{a:["南浔区","吴兴区","长兴县","德清县","安吉县"],n:"湖州市"},{a:["柯桥区","越城区","诸暨市","上虞区","嵊州市","新昌县"],n:"绍兴市"},{a:["金东区","婺城区","兰溪市","武义县","浦江县","磐安县","义乌市","永康市","东阳市"],n:"金华市"},{a:["柯城区","衢江区","江山市","常山县","开化县","龙游县"],n:"衢州市"}]},{n:"福建",c:[{a:["台江区","鼓楼区","晋安区","仓山区","马尾区","福清市","闽侯县","长乐市","平潭县","连江县","罗源县","永泰县","闽清县"],n:"福州市"},{a:["思明区","湖里区","翔安区","海沧区","集美区","同安区"],n:"厦门市"},{a:["永安市","明溪县","将乐县","大田县","宁化县","建宁县","沙县","尤溪县","清流县","泰宁县","梅列区","三元区"],n:"三明市"},{a:["仙游县","城厢区","荔城区","秀屿区","涵江区"],n:"莆田市"},{a:["泉港区","石狮市","南安市","惠安县","安溪县","德化县","永春县","金门县","洛江区","鲤城区","丰泽区","晋江市"],n:"泉州市"},{a:["芗城区","龙文区","龙海市","平和县","南靖县","诏安县","漳浦县","华安县","云霄县","东山县","长泰县"],n:"漳州市"},{a:["建瓯市","邵武市","武夷山市","建阳市","松溪县","顺昌县","浦城县","政和县","光泽县","延平区"],n:"南平市"},{a:["新罗区","漳平市","长汀县","武平县","永定县","上杭县","连城县"],n:"龙岩市"},{a:["蕉城区","东侨开发区","福安市","福鼎市","寿宁县","霞浦县","柘荣县","屏南县","古田县","周宁县"],n:"宁德市"}]},{n:"湖北",c:[{a:["松柏镇","阳日镇","木鱼镇","红坪镇","新华镇","宋洛乡","九湖乡","下谷坪乡"],n:"神农架林区"},{a:["硚口区","武昌区","武汉经济技术开发区","江岸区","江汉区","蔡甸区","江夏区","新洲区","黄陂区","汉阳区","青山区","洪山区","汉南区","东西湖区"],n:"武汉市"},{a:["园林","杨市","周矶","广华","泰丰","竹根滩镇","高石碑镇","积玉口镇","渔洋镇","王场镇","熊口镇","老新镇","浩口镇","张金镇","龙湾镇","江汉石油管理局","潜江经济开发区","西大垸管理区","运粮湖管理区","周矶管理区","后湖管理区","熊口管理区","总口管理区","高场原种场","浩口原种场"],n:"潜江市"},{a:["黄石港区","下陆区","西塞山区","铁山区","大冶市","阳新县","经济技术开发区"],n:"黄石市"},{a:["老河口市","枣阳市","宜城市","南漳县","保康县","谷城县","樊城区","襄城区","襄州区"],n:"襄阳市"},{a:["丹江口市","房县","竹山县","竹溪县","郧县","郧西县","茅箭区","张湾区"],n:"十堰市"},{a:["沙市区","荆州区","江陵县","洪湖市","石首市","松滋市","监利县","公安县"],n:"荆州市"},{a:["伍家岗区","西陵区","宜都市","猇亭区","点军区","当阳市","枝江市","夷陵区","秭归县","兴山县","远安县","五峰土家族自治县","长阳土家族自治县"],n:"宜昌市"},{a:["汉川市","云梦县","大悟县","孝昌县","孝南区","应城市","安陆市"],n:"孝感市"},{a:["黄州区","蕲春县","麻城市","武穴市","浠水县","红安县","罗田县","黄梅县","英山县","团风县"],n:"黄冈市"},{a:["侨乡街道开发区","竟陵街道","杨林街道","佛子山镇","多宝镇","拖市镇","张港镇","蒋场镇","汪场镇","渔薪镇","黄潭镇","岳口镇","横林镇","彭市镇","麻洋镇","多祥镇","干驿镇","马湾镇","卢市镇","小板镇","九真镇","皂市镇","胡市镇","石河镇","净潭乡","蒋湖农场","白茅湖农场","沉湖管委会"],n:"天门市"},{a:["城区","郑场镇","毛嘴镇","豆河镇","三伏潭镇","胡场镇","长埫口镇","西流河镇","沙湖镇","杨林尾镇","彭场镇","张沟镇","郭河镇","沔城镇","通海口镇","陈场镇","工业园区","九合垸原种场","沙湖原种场","排湖渔场","五湖渔场","赵西垸林场","刘家垸林场","畜禽良种场"],n:"仙桃市"},{a:["咸安区","赤壁市","嘉鱼县","通山县","崇阳县","通城县"],n:"咸宁市"},{a:["恩施市","利川市","建始县","来凤县","巴东县","鹤峰县","宣恩县","咸丰县"],n:"恩施州"},{a:["梁子湖区","华容区","鄂城区"],n:"鄂州市"},{a:["东宝区","掇刀区","钟祥市","京山县","沙洋县"],n:"荆门市"},{a:["曾都区","广水市","随县"],n:"随州市"}]},{n:"湖南",c:[{a:["慈利县","桑植县","武陵源区","永定区"],n:"张家界市"},{a:["资兴市","宜章县","安仁县","汝城县","嘉禾县","临武县","桂东县","永兴县","桂阳县","北湖区","苏仙区"],n:"郴州市"},{a:["南县","桃江县","安化县","赫山区","资阳区","沅江市"],n:"益阳市"},{a:["冷水滩区","祁阳县","双牌县","道县","江永县","江华县","宁远县","新田县","蓝山县","东安县","零陵区"],n:"永州市"},{a:["鹤城区","洪江市","会同县","溆浦县","中方县","辰溪县","靖州县","通道县","芷江县","新晃县","麻阳县","沅陵县"],n:"怀化市"},{a:["娄星区","冷水江市","涟源市","新化县","双峰县"],n:"娄底市"},{a:["吉首市","古丈县","龙山县","永顺县","泸溪县","凤凰县","花垣县","保靖县"],n:"湘西州"},{a:["芙蓉区","岳麓区","雨花区","开福区","天心区","浏阳市","长沙县","宁乡县","望城区"],n:"长沙市"},{a:["天元区","石峰区","芦淞区","荷塘区","醴陵市","株洲县","攸县","茶陵县","炎陵县"],n:"株洲市"},{a:["雨湖区","岳塘区","湘乡市","湘潭县","韶山市"],n:"湘潭市"},{a:["蒸湘区","石鼓区","珠晖区","雁峰区","常宁市","衡阳县","耒阳市","衡东县","衡南县","衡山县","祁东县","南岳区"],n:"衡阳市"},{a:["大祥区","双清区","北塔区","武冈市","邵东县","洞口县","新邵县","绥宁县","新宁县","邵阳县","隆回县","城步县"],n:"邵阳市"},{a:["岳阳楼区","君山区","云溪区","临湘市","汨罗市","岳阳县","湘阴县","华容县","平江县"],n:"岳阳市"},{a:["汉寿县","石门县","安乡县","鼎城区","武陵区","津市市","澧县","临澧县","桃源县"],n:"常德市"}]},{n:"广东",c:[{a:["天河区","海珠区","荔湾区","越秀区","番禺区","花都区","萝岗区","白云区","南沙区","黄埔区","增城区","从化区","广州大学城"],n:"广州市"},{a:["罗湖区","福田区","南山区","宝安区","光明新区","龙岗区","坪山新区","盐田区","龙华新区","大鹏新区"],n:"深圳市"},{a:["斗门区","金湾区","香洲区"],n:"珠海市"},{a:["龙湖区","金平区","澄海区","潮阳区","潮南区","濠江区","南澳县"],n:"汕头市"},{a:["武江区","浈江区","南雄市","乐昌市","仁化县","始兴县","翁源县","新丰县","乳源瑶族自治县","曲江区"],n:"韶关市"},{a:["和平县","龙川县","紫金县","连平县","源城区","东源县"],n:"河源市"},{a:["梅江区","兴宁市","梅县","蕉岭县","大埔县","丰顺县","五华县","平远县"],n:"梅州市"},{a:["惠阳区","大亚湾区","惠城区","惠东县","博罗县","龙门县"],n:"惠州市"},{a:["城区","陆丰市","陆河县","海丰县"],n:"汕尾市"},{a:["长安镇","莞城区","南城区","寮步镇","大岭山镇","横沥镇","常平镇","厚街镇","万江区","樟木头镇","塘厦镇","凤岗镇","大朗镇","东坑镇","清溪镇","企石镇","茶山镇","东城区","虎门镇","黄江镇","石排镇","道滘镇","沙田镇","高埗镇","石龙镇","石碣镇","洪梅镇","麻涌镇","松山湖","桥头镇","望牛墩镇","中堂镇","谢岗镇"],n:"东莞市"},{a:["城区","火炬开发区","小榄镇","古镇","三乡镇","民众镇","东凤镇","板芙镇","神湾镇","横栏镇","港口镇","三角镇","大涌镇","南头镇","沙溪镇","坦洲镇","黄圃镇","五桂山镇","南朗镇","沙朗镇","阜沙镇","东升镇"],n:"中山市"},{a:["台山市","新会区","鹤山市","江海区","蓬江区","开平市","恩平市"],n:"江门市"},{a:["顺德区","禅城区","高明区","三水区","南海区"],n:"佛山市"},{a:["江城区","阳东县","阳春市","阳西县"],n:"阳江市"},{a:["赤坎区","霞山区","经济技术开发区","麻章区","遂溪县","廉江市","坡头区","雷州市","吴川市","徐闻县"],n:"湛江市"},{a:["茂南区","电白县","高州市","化州市","茂港区","信宜市"],n:"茂名市"},{a:["端州区","四会市","高要市","广宁县","德庆县","怀集县","封开县","鼎湖区"],n:"肇庆市"},{a:["云城区","罗定市","云安县","新兴县","郁南县"],n:"云浮市"},{a:["连州市","佛冈县","阳山县","清新县","连山县","连南县","清城区","英德市"],n:"清远市"},{a:["湘桥区","枫溪区","潮安区","饶平县"],n:"潮州市"},{a:["东山区","普宁市","榕城区","揭东县","揭西县","惠来县"],n:"揭阳市"}]},{n:"广西",c:[{a:["八步区","钟山县","昭平县","富川县","平桂管理区"],n:"贺州市"},{a:["右江区","平果县","乐业县","田阳县","西林县","田林县","德保县","靖西县","田东县","那坡县","隆林县","凌云县"],n:"百色市"},{a:["宜州市","天峨县","凤山县","南丹县","东兰县","巴马县","环江县","大化县","都安县","金城江区","罗城县"],n:"河池市"},{a:["江州区","凭祥市","扶绥县","大新县","天等县","宁明县","龙州县"],n:"崇左市"},{a:["良庆区","江南区","兴宁区","青秀区","西乡塘区","横县","上林县","隆安县","马山县","武鸣区","邕宁区","宾阳县"],n:"南宁市"},{a:["融安县","三江县","融水县","鱼峰区","城中区","柳南区","柳北区","柳江县","柳城县","鹿寨县"],n:"柳州市"},{a:["象山区","恭城县","秀峰区","叠彩区","七星区","雁山区","阳朔县","临桂县","灵川县","全州县","平乐县","兴安县","灌阳县","荔浦县","资源县","永福县","龙胜县"],n:"桂林市"},{a:["岑溪市","苍梧县","藤县","蒙山县","万秀区","蝶山区","长洲区"],n:"梧州市"},{a:["海城区","银海区","合浦县","铁山港区"],n:"北海市"},{a:["防城区","港口区","东兴市","上思县"],n:"防城港市"},{a:["钦南区","钦北区","浦北县","灵山县"],n:"钦州市"},{a:["港南区","港北区","桂平市","平南县","覃塘区"],n:"贵港市"},{a:["玉州区","北流市","容县","博白县","陆川县","兴业县"],n:"玉林市"},{a:["兴宾区","合山市","忻城县","武宣县","象州县","金秀县"],n:"来宾市"}]},{n:"江西",c:[{a:["青云谱区","西湖区","东湖区","昌北区","南昌县","进贤县","安义县","青山湖区","红谷滩新区","新建县","湾里区","高新区"],n:"南昌市"},{a:["珠山区","乐平市","浮梁县","昌江区"],n:"景德镇市"},{a:["湘东区","莲花县","上栗县","芦溪县","安源区"],n:"萍乡市"},{a:["分宜县","渝水区"],n:"新余市"},{a:["浔阳区","八里湖新区","经济技术开发区","修水县","瑞昌市","彭泽县","湖口县","共青城市","九江县","庐山区","德安县","都昌县","永修县","武宁县","星子县","庐山风景名胜区"],n:"九江市"},{a:["龙虎山风景旅游区","余江县","贵溪市","月湖区"],n:"鹰潭市"},{a:["德兴市","广丰县","鄱阳县","婺源县","余干县","横峰县","弋阳县","铅山县","玉山县","万年县","信州区","上饶县"],n:"上饶市"},{a:["丰城市","樟树市","袁州区","高安市","铜鼓县","靖安县","宜丰县","奉新县","万载县","上高县"],n:"宜春市"},{a:["南丰县","乐安县","金溪县","南城县","东乡县","资溪县","宜黄县","崇仁县","黎川县","广昌县","临川区"],n:"抚州市"},{a:["青原区","吉州区","井冈山市","吉安县","永丰县","永新县","新干县","泰和县","峡江县","遂川县","安福县","吉水县","万安县"],n:"吉安市"},{a:["章贡区","南康市","瑞金市","石城县","安远县","赣县","宁都县","寻乌县","兴国县","定南县","上犹县","于都县","龙南县","崇义县","大余县","信丰县","全南县","会昌县"],n:"赣州市"}]},{n:"四川",c:[{a:["仁寿县","彭山区","洪雅县","丹棱县","青神县","东坡区"],n:"眉山市"},{a:["雁江区","安岳县","乐至县","简阳市"],n:"资阳市"},{a:["马尔康县","九寨沟县","红原县","阿坝县","理县","若尔盖县","金川县","小金县","黑水县","松潘县","壤塘县","茂县","汶川县"],n:"阿坝州"},{a:["康定县","泸定县","九龙县","丹巴县","道孚县","炉霍县","色达县","甘孜县","新龙县","白玉县","德格县","石渠县","雅江县","理塘县","巴塘县","稻城县","乡城县","得荣县"],n:"甘孜州"},{a:["美姑县","昭觉县","会理县","会东县","普格县","宁南县","德昌县","冕宁县","盐源县","金阳县","布拖县","雷波县","越西县","喜德县","甘洛县","木里县","西昌市"],n:"凉山州"},{a:["武侯区","金牛区","青羊区","成华区","高新区","锦江区","郫县","双流县","高新西区","龙泉驿区","新都区","温江区","都江堰市","彭州市","青白江区","崇州市","金堂县","新津县","邛崃市","大邑县","蒲江县"],n:"成都市"},{a:["自流井区","沿滩区","荣县","富顺县","大安区","贡井区"],n:"自贡市"},{a:["仁和区","西区","东区","米易县","盐边县"],n:"攀枝花市"},{a:["纳溪区","江阳区","龙马潭区","泸县","合江县","叙永县","古蔺县"],n:"泸州市"},{a:["江油市","涪城区","游仙区","高新区","经开区","盐亭县","三台县","平武县","北川县","安县","梓潼县"],n:"绵阳市"},{a:["广汉市","什邡市","旌阳区","绵竹市","罗江县","中江县"],n:"德阳市"},{a:["昭化区","朝天区","利州区","青川县","旺苍县","剑阁县","苍溪县"],n:"广元市"},{a:["船山区","射洪县","蓬溪县","大英县","安居区"],n:"遂宁市"},{a:["东兴区","资中县","隆昌县","威远县","市中区"],n:"内江市"},{a:["市中区","峨眉山市","五通桥区","沙湾区","金口河区","夹江县","井研县","犍为县","沐川县","峨边县","马边县"],n:"乐山市"},{a:["宜宾县","南溪区","江安县","长宁县","兴文县","珙县","翠屏区","高县","屏山县","筠连县"],n:"宜宾市"},{a:["前锋区","岳池县","武胜县","邻水县","广安区","华蓥市"],n:"广安市"},{a:["顺庆区","高坪区","嘉陵区","西充县","阆中市","南部县","仪陇县","蓬安县","营山县"],n:"南充市"},{a:["通川区","达川区","大竹县","渠县","万源市","宣汉县","开江县"],n:"达州市"},{a:["巴州区","恩阳区","南江县","平昌县","通江县"],n:"巴中市"},{a:["芦山县","石棉县","名山区","天全县","荥经县","汉源县","宝兴县","雨城区"],n:"雅安市"}]},{n:"海南",c:[{a:["嘉积镇","万泉镇","石壁镇","中原镇","博鳌镇","阳江镇","龙江镇","潭门镇","塔洋镇","长坡镇","大路镇","会山镇","彬村山华侨农场","东太农场","东红农场","东升农场","南俸农场"],n:"琼海市"},{a:["兴隆镇","南林农场","万城镇","龙滚镇","和乐镇","后安镇","大茂镇","东澳镇","礼纪镇","长丰镇","山根镇","北大镇","南桥镇","三更罗镇","六连林场","东兴农场","东和农场","新中农场","兴隆华侨农场"],n:"万宁市"},{a:["秀英区","龙华区","琼山区","美兰区"],n:"海口市"},{a:["八所镇","东河镇","大田镇","感城镇","板桥镇","三家镇","四更镇","新龙镇","天安乡","江边乡","广坝农场","东方华侨农场"],n:"东方市"},{a:["崖城镇","海棠湾镇","吉阳镇","凤凰镇","天涯镇","育才镇","河西区","河东区","南田农场","南新农场","南岛农场","立才农场","南滨农场"],n:"三亚市"},{a:["文城镇","重兴镇","蓬莱镇","会文镇","东路镇","潭牛镇","东阁镇","文教镇","东郊镇","龙楼镇","昌洒镇","翁田镇","抱罗镇","冯坡镇","锦山镇","铺前镇","公坡镇","迈号镇","清谰镇","南阳镇","新桥镇","头苑镇","宝芳乡","龙马乡","湖山乡","东路农场","南阳农场","罗豆农场","橡胶研究所"],n:"文昌市"},{a:["通什镇","南圣镇","毛阳镇","番阳镇","畅好乡","毛道乡","水满乡","畅好农场"],n:"五指山市"},{a:["城区","临城镇","波莲镇","东英镇","博厚镇","皇桐镇","多文镇","和舍镇","南宝镇","新盈镇","调楼镇","加来镇","红华农场","加来农场"],n:"临高县"},{a:["城区","金江镇","老城镇","瑞溪镇","永发镇","加乐镇","文儒镇","中兴镇","仁兴镇","福山镇","桥头镇","大丰镇","红光农场","西达农场","金安农场"],n:"澄迈县"},{a:["黄竹镇","城区","定城镇","新竹镇","龙湖镇","雷鸣镇","龙门镇","龙河镇","岭口镇","翰林镇","富文镇","金鸡岭农场","中瑞农场","南海农场"],n:"定安县"},{a:["县城内","屯城镇","新兴镇","枫木镇","乌坡镇","南吕镇","南坤镇","中建农场","坡心镇","中坤农场","西昌镇"],n:"屯昌县"},{a:["红林农场","城区","石碌镇","叉河镇","十月田镇","乌烈镇","昌化镇","海尾镇","七叉镇","王下乡","海南矿业公司","霸王岭林场"],n:"昌江县"},{a:["南开乡","阜龙乡","青松乡","金波乡","荣邦乡","城区","白沙农场","牙叉镇","龙江农场","七坊镇","邦溪农场","邦溪镇","打安镇","细水乡","元门乡"],n:"白沙县"},{a:["吊罗山乡","黎母山林业公司","阳江农场","乌石农场","加钗农场","长征农场","营根镇","湾岭镇","黎母山镇","和平镇","长征镇","红毛镇","中平镇","上安乡","什运乡","城区"],n:"琼中县"},{a:["东华镇","南平镇","吊罗山林业公司","岭门农场","南平农场","椰林镇","光坡镇","三才镇","英州镇","隆广镇","文罗镇","本号镇","新村镇","黎安镇","提蒙乡","群英乡","城区"],n:"陵水县"},{a:["保亭研究所","新星农场","金江农场","三道农场","保城镇","什玲镇","加茂镇","响水镇","新政镇","三道镇","六弓乡","南林乡","毛感乡"],n:"保亭县"},{a:["尖峰岭林业公司","莺歌海盐场","山荣农场","乐光农场","抱由镇","保国农场","万冲镇","大安镇","志仲镇","千家镇","九所镇","利国镇","黄流镇","佛罗镇","尖峰镇","莺歌海镇","城区"],n:"乐东县"},{a:["中沙群岛","西沙群岛","南沙群岛"],n:"三沙市"},{a:["热作学院","那大镇","富克镇","和庆镇","南丰镇","大成镇","雅星镇","兰洋镇","光村镇","木棠镇","海头镇","峨蔓镇","三都镇","王五镇","白马井镇","中和镇","排浦镇","东成镇","新州镇","洋浦经济开发区","西培农场","西联农场","蓝洋农场","八一农场","西华农场","西庆农场","西流农场","新盈农场","龙山农场","红岭农场"],n:"儋州市"}]},{n:"贵州",c:[{a:["南明区","云岩区","花溪区","小河区","白云区","清镇市","开阳县","修文县","息烽县","乌当区","观山湖区"],n:"贵阳市"},{a:["盘县","六枝特区","水城县","钟山区"],n:"六盘水市"},{a:["红花岗区","汇川区","赤水市","仁怀市","遵义县","桐梓县","绥阳县","习水县","凤冈县","正安县","湄潭县","余庆县","道真县","务川县"],n:"遵义市"},{a:["碧江区","德江县","江口县","思南县","万山区","石阡县","玉屏侗族自治县","松桃苗族自治县","印江土家族苗族自治县","沿河土家族自治县"],n:"铜仁市"},{a:["七星关区","黔西县","大方县","织金县","金沙县","赫章县","纳雍县","威宁彝族回族苗族自治县"],n:"毕节市"},{a:["西秀区","普定县","平坝县","镇宁布依族苗族自治县","关岭布依族苗族自治县","紫云苗族布依族自治县"],n:"安顺市"},{a:["兴义市","望谟县","兴仁县","普安县","册亨县","晴隆县","贞丰县","安龙县"],n:"黔西南州"},{a:["凯里市","施秉市","从江县","锦屏县","镇远县","麻江县","台江县","天柱县","黄平县","榕江县","剑河县","三穗县","雷山县","黎平县","岑巩县","丹寨县"],n:"黔东南州"},{a:["都匀市","福泉市","贵定县","惠水县","罗甸县","瓮安县","荔波县","龙里县","平塘县","长顺县","独山县","三都县"],n:"黔南州"}]},{n:"云南",c:[{a:["玉龙县","华坪县","永胜县","宁蒗县","古城区"],n:"丽江市"},{a:["文山市","麻栗坡县","砚山县","广南县","马关县","富宁县","西畴县","丘北县"],n:"文山州"},{a:["香格里拉县","德钦县","维西县"],n:"迪庆州"},{a:["个旧市","开远市","弥勒县","红河县","绿春县","蒙自市","泸西县","建水县","元阳县","石屏县","金平县","屏边县","河口县"],n:"红河州"},{a:["景洪市","勐海县","勐腊县"],n:"西双版纳州"},{a:["元谋县","南华县","牟定县","武定县","大姚县","双柏县","禄丰县","永仁县","姚安县","楚雄市"],n:"楚雄州"},{a:["剑川县","弥渡县","云龙县","洱源县","鹤庆县","宾川县","祥云县","永平县","巍山县","漾濞县","南涧县","大理市"],n:"大理州"},{a:["芒市","瑞丽市","盈江县","梁河县","陇川县"],n:"德宏州"},{a:["泸水县","福贡县","兰坪县","贡山县"],n:"怒江州"},{a:["盘龙区","五华区","西山区","官渡区","呈贡区","东川区","安宁市","富民县","嵩明县","晋宁县","宜良县","禄劝县","石林县","寻甸县"],n:"昆明市"},{a:["麒麟区","马龙县","宣威市","富源县","会泽县","陆良县","师宗县","罗平县","沾益县"],n:"曲靖市"},{a:["红塔区","华宁县","澄江县","易门县","通海县","江川县","元江县","新平县","峨山县"],n:"玉溪市"},{a:["鲁甸县","绥江县","昭阳区","镇雄县","永善县","大关县","盐津县","彝良县","水富县","巧家县","威信县"],n:"昭通市"},{a:["孟连县","思茅区","宁洱县","景东县","镇沅县","景谷县","墨江县","澜沧县","西盟县","江城县"],n:"普洱市"},{a:["双江县","沧源县","临翔区","镇康县","凤庆县","云县","永德县","耿马县"],n:"临沧市"},{a:["隆阳区","施甸县","昌宁县","龙陵县","腾冲县"],n:"保山市"}]},{n:"西藏",c:[{a:["双湖县","索县","那曲县","嘉黎县","比如县","聂荣县","安多县","申扎县","班戈县","巴青县","尼玛县"],n:"那曲地区"},{a:["贡嘎县","扎囊县","乃东县","桑日县","琼结县","曲松县","措美县","洛扎县","加查县","隆子县","错那县","浪卡子县"],n:"山南地区"},{a:["昌都县","江达县","贡觉县","类乌齐县","丁青县","察雅县","八宿县","左贡县","芒康县","洛隆县","边坝县"],n:"昌都地区"},{a:["聂拉木县","昂仁县","日喀则市","南木林县","江孜县","定日县","萨迦县 ","拉孜县","谢通门县","白朗县","仁布县","康马县","定结县","仲巴县","亚东县","吉隆县","萨嘎县","岗巴县"],n:"日喀则地区"},{a:["噶尔县","普兰县","札达县 ","日土县","革吉县","改则县","措勤县"],n:"阿里地区"},{a:["林芝县","工布江达县","米林县","墨脱县","波密县","察隅县","朗县"],n:"林芝地区"},{a:["城关区","林周县","当雄县","尼木县","曲水县","堆龙德庆县","达孜县","墨竹工卡县"],n:"拉萨市"}]},{n:"陕西",c:[{a:["新城区","雁塔区","未央区","长安区","灞桥区","碑林区","莲湖区","临潼区","阎良区","西安武警工程学院","高陵县","蓝田县","户县","周至县"],n:"西安市"},{a:["印台区","宜君县","王益区","耀州区"],n:"铜川市"},{a:["渭滨区","金台区","岐山县","太白县","凤翔县","陇县","麟游县","千阳县","扶风县","凤县","眉县","陈仓区"],n:"宝鸡市"},{a:["秦都区","渭城区","兴平市","礼泉县","泾阳县","永寿县","三原县","彬县","旬邑县","长武县","乾县","武功县","淳化县","杨陵区"],n:"咸阳市"},{a:["韩城市","华阴市","蒲城县","华县","潼关县","大荔县","澄城县","合阳县","白水县","富平县","临渭区"],n:"渭南市"},{a:["宝塔区","安塞县","洛川县","子长县","黄陵县","延长县","宜川县","延川县","甘泉县","富县","志丹县","黄龙县","吴起县"],n:"延安市"},{a:["经济开发区南区","汉台区","南郑县","城固县","洋县","佛坪县","留坝县","镇巴县","西乡县","勉县","略阳县","宁强县"],n:"汉中市"},{a:["清涧县","绥德县","佳县","神木县","府谷县","子洲县","横山县","米脂县","吴堡县","定边县","榆阳区","靖边县"],n:"榆林市"},{a:["商州区","镇安县","山阳县","洛南县","商南县","丹凤县","柞水县"],n:"商洛市"},{a:["汉滨区","紫阳县","岚皋县","旬阳县","镇坪县","平利县","宁陕县","汉阴县","石泉县","白河县"],n:"安康市"}]},{n:"甘肃",c:[{a:["合作市","夏河县","碌曲县","舟曲县","玛曲县","迭部县","临潭县","卓尼县"],n:"甘南州"},{a:["岷县","安定区","通渭县","临洮县","漳县","渭源县","陇西县"],n:"定西市"},{a:["临夏县","康乐县","永靖县","和政县","东乡族自治县","积石山县","临夏市","广河县"],n:"临夏州"},{a:["七里河区","安宁区","城关区","西固区","红古区","永登县","榆中县","皋兰县"],n:"兰州市"},{a:["永昌县","金川区"],n:"金昌市"},{a:["白银区","平川区","靖远县","景泰县","会宁县"],n:"白银市"},{a:["麦积区","秦州区","甘谷县","武山县","清水县","秦安县","张家川县"],n:"天水市"},{a:["长城区","镜铁区","雄关区"],n:"嘉峪关市"},{a:["静宁县","崆峒区","华亭县","崇信县","泾川县","灵台县","庄浪县"],n:"平凉市"},{a:["庆城县","西峰区","镇原县","合水县","华池县","环县","宁县","正宁县"],n:"庆阳市"},{a:["成县","礼县","康县","武都区","文县","两当县","徽县","宕昌县","西和县"],n:"陇南市"},{a:["凉州区","古浪县","天祝县","民勤县"],n:"武威市"},{a:["甘州区","山丹县","临泽县","高台县","肃南县","民乐县"],n:"张掖市"},{a:["金塔县","阿克塞县","肃北县","瓜州县","肃州区","玉门市","敦煌市"],n:"酒泉市"}]},{n:"青海",c:[{a:["湟中县","湟源县","大通县","城中区","城东区","城西区","城北区"],n:"西宁市"},{a:["平安县","乐都县","民和县","互助县","化隆县","循化县"],n:"海东地区"},{a:["海晏县","祁连县","刚察县","门源县"],n:"海北州"},{a:["尖扎县","同仁县","泽库县","河南县"],n:"黄南州"},{a:["共和县","同德县","贵德县","兴海县","贵南县"],n:"海南州"},{a:["玛沁县","甘德县","达日县","班玛县","久治县","玛多县"],n:"果洛州"},{a:["玉树县","称多县","囊谦县","杂多县","治多县","曲麻莱县"],n:"玉树州"},{a:["德令哈市","乌兰县","天峻县","都兰县","大柴旦行委","冷湖行委","茫崖行委","格尔木市"],n:"海西州"}]},{n:"宁夏",c:[{a:["灵武市","永宁县","贺兰县","兴庆区","金凤区","西夏区"],n:"银川市"},{a:["平罗县","惠农区","大武口区"],n:"石嘴山市"},{a:["青铜峡市","同心县","盐池县","红寺堡开发区","利通区"],n:"吴忠市"},{a:["西吉县","隆德县","泾源县","彭阳县","原州区"],n:"固原市"},{a:["中宁县","海原县","沙坡头区"],n:"中卫市"}]},{n:"新疆",c:[{a:["铁门关市"],n:"铁门关市"},{a:["五家渠市"],n:"五家渠市"},{a:["阿拉尔市"],n:"阿拉尔市"},{a:["图木舒克市"],n:"图木舒克市"},{a:["天山区","头屯河区","达坂城区","米东区","新市区","沙依巴克区","水磨沟区","乌鲁木齐县"],n:"乌鲁木齐市"},{a:["克拉玛依区","独山子区","乌尔禾区","白碱滩区"],n:"克拉玛依市"},{a:["石河子市"],n:"石河子市"},{a:["吐鲁番市","托克逊县","鄯善县"],n:"吐鲁番地区"},{a:["哈密市","巴里坤县","伊吾县"],n:"哈密地区"},{a:["和田县","和田市","墨玉县","洛浦县","策勒县","于田县","民丰县","皮山县"],n:"和田地区"},{a:["阿克苏市","温宿县","沙雅县","拜城县","阿瓦提县","库车县","柯坪县","新和县","乌什县"],n:"阿克苏地区"},{a:["喀什市","巴楚县","泽普县","伽师县","叶城县","岳普湖县","疏附县","疏勒县","英吉沙县","麦盖提县","莎车县","塔什库尔干县"],n:"喀什地区"},{a:["阿图什市","阿合奇县","乌恰县","阿克陶县"],n:"克孜勒苏州"},{a:["库尔勒市","尉犁县","和静县","博湖县","和硕县","轮台县","若羌县","且末县","焉耆县"],n:"巴音郭楞州"},{a:["昌吉市","阜康市","奇台县","玛纳斯县","吉木萨尔县","呼图壁县","木垒县"],n:"昌吉州"},{a:["阿拉山口市","博乐市","精河县","温泉县"],n:"博尔塔拉州"},{a:["伊宁县","伊宁市","特克斯县","尼勒克县","昭苏县","新源县","霍城县","察布查尔县","巩留县","奎屯市"],n:"伊犁州"},{a:["塔城市","乌苏市","额敏县","裕民县","沙湾县","托里县","和布克赛尔县"],n:"塔城地区"},{a:["北屯市","阿勒泰市","富蕴县","青河县","吉木乃县","布尔津县","福海县","哈巴河县"],n:"阿勒泰地区"}]},{n:"台湾",c:[{a:["台湾市区内"],n:"台湾"}]},{n:"钓鱼岛",c:[{a:[],n:"钓鱼岛"}]},{n:"港澳",c:[{a:["中西区","东区","九龙城区","观塘区","深水埗区","湾仔区","黄大仙区","油尖旺区","离岛区","葵青区","北区","西贡区","沙田区","屯门区","大埔区","荃湾区","元朗区","香港","九龙","新界"],n:"香港特别行政区"},{a:["澳门特别行政区","澳门半岛","凼仔","路凼城","路环"],n:"澳门特别行政区"}]}];i=r,a="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==a&&(t.exports=a))}()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountDown=void 0;var a=n(53),r=i(a);e.CountDown=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CountUp=void 0;var a=n(54),r=i(a);e.CountUp=r.default},function(t,e,n){var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(r,o){i=o,a="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==a&&(t.exports=a))}(void 0,function(t,e,n){var i=function(t,e,n,i,a,o){for(var s=0,l=["webkit","moz","ms","o"],c=0;cu.endVal,u.frameVal=u.startVal,u.decimals=Math.max(0,i||0),u.dec=Math.pow(10,u.decimals),u.duration=1e3*Number(a)||2e3,u.formatNumber=function(t){t=t.toFixed(u.decimals),t+="";var e,n,i,a;if(e=t.split("."),n=e[0],i=e.length>1?u.options.decimal+e[1]:"",a=/(\d+)(\d{3})/,u.options.useGrouping)for(;a.test(n);)n=n.replace(a,"$1"+u.options.separator+"$2");return u.options.prefix+n+i+u.options.suffix},u.easeOutExpo=function(t,e,n,i){return n*(-Math.pow(2,-10*t/i)+1)*1024/1023+e},u.easingFn=u.options.easingFn?u.options.easingFn:u.easeOutExpo,u.formattingFn=u.options.formattingFn?u.options.formattingFn:u.formatNumber,u.printValue=function(t){var e=u.formattingFn(t);"INPUT"===u.d.tagName?this.d.value=e:"text"===u.d.tagName||"tspan"===u.d.tagName?this.d.textContent=e:this.d.innerHTML=e},u.count=function(t){u.startTime||(u.startTime=t),u.timestamp=t;var e=t-u.startTime;u.remaining=u.duration-e,u.options.useEasing?u.countDown?u.frameVal=u.startVal-u.easingFn(e,0,u.startVal-u.endVal,u.duration):u.frameVal=u.easingFn(e,u.startVal,u.endVal-u.startVal,u.duration):u.countDown?u.frameVal=u.startVal-(u.startVal-u.endVal)*(e/u.duration):u.frameVal=u.startVal+(u.endVal-u.startVal)*(e/u.duration),u.countDown?u.frameVal=u.frameValu.endVal?u.endVal:u.frameVal,u.frameVal=Math.round(u.frameVal*u.dec)/u.dec,u.printValue(u.frameVal),eu.endVal,u.rAF=requestAnimationFrame(u.count)},u.printValue(u.startVal)};return i})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.DateTime=void 0;var a=n(55),r=i(a);e.DateTime=r.default},function(t,e){"use strict";var n=Date.now||function(){return+new Date},i={},a=1,r=60,o=1e3;t.exports={requestAnimationFrame:function(){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame,e=!!t;if(t&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(t.toString())&&(e=!1),e)return function(e,n){t(e,n)};var n=60,i={},a=0,r=1,o=null,s=+new Date;return function(t,e){var l=r++;return i[l]=t,a++,null===o&&(o=setInterval(function(){var t=+new Date,e=i;i={},a=0;for(var n in e)e.hasOwnProperty(n)&&(e[n](t),s=t);t-s>2500&&(clearInterval(o),o=null)},1e3/n)),l}}(),stop:function(t){var e=null!=i[t];return e&&(i[t]=null),e},isRunning:function(t){return null!=i[t]},start:function t(e,s,l,c,u,d){var A=this,t=n(),f=t,h=0,p=0,m=a++;if(d||(d=document.body),m%20===0){var v={};for(var g in i)v[g]=!0;i=v}var _=function a(v){var g=v!==!0,_=n();if(!i[m]||s&&!s(m))return i[m]=null,void(l&&l(r-p/((_-t)/o),m,!1));if(g)for(var w=Math.round((_-f)/(o/r))-1,y=0;y1&&(h=1));var b=u?u(h):h;e(b,_,g)!==!1&&1!==h||!g?g&&(f=_,A.requestAnimationFrame(a,d)):(i[m]=null,l&&l(r-p/((_-t)/o),m,1===h||null==c))};return i[m]=!0,A.requestAnimationFrame(_,d),m}}},function(t,e,n){"use strict";var i=n(225),a=function(t,e,n){var i=this;if(t){n=n||{},i.options={onSelect:function(){},itemHeight:38};for(var a in n)void 0!==n[a]&&(i.options[a]=n[a]); +i.__content=e,i.__component=t,i.__itemHeight=i.options.itemHeight;var r=window.Modernizr&&!!window.Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),o={start:r?"touchstart":"mousedown",move:r?"touchmove":"mousemove",end:r?"touchend":"mouseup"};t.addEventListener(o.start,function(t){t.target.tagName.match(/input|textarea|select/i)||(t.preventDefault(),i.__doTouchStart(t,t.timeStamp))},!1),t.addEventListener(o.move,function(t){i.__doTouchMove(t,t.timeStamp)},!1),t.addEventListener(o.end,function(t){i.__doTouchEnd(t.timeStamp)},!1)}},r={value:null,__prevValue:null,__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientTop:0,__clientHeight:0,__contentHeight:0,__itemHeight:0,__scrollTop:0,__minScrollTop:0,__maxScrollTop:0,__scheduledTop:0,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollTop:null,__maxDecelerationScrollTop:null,__decelerationVelocityY:null,setDimensions:function(t,e,n){var i=this;i.__clientHeight=t,i.__contentHeight=e;var a=Math.round(i.__clientHeight/i.__itemHeight);i.__minScrollTop=-i.__itemHeight*(a/2),i.__maxScrollTop=i.__minScrollTop+n*i.__itemHeight-.1},selectByIndex:function(t,e){var n=this;t<0||t>n.__content.childElementCount-1||(n.__scrollTop=n.__minScrollTop+t*n.__itemHeight,n.scrollTo(n.__scrollTop,e),n.__selectItem(n.__content.children[t]))},select:function(t,e){for(var n=this,i=n.__content.children,a=0,r=i.length;aA||uA?A:d)}l.length>40&&l.splice(0,20),l.push(u,e),i.__publish(u)}else{var f=0,h=5,p=Math.abs(s-i.__initialTouchTop);i.__enableScrollY=p>=f,l.push(i.__scrollTop,e),i.__isDragging=i.__enableScrollY&&p>=h,i.__isDragging&&(i.__interruptedAnimation=!1)}i.__lastTouchTop=s,i.__lastTouchMove=e,i.__lastScale=n}},__doTouchEnd:function(t){var e=this;if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);if(e.__isTracking){if(e.__isTracking=!1,e.__isDragging&&(e.__isDragging=!1,e.__isSingleTouch&&t-e.__lastTouchMove<=100)){for(var n=e.__positions,i=n.length-1,a=i,r=i;r>0&&n[r]>e.__lastTouchMove-100;r-=2)a=r;if(a!==i){var o=n[i]-n[a],s=e.__scrollTop-n[a-1];e.__decelerationVelocityY=s/o*(1e3/60);var l=4;Math.abs(e.__decelerationVelocityY)>l&&e.__startDeceleration(t)}}e.__isDecelerating||e.scrollTo(e.__scrollTop),e.__positions.length=0}},__easeOutCubic:function(t){return Math.pow(t-1,3)+1},__easeInOutCubic:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},__publish:function(t,e){var n=this,a=n.__isAnimating;if(a&&(i.stop(a),n.__isAnimating=!1),e){n.__scheduledTop=t;var r=n.__scrollTop,o=t-r,s=function(t,e,i){n.__scrollTop=r+o*t,n.options.callback&&n.options.callback(n.__scrollTop,n.__isDragging)},l=function(t){return n.__isAnimating===t},c=function(t,e,i){e===n.__isAnimating&&(n.__isAnimating=!1),(n.__didDecelerationComplete||i)&&n.__scrollingComplete()};n.__isAnimating=i.start(s,l,c,e,a?n.__easeOutCubic:n.__easeInOutCubic)}else n.__scheduledTop=n.__scrollTop=t,n.options.callback&&n.options.callback(t,n.__isDragging)},__startDeceleration:function(t){var e=this;e.__minDecelerationScrollTop=e.__minScrollTop,e.__maxDecelerationScrollTop=e.__maxScrollTop;var n=function(t,n,i){e.__stepThroughDeceleration(i)},a=.5,r=function(){var t=Math.abs(e.__decelerationVelocityY)>=a;return t||(e.__didDecelerationComplete=!0),t},o=function(t,n,i){return e.__isDecelerating=!1,e.__scrollTop<=e.__minScrollTop||e.__scrollTop>=e.__maxScrollTop?void e.scrollTo(e.__scrollTop):void(e.__didDecelerationComplete&&e.__scrollingComplete())};e.__isDecelerating=i.start(n,r,o)},__stepThroughDeceleration:function(t){var e=this,n=e.__scrollTop+e.__decelerationVelocityY,i=Math.max(Math.min(e.__maxDecelerationScrollTop,n),e.__minDecelerationScrollTop);i!==n&&(n=i,e.__decelerationVelocityY=0),Math.abs(e.__decelerationVelocityY)<=1?Math.abs(n%e.__itemHeight)<1&&(e.__decelerationVelocityY=0):e.__decelerationVelocityY*=.95,e.__publish(n)}};for(var o in r)a.prototype[o]=r[o];t.exports=a},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Loading=e.Notify=e.Toast=e.Alert=e.Confirm=void 0;var a=n(228),r=i(a),o=n(229),s=i(o),l=n(232),c=i(l),u=n(231),d=i(u),A=n(230),f=i(A);e.Confirm=s.default,e.Alert=r.default,e.Toast=c.default,e.Notify=d.default,e.Loading=f.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=n(3),s=r.default.extend(n(57)),l=new s({el:document.createElement("div")});s.prototype.closeAlert=function(){o.pageScroll.unlock();var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.callback=t.callback,document.body.appendChild(l.$el),o.pageScroll.lock()};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=n(3),s=r.default.extend(n(58)),l=new s({el:document.createElement("div")});s.prototype.closeConfirm=function(t,e){if("function"==typeof e&&e(),!t){o.pageScroll.unlock();var n=l.$el;n.parentNode&&n.parentNode.removeChild(n)}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes||"",l.title=t.title||"提示",l.opts=t.opts,document.body.appendChild(l.$el),o.pageScroll.lock()};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=n(3),s=r.default.extend(n(59)),l=new s({el:document.createElement("div")});s.prototype.open=function(t){l.title=t||"正在加载",document.body.appendChild(l.$el),o.pageScroll.lock()},s.prototype.close=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),o.pageScroll.unlock()},e.default={open:l.open,close:l.close}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=r.default.extend(n(60)),s=new o({el:document.createElement("div")}),l=null,c=!1;o.prototype.closeNotify=function(){s.classes="notify-out",setTimeout(function(){var t=s.$el;t.parentNode&&t.parentNode.removeChild(t),c=!1},150),"function"==typeof this.callback&&this.callback()};var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.classes="",s.mes=t.mes,s.timeout=~~t.timeout||5e3,s.callback=t.callback,c||(c=!0,document.body.appendChild(s.$el),s.$el.addEventListener("click",function(){clearTimeout(l),s.closeNotify()}),l=setTimeout(function(){clearTimeout(l),s.closeNotify()},s.timeout))};e.default=u},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=n(5),r=i(a),o=n(3),s=r.default.extend(n(61)),l=new s({el:document.createElement("div")});s.prototype.closeToast=function(){var t=l.$el;t.parentNode&&t.parentNode.removeChild(t),o.pageScroll.unlock(),"function"==typeof this.callback&&this.callback()};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.mes=t.mes,l.icon=t.icon,l.timeout=~~t.timeout||2e3,l.callback=t.callback,document.body.appendChild(l.$el),o.pageScroll.lock();var e=setTimeout(function(){clearTimeout(e),l.closeToast()},l.timeout+100)};e.default=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.FlexBoxItem=e.FlexBox=void 0;var a=n(63),r=i(a),o=n(62),s=i(o);e.FlexBox=r.default,e.FlexBoxItem=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.GridsGroup=e.GridsItem=void 0;var a=n(65),r=i(a),o=n(64),s=i(o);e.GridsItem=r.default,e.GridsGroup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Icons=void 0;var a=n(66),r=i(a);e.Icons=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.InfiniteScroll=void 0;var a=n(67),r=i(a);e.InfiniteScroll=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Input=void 0;var a=n(68),r=i(a);e.Input=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.KeyBoard=void 0;var a=n(69),r=i(a);e.KeyBoard=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Layout=void 0;var a=n(70),r=i(a);e.Layout=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.LazyImg=void 0;var a=n(71),r=i(a);e.LazyImg=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ListOther=e.ListItem=e.ListTheme=void 0;var a=n(74),r=i(a),o=n(72),s=i(o),l=n(73),c=i(l);e.ListTheme=r.default,e.ListItem=s.default,e.ListOther=c.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.NavBarNextIcon=e.NavBarBackIcon=e.NavBar=void 0;var a=n(77),r=i(a),o=n(75),s=i(o),l=n(76),c=i(l);e.NavBar=r.default,e.NavBarBackIcon=s.default,e.NavBarNextIcon=c.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var a=n(78),r=i(a);e.Popup=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var a=n(79),r=i(a);e.ProgressBar=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.PullRefresh=void 0;var a=n(80),r=i(a);e.PullRefresh=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RadioGroup=e.Radio=void 0;var a=n(82),r=i(a),o=n(81),s=i(o);e.Radio=r.default,e.RadioGroup=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Rate=void 0;var a=n(83),r=i(a);e.Rate=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.RollNoticeItem=e.RollNotice=void 0;var a=n(85),r=i(a),o=n(84),s=i(o);e.RollNotice=r.default,e.RollNoticeItem=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTabPanel=e.ScrollTab=void 0;var a=n(87),r=i(a),o=n(86),s=i(o);e.ScrollTab=r.default,e.ScrollTabPanel=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SendCode=void 0;var a=n(88),r=i(a);e.SendCode=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SliderItem=e.Slider=void 0;var a=n(90),r=i(a),o=n(89),s=i(o);e.Slider=r.default,e.SliderItem=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Spinner=void 0;var a=n(91),r=i(a);e.Spinner=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Switch=void 0;var a=n(92),r=i(a);e.Switch=r.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabPanel=e.Tab=void 0;var a=n(94),r=i(a),o=n(93),s=i(o);e.Tab=r.default,e.TabPanel=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TabBarItem=e.TabBar=void 0;var a=n(96),r=i(a),o=n(95),s=i(o);e.TabBar=r.default,e.TabBarItem=s.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TextArea=void 0;var a=n(97),r=i(a);e.TextArea=r.default}])}); \ No newline at end of file diff --git a/dist/ydui.px.css b/dist/ydui.px.css index 149c9648..6b16b927 100644 --- a/dist/ydui.px.css +++ b/dist/ydui.px.css @@ -1 +1 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=) no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=) no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:14.000000000000002px;font-size:13px;color:#fff;padding:15px 12px;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==) no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.g-view{margin:0 auto;max-width:750px;min-width:300px}.g-view:before{height:45px}.g-view:after,.g-view:before{content:"";display:block;width:100%}.g-view:after{height:75px}.g-flexview{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:750px;min-width:300px}.g-scrollview{width:100%;height:100%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;margin-bottom:-1px}.g-scrollview:after{content:"";display:block;width:100%;height:25px}.ios .g-scrollview{margin-top:1px}.hairline .g-scrollview{margin-top:.5px}.m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}.m-navbar{height:45px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 10px;font-size:15px;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:45px;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:45px;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:18px;color:inherit}.back-icon:before{content:"\E607"}.next-icon:before{content:"\E608"}.m-cell-box{margin-bottom:17.5px}.m-cell{background-color:#fff;position:relative;z-index:5}.m-cell:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-cell a.cell-item,.m-cell label.cell-item{background-color:#fff}.m-cell a.cell-item:active,.m-cell label.cell-item:active{background-color:#f5f5f5}.cell-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;padding-left:12px;overflow:hidden}.cell-item:not(:last-child):after{margin-left:12px;content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cell-left{color:#333;font-size:15px;white-space:nowrap;-ms-flex-align:center}.cell-left,.cell-right{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cell-right{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;min-height:50px;color:#525252;text-align:right;font-size:13px;padding-right:12px;-ms-flex-align:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=time]{line-height:50px}.cell-right input[type=checkbox]:not(.m-switch),.cell-right input[type=radio]{position:absolute;left:-9999em}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{font-family:YDUI-INLAY;font-size:22px}.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{content:"\E600";color:#4cd864;display:none}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after{content:"\E604";color:#d9d9d9}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-radio-icon:after,.cell-right input[type=radio]:checked+.cell-radio-icon:after{display:inline-block}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-checkbox-icon:after,.cell-right input[type=radio]:checked+.cell-checkbox-icon:after{color:#4cd864;content:"\E601"}.cell-right:active{background:0 0}.cell-right .input-clear,.cell-right .input-password{height:50px}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=email],.cell-right input[type=number],.cell-right input[type=password],.cell-right input[type=tel],.cell-right input[type=text]:not(.spinner-input),.cell-right input[type=time],.cell-right input[type=url]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:50px;border:none;font-size:15px;background:0 0;color:#555;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;text-align:left}.cell-right select{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:50px;border:none;display:block;color:#a9a9a9;font-size:15px;margin-left:-4px}.cell-icon{display:block;margin-right:5px}.cell-icon img{height:20px}.cell-arrow:after{margin-left:2.5px;margin-right:-4px;display:block;font-family:YDUI-INLAY;font-size:17px;color:#c9c9c9;content:"\E608"}.cell-title{padding:0 12px 5px;font-size:15px;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.cell-title:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}.m-grids-2{overflow:hidden;position:relative;background-color:#fff}.m-grids-2:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-2 .grids-item{width:50%}.m-grids-2 .grids-item:not(:nth-child(2n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3{overflow:hidden;position:relative;background-color:#fff}.m-grids-3:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3 .grids-item{width:33.333333%}.m-grids-3 .grids-item:not(:nth-child(3n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4{overflow:hidden;position:relative;background-color:#fff}.m-grids-4:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4 .grids-item{width:25%}.m-grids-4 .grids-item:not(:nth-child(4n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5{overflow:hidden;position:relative;background-color:#fff}.m-grids-5:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5 .grids-item{width:20%}.m-grids-5 .grids-item:not(:nth-child(5n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-item{width:25%;float:left;position:relative;z-index:0;padding:17.5px 0;font-size:14.000000000000002px}.grids-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-icon{height:34px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.grids-icon :after,.grids-icon :before{font-size:27px}.grids-icon img{height:70%}.grids-txt{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:center;color:#333;padding:0 10px}.m-gridstitle{padding:17.5px 12px 5px;font-size:15px;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.m-gridstitle:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}@font-face{font-family:YDUI-ICONS;src:url(//at.alicdn.com/t/font_1461139240_0312312.ttf) format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\E636"}.icon-discount:before{content:"\E633"}.icon-verifycode:before{content:"\E632"}.icon-star-outline:before{content:"\E630"}.icon-star:before{content:"\E631"}.icon-weibo:before{content:"\E62F"}.icon-download:before{content:"\E62E"}.icon-next:before{content:"\E62D"}.icon-home-outline:before{content:"\E62C"}.icon-home:before{content:"\E63D"}.icon-weixin:before{content:"\E629"}.icon-refresh:before{content:"\E628"}.icon-tencent-weibo:before{content:"\E627"}.icon-search:before{content:"\E626"}.icon-time:before{content:"\E625"}.icon-prev:before{content:"\E624"}.icon-like-outline:before{content:"\E639"}.icon-like:before{content:"\E63A"}.icon-setting:before{content:"\E623"}.icon-delete:before{content:"\E622"}.icon-sortlist:before{content:"\E621"}.icon-sortlarger:before{content:"\E620"}.icon-sortlargest:before{content:"\E61F"}.icon-qq:before{content:"\E62A"}.icon-more:before{content:"\E618"}.icon-shopcart-outline:before{content:"\E61A"}.icon-shopcart:before{content:"\E619"}.icon-checkoff:before{content:"\E617"}.icon-bad:before{content:"\E61C"}.icon-video:before{content:"\E61D"}.icon-clock:before{content:"\E61E"}.icon-ucenter-outline:before{content:"\E616"}.icon-ucenter:before{content:"\E615"}.icon-warn-outline:before{content:"\E613"}.icon-warn:before{content:"\E614"}.icon-share1:before{content:"\E610"}.icon-share2:before{content:"\E60E"}.icon-share3:before{content:"\E60D"}.icon-feedback:before{content:"\E60F"}.icon-type:before{content:"\E60C"}.icon-discover:before{content:"\E60B"}.icon-good:before{content:"\E61B"}.icon-shield-outline:before{content:"\E608"}.icon-shield:before{content:"\E60A"}.icon-qrscan:before{content:"\E609"}.icon-location:before{content:"\E607"}.icon-phone1:before{content:"\E606"}.icon-phone2:before{content:"\E637"}.icon-phone3:before{content:"\E63B"}.icon-error-outline:before{content:"\E602"}.icon-error:before{content:"\E603"}.icon-play:before{content:"\E601"}.icon-compose:before{content:"\E600"}.icon-question:before{content:"\E62B"}.icon-order:before{content:"\E638"}.m-list{overflow:hidden;position:relative}.m-list .list-item:active{background:0 0}.list-img{height:0;width:100%;padding:50% 0;overflow:hidden}.list-img img{width:100%;margin-top:-50%;border:none}.list-img img,.list-mes{background-color:#fff}.list-mes .list-title{color:#505050;font-size:13px;text-align:justify;font-weight:800}.list-mes .list-other{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#999}.list-price{font-size:15px;color:#eb5211}.list-price>em{font-size:11px}.list-del-price{padding-left:3px;font-size:10px;margin-left:1px;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:5px}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:5px}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item{width:50%;float:left;padding:10px;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:5px}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:100px;padding:50px 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:19px;max-height:67px}.list-theme4 .list-item .list-mes .list-other{padding-top:5px}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:10px 10px 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:10px 0 7.5px}.list-theme5 .list-item .list-mes .list-other{padding-top:3px}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:10px;text-align:center;font-size:13px;color:#999;height:33px;line-height:33px}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:12px;text-align:center;padding:12.5px 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC) no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==) no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:114.99999999999999px;height:114.99999999999999px;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\E60D";font-family:YDUI-INLAY;font-size:44px;text-align:center;color:#fff;display:block;padding-top:18px}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:14.000000000000002px;display:block;padding-top:10px}.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:50px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:5.2px 0 3.5000000000000004px;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-1px;margin-left:-7.5px}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:1px;margin-left:-5.5px}.tabbar-icon{height:29.160000000000004px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}.tab-nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;z-index:0}.tab-nav:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tab-nav-item{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;text-align:center;color:#585858;font-size:14.000000000000002px;line-height:42.5px;display:block}.tab-nav-item,.tab-nav-item.tab-active,.tab-nav-item.tab-active:active{background-color:#fff}.tab-nav-item:active{background-color:#f7f7f7}.tab-nav-item a{display:inherit;color:inherit}.tab-nav-item:not(:last-child):after{position:absolute;top:35%;right:0;content:"";width:1px;height:30%;-webkit-transform:scaleX(.5);transform:scaleX(.5);border-right:1px solid #d9d9d9}.tab-nav-item.tab-active{color:#ff5e53}.tab-nav-item.tab-active:before{content:"";width:70%;height:2px;position:absolute;left:50%;bottom:0;margin-left:-35%;z-index:4;background-color:currentColor}.tab-panel{position:relative;overflow:hidden;background-color:#fff}.tab-panel .tab-panel-item{width:100%;position:absolute;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.tab-panel .tab-panel-item.tab-active{position:relative;-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;-webkit-transform:translateX(0);transform:translateX(0)}.tab-panel .tab-panel-item.tab-active~.tab-panel-item{-webkit-transform:translateX(100%);transform:translateX(100%)}.m-scrolltab{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.scrolltab-nav{height:100%;background-color:#f5f5f5;overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.scrolltab-nav:after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item{padding:0 15px;height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.scrolltab-item.scrolltab-active{background-color:#fff}.scrolltab-item.scrolltab-active:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #fff;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item.scrolltab-active:active{background-color:#fff}.scrolltab-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #dfdfdf;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:active{background:0 0}.scrolltab-icon{margin-right:10px;font-size:16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.scrolltab-icon>img{height:20px;display:inline-block}.scrolltab-title{font-size:15px;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80px}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 12px 12px;position:relative}.scrolltab-content-title{font-size:15px;font-weight:400;color:#555;display:block;padding-bottom:5px;padding-top:16px;margin-bottom:10px;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:14.000000000000002px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:7.5px;font-size:14.000000000000002px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:15px;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:10px 0 6px;color:#222;margin-bottom:1px;font-size:12px;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\E60A";font-size:13px;color:#ff2424;line-height:1;margin-right:3px}.keyboard-numbers{font-size:24px;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:50px;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:15px;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\E609";font-size:30px}.keyboard-head{height:40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:15px;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:50px}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px 40px;color:red;overflow:hidden;height:25px;line-height:25px;font-size:12px;text-align:left}.m-slider{overflow:hidden}.m-slider,.slider-wrapper{width:100%;position:relative}.slider-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.slider-wrapper.slider-wrapper-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.slider-item{width:100%;height:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.slider-item a{display:block}.slider-item img{width:100%}@-webkit-keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}@keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}.slider-pagination{position:absolute;width:100%;z-index:2;left:0;bottom:5px;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;opacity:0;-webkit-animation:slider-pagination-opacity .3s linear .4s forwards;animation:slider-pagination-opacity .3s linear .4s forwards}.slider-pagination,.slider-pagination.slider-pagination-vertical{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.slider-pagination.slider-pagination-vertical{width:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;bottom:0;left:auto;right:5px}.slider-pagination>.slider-pagination-item{margin:2.5px;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}.m-spinner{border:1px solid #eae8e8;border-radius:1px;display:inline-block;overflow:hidden;height:30px}.m-spinner>a{float:left;width:30px;height:30px;line-height:31px;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:9px}.m-spinner>a:first-child:after{content:"\E60B"}.m-spinner>a:last-child:after{content:"\E602"}.m-spinner>input{letter-spacing:0;float:left;width:42.5px;height:30px;line-height:2.4;text-align:center;color:#666;border:none;font-size:13px;background-color:#fff}.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:15px;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:10px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:13px;color:#222;display:block;height:40px;line-height:46px;padding:0 10px;position:relative;margin-right:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 20px}.cityselect-item-box>a{color:#333;font-size:13px;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:0 0}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:13px;color:#999}.m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:15px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\E631"}.m-rate .rate-text{color:#657180;margin-left:5px;font-size:15px}.m-textarea{padding:10px 0;background-color:#fff;width:100%}.m-textarea textarea{border:none;width:100%;display:block;height:75px;font-size:15px}.m-textarea .textarea-counter{font-size:16px;color:#b2b2b2;text-align:right;padding-top:3px}.m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rollnotice{overflow:hidden;width:100%;background-color:#fff}.rollnotice-box{height:inherit}.rollnotice-box.align-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.rollnotice-box.align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.rollnotice-box.align-center{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rollnotice-item{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit}.m-input{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>input{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\E60C";color:#b2b2b2;font-size:15px}.m-input>.input-error:after{content:"\E614";color:#f43530;font-size:20px}.m-input>.input-warn:after{content:"\E614";color:#10aeff;font-size:20px}.m-input>.input-success:after{content:"\E601";color:#09bb07;font-size:20px}.m-input>.input-password:after{content:"\E77E";color:#b2b2b2;font-size:22.5px}.m-input>.input-password-open:after{content:"\E77D";color:#434343}.m-flexbox{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-flexbox.flexbox-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}.m-flexbox.flexbox-vertical .flexbox-item{width:100%}.m-flexbox .flexbox-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}.m-backtop{border:1px solid silver;width:50px;height:50px;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\E788";font-size:25px;color:silver}.m-accordion{background-color:#fff}.accordion-title{min-height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:0 12px;overflow:hidden}.accordion-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.accordion-title>span{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14.000000000000002px;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0);transform:rotate(0)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0} \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=) no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=) no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:14.000000000000002px;font-size:13px;color:#fff;padding:15px 12px;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==) no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.g-view{margin:0 auto;max-width:750px;min-width:300px}.g-view:before{height:45px}.g-view:after,.g-view:before{content:"";display:block;width:100%}.g-view:after{height:75px}.g-flexview{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:750px;min-width:300px}.g-scrollview{width:100%;height:100%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;margin-bottom:-1px}.g-scrollview:after{content:"";display:block;width:100%;height:25px}.ios .g-scrollview{margin-top:1px}.hairline .g-scrollview{margin-top:.5px}.m-button{padding:0 12px}.btn{height:30px;font-size:13px;display:inline-block;padding:0 10px;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:18px;height:50px;margin-top:25px}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}.m-navbar{height:45px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 10px;font-size:15px;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:45px;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:45px;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:18px;color:inherit}.back-icon:before{content:"\E607"}.next-icon:before{content:"\E608"}.m-cell-box{margin-bottom:17.5px}.m-cell{background-color:#fff;position:relative;z-index:5}.m-cell:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-cell a.cell-item,.m-cell label.cell-item{background-color:#fff}.m-cell a.cell-item:active,.m-cell label.cell-item:active{background-color:#f5f5f5}.cell-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;padding-left:12px;overflow:hidden}.cell-item:not(:last-child):after{margin-left:12px;content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cell-left{color:#333;font-size:15px;white-space:nowrap;-ms-flex-align:center}.cell-left,.cell-right{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cell-right{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;min-height:50px;color:#525252;text-align:right;font-size:13px;padding-right:12px;-ms-flex-align:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=time]{line-height:50px}.cell-right input[type=checkbox]:not(.m-switch),.cell-right input[type=radio]{position:absolute;left:-9999em}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{font-family:YDUI-INLAY;font-size:22px}.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{content:"\E600";color:#4cd864;display:none}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after{content:"\E604";color:#d9d9d9}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-radio-icon:after,.cell-right input[type=radio]:checked+.cell-radio-icon:after{display:inline-block}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-checkbox-icon:after,.cell-right input[type=radio]:checked+.cell-checkbox-icon:after{color:#4cd864;content:"\E601"}.cell-right:active{background:0 0}.cell-right .input-clear,.cell-right .input-password{height:50px}.cell-right .datetime-input,.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=email],.cell-right input[type=number],.cell-right input[type=password],.cell-right input[type=tel],.cell-right input[type=text]:not(.spinner-input),.cell-right input[type=time],.cell-right input[type=url]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:50px;border:none;font-size:15px;background:0 0;color:#555;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:left}.cell-right select{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:50px;border:none;display:block;color:#a9a9a9;font-size:15px;margin-left:-4px}.cell-icon{display:block;margin-right:5px}.cell-icon img{height:20px}.cell-arrow:after{margin-left:2.5px;margin-right:-4px;display:block;font-family:YDUI-INLAY;font-size:17px;color:#c9c9c9;content:"\E608"}.cell-title{padding:0 12px 5px;font-size:15px;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.cell-title:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}.m-grids-2{overflow:hidden;position:relative;background-color:#fff}.m-grids-2:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-2 .grids-item{width:50%}.m-grids-2 .grids-item:not(:nth-child(2n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3{overflow:hidden;position:relative;background-color:#fff}.m-grids-3:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3 .grids-item{width:33.333333%}.m-grids-3 .grids-item:not(:nth-child(3n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4{overflow:hidden;position:relative;background-color:#fff}.m-grids-4:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4 .grids-item{width:25%}.m-grids-4 .grids-item:not(:nth-child(4n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5{overflow:hidden;position:relative;background-color:#fff}.m-grids-5:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5 .grids-item{width:20%}.m-grids-5 .grids-item:not(:nth-child(5n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-item{width:25%;float:left;position:relative;z-index:0;padding:17.5px 0;font-size:14.000000000000002px}.grids-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-icon{height:34px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.grids-icon :after,.grids-icon :before{font-size:27px}.grids-icon img{height:70%}.grids-txt{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:center;color:#333;padding:0 10px}.m-gridstitle{padding:17.5px 12px 5px;font-size:15px;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.m-gridstitle:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}@font-face{font-family:YDUI-ICONS;src:url(//at.alicdn.com/t/font_1461139240_0312312.ttf) format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\E636"}.icon-discount:before{content:"\E633"}.icon-verifycode:before{content:"\E632"}.icon-star-outline:before{content:"\E630"}.icon-star:before{content:"\E631"}.icon-weibo:before{content:"\E62F"}.icon-download:before{content:"\E62E"}.icon-next:before{content:"\E62D"}.icon-home-outline:before{content:"\E62C"}.icon-home:before{content:"\E63D"}.icon-weixin:before{content:"\E629"}.icon-refresh:before{content:"\E628"}.icon-tencent-weibo:before{content:"\E627"}.icon-search:before{content:"\E626"}.icon-time:before{content:"\E625"}.icon-prev:before{content:"\E624"}.icon-like-outline:before{content:"\E639"}.icon-like:before{content:"\E63A"}.icon-setting:before{content:"\E623"}.icon-delete:before{content:"\E622"}.icon-sortlist:before{content:"\E621"}.icon-sortlarger:before{content:"\E620"}.icon-sortlargest:before{content:"\E61F"}.icon-qq:before{content:"\E62A"}.icon-more:before{content:"\E618"}.icon-shopcart-outline:before{content:"\E61A"}.icon-shopcart:before{content:"\E619"}.icon-checkoff:before{content:"\E617"}.icon-bad:before{content:"\E61C"}.icon-video:before{content:"\E61D"}.icon-clock:before{content:"\E61E"}.icon-ucenter-outline:before{content:"\E616"}.icon-ucenter:before{content:"\E615"}.icon-warn-outline:before{content:"\E613"}.icon-warn:before{content:"\E614"}.icon-share1:before{content:"\E610"}.icon-share2:before{content:"\E60E"}.icon-share3:before{content:"\E60D"}.icon-feedback:before{content:"\E60F"}.icon-type:before{content:"\E60C"}.icon-discover:before{content:"\E60B"}.icon-good:before{content:"\E61B"}.icon-shield-outline:before{content:"\E608"}.icon-shield:before{content:"\E60A"}.icon-qrscan:before{content:"\E609"}.icon-location:before{content:"\E607"}.icon-phone1:before{content:"\E606"}.icon-phone2:before{content:"\E637"}.icon-phone3:before{content:"\E63B"}.icon-error-outline:before{content:"\E602"}.icon-error:before{content:"\E603"}.icon-play:before{content:"\E601"}.icon-compose:before{content:"\E600"}.icon-question:before{content:"\E62B"}.icon-order:before{content:"\E638"}.m-list{overflow:hidden;position:relative;-ms-touch-action:none;touch-action:none}.m-list .list-item:active{background:0 0}.list-img{height:0;width:100%;padding:50% 0;overflow:hidden}.list-img img{width:100%;margin-top:-50%;border:none}.list-img img,.list-mes{background-color:#fff}.list-mes .list-title{color:#505050;font-size:13px;text-align:justify;font-weight:800}.list-mes .list-other{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#999}.list-price{font-size:15px;color:#eb5211}.list-price>em{font-size:11px}.list-del-price{padding-left:3px;font-size:10px;margin-left:1px;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:5px}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:5px}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item{width:50%;float:left;padding:10px;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:5px}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:18px}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:100px;padding:50px 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:19px;max-height:67px}.list-theme4 .list-item .list-mes .list-other{padding-top:5px}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:10px 10px 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:10px 0 7.5px}.list-theme5 .list-item .list-mes .list-other{padding-top:3px}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:10px;text-align:center;font-size:13px;color:#999;height:33px;line-height:33px}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:12px;text-align:center;padding:12.5px 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC) no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==) no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:114.99999999999999px;height:114.99999999999999px;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\E60D";font-family:YDUI-INLAY;font-size:44px;text-align:center;color:#fff;display:block;padding-top:18px}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:14.000000000000002px;display:block;padding-top:10px}.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:50px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:5.2px 0 3.5000000000000004px;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-1px;margin-left:-7.5px}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:1px;margin-left:-5.5px}.tabbar-icon{height:29.160000000000004px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}.tab-nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;z-index:0}.tab-nav:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tab-nav-item{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;text-align:center;color:#585858;font-size:14.000000000000002px;line-height:42.5px;display:block}.tab-nav-item,.tab-nav-item.tab-active,.tab-nav-item.tab-active:active{background-color:#fff}.tab-nav-item:active{background-color:#f7f7f7}.tab-nav-item a{display:inherit;color:inherit}.tab-nav-item:not(:last-child):after{position:absolute;top:35%;right:0;content:"";width:1px;height:30%;-webkit-transform:scaleX(.5);transform:scaleX(.5);border-right:1px solid #d9d9d9}.tab-nav-item.tab-active{color:#ff5e53}.tab-nav-item.tab-active:before{content:"";width:70%;height:2px;position:absolute;left:50%;bottom:0;margin-left:-35%;z-index:4;background-color:currentColor}.tab-panel{position:relative;overflow:hidden;background-color:#fff}.tab-panel .tab-panel-item{width:100%;position:absolute;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.tab-panel .tab-panel-item.tab-active{position:relative;-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;-webkit-transform:translateX(0);transform:translateX(0)}.tab-panel .tab-panel-item.tab-active~.tab-panel-item{-webkit-transform:translateX(100%);transform:translateX(100%)}.m-scrolltab{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.scrolltab-nav{height:100%;background-color:#f5f5f5;overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.scrolltab-nav:after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item{padding:0 15px;height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.scrolltab-item.scrolltab-active{background-color:#fff}.scrolltab-item.scrolltab-active:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #fff;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item.scrolltab-active:active{background-color:#fff}.scrolltab-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #dfdfdf;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:active{background:0 0}.scrolltab-icon{margin-right:10px;font-size:16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.scrolltab-icon>img{height:20px;display:inline-block}.scrolltab-title{font-size:15px;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80px}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 12px 12px;position:relative}.scrolltab-content-title{font-size:15px;font-weight:400;color:#555;display:block;padding-bottom:5px;padding-top:16px;margin-bottom:10px;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:14.000000000000002px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:7.5px;font-size:14.000000000000002px;color:#555;height:50px;line-height:50px;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:15px;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:10px 0 6px;color:#222;margin-bottom:1px;font-size:12px;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\E60A";font-size:13px;color:#ff2424;line-height:1;margin-right:3px}.keyboard-numbers{font-size:24px;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:50px;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:15px;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\E609";font-size:30px}.keyboard-head{height:40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:15px;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:50px}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px 40px;color:red;overflow:hidden;height:25px;line-height:25px;font-size:12px;text-align:left}.m-slider{overflow:hidden}.m-slider,.slider-wrapper{width:100%;position:relative}.slider-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.slider-wrapper.slider-wrapper-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.slider-item{width:100%;height:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.slider-item a{display:block}.slider-item img{width:100%}@-webkit-keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}@keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}.slider-pagination{position:absolute;width:100%;z-index:2;left:0;bottom:5px;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;opacity:0;-webkit-animation:slider-pagination-opacity .3s linear .4s forwards;animation:slider-pagination-opacity .3s linear .4s forwards}.slider-pagination,.slider-pagination.slider-pagination-vertical{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.slider-pagination.slider-pagination-vertical{width:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;bottom:0;left:auto;right:5px}.slider-pagination>.slider-pagination-item{margin:2.5px;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}.m-spinner{border:1px solid #eae8e8;border-radius:1px;display:inline-block;overflow:hidden;height:30px}.m-spinner>a{float:left;width:30px;height:30px;line-height:31px;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:9px}.m-spinner>a:first-child:after{content:"\E60B"}.m-spinner>a:last-child:after{content:"\E602"}.m-spinner>input{letter-spacing:0;float:left;width:42.5px;height:30px;line-height:2.4;text-align:center;color:#666;border:none;font-size:13px;background-color:#fff}.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:15px;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:10px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:13px;color:#222;display:block;height:40px;line-height:46px;padding:0 10px;position:relative;margin-right:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 20px}.cityselect-item-box>a{color:#333;font-size:13px;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:0 0}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:13px;color:#999}.m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:15px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\E631"}.m-rate .rate-text{color:#657180;margin-left:5px;font-size:15px}.m-textarea{padding:10px 0;background-color:#fff;width:100%}.m-textarea textarea{border:none;width:100%;display:block;height:75px;font-size:15px}.m-textarea .textarea-counter{font-size:16px;color:#b2b2b2;text-align:right;padding-top:3px}.m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rollnotice{overflow:hidden;width:100%;background-color:#fff}.rollnotice-box{height:inherit}.rollnotice-box.align-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.rollnotice-box.align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.rollnotice-box.align-center{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rollnotice-item{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit}.m-input{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>input{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\E60C";color:#b2b2b2;font-size:15px}.m-input>.input-error:after{content:"\E614";color:#f43530;font-size:20px}.m-input>.input-warn:after{content:"\E614";color:#10aeff;font-size:20px}.m-input>.input-success:after{content:"\E601";color:#09bb07;font-size:20px}.m-input>.input-password:after{content:"\E77E";color:#b2b2b2;font-size:22.5px}.m-input>.input-password-open:after{content:"\E77D";color:#434343}.m-flexbox{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-flexbox.flexbox-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}.m-flexbox.flexbox-vertical .flexbox-item{width:100%}.m-flexbox .flexbox-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}.m-backtop{border:1px solid silver;width:50px;height:50px;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\E788";font-size:25px;color:silver}.m-accordion{background-color:#fff}.accordion-title{min-height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:0 12px;overflow:hidden}.accordion-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.accordion-title>span{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14.000000000000002px;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0);transform:rotate(0)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-datetime{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-datetime,.mask-datetime{position:fixed;z-index:500;bottom:0;left:0}.m-datetime{width:100%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .25s;transition:-webkit-transform .25s;transition:transform .25s;transition:transform .25s,-webkit-transform .25s;-ms-touch-action:none;touch-action:none}.m-datetime.datetime-active{-webkit-transform:translate(0);transform:translate(0)}.datetime-input{width:100%}.datetime-head{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;position:relative;background-color:#fbfbfb}.datetime-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-head>a{height:43px;padding:0 30px;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#555}.datetime-head>a:last-child{color:#0bb20c}.datetime-content{position:relative;width:100%;height:266px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datetime-item{font-size:16px;height:100%;position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.datetime-item-content>span{width:100%;display:block;height:38px;line-height:38px;text-align:center}.datetime-item-box{height:100%}.datetime-indicator,.datetime-mask{pointer-events:none;position:absolute;left:0;top:0;height:100%;width:100%}.datetime-mask{z-index:3;-webkit-transform:translateZ(0);transform:translateZ(0);background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 114px;background-repeat:no-repeat}.datetime-indicator{z-index:4;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.datetime-indicator>span{display:block;width:100%;height:38px;position:relative}.datetime-indicator>span:after{top:0;border-top:1px solid #d9d9d9}.datetime-indicator>span:after,.datetime-indicator>span:before{content:"";position:absolute;z-index:0;left:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-indicator>span:before{bottom:0;border-bottom:1px solid #d9d9d9} \ No newline at end of file diff --git a/dist/ydui.rem.css b/dist/ydui.rem.css index cf35734c..9e0838ea 100644 --- a/dist/ydui.rem.css +++ b/dist/ydui.rem.css @@ -1,2 +1,2 @@ -/*! vue-ydui v0.7.2 by YDCSS (c) 2017 Licensed MIT */ -.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:.28rem;font-size:.26rem;color:#fff;padding:.3rem .24rem;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.g-view{margin:0 auto;max-width:750px;min-width:300px}.g-view:before{height:.9rem}.g-view:after,.g-view:before{content:"";display:block;width:100%}.g-view:after{height:1.5rem}.g-flexview{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:750px;min-width:300px}.g-scrollview{width:100%;height:100%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;margin-bottom:-1px}.g-scrollview:after{content:"";display:block;width:100%;height:.5rem}.ios .g-scrollview{margin-top:1px}.hairline .g-scrollview{margin-top:.5px}.m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}.m-navbar{height:.9rem;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 .2rem;font-size:.3rem;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:.9rem;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:.9rem;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:.36rem;color:inherit}.back-icon:before{content:"\E607"}.next-icon:before{content:"\E608"}.m-cell-box{margin-bottom:.35rem}.m-cell{background-color:#fff;position:relative;z-index:5}.m-cell:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-cell a.cell-item,.m-cell label.cell-item{background-color:#fff}.m-cell a.cell-item:active,.m-cell label.cell-item:active{background-color:#f5f5f5}.cell-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;padding-left:.24rem;overflow:hidden}.cell-item:not(:last-child):after{margin-left:.24rem;content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cell-left{color:#333;font-size:.3rem;white-space:nowrap;-ms-flex-align:center}.cell-left,.cell-right{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cell-right{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;min-height:1rem;color:#525252;text-align:right;font-size:.26rem;padding-right:.24rem;-ms-flex-align:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=time]{line-height:1rem}.cell-right input[type=checkbox]:not(.m-switch),.cell-right input[type=radio]{position:absolute;left:-9999em}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{font-family:YDUI-INLAY;font-size:.44rem}.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{content:"\E600";color:#4cd864;display:none}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after{content:"\E604";color:#d9d9d9}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-radio-icon:after,.cell-right input[type=radio]:checked+.cell-radio-icon:after{display:inline-block}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-checkbox-icon:after,.cell-right input[type=radio]:checked+.cell-checkbox-icon:after{color:#4cd864;content:"\E601"}.cell-right:active{background:none}.cell-right .input-clear,.cell-right .input-password{height:1rem}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=email],.cell-right input[type=number],.cell-right input[type=password],.cell-right input[type=tel],.cell-right input[type=text]:not(.spinner-input),.cell-right input[type=time],.cell-right input[type=url]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1rem;border:none;font-size:.3rem;background:transparent;color:#555;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;text-align:left}.cell-right select{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1rem;border:none;display:block;color:#a9a9a9;font-size:.3rem;margin-left:-.08rem}.cell-icon{display:block;margin-right:.1rem}.cell-icon img{height:.4rem}.cell-arrow:after{margin-left:.05rem;margin-right:-.08rem;display:block;font-family:YDUI-INLAY;font-size:.34rem;color:#c9c9c9;content:"\E608"}.cell-title{padding:0 .24rem .1rem;font-size:.3rem;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.cell-title:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}.m-grids-2{overflow:hidden;position:relative;background-color:#fff}.m-grids-2:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-2 .grids-item{width:50%}.m-grids-2 .grids-item:not(:nth-child(2n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3{overflow:hidden;position:relative;background-color:#fff}.m-grids-3:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3 .grids-item{width:33.333333%}.m-grids-3 .grids-item:not(:nth-child(3n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4{overflow:hidden;position:relative;background-color:#fff}.m-grids-4:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4 .grids-item{width:25%}.m-grids-4 .grids-item:not(:nth-child(4n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5{overflow:hidden;position:relative;background-color:#fff}.m-grids-5:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5 .grids-item{width:20%}.m-grids-5 .grids-item:not(:nth-child(5n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-item{width:25%;float:left;position:relative;z-index:0;padding:.35rem 0;font-size:.28rem}.grids-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-icon{height:.68rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.grids-icon :after,.grids-icon :before{font-size:.54rem}.grids-icon img{height:70%}.grids-txt{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:center;color:#333;padding:0 .2rem}.m-gridstitle{padding:.35rem .24rem .1rem;font-size:.3rem;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.m-gridstitle:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\E636"}.icon-discount:before{content:"\E633"}.icon-verifycode:before{content:"\E632"}.icon-star-outline:before{content:"\E630"}.icon-star:before{content:"\E631"}.icon-weibo:before{content:"\E62F"}.icon-download:before{content:"\E62E"}.icon-next:before{content:"\E62D"}.icon-home-outline:before{content:"\E62C"}.icon-home:before{content:"\E63D"}.icon-weixin:before{content:"\E629"}.icon-refresh:before{content:"\E628"}.icon-tencent-weibo:before{content:"\E627"}.icon-search:before{content:"\E626"}.icon-time:before{content:"\E625"}.icon-prev:before{content:"\E624"}.icon-like-outline:before{content:"\E639"}.icon-like:before{content:"\E63A"}.icon-setting:before{content:"\E623"}.icon-delete:before{content:"\E622"}.icon-sortlist:before{content:"\E621"}.icon-sortlarger:before{content:"\E620"}.icon-sortlargest:before{content:"\E61F"}.icon-qq:before{content:"\E62A"}.icon-more:before{content:"\E618"}.icon-shopcart-outline:before{content:"\E61A"}.icon-shopcart:before{content:"\E619"}.icon-checkoff:before{content:"\E617"}.icon-bad:before{content:"\E61C"}.icon-video:before{content:"\E61D"}.icon-clock:before{content:"\E61E"}.icon-ucenter-outline:before{content:"\E616"}.icon-ucenter:before{content:"\E615"}.icon-warn-outline:before{content:"\E613"}.icon-warn:before{content:"\E614"}.icon-share1:before{content:"\E610"}.icon-share2:before{content:"\E60E"}.icon-share3:before{content:"\E60D"}.icon-feedback:before{content:"\E60F"}.icon-type:before{content:"\E60C"}.icon-discover:before{content:"\E60B"}.icon-good:before{content:"\E61B"}.icon-shield-outline:before{content:"\E608"}.icon-shield:before{content:"\E60A"}.icon-qrscan:before{content:"\E609"}.icon-location:before{content:"\E607"}.icon-phone1:before{content:"\E606"}.icon-phone2:before{content:"\E637"}.icon-phone3:before{content:"\E63B"}.icon-error-outline:before{content:"\E602"}.icon-error:before{content:"\E603"}.icon-play:before{content:"\E601"}.icon-compose:before{content:"\E600"}.icon-question:before{content:"\E62B"}.icon-order:before{content:"\E638"}.m-list{overflow:hidden;position:relative}.m-list .list-item:active{background:none}.list-img{height:0;width:100%;padding:50% 0;overflow:hidden}.list-img img{width:100%;margin-top:-50%;border:none}.list-img img,.list-mes{background-color:#fff}.list-mes .list-title{color:#505050;font-size:.26rem;text-align:justify;font-weight:800}.list-mes .list-other{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#999}.list-price{font-size:.3rem;color:#eb5211}.list-price>em{font-size:.22rem}.list-del-price{padding-left:.06rem;font-size:.2rem;margin-left:.02rem;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:.1rem}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:.1rem}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item{width:50%;float:left;padding:.2rem;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:.1rem}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:2rem;padding:1rem 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:.38rem;max-height:1.34rem}.list-theme4 .list-item .list-mes .list-other{padding-top:.1rem}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:.2rem .2rem 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:.2rem 0 .15rem}.list-theme5 .list-item .list-mes .list-other{padding-top:.06rem}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:.2rem;text-align:center;font-size:.26rem;color:#999;height:.66rem;line-height:.66rem}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:.24rem;text-align:center;padding:.25rem 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:2.3rem;height:2.3rem;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\E60D";font-family:YDUI-INLAY;font-size:.88rem;text-align:center;color:#fff;display:block;padding-top:.36rem}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:.28rem;display:block;padding-top:.2rem}.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:1rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.104rem 0 .07rem;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-.02rem;margin-left:-.15rem}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:.02rem;margin-left:-.11rem}.tabbar-icon{height:.5832rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}.tab-nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;z-index:0}.tab-nav:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tab-nav-item{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;text-align:center;color:#585858;font-size:.28rem;line-height:.85rem;display:block}.tab-nav-item,.tab-nav-item.tab-active,.tab-nav-item.tab-active:active{background-color:#fff}.tab-nav-item:active{background-color:#f7f7f7}.tab-nav-item a{display:inherit;color:inherit}.tab-nav-item:not(:last-child):after{position:absolute;top:35%;right:0;content:"";width:1px;height:30%;-webkit-transform:scaleX(.5);transform:scaleX(.5);border-right:1px solid #d9d9d9}.tab-nav-item.tab-active{color:#ff5e53}.tab-nav-item.tab-active:before{content:"";width:70%;height:2px;position:absolute;left:50%;bottom:0;margin-left:-35%;z-index:4;background-color:currentColor}.tab-panel{position:relative;overflow:hidden;background-color:#fff}.tab-panel .tab-panel-item{width:100%;position:absolute;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.tab-panel .tab-panel-item.tab-active{position:relative;-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;-webkit-transform:translateX(0);transform:translateX(0)}.tab-panel .tab-panel-item.tab-active~.tab-panel-item{-webkit-transform:translateX(100%);transform:translateX(100%)}.m-scrolltab{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.scrolltab-nav{height:100%;background-color:#f5f5f5;overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.scrolltab-nav:after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item{padding:0 .3rem;height:1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.scrolltab-item.scrolltab-active{background-color:#fff}.scrolltab-item.scrolltab-active:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #fff;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item.scrolltab-active:active{background-color:#fff}.scrolltab-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #dfdfdf;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:active{background:none}.scrolltab-icon{margin-right:.2rem;font-size:.32rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.scrolltab-icon>img{height:.4rem;display:inline-block}.scrolltab-title{font-size:.3rem;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:1.6rem}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 .24rem .24rem;position:relative}.scrolltab-content-title{font-size:.3rem;font-weight:400;color:#555;display:block;padding-bottom:.1rem;padding-top:.32rem;margin-bottom:.2rem;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:.15rem;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:.3rem;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:.2rem 0 .12rem;color:#222;margin-bottom:1px;font-size:.24rem;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\E60A";font-size:.26rem;color:#ff2424;line-height:1;margin-right:.06rem}.keyboard-numbers{font-size:.48rem;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:1rem;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:.3rem;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\E609";font-size:.6rem}.keyboard-head{height:.8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:.3rem;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 .8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1rem}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px .8rem;color:red;overflow:hidden;height:.5rem;line-height:.5rem;font-size:.24rem;text-align:left}.m-slider{overflow:hidden}.m-slider,.slider-wrapper{width:100%;position:relative}.slider-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.slider-wrapper.slider-wrapper-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.slider-item{width:100%;height:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.slider-item a{display:block}.slider-item img{width:100%}@-webkit-keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}@keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}.slider-pagination{position:absolute;width:100%;z-index:2;left:0;bottom:.1rem;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;opacity:0;-webkit-animation:slider-pagination-opacity .3s linear .4s forwards;animation:slider-pagination-opacity .3s linear .4s forwards}.slider-pagination,.slider-pagination.slider-pagination-vertical{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.slider-pagination.slider-pagination-vertical{width:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;bottom:0;left:auto;right:.1rem}.slider-pagination>.slider-pagination-item{margin:.05rem;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}.m-spinner{border:1px solid #eae8e8;border-radius:1px;display:inline-block;overflow:hidden;height:.6rem}.m-spinner>a{float:left;width:.6rem;height:.6rem;line-height:.62rem;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:.18rem}.m-spinner>a:first-child:after{content:"\E60B"}.m-spinner>a:last-child:after{content:"\E602"}.m-spinner>input{letter-spacing:0;float:left;width:.85rem;height:.6rem;line-height:2.4;text-align:center;color:#666;border:none;font-size:.26rem;background-color:#fff}.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:.3rem;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:.2rem;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:.26rem;color:#222;display:block;height:40px;line-height:46px;padding:0 .2rem;position:relative;margin-right:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 .4rem}.cityselect-item-box>a{color:#333;font-size:.26rem;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.26rem;color:#999}.m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:.3rem;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\E631"}.m-rate .rate-text{color:#657180;margin-left:.1rem;font-size:.3rem}.m-textarea{padding:.2rem 0;background-color:#fff;width:100%}.m-textarea textarea{border:none;width:100%;display:block;height:1.5rem;font-size:.3rem}.m-textarea .textarea-counter{font-size:.32rem;color:#b2b2b2;text-align:right;padding-top:.06rem}.m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rollnotice{overflow:hidden;width:100%;background-color:#fff}.rollnotice-box{height:inherit}.rollnotice-box.align-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.rollnotice-box.align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.rollnotice-box.align-center{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rollnotice-item{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit}.m-input{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>input{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:.2rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\E60C";color:#b2b2b2;font-size:.3rem}.m-input>.input-error:after{content:"\E614";color:#f43530;font-size:.4rem}.m-input>.input-warn:after{content:"\E614";color:#10aeff;font-size:.4rem}.m-input>.input-success:after{content:"\E601";color:#09bb07;font-size:.4rem}.m-input>.input-password:after{content:"\E77E";color:#b2b2b2;font-size:.45rem}.m-input>.input-password-open:after{content:"\E77D";color:#434343}.m-flexbox{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-flexbox.flexbox-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}.m-flexbox.flexbox-vertical .flexbox-item{width:100%}.m-flexbox .flexbox-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}.m-backtop{border:1px solid silver;width:1rem;height:1rem;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\E788";font-size:.5rem;color:silver}.m-accordion{background-color:#fff}.accordion-title{min-height:1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:0 .24rem;overflow:hidden}.accordion-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.accordion-title>span{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.28rem;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0} \ No newline at end of file +/*! vue-ydui v0.7.3 by YDCSS (c) 2017 Licensed MIT */ +.mask-black-dialog{background-color:rgba(0,0,0,.4)}.mask-black-dialog,.mask-white-dialog{position:fixed;z-index:2000;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mask-white-dialog{background-color:transparent}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.m-confirm{width:85%;background-color:#fafafa;border-radius:2px;font-size:15px}.m-alert,.m-confirm{-webkit-animation:zoomIn .15s ease forwards;animation:zoomIn .15s ease forwards}.m-alert .confirm-bd{text-align:center;padding:20px 20px 0}.m-alert .confirm-ft{margin-top:14px}.confirm-hd{text-align:left;padding:15px 20px 5px}.confirm-hd .confirm-title{font-weight:400;color:#444;word-break:break-all}.confirm-bd{text-align:left;padding:0 20px;font-size:14px;color:#888;line-height:20px;word-break:break-all}.confirm-ft{position:relative;line-height:40px;margin-top:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.confirm-ft:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a{position:relative;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 2px}.confirm-ft>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.confirm-ft>a.confirm-btn.default{color:#353535}.confirm-ft>a.confirm-btn.primary{color:#0bb20c}@media screen and (min-width:768px){.m-confirm{width:40%}}.m-toast{min-width:130px;max-width:80%;padding-top:20px;background:rgba(40,40,40,.8);text-align:center;border-radius:3px;color:#fff;-webkit-animation:zoomIn .06s ease forwards;animation:zoomIn .06s ease forwards}.m-toast.toast-none-icon{padding-top:10px;border-radius:3px}.m-toast.toast-none-icon .toast-content{padding:0 36px 10px}.toast-content{font-size:15px;padding:0 15px 15px;line-height:22px;word-break:break-all}.toast-error-icon,.toast-success-icon{display:block;margin-bottom:10px}.toast-error-icon:after,.toast-success-icon:after{display:inline-block;content:""}.toast-success-icon:after{width:43px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABSCAMAAACVH4HWAAACH1BMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9O2oTAAAAtHRSTlMAAQIEBQYHCAkKCw0ODxAREhQVFhcYGRobHB0gISIkJSYnKCkqKy4vMDM1Nzg5Ojw+QEJDREZHSElKTE9VVldYWltdXl9gYWJlZmdoaWprbG5zd3h6e3x9fn+AgoOFhoiJiouNjpCSlJWYmZqbnJ2eoKKjpKaoqausrq+wtLa3ubq7vL2+wcLFxsfIy83Oz9DR0tPV19jZ2tvc3d7f4OHm5+jp6uvs7e7v8PL19/j5+vv8/f6CNheHAAACzElEQVQYGbXBCVtMUQAG4G9KJUok2cmSCNkqIbIURbRIlrIrRAhZUgoJpc1ehKK0yGR8P9CD1F3O3Lkzc877QqlFJTV7A6BUeMkgyYYYKBT3ln81h0CZjYMcVQJVNo/wvyoospvjjkGNPI57MRFKFFNjH5Qoo8YdKFFJjTdhUCD0PjU+L4MC0Y3UcG6AAvM6qbUNCqz4QK0jUGD1ELUuQ4HkAWrVTYB8O35Rqy0c8uVQp38J5DtFneFEyFdGvQxI57hDvQJIN/Eu9cohXVgT9aoh3bwm6rVMg2yxPdTrnQvZ1vdSz5UC2Tb/oMF2yJZBowLIlkOjS5DtEI3qIdtZGrXMgFwBN2j0aT7kCrpHI1ci5Ip+QpNMWAieG+WAdyLbaVIE9yafeD3wpX4LvLH8PU0uwL0FzfzrSjBsS/hKkzoH3Apq5aj2xbBpk5Mm7dPg3n6O6U+BLalOmnTHwcJNapyGDbk0+5kAK1epdXsKPMmjQBYsZVDnXQysXaBAPqxFfqRO31ZYuUaBCnhykAZH4VZoDQVq4Nl9GlSFQSy8gQKdEfBszhcadKyCyMwWCnyMhR2pNBpOhdnCVxRwrYc952hS6oBBfC9FdsGmwGc0eRQFnaQBihTDtqW9NOlaCY2dFLoCL2TQ7HsmxhygUHUAvFFCgVKMKqTQyzB4JeQpBR7OwR9nKNQXBy/F9VOgJwFAOYWcSfBaGoXSUUmxHfDBRYoMtI5Q6DB8EdJIL1yHb5YN0bb6YPgom3Y9j4DPymlPfwx8N+kN7XBthD/WOWnDHvgni54Vwl+V9OQq/BbeTGu1kCB+hFZaoiFDLi18i4EcFXQvGZJM7aA76ZAmmW4UQaJ8CpVDqloKPA6EVLM6adI2HZIl0ag7FtIVUc+1FgrcpU42VJjdRY3jUGMDx12EKof4X50DyhTzn4YIKJTWTdJ1MghKzTj/4NYa+Os3kb93+haplFoAAAAASUVORK5CYII=") no-repeat;background-size:43px 35px}.toast-error-icon:after{width:35px;height:35px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACWFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+SCbtoAAAAx3RSTlMAAQIDBAUGBwgKDA4PEBESExQVFhcYGRobHB4fICEiIyQlJikqLC0uLzAxMjM0NTY3ODo7PD0/QEFCREVGSElLTE1OT1BRUlNUVVlaW1xdXl9iY2RlZ2hpamttbnBxc3R1dnh5fYCBhIeIiouMj5CRk5SVlpeYmZqbnJ2eoKGjpKaoqaqrrLCxsrS1tre4ubq8vb7AwsPFxsfIycrOz9HS09TV1tjZ2tvd3t/g4uPk5efo6err7e7v8PHy8/T19vf4+fr7/P3+xMlmOwAABJZJREFUGBntwf1jTWUAB/Dv2d2u7W5ZjcXMYuJWGFuaSFmW0SIKIRkaFauksCQieemFNBOmWKWZl43ptnXNLp3tOt9/K8bmPM9z7rnnnHv6zeeDhx56yI3w2TVB/M9md5OtVfBLKBeqVXHedbIMfgiu7KiHLH0b7zPqhyJVaa+1kn3FEOX8yAeuLUBqnv+Vd30NQdHvFBwdA+9G7ec9RgnMPqPk5to0eBOsjXHAUQhqein5eQy8KD9Hk3IIpl2hpGe5Breytxs02TYEorxjlB0eAXdmtdEk9joUgTrKIrPhQqjeoEnLBFhZcJMS48MMODWlhWYHs2FtUhtlp4vgSNr6XpoY72lIZNhxyqJz4cCoRpp1vwIbwS8oMz4IIJmKTpq1joe9dXHKDufCVmCTQbPGXCQzt4eyC8/ARv4xCnZkILnJHZTFqpFQeQfNbq+DI4V/UGZs0GBteS/NeirhUO5xKvZmwkLGdgquTYVjmQeoOJkPRd5xClqegAtpn1BxeTwk4csUnHgU7tQalHWVQ/BSNwXfZsKtZXHKbs2HyfI+Cr5Kh3vVOmW338GAtDqKtmjwYlYPFZs09Ms8QNH78Kisi4rPA7jjkUYKjNXwbOLfVOwLAo+fpSD+BlIwvoOKI1njLlHw71ykZFwbFb9EKLgxEykafZFJXJ+GlBVepK1oGXxQeJE2/pkCXxReYkJdk+CTwktMIDoZvilqp6XoVPiouIMWup+FryZEqKqGzyZGqWh+DD77iKrTOfDVUoMWGrPgo0VxWvo+CN/MjzOBbwLwSYXOhL7U4IsXbtHGx/BDeYy2apG6iVHaMxYiVcURJqPPRGoK2imKtFPRU4pU5J2jKFYa7qYiMhbeZTVRZMwDKuNUtObBq2ADJbW4YyVVTVnwRttDyTb020rVoQA82UhJQxD9AoeoqoMXtZT8loP7cpqpWgH3FhoUdY7FoNERKuKVcGumTlF8Fkxm9FHRHYY74SglNRCsoqp9JNwoaKdkFyQ7qWrKgnM5zZQ0DYEkeIqqvRqcCjZQcnUkFCOuULUBDml7KOl9Dham6VQY1XBmI2U1sFRDVawETqygbL8GS9p+qtqHI7nKOCUt2Uggu4WqE0EkUxqjJBZGQuEYVTuQRFGEskWwsZgW3oatnGbKdsHWbqr06bARbKDszxBshc5TFSlEQtoeyvRJSGKyTtWZLCSykYrVSGoNLezTYG0FFd9pSEo7QgvrYakyTlnHMDgw/C+q4hWwUBqjzKiAI1W0EH0SirERKurh0G5aaM2FpKCVigshODS0nRYaAhDkNFNhTIdjLxq08CnMQiep2gwXttLKW3ggq5GqyyG4EGqjBX0GBh2ihdlw5WWq+jY/jUFTrlKxFy7to+xCGcwKzlDSOQwu5XdR9EM2RKGDFC2Ba8so2BKALK2OZqc0uKad4gPGGlhZqnPQ7RJ4UGJwQHwJrE3v5ICd8GQX79OrkUhxC++5ng9P8q+znz4PiQ39if3WwqN3eZdeBTsZO3hHWyY8ymwjqVchiZo4uQSevUnqVUhqzo3WdHiWfj7+Khx4ag5SsGgxVP8B5afAD5V2CgcAAAAASUVORK5CYII=") no-repeat;background-size:35px 35px}@-webkit-keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes notify-downin{0%{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}50%{opacity:.5}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}@keyframes notify-upout{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}50%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}}.m-notify{position:fixed;top:0;left:0;width:100%;background-color:rgba(40,40,40,.8);line-height:.28rem;font-size:.26rem;color:#fff;padding:.3rem .24rem;opacity:0;-webkit-animation:notify-downin .2s linear forwards;animation:notify-downin .2s linear forwards;word-break:break-all;text-align:center;z-index:2000}.m-notify.notify-out{opacity:1;-webkit-animation:notify-upout .15s linear forwards;animation:notify-upout .15s linear forwards}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.m-loading{border-radius:5px;color:#fff;background-color:rgba(40,40,40,.8);-webkit-animation:zoomIn .1s ease forwards;animation:zoomIn .1s ease forwards;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 23px 0 24px;height:48px}.m-loading .loading-icon{width:28px;height:28px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGzUExURUxpcaSmo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo6Smo7OajWMAAACQdFJOUwDzVSjxAgf0ChUBCd/hpyn6+ai70Qz1uB92XuuOR5xNbnBc0ulZd4eNIdsW/myUA1iBhMgnbQiWb7zsJM/l1hqqFEjOqQ3GrbH4LGQrr/CK49NdjIncrLNiaRtbtRl1771FUHjQj0aQBt5axWCTHeRmt57dnbTyg6vV7eIgEk4mUdcwOvceDgQRiPylmZgL2vNJv00AAAM1SURBVFjDrZl3WxpBEMaPQ3ovKiAKSreABREVLLEbTewaY4mJJb333nvhIwd2jqNzbeYvHnb2d+zd7Du3LxRVPyaPeqK2Mb8sY3n5yG6L9hxNUuJD7Tk57s6URffxiUcthqZoNaoyNUJlbFUIxDW26zN1Q9/eKACnO2jJcEaLU8eX12sontiUmu5P7tD0TrJ/OtVUPGLo5YVzPChMaZhPLmqLB7WL3vmGwnizg5vXweab9+iqi9LRe2b2ih0cuMRj9km6d2un7brZCniYqMfrmmXSLBua+lfWbFiY1Nmu2lmRTSZpOM59b+LDTPJmpFaKKQ0ZMhe/anDJID9tqj4+ugLjq3K+9SVfhRkro1XvSieMWgXsVJ0R5nRWuePXB2AsrBWyRbXrMGtAWTHUBiN9QkWkD+a1VdQzfD8kXJaGYGZZhTtgf8zFhANjW7BnSndhM/nSJ0o51T7Y1yX6AvUnF6fscqjHQNE1QK9clMhwgZoV1ueE/Sa++zwhACer90SfF+TigZHPOcJIvisMEv5FCf2RChHEINPfbhCl10gBaog+6qEXthK6m5IU7ixi4hN8JhvcPC4NOH4Y/pKvGfJr5yiJ8Y39dJWs+C2FFn9yvAtKPOC/HHACj9dFVnweD3iOAE14wGukqhV4QCL9djwedYV0OkTghxwwhAj054BBRODTHPASIpBUzWVEoAUbOIK9ZD32Q/Fhlw16YaNvPXRxQJcvdIGlOpFbAPUbu0lBG/XgAf+SRr+FuGYrxqtIZeG48YAKog+qSTwiwgtnmQVCNHEhjkeEl3YbHpA5VqzhEQOSDj7VAo5mdjUa8DUcHp/H0Ihroo+3dVuBiAN4zVAyFsG6FouYNzGMCSzi6D0g+tCqx/RKmBHEHXdfMO6T7R2PIy2fTvnmVt5MC3GZaT8sqe98nvUd1u4L79dO2w9n+8bPX1/5LPv9IWtIbtNVe6GS3mYMyQNeN9LRXGSZLnuXSi3TJe9ywTJNf+SpPSWmrmrK+sx7m755P9hvnSqxtg0Bvk9b5+RjOwd1AgpohtsYnxHaC3Gte+gMnjN75Z8L9jOPFB3WnJK/P7I/VuUfs0V7TrncmP8jtvO4FdRBjgAAAABJRU5ErkJggg==") no-repeat;background-size:28px 28px;-webkit-animation:rotate-loading .45s linear forwards infinite;animation:rotate-loading .45s linear forwards infinite;margin-right:10px}.m-loading .loading-txt{font-size:15px;color:#fff;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.g-view{margin:0 auto;max-width:750px;min-width:300px}.g-view:before{height:.9rem}.g-view:after,.g-view:before{content:"";display:block;width:100%}.g-view:after{height:1.5rem}.g-flexview{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:750px;min-width:300px}.g-scrollview{width:100%;height:100%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;margin-bottom:-1px}.g-scrollview:after{content:"";display:block;width:100%;height:.5rem}.ios .g-scrollview{margin-top:1px}.hairline .g-scrollview{margin-top:.5px}.m-button{padding:0 .24rem}.btn{height:.6rem;font-size:.26rem;display:inline-block;padding:0 .2rem;box-sizing:content-box}.btn,.btn-block{text-align:center;position:relative;border:none;pointer-events:auto;border-radius:3px}.btn-block{width:100%;display:block;font-size:.36rem;height:1rem;margin-top:.5rem}.btn-primary{background-color:#04be02;color:#fff}.btn-primary:active{background-color:#04ab02}.btn-danger{background-color:#ef4f4f;color:#fff}.btn-danger:active{background-color:#d74747}.btn-warning{background-color:#ffb400;color:#fff}.btn-warning:active{background-color:#e6a200}.btn-disabled{background-color:#ccc;color:#f0f0f0;pointer-events:none}.btn-disabled:active{background-color:#b8b8b8}.btn-hollow{background-color:#fff;color:#454545;border:1px solid #eaeaea}.btn-hollow:active{background-color:#f7f7f7}.hairline .btn-hollow{border:.5px solid #dedede}.m-navbar{height:.9rem;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.m-navbar:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-navbar.navbar-fixed{position:fixed;top:0;left:0;width:100%;z-index:100}.navbar-item{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;padding:0 .2rem;font-size:.3rem;white-space:nowrap;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:inherit}.navbar-item:first-child{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;margin-right:-25%}.navbar-item:last-child{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3}.navbar-item:last-child,.navbar-item:last-child>a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.navbar-item>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:.9rem;min-width:25%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.navbar-center-box{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;height:.9rem;width:50%;margin-left:25%}.navbar-center-box .navbar-center{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.navbar-center-box .navbar-center .center-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-center-box .navbar-center img{height:60%}.back-icon:before,.next-icon:before{display:inline-block;font-family:YDUI-INLAY;font-size:.36rem;color:inherit}.back-icon:before{content:"\E607"}.next-icon:before{content:"\E608"}.m-cell-box{margin-bottom:.35rem}.m-cell{background-color:#fff;position:relative;z-index:5}.m-cell:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-cell a.cell-item,.m-cell label.cell-item{background-color:#fff}.m-cell a.cell-item:active,.m-cell label.cell-item:active{background-color:#f5f5f5}.cell-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;padding-left:.24rem;overflow:hidden}.cell-item:not(:last-child):after{margin-left:.24rem;content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cell-left{color:#333;font-size:.3rem;white-space:nowrap;-ms-flex-align:center}.cell-left,.cell-right{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cell-right{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;min-height:1rem;color:#525252;text-align:right;font-size:.26rem;padding-right:.24rem;-ms-flex-align:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=time]{line-height:1rem}.cell-right input[type=checkbox]:not(.m-switch),.cell-right input[type=radio]{position:absolute;left:-9999em}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{font-family:YDUI-INLAY;font-size:.44rem}.cell-right input[type=checkbox]:not(.m-switch)+.cell-radio-icon:after,.cell-right input[type=radio]+.cell-radio-icon:after{content:"\E600";color:#4cd864;display:none}.cell-right input[type=checkbox]:not(.m-switch)+.cell-checkbox-icon:after,.cell-right input[type=radio]+.cell-checkbox-icon:after{content:"\E604";color:#d9d9d9}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-radio-icon:after,.cell-right input[type=radio]:checked+.cell-radio-icon:after{display:inline-block}.cell-right input[type=checkbox]:not(.m-switch):checked+.cell-checkbox-icon:after,.cell-right input[type=radio]:checked+.cell-checkbox-icon:after{color:#4cd864;content:"\E601"}.cell-right:active{background:none}.cell-right .input-clear,.cell-right .input-password{height:1rem}.cell-right .datetime-input,.cell-right input[type=date],.cell-right input[type=datetime-local],.cell-right input[type=email],.cell-right input[type=number],.cell-right input[type=password],.cell-right input[type=tel],.cell-right input[type=text]:not(.spinner-input),.cell-right input[type=time],.cell-right input[type=url]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1rem;border:none;font-size:.3rem;background:transparent;color:#555;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:left}.cell-right select{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1rem;border:none;display:block;color:#a9a9a9;font-size:.3rem;margin-left:-.08rem}.cell-icon{display:block;margin-right:.1rem}.cell-icon img{height:.4rem}.cell-arrow:after{margin-left:.05rem;margin-right:-.08rem;display:block;font-family:YDUI-INLAY;font-size:.34rem;color:#c9c9c9;content:"\E608"}.cell-title{padding:0 .24rem .1rem;font-size:.3rem;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.cell-title:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-switch{position:relative;z-index:10;display:block;width:52px;height:32px;left:0;border:1px solid #dfdfdf;border-radius:16px;background-color:#dfdfdf;-webkit-appearance:none;-moz-appearance:none}.m-switch:after,.m-switch:before{content:"";position:absolute;top:0;left:0;height:30px;border-radius:15px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-switch:before{width:50px;background-color:#fdfdfd}.m-switch:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}.m-switch:checked{border-color:currentColor;background-color:currentColor}.m-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.m-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.m-switch[disabled]{opacity:.5}.m-grids-2{overflow:hidden;position:relative;background-color:#fff}.m-grids-2:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-2 .grids-item{width:50%}.m-grids-2 .grids-item:not(:nth-child(2n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3{overflow:hidden;position:relative;background-color:#fff}.m-grids-3:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-3 .grids-item{width:33.333333%}.m-grids-3 .grids-item:not(:nth-child(3n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4{overflow:hidden;position:relative;background-color:#fff}.m-grids-4:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-4 .grids-item{width:25%}.m-grids-4 .grids-item:not(:nth-child(4n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5{overflow:hidden;position:relative;background-color:#fff}.m-grids-5:before{content:"";position:absolute;z-index:1;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.m-grids-5 .grids-item{width:20%}.m-grids-5 .grids-item:not(:nth-child(5n)):before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-item{width:25%;float:left;position:relative;z-index:0;padding:.35rem 0;font-size:.28rem}.grids-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.grids-icon{height:.68rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.grids-icon :after,.grids-icon :before{font-size:.54rem}.grids-icon img{height:70%}.grids-txt{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:center;color:#333;padding:0 .2rem}.m-gridstitle{padding:.35rem .24rem .1rem;font-size:.3rem;text-align:left;color:#888;position:relative;z-index:1;background-color:#f5f5f5}.m-gridstitle:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" icon-"]:before,[class^=icon-]:before{font-family:YDUI-ICONS;font-size:inherit}.icon-footmark:before{content:"\E636"}.icon-discount:before{content:"\E633"}.icon-verifycode:before{content:"\E632"}.icon-star-outline:before{content:"\E630"}.icon-star:before{content:"\E631"}.icon-weibo:before{content:"\E62F"}.icon-download:before{content:"\E62E"}.icon-next:before{content:"\E62D"}.icon-home-outline:before{content:"\E62C"}.icon-home:before{content:"\E63D"}.icon-weixin:before{content:"\E629"}.icon-refresh:before{content:"\E628"}.icon-tencent-weibo:before{content:"\E627"}.icon-search:before{content:"\E626"}.icon-time:before{content:"\E625"}.icon-prev:before{content:"\E624"}.icon-like-outline:before{content:"\E639"}.icon-like:before{content:"\E63A"}.icon-setting:before{content:"\E623"}.icon-delete:before{content:"\E622"}.icon-sortlist:before{content:"\E621"}.icon-sortlarger:before{content:"\E620"}.icon-sortlargest:before{content:"\E61F"}.icon-qq:before{content:"\E62A"}.icon-more:before{content:"\E618"}.icon-shopcart-outline:before{content:"\E61A"}.icon-shopcart:before{content:"\E619"}.icon-checkoff:before{content:"\E617"}.icon-bad:before{content:"\E61C"}.icon-video:before{content:"\E61D"}.icon-clock:before{content:"\E61E"}.icon-ucenter-outline:before{content:"\E616"}.icon-ucenter:before{content:"\E615"}.icon-warn-outline:before{content:"\E613"}.icon-warn:before{content:"\E614"}.icon-share1:before{content:"\E610"}.icon-share2:before{content:"\E60E"}.icon-share3:before{content:"\E60D"}.icon-feedback:before{content:"\E60F"}.icon-type:before{content:"\E60C"}.icon-discover:before{content:"\E60B"}.icon-good:before{content:"\E61B"}.icon-shield-outline:before{content:"\E608"}.icon-shield:before{content:"\E60A"}.icon-qrscan:before{content:"\E609"}.icon-location:before{content:"\E607"}.icon-phone1:before{content:"\E606"}.icon-phone2:before{content:"\E637"}.icon-phone3:before{content:"\E63B"}.icon-error-outline:before{content:"\E602"}.icon-error:before{content:"\E603"}.icon-play:before{content:"\E601"}.icon-compose:before{content:"\E600"}.icon-question:before{content:"\E62B"}.icon-order:before{content:"\E638"}.m-list{overflow:hidden;position:relative;-ms-touch-action:none;touch-action:none}.m-list .list-item:active{background:none}.list-img{height:0;width:100%;padding:50% 0;overflow:hidden}.list-img img{width:100%;margin-top:-50%;border:none}.list-img img,.list-mes{background-color:#fff}.list-mes .list-title{color:#505050;font-size:.26rem;text-align:justify;font-weight:800}.list-mes .list-other{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#999}.list-price{font-size:.3rem;color:#eb5211}.list-price>em{font-size:.22rem}.list-del-price{padding-left:.06rem;font-size:.2rem;margin-left:.02rem;position:relative;color:#8c8c8c}.list-del-price:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #8c8c8c;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0;top:auto;bottom:50%}.list-theme1{padding:0 2px}.list-theme1 .list-item{width:50%;float:left;padding:0 2px;margin-top:4px}.list-theme1 .list-item .list-mes{padding:.1rem}.list-theme1 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme2 .list-item{width:50%;float:left;padding-top:4px}.list-theme2 .list-item:nth-child(odd){padding-right:2px}.list-theme2 .list-item:nth-child(2n){padding-left:2px}.list-theme2 .list-item .list-mes{padding:.1rem}.list-theme2 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item{width:50%;float:left;padding:.2rem;position:relative;z-index:0;background-color:#fff}.list-theme3 .list-item:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item:nth-child(odd):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme3 .list-item .list-mes{padding-top:.1rem}.list-theme3 .list-item .list-mes .list-title{word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:justify;height:.36rem}.list-theme3 .list-item:active{background:#fff}.list-theme4{padding:0 7px;background-color:#fff}.list-theme4 .list-item{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:7px 0 8px;position:relative}.list-theme4 .list-item:not(:last-child):after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme4 .list-item .list-img{width:2rem;padding:1rem 0}.list-theme4 .list-item .list-mes{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:7px}.list-theme4 .list-item .list-mes .list-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:.38rem;max-height:1.34rem}.list-theme4 .list-item .list-mes .list-other{padding-top:.1rem}.list-theme5{background-color:#fff}.list-theme5 .list-item{display:block;position:relative;z-index:1;padding:.2rem .2rem 0}.list-theme5 .list-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.list-theme5 .list-item .list-mes{padding:.2rem 0 .15rem}.list-theme5 .list-item .list-mes .list-other{padding-top:.06rem}@media screen and (min-width:768px){.list-theme1{padding:0 4px}.list-theme1 .list-item{padding:0 4px;margin-top:8px}.list-theme2 .list-item{padding-top:8px}.list-theme2 .list-item:nth-child(odd){padding-right:4px}.list-theme2 .list-item:nth-child(2n){padding-left:4px}.list-theme4{padding:0 9px}.list-theme4 .list-item{padding:9px 0 10px}.list-theme4 .list-item .list-mes{padding-left:9px}}.list-loading{margin-top:.2rem;text-align:center;font-size:.26rem;color:#999;height:.66rem;line-height:.66rem}.list-loading img{height:inherit;display:inline-block}.list-donetip{font-size:.24rem;text-align:center;padding:.25rem 0;color:#777}.pullrefresh-animation-timing{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}@-webkit-keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes backRotateAnimation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.pullrefresh-dragtip{position:absolute;top:-46px;left:50%;z-index:996;-webkit-transform:translateZ(0);transform:translateZ(0);width:42px;height:42px;line-height:42px;margin-left:-21px;border-radius:50%;text-align:center;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pullrefresh-dragtip>span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:inherit}.pullrefresh-dragtip>span:after{content:"";display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABa1BMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFAPDq2AAAAeHRSTlMAAAECAwQGBwkLDQ8QERMUFRkiIyYnLS4vMjM1Njc4OTpAQUJDREVGTVJWXmBiZmdoaWpxc3V8f4GCg4SGiIyNj5aXmZqbnJ+go6SlpqmqrK+wub2/wMHCxMXJzM3P0tPU1djd3t/n6Orr7O7w8fP09fb3+Pn6/f5+D/4+AAABqklEQVQ4y43V+T8CQRQA8GklUeQmhESuHBHJUY5EIWeHECGrcpVV++eb2Z3Y2d22eT+9mfm2n880894AQIRpKnDxVCh/sanD+c7/aS8PdDoCOqPfvCRu3c1VKaOOFC+P3LJBlAQ1h3m1uB8UpJRan/FaOX3i39jaj5fw+OeIJ6nzQ1y4crXhGeP43qfk63/UwQnjxDCxS4ufU9DeNzQqLTBAFn1y2vKIBi9WoAivnAZR/tqtJTG1lWFaHNKUmF6i1K0tRWpDWZLRliINoWykjhRo0ztMYqBuQGpHv3FR0TV07q1U9AzSO0BFM5BG6GgO0nU6ikpkhY5y9DQPqY9+W2E6ek7/Z/noj2CM/mCF6xKnouIlHKWiwtW+ZmqjGV8XpmLBLNWUHXm+Ep+VlGHJVkMaYuhLO/WKG4b+GC2yZqJlsCotAxhPhcqaBrJGtKjYW39akAEA6rS3dr/YxCN6CQWTuGkmXBY802gP4bndBiClYKDaiisP0e3NwEGyWG3NqwwgKWzwFbUGn52QnJbms+ExAjWqeIwyHhN5BxRPXLbAc+xNcK5Hdl1+ASkP8ND4fLD1AAAAAElFTkSuQmCC") no-repeat;background-size:20px 20px}.pullrefresh-dragtip>span.pullrefresh-loading:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAABcVBMVEVTfvH///9TfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvFTfvG7eWgbAAAAenRSTlMAAAECAwQGBwkKCw0PEBETFBUZIiMmJy0uLzIzNTY3ODk6QEFCQ0RFRktNUlZeYGJmZ2hpanFzdXyBgoOEhoiMjY+Wl5mam5yfoKOkpqmqrK+wuLm6vb/AwcLExcnMzc/S09TV2N3e3+fo6uvs7vDx8/T19vf4+fr9/naKfqcAAAGISURBVDjLjZVVW0JBEEBXDLC7FbsVuzDAwO7E7sAORDi/3od7/T72Ajrztjvn4c7dmTNKaZHV7t2+eQ5/BI4Xewq1TFKSdmxZ+yIqTvszEqCNx1jjcTAtDpq9RLy4qIpBK27NXPh81TM+OecPmufvNgva8mYk9ly55o2jafYdYMuuo40hAA5qtCrzPCF20vUPKH0BCPbalCXKfOl6WZnXAPcV6q8wUB/AQ7H6H3WGgc9qJUB3AfqVAHUCHNok6DxArRKg9ldgX0nQegCXCB0FwjkidAM4UyL0CliWoY/AmAz9AoZlaEiOPgFueVlLMnRT/rPc8idokD+s/RXwi1CjCeuUuLWP/mjtTneRNjADCcmCJyL+rqgxDDoTkGn7ANOC4U5ZAQhka8oIxFOGYx2ADquI+mJqKz8HwPuv3vI9hsSXU6Kl2WpK88CVZ96k1s+bdzPJuoorf1UcuVybmvAuHH7+qnnEFiv4SDzB3zVL18aQQ7aMroayEu4tY8XdPRMKnPi6Syzt8gMGxsBO8KgZSQAAAABJRU5ErkJggg==") no-repeat;background-size:20px 20px;-webkit-animation:backRotateAnimation .4s linear infinite;animation:backRotateAnimation .4s linear infinite}.pullrefresh-draghelp{width:100%;height:100%;position:fixed;top:0;left:0;z-index:500;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.pullrefresh-draghelp>div{width:2.3rem;height:2.3rem;background-color:rgba(0,0,0,.8)}.pullrefresh-draghelp>div:before{content:"\E60D";font-family:YDUI-INLAY;font-size:.88rem;text-align:center;color:#fff;display:block;padding-top:.36rem}.pullrefresh-draghelp>div>span{text-align:center;color:#fff;font-size:.28rem;display:block;padding-top:.2rem}.badge{color:#fff;font-size:12px;position:relative;display:inline-block;border-radius:1000px;line-height:1;padding:3px 6px;white-space:nowrap;background-color:#d0d0d0}.badge-radius{border-radius:2px}.badge-primary{background-color:#04be02;color:#fff}.badge-danger{background-color:#ef4f4f;color:#fff}.badge-warning{background-color:#ffb400;color:#fff}.badge-hollow{background-color:#fbfbfb;color:#b2b2b2}.badge-hollow:after{content:"";width:200%;height:200%;border:1px solid #b2b2b2;position:absolute;top:0;left:0;border-radius:1rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5);transform:scale(.5)}.badge-radius:after{border-radius:2px}.m-tabbar{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.104rem 0 .07rem;background-color:hsla(0,0%,100%,.96)}.m-tabbar:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tabbar-fixed{position:fixed;bottom:0;left:0;z-index:100}.tabbar-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.tabbar-active,.tabbar-active .tabbar-icon{color:inherit}.tabbar-badge{top:-.02rem;margin-left:-.15rem}.tabbar-badge,.tabbar-dot{position:absolute;left:100%;z-index:999}.tabbar-dot{display:block;width:10px;height:10px;background-color:#ef4f4f;border-radius:50%;top:.02rem;margin-left:-.11rem}.tabbar-icon{height:.5832rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.tabbar-icon img{height:70%}.tabbar-txt{display:inline-block;font-size:inherit}.tab-nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;z-index:0}.tab-nav:after{content:"";position:absolute;z-index:3;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.tab-nav-item{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;text-align:center;color:#585858;font-size:.28rem;line-height:.85rem;display:block}.tab-nav-item,.tab-nav-item.tab-active,.tab-nav-item.tab-active:active{background-color:#fff}.tab-nav-item:active{background-color:#f7f7f7}.tab-nav-item a{display:inherit;color:inherit}.tab-nav-item:not(:last-child):after{position:absolute;top:35%;right:0;content:"";width:1px;height:30%;-webkit-transform:scaleX(.5);transform:scaleX(.5);border-right:1px solid #d9d9d9}.tab-nav-item.tab-active{color:#ff5e53}.tab-nav-item.tab-active:before{content:"";width:70%;height:2px;position:absolute;left:50%;bottom:0;margin-left:-35%;z-index:4;background-color:currentColor}.tab-panel{position:relative;overflow:hidden;background-color:#fff}.tab-panel .tab-panel-item{width:100%;position:absolute;top:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.tab-panel .tab-panel-item.tab-active{position:relative;-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;-webkit-transform:translateX(0);transform:translateX(0)}.tab-panel .tab-panel-item.tab-active~.tab-panel-item{-webkit-transform:translateX(100%);transform:translateX(100%)}.m-scrolltab{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.scrolltab-nav{height:100%;background-color:#f5f5f5;overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.scrolltab-nav:after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item{padding:0 .3rem;height:1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.scrolltab-item.scrolltab-active{background-color:#fff}.scrolltab-item.scrolltab-active:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #fff;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item.scrolltab-active:active{background-color:#fff}.scrolltab-item:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #dfdfdf;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:before{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #dfdfdf;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.scrolltab-item:active{background:none}.scrolltab-icon{margin-right:.2rem;font-size:.32rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.scrolltab-icon>img{height:.4rem;display:inline-block}.scrolltab-title{font-size:.3rem;color:#666;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:1.6rem}.scrolltab-content{height:100%;background-color:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:0 .24rem .24rem;position:relative}.scrolltab-content-title{font-size:.3rem;font-weight:400;color:#555;display:block;padding-bottom:.1rem;padding-top:.32rem;margin-bottom:.2rem;position:relative;z-index:1}.scrolltab-content-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-actionsheet{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-actionsheet,.mask-actionsheet{position:fixed;z-index:500;bottom:0;left:0}.m-actionsheet{text-align:center;width:100%;background-color:#efeff4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.actionsheet-item{display:block;position:relative;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-item:after{content:"";position:absolute;z-index:2;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.actionsheet-action{display:block;margin-top:.15rem;font-size:.28rem;color:#555;height:1rem;line-height:1rem;background-color:#fff}.actionsheet-active{-webkit-transform:translate(0);transform:translate(0)}.mask-keyboard{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-keyboard,.mask-keyboard{position:fixed;z-index:500;bottom:0;left:0}.m-keyboard{width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;background-color:#f7f7f7}.m-keyboard.keyboard-active{-webkit-transform:translate(0);transform:translate(0)}.keyboard-content{background-color:#fff;margin-top:.3rem;position:relative}.keyboard-content:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-title{overflow:hidden;padding:.2rem 0 .12rem;color:#222;margin-bottom:1px;font-size:.24rem;text-align:center;background-color:#fff}.keyboard-title:before{font-family:YDUI-INLAY;content:"\E60A";font-size:.26rem;color:#ff2424;line-height:1;margin-right:.06rem}.keyboard-numbers{font-size:.48rem;background-color:#fff}.keyboard-numbers>li{width:100%}.keyboard-numbers>li,.keyboard-numbers>li>a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.keyboard-numbers>li>a{width:1%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#222;height:1rem;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#fff}.keyboard-numbers>li>a:active{background-color:#f7f7f7}.keyboard-numbers>li>a:not(:last-child):after{content:"";position:absolute;z-index:0;top:0;right:0;height:100%;border-right:1px solid #d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li>a:before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:1px;border-top:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-numbers>li:last-child>a:last-child,.keyboard-numbers>li:last-child>a:nth-last-child(3){background-color:#f7f7f7;font-size:.3rem;color:#686868}.keyboard-numbers>li:last-child>a:last-child:after{font-family:YDUI-INLAY;content:"\E609";font-size:.6rem}.keyboard-head{height:.8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#1f2324;font-size:.3rem;position:relative}.keyboard-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.keyboard-password{margin:0 .8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;background-color:#fff}.keyboard-password:after{content:"";width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);position:absolute;border:1px solid #d9d9d9;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:4px}.keyboard-password li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1rem}.keyboard-password li:not(:last-child):after{content:"";width:1px;height:50%;position:absolute;right:0;top:25%;background-color:#d9d9d9;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.keyboard-password li i{width:6px;height:6px;border-radius:50%;background-color:#000}.keyboard-error{padding:2px .8rem;color:red;overflow:hidden;height:.5rem;line-height:.5rem;font-size:.24rem;text-align:left}.m-slider{overflow:hidden}.m-slider,.slider-wrapper{width:100%;position:relative}.slider-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.slider-wrapper.slider-wrapper-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.slider-item{width:100%;height:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.slider-item a{display:block}.slider-item img{width:100%}@-webkit-keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}@keyframes slider-pagination-opacity{0%{opacity:0}to{opacity:1}}.slider-pagination{position:absolute;width:100%;z-index:2;left:0;bottom:.1rem;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;opacity:0;-webkit-animation:slider-pagination-opacity .3s linear .4s forwards;animation:slider-pagination-opacity .3s linear .4s forwards}.slider-pagination,.slider-pagination.slider-pagination-vertical{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.slider-pagination.slider-pagination-vertical{width:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;bottom:0;left:auto;right:.1rem}.slider-pagination>.slider-pagination-item{margin:.05rem;width:6px;height:6px;display:inline-block;border-radius:100%;background-color:#b7d0e1}.slider-pagination>.slider-pagination-item.slider-pagination-item-active{background-color:#ff0005}.m-spinner{border:1px solid #eae8e8;border-radius:1px;display:inline-block;overflow:hidden;height:.6rem}.m-spinner>a{float:left;width:.6rem;height:.6rem;line-height:.62rem;text-align:center;font-weight:700;color:#666;letter-spacing:0;background-color:#f8f8f8}.m-spinner>a:active{background-color:#ececec}.m-spinner>a:after{font-family:YDUI-INLAY;color:#777;font-size:.18rem}.m-spinner>a:first-child:after{content:"\E60B"}.m-spinner>a:last-child:after{content:"\E602"}.m-spinner>input{letter-spacing:0;float:left;width:.85rem;height:.6rem;line-height:2.4;text-align:center;color:#666;border:none;font-size:.26rem;background-color:#fff}.mask-cityselect{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-cityselect,.mask-cityselect{position:fixed;z-index:500;bottom:0;left:0}.m-cityselect{width:100%;height:75%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.m-cityselect.cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.cityselect-header:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-title{width:100%;font-size:.3rem;text-align:center;height:45px;line-height:45px;position:relative}.cityselect-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #b2b2b2;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-nav{width:100%;padding-left:.2rem;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-nav>a{font-size:.26rem;color:#222;display:block;height:40px;line-height:46px;padding:0 .2rem;position:relative;margin-right:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav>a.cityselect-nav-active{color:#f23030}.cityselect-nav>a.cityselect-nav-active:after{content:"";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:0;left:0;z-index:2}.cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.cityselect-content.cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.cityselect-content.cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.cityselect-content.cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.cityselect-content>.cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.cityselect-content>.cityselect-item::-webkit-scrollbar{width:0}.cityselect-content>.cityselect-item:nth-child(2n){background-color:#f5f5f5}.cityselect-item-box{width:100%;height:inherit;display:block;padding:0 .4rem}.cityselect-item-box>a{color:#333;font-size:.26rem;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.cityselect-item-box>a:before{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.cityselect-item-box>a:active{background:none}.cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block}.cityselect-item-box>a.cityselect-item-active{color:#f23030}.cityselect-item-box>a.cityselect-item-active:after{display:block;content:"\E600";font-family:YDUI-INLAY}.cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.26rem;color:#999}.m-progressbar{position:relative;color:#333;width:100%;height:100%}.m-progressbar>svg{width:100%}.m-progressbar>svg>path{-webkit-transition:all 1s linear;transition:all 1s linear}.progressbar-content{position:absolute;top:50%;left:50%;font-size:.3rem;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.m-rate{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rate a:after{content:"\E630";font-family:YDUI-INLAY;font-size:inherit;color:inherit}.m-rate a.rate-active:after{content:"\E631"}.m-rate .rate-text{color:#657180;margin-left:.1rem;font-size:.3rem}.m-textarea{padding:.2rem 0;background-color:#fff;width:100%}.m-textarea textarea{border:none;width:100%;display:block;height:1.5rem;font-size:.3rem}.m-textarea .textarea-counter{font-size:.32rem;color:#b2b2b2;text-align:right;padding-top:.06rem}.m-popup{position:fixed;background-color:#fff;z-index:1501;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.m-popup .popup-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto;-webkit-overflow-scrolling:touch}.m-popup.popup-left{-webkit-transform:translate(-100%);transform:translate(-100%);left:0;top:0;height:100%}.m-popup.popup-right{-webkit-transform:translate(100%);transform:translate(100%);right:0;top:0;height:100%}.m-popup.popup-bottom{-webkit-transform:translateY(100%);transform:translateY(100%);right:0;bottom:0}.m-popup.popup-show{pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.m-popup-center{background-color:#fff;z-index:1502;position:fixed;top:50%;left:50%;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.8);transform:translate(-50%,-50%) scale(.8);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:all .1s;transition:all .1s;border-radius:2px;pointer-events:none}.m-popup-center.popup-show{pointer-events:auto;opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.m-popup-mask{background-color:rgba(0,0,0,.4);position:fixed;z-index:1500;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-rollnotice{overflow:hidden;width:100%;background-color:#fff}.rollnotice-box{height:inherit}.rollnotice-box.align-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.rollnotice-box.align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.rollnotice-box.align-center{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rollnotice-item{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit}.m-input{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>input{display:block;width:100%;height:100%;border:none;font-size:inherit}.m-input>.input-clear,.m-input>.input-error,.m-input>.input-password,.m-input>.input-success,.m-input>.input-warn{padding-left:.2rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-input>.input-clear:after,.m-input>.input-error:after,.m-input>.input-password:after,.m-input>.input-success:after,.m-input>.input-warn:after{font-family:YDUI-INLAY}.m-input>.input-clear:after{content:"\E60C";color:#b2b2b2;font-size:.3rem}.m-input>.input-error:after{content:"\E614";color:#f43530;font-size:.4rem}.m-input>.input-warn:after{content:"\E614";color:#10aeff;font-size:.4rem}.m-input>.input-success:after{content:"\E601";color:#09bb07;font-size:.4rem}.m-input>.input-password:after{content:"\E77E";color:#b2b2b2;font-size:.45rem}.m-input>.input-password-open:after{content:"\E77D";color:#434343}.m-flexbox{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-flexbox.flexbox-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}.m-flexbox.flexbox-vertical .flexbox-item{width:100%}.m-flexbox .flexbox-item{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.m-radio{display:inline-block;padding-right:10px}.m-radio>.radio-icon{border:1px solid #ccc;border-radius:50%;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-radio>.radio-icon>i{content:"";position:absolute;left:50%;top:50%;border-radius:50%;background-color:currentColor;opacity:0;-webkit-transform:translate(-50%,-50%) scale(.1);transform:translate(-50%,-50%) scale(.1)}.m-radio>.radio-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-radio>input[type=radio]{position:absolute;left:-9999em}.m-radio>input[type=radio]:checked+.radio-icon{border-color:currentColor}.m-radio>input[type=radio]:checked+.radio-icon>i{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-radio>input[type=radio]:disabled~.radio-text{color:#ccc}.m-radio>input[type=radio]:disabled+.radio-icon{border-color:#ccc;background-color:#f3f3f3}.m-radio>input[type=radio]:disabled+.radio-icon>i{background-color:#ccc}.m-checkbox{display:inline-block;padding-right:10px}.m-checkbox>.checkbox-icon{border:1px solid #ccc;border-radius:2px;display:inline-block;position:relative;z-index:10;vertical-align:bottom;pointer-events:none}.m-checkbox>.checkbox-icon>i{content:"";position:absolute;top:50%;left:50%;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);margin-top:-10%}.m-checkbox>.checkbox-text{margin-left:1px;font-size:15px;color:#666;pointer-events:none}.m-checkbox>input[type=checkbox]{position:absolute;left:-9999em}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon{background-color:currentColor;border-color:currentColor}.m-checkbox>input[type=checkbox]:checked+.checkbox-icon>i{-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(1);transform:translate(-50%,-50%) rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.m-checkbox>input[type=checkbox]:disabled~.checkbox-text{color:#ccc}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon{border-color:#ccc;background-color:#f3f3f3}.m-checkbox>input[type=checkbox]:disabled+.checkbox-icon>i{border-color:#ccc}.m-backtop{border:1px solid silver;width:1rem;height:1rem;background-color:hsla(0,0%,100%,.85);position:fixed;border-radius:50%;right:5%;bottom:5%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;z-index:1000}.m-backtop:after{font-family:YDUI-INLAY;content:"\E788";font-size:.5rem;color:silver}.m-accordion{background-color:#fff}.accordion-title{min-height:1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:0 .24rem;overflow:hidden}.accordion-title:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.accordion-title>span{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.28rem;color:#444}.accordion-title>i{overflow:hidden}.accordion-title>i:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:7px solid #a0a0a0;display:block;-webkit-transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1);transition:transform .25s cubic-bezier(.4,.6,.2,1),-webkit-transform .25s cubic-bezier(.4,.6,.2,1);-webkit-transform:rotate(0deg);transform:rotate(0deg)}.accordion-title>i.accordion-rotated:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.accordion-content{position:relative;overflow:hidden;-webkit-transition:height .25s cubic-bezier(.4,.6,.2,1);transition:height .25s cubic-bezier(.4,.6,.2,1)}.accordion-content:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.mask-datetime{background-color:rgba(0,0,0,.4);right:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.m-datetime,.mask-datetime{position:fixed;z-index:500;bottom:0;left:0}.m-datetime{width:100%;background-color:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .25s;transition:-webkit-transform .25s;transition:transform .25s;transition:transform .25s,-webkit-transform .25s;-ms-touch-action:none;touch-action:none}.m-datetime.datetime-active{-webkit-transform:translate(0);transform:translate(0)}.datetime-input{width:100%}.datetime-head{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;position:relative;background-color:#fbfbfb}.datetime-head:after{content:"";position:absolute;z-index:0;bottom:0;left:0;width:100%;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-head>a{height:43px;padding:0 30px;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#555}.datetime-head>a:last-child{color:#0bb20c}.datetime-content{position:relative;width:100%;height:266px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datetime-item{font-size:16px;height:100%;position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.datetime-item-content>span{width:100%;display:block;height:38px;line-height:38px;text-align:center}.datetime-item-box{height:100%}.datetime-indicator,.datetime-mask{pointer-events:none;position:absolute;left:0;top:0;height:100%;width:100%}.datetime-mask{z-index:3;-webkit-transform:translateZ(0);transform:translateZ(0);background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 114px;background-repeat:no-repeat}.datetime-indicator{z-index:4;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.datetime-indicator>span{display:block;width:100%;height:38px;position:relative}.datetime-indicator>span:after{top:0;border-top:1px solid #d9d9d9}.datetime-indicator>span:after,.datetime-indicator>span:before{content:"";position:absolute;z-index:0;left:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:0 0;transform-origin:0 0}.datetime-indicator>span:before{bottom:0;border-bottom:1px solid #d9d9d9} \ No newline at end of file diff --git a/example/main.js b/example/main.js index 97cefa61..a1f4913f 100644 --- a/example/main.js +++ b/example/main.js @@ -42,6 +42,7 @@ import Radio from './routers/radio.vue'; import CheckBox from './routers/checkbox.vue'; import BackTop from './routers/backtop.vue'; import Accordion from './routers/accordion.vue'; +import DateTime from './routers/datetime.vue'; import App from './app.vue'; @@ -92,7 +93,8 @@ const router = new VueRouter({ {path: '/radio', name: 'radio', component: Radio}, {path: '/checkbox', name: 'checkbox', component: CheckBox}, {path: '/backtop', name: 'backtop', component: BackTop}, - {path: '/accordion', name: 'accordion', component: Accordion} + {path: '/accordion', name: 'accordion', component: Accordion}, + {path: '/datetime', name: 'datetime', component: DateTime} ] }); diff --git a/example/routers/datetime.vue b/example/routers/datetime.vue new file mode 100644 index 00000000..44515ff0 --- /dev/null +++ b/example/routers/datetime.vue @@ -0,0 +1,71 @@ + + + diff --git a/example/routers/index.vue b/example/routers/index.vue index 3da41cec..81d188f0 100644 --- a/example/routers/index.vue +++ b/example/routers/index.vue @@ -42,7 +42,8 @@ {icon: 'demo-icons-flexbox', name: 'FlexBox', link: '/flexbox'}, {icon: 'demo-icons-cr', name: 'C&R', link: '/cr'}, {icon: 'demo-icons-backtop', name: 'BackTop', link: '/backtop'}, - {icon: 'demo-icons-accordion', name: 'Accordion', link: '/accordion'} + {icon: 'demo-icons-accordion', name: 'Accordion', link: '/accordion'}, + {icon: 'demo-icons-datetime', name: 'DateTime', link: '/datetime'}, ] } } diff --git a/example/styles/demo.less b/example/styles/demo.less index c58b91be..de4ee146 100644 --- a/example/styles/demo.less +++ b/example/styles/demo.less @@ -193,7 +193,7 @@ @font-face { font-family: @demo-icons; - src: url('//at.alicdn.com/t/font_xel3xe9yi2fkcsor.ttf') format('truetype'); + src: url('//at.alicdn.com/t/font_i1vmm55hbittke29.ttf') format('truetype'); } [class^="demo-icons-"]:before, [class*=" demo-icons-"]:before { @@ -205,6 +205,11 @@ content: '\e60b'; } +.demo-icons-datetime:before { + content: '\e790'; + color: #3CCD1C; +} + .demo-icons-me:before { content: '\e610'; } @@ -506,3 +511,10 @@ margin-left: 10px; } } + +.demo-cell-bottom-tip { + text-align: right; + margin-top: 2px; + padding: 0 .24rem; + color: #F00; +} diff --git a/package.json b/package.json index 579b6c31..e82a416d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-ydui", "description": "A mobile components Library with Vue2.js.", - "version": "0.7.2", + "version": "0.7.3", "author": "ydcss.com", "main": "dist/ydui.js", "style": "dist/ydui.css", diff --git a/src/components/actionsheet/src/actionsheet.vue b/src/components/actionsheet/src/actionsheet.vue index 9274377e..352bff1c 100644 --- a/src/components/actionsheet/src/actionsheet.vue +++ b/src/components/actionsheet/src/actionsheet.vue @@ -9,7 +9,7 @@ diff --git a/src/components/cityselect/src/cityselect.vue b/src/components/cityselect/src/cityselect.vue index 46e2cde7..d609a09e 100644 --- a/src/components/cityselect/src/cityselect.vue +++ b/src/components/cityselect/src/cityselect.vue @@ -54,7 +54,7 @@ + + diff --git a/src/components/datetime/src/picker.vue b/src/components/datetime/src/picker.vue new file mode 100644 index 00000000..01c0737e --- /dev/null +++ b/src/components/datetime/src/picker.vue @@ -0,0 +1,360 @@ + + + diff --git a/src/components/datetime/src/scroller.js b/src/components/datetime/src/scroller.js new file mode 100644 index 00000000..bd85ee11 --- /dev/null +++ b/src/components/datetime/src/scroller.js @@ -0,0 +1,504 @@ +/* + * Anima Scroller + * Based Zynga Scroller (http://github.com/zynga/scroller) + * Copyright 2011, Zynga Inc. + * Licensed under the MIT License. + * https://raw.github.com/zynga/scroller/master/MIT-LICENSE.txt + */ +const Animate = require('./animate'); + +var Scroller = function (component, content, options) { + var self = this; + + if (!component) return; + + options = options || {}; + + self.options = { + onSelect () { + }, + itemHeight: 38 + }; + + for (var key in options) { + if (options[key] !== undefined) { + self.options[key] = options[key]; + } + } + + self.__content = content; + self.__component = component; + self.__itemHeight = self.options.itemHeight; + + const supportTouch = (window.Modernizr && !!window.Modernizr.touch) || (function () { + return !!(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch); + })(); + + const _event = { + start: supportTouch ? 'touchstart' : 'mousedown', + move: supportTouch ? 'touchmove' : 'mousemove', + end: supportTouch ? 'touchend' : 'mouseup' + }; + + component.addEventListener(_event.start, function (e) { + if (e.target.tagName.match(/input|textarea|select/i)) { + return; + } + e.preventDefault(); + self.__doTouchStart(e, e.timeStamp); + }, false); + + component.addEventListener(_event.move, function (e) { + self.__doTouchMove(e, e.timeStamp); + }, false); + + component.addEventListener(_event.end, function (e) { + self.__doTouchEnd(e.timeStamp); + }, false); +}; + +var members = { + value: null, + __prevValue: null, + __isSingleTouch: false, + __isTracking: false, + __didDecelerationComplete: false, + __isGesturing: false, + __isDragging: false, + __isDecelerating: false, + __isAnimating: false, + __clientTop: 0, + __clientHeight: 0, + __contentHeight: 0, + __itemHeight: 0, + __scrollTop: 0, + __minScrollTop: 0, + __maxScrollTop: 0, + __scheduledTop: 0, + __lastTouchTop: null, + __lastTouchMove: null, + __positions: null, + __minDecelerationScrollTop: null, + __maxDecelerationScrollTop: null, + __decelerationVelocityY: null, + + setDimensions (clientHeight, contentHeight, totalItemCount) { + var self = this + + self.__clientHeight = clientHeight + self.__contentHeight = contentHeight + + var clientItemCount = Math.round(self.__clientHeight / self.__itemHeight) + + self.__minScrollTop = -self.__itemHeight * (clientItemCount / 2) + self.__maxScrollTop = self.__minScrollTop + totalItemCount * self.__itemHeight - 0.1 + }, + + selectByIndex (index, animate) { + var self = this + if (index < 0 || index > self.__content.childElementCount - 1) { + return + } + self.__scrollTop = self.__minScrollTop + index * self.__itemHeight + + self.scrollTo(self.__scrollTop, animate) + + self.__selectItem(self.__content.children[index]) + }, + + select (value, animate) { + var self = this + + var children = self.__content.children + for (var i = 0, len = children.length; i < len; i++) { + if (children[i].dataset.value == value) { + self.selectByIndex(i, animate) + return + } + } + + self.selectByIndex(0, animate) + }, + + scrollTo (top, animate) { + var self = this + + animate = (animate === undefined) ? true : animate + + if (self.__isDecelerating) { + Animate.stop(self.__isDecelerating) + self.__isDecelerating = false + } + + top = Math.round(top / self.__itemHeight) * self.__itemHeight + top = Math.max(Math.min(self.__maxScrollTop, top), self.__minScrollTop) + + if (top === self.__scrollTop || !animate) { + self.__publish(top) + self.__scrollingComplete() + return + } + self.__publish(top, 250) + }, + + __selectItem (selectedItem) { + var self = this; + + if (self.value !== null) { + self.__prevValue = self.value + } + + self.value = selectedItem.dataset.value + }, + + __scrollingComplete () { + var self = this + + var index = Math.round((self.__scrollTop - self.__minScrollTop - self.__itemHeight / 2) / self.__itemHeight) + + self.__selectItem(self.__content.children[index]) + + if (self.__prevValue !== null && self.__prevValue !== self.value) { + self.options.onSelect(self.value) + } + }, + + __doTouchStart (ev, timeStamp) { + const touches = ev.touches + const self = this + const target = ev.touches ? ev.touches[0] : ev + const isMobile = !!ev.touches + + if (ev.touches && touches.length == null) { + throw new Error('Invalid touch list: ' + touches) + } + if (timeStamp instanceof Date) { + timeStamp = timeStamp.valueOf() + } + if (typeof timeStamp !== 'number') { + throw new Error('Invalid timestamp value: ' + timeStamp) + } + + self.__interruptedAnimation = true + + if (self.__isDecelerating) { + Animate.stop(self.__isDecelerating) + self.__isDecelerating = false + self.__interruptedAnimation = true + } + + if (self.__isAnimating) { + Animate.stop(self.__isAnimating) + self.__isAnimating = false + self.__interruptedAnimation = true + } + + // Use center point when dealing with two fingers + var currentTouchTop + var isSingleTouch = (isMobile && touches.length === 1) || !isMobile + if (isSingleTouch) { + currentTouchTop = target.pageY + } else { + currentTouchTop = Math.abs(target.pageY + touches[1].pageY) / 2 + } + + self.__initialTouchTop = currentTouchTop + self.__lastTouchTop = currentTouchTop + self.__lastTouchMove = timeStamp + self.__lastScale = 1 + self.__enableScrollY = !isSingleTouch + self.__isTracking = true + self.__didDecelerationComplete = false + self.__isDragging = !isSingleTouch + self.__isSingleTouch = isSingleTouch + self.__positions = [] + }, + + __doTouchMove (ev, timeStamp, scale) { + const self = this + const touches = ev.touches + const target = ev.touches ? ev.touches[0] : ev + const isMobile = !!ev.touches + + if (touches && touches.length == null) { + throw new Error('Invalid touch list: ' + touches) + } + if (timeStamp instanceof Date) { + timeStamp = timeStamp.valueOf() + } + if (typeof timeStamp !== 'number') { + throw new Error('Invalid timestamp value: ' + timeStamp) + } + + // Ignore event when tracking is not enabled (event might be outside of element) + if (!self.__isTracking) { + return + } + + var currentTouchTop + + // Compute move based around of center of fingers + if (isMobile && touches.length === 2) { + currentTouchTop = Math.abs(target.pageY + touches[1].pageY) / 2 + } else { + currentTouchTop = target.pageY + } + + var positions = self.__positions + + // Are we already is dragging mode? + if (self.__isDragging) { + var moveY = currentTouchTop - self.__lastTouchTop + var scrollTop = self.__scrollTop + + if (self.__enableScrollY) { + scrollTop -= moveY + + var minScrollTop = self.__minScrollTop + var maxScrollTop = self.__maxScrollTop + + if (scrollTop > maxScrollTop || scrollTop < minScrollTop) { + // Slow down on the edges + if (scrollTop > maxScrollTop) { + scrollTop = maxScrollTop + } else { + scrollTop = minScrollTop + } + } + } + + // Keep list from growing infinitely (holding min 10, max 20 measure points) + if (positions.length > 40) { + positions.splice(0, 20) + } + + // Track scroll movement for decleration + positions.push(scrollTop, timeStamp) + + // Sync scroll position + self.__publish(scrollTop) + + // Otherwise figure out whether we are switching into dragging mode now. + } else { + var minimumTrackingForScroll = 0 + var minimumTrackingForDrag = 5 + + var distanceY = Math.abs(currentTouchTop - self.__initialTouchTop) + + self.__enableScrollY = distanceY >= minimumTrackingForScroll + + positions.push(self.__scrollTop, timeStamp) + + self.__isDragging = self.__enableScrollY && (distanceY >= minimumTrackingForDrag) + + if (self.__isDragging) { + self.__interruptedAnimation = false + } + } + + // Update last touch positions and time stamp for next event + self.__lastTouchTop = currentTouchTop + self.__lastTouchMove = timeStamp + self.__lastScale = scale + }, + + __doTouchEnd (timeStamp) { + var self = this + + if (timeStamp instanceof Date) { + timeStamp = timeStamp.valueOf() + } + if (typeof timeStamp !== 'number') { + throw new Error('Invalid timestamp value: ' + timeStamp) + } + + // Ignore event when tracking is not enabled (no touchstart event on element) + // This is required as this listener ('touchmove') sits on the document and not on the element itself. + if (!self.__isTracking) { + return + } + + // Not touching anymore (when two finger hit the screen there are two touch end events) + self.__isTracking = false + + // Be sure to reset the dragging flag now. Here we also detect whether + // the finger has moved fast enough to switch into a deceleration animation. + if (self.__isDragging) { + // Reset dragging flag + self.__isDragging = false + + // Start deceleration + // Verify that the last move detected was in some relevant time frame + if (self.__isSingleTouch && (timeStamp - self.__lastTouchMove) <= 100) { + // Then figure out what the scroll position was about 100ms ago + var positions = self.__positions + var endPos = positions.length - 1 + var startPos = endPos + + // Move pointer to position measured 100ms ago + for (var i = endPos; i > 0 && positions[i] > (self.__lastTouchMove - 100); i -= 2) { + startPos = i + } + + // If start and stop position is identical in a 100ms timeframe, + // we cannot compute any useful deceleration. + if (startPos !== endPos) { + // Compute relative movement between these two points + var timeOffset = positions[endPos] - positions[startPos] + var movedTop = self.__scrollTop - positions[startPos - 1] + + // Based on 50ms compute the movement to apply for each render step + self.__decelerationVelocityY = movedTop / timeOffset * (1000 / 60) + + // How much velocity is required to start the deceleration + var minVelocityToStartDeceleration = 4 + + // Verify that we have enough velocity to start deceleration + if (Math.abs(self.__decelerationVelocityY) > minVelocityToStartDeceleration) { + self.__startDeceleration(timeStamp) + } + } + } + } + + if (!self.__isDecelerating) { + self.scrollTo(self.__scrollTop) + } + + // Fully cleanup list + self.__positions.length = 0 + }, + + // Easing Equations (c) 2003 Robert Penner, all rights reserved. + // Open source under the BSD License. + __easeOutCubic (pos) { + return (Math.pow((pos - 1), 3) + 1) + }, + + __easeInOutCubic (pos) { + if ((pos /= 0.5) < 1) { + return 0.5 * Math.pow(pos, 3) + } + return 0.5 * (Math.pow((pos - 2), 3) + 2) + }, + + // Applies the scroll position to the content element + __publish (top, animationDuration) { + var self = this + + // Remember whether we had an animation, then we try to continue based on the current "drive" of the animation + var wasAnimating = self.__isAnimating + if (wasAnimating) { + Animate.stop(wasAnimating) + self.__isAnimating = false + } + + if (animationDuration) { + // Keep scheduled positions for scrollBy functionality + self.__scheduledTop = top + + var oldTop = self.__scrollTop + var diffTop = top - oldTop + + var step = function (percent, now, render) { + self.__scrollTop = oldTop + (diffTop * percent) + // Push values out + if (self.options.callback) { + self.options.callback(self.__scrollTop, self.__isDragging) + } + } + + var verify = function (id) { + return self.__isAnimating === id + } + + var completed = function (renderedFramesPerSecond, animationId, wasFinished) { + if (animationId === self.__isAnimating) { + self.__isAnimating = false + } + if (self.__didDecelerationComplete || wasFinished) { + self.__scrollingComplete() + } + } + + // When continuing based on previous animation we choose an ease-out animation instead of ease-in-out + self.__isAnimating = Animate.start(step, verify, completed, animationDuration, wasAnimating ? self.__easeOutCubic : self.__easeInOutCubic) + } else { + self.__scheduledTop = self.__scrollTop = top + // Push values out + if (self.options.callback) { + self.options.callback(top, self.__isDragging) + } + } + }, + + // Called when a touch sequence end and the speed of the finger was high enough to switch into deceleration mode. + __startDeceleration (timeStamp) { + var self = this + + self.__minDecelerationScrollTop = self.__minScrollTop + self.__maxDecelerationScrollTop = self.__maxScrollTop + + // Wrap class method + var step = function (percent, now, render) { + self.__stepThroughDeceleration(render) + } + + // How much velocity is required to keep the deceleration running + var minVelocityToKeepDecelerating = 0.5 + + // Detect whether it's still worth to continue animating steps + // If we are already slow enough to not being user perceivable anymore, we stop the whole process here. + var verify = function () { + var shouldContinue = Math.abs(self.__decelerationVelocityY) >= minVelocityToKeepDecelerating + if (!shouldContinue) { + self.__didDecelerationComplete = true + } + return shouldContinue + } + + var completed = function (renderedFramesPerSecond, animationId, wasFinished) { + self.__isDecelerating = false + if (self.__scrollTop <= self.__minScrollTop || self.__scrollTop >= self.__maxScrollTop) { + self.scrollTo(self.__scrollTop) + return + } + if (self.__didDecelerationComplete) { + self.__scrollingComplete() + } + } + + // Start animation and switch on flag + self.__isDecelerating = Animate.start(step, verify, completed) + }, + + // Called on every step of the animation + __stepThroughDeceleration (render) { + var self = this + + var scrollTop = self.__scrollTop + self.__decelerationVelocityY + + var scrollTopFixed = Math.max(Math.min(self.__maxDecelerationScrollTop, scrollTop), self.__minDecelerationScrollTop) + if (scrollTopFixed !== scrollTop) { + scrollTop = scrollTopFixed + self.__decelerationVelocityY = 0 + } + + if (Math.abs(self.__decelerationVelocityY) <= 1) { + if (Math.abs(scrollTop % self.__itemHeight) < 1) { + self.__decelerationVelocityY = 0 + } + } else { + self.__decelerationVelocityY *= 0.95 + } + + self.__publish(scrollTop) + } +}; + +// Copy over members to prototype +for (var key in members) { + Scroller.prototype[key] = members[key] +} + +module.exports = Scroller; diff --git a/src/components/datetime/src/utils.js b/src/components/datetime/src/utils.js new file mode 100644 index 00000000..e951a9c5 --- /dev/null +++ b/src/components/datetime/src/utils.js @@ -0,0 +1,172 @@ +export default { + isDateTimeString(str) { + return /^\d{4}((\.|-|\/)(0[1-9]|1[0-2]))((\.|-|\/)(0[1-9]|[12][0-9]|3[0-1]))( ([01][0-9]|2[0-3]):([012345][0-9]))?$/.test(str); + }, + isTimeString(str) { + return /^([01][0-9]|2[0-3]):([012345][0-9])$/.test(str); + }, + mentStr(str) { + return (100 + ~~str + '').substr(1, 2); + }, + getYearItems(config) { + const years = []; + let today = new Date(); + + let start = today.getFullYear() - 10; + let end = today.getFullYear() + 10; + + if (config.startYear != 0) { + start = ~~config.startYear; + } + + if (config.endYear != 0) { + end = ~~config.endYear; + } + + if (end < start) { + end = start + 10; + } + + if (config.startDate) { + start = new Date(config.startDate.replace(/-/g, '/')).getFullYear(); + } + + if (config.endDate) { + end = new Date(config.endDate.replace(/-/g, '/')).getFullYear(); + } + + while (start <= end) { + years.push({value: start, name: config.format.replace('{value}', start)}); + start++; + } + + return years; + }, + getMonthItems(config) { + const months = []; + let startMonth = 1; + let endMonth = 12; + + if (config.startDate) { + const startDate = new Date(config.startDate.replace(/-/g, '/')); + if (startDate.getFullYear() == config.currentYear) { + startMonth = startDate.getMonth() + 1; + endMonth = 12; + } + } + + if (config.endDate) { + const endDate = new Date(config.endDate.replace(/-/g, '/')); + if (endDate.getFullYear() == config.currentYear) { + startMonth = 1; + endMonth = endDate.getMonth() + 1; + } + } + + while (startMonth <= endMonth) { + let t = this.mentStr(startMonth); + months.push({value: t, name: config.format.replace('{value}', t)}); + startMonth++; + } + + return months; + }, + getDateItems(config) { + let dates = []; + let today = new Date(); + let year = today.getFullYear(); + let month = today.getMonth(); + + if (config.currentYear) year = ~~config.currentYear; + + if (config.currentMonth) month = ~~config.currentMonth - 1; + + let end = 30; + + if ([0, 2, 4, 6, 7, 9, 11].indexOf(month) > -1) { + end = 31 + } else if (month == 1) { + end = year % 100 == 0 ? (year % 400 == 0 ? 29 : 28) : (year % 4 == 0 ? 29 : 28) + } + if (config.endDate) { + const endDate = new Date(config.endDate.replace(/-/g, '/')); + if (endDate.getMonth() + 1 == config.currentMonth && endDate.getFullYear() == config.currentYear && endDate.getDate() < end) { + end = endDate.getDate(); + } + } + + let d = 1; + if (config.startDate) { + const startDate = new Date(config.startDate.replace(/-/g, '/')); + if (startDate.getMonth() + 1 == config.currentMonth && startDate.getFullYear() == config.currentYear) { + d = startDate.getDate(); + } + } + + while (d <= end) { + let t = this.mentStr(d); + dates.push({value: t, name: config.format.replace('{value}', t)}); + d++; + } + + return dates; + }, + getHourItems(config) { + const hours = []; + let start = ~~config.startHour; + let end = ~~config.endHour; + + if (end < start) { + end = 23; + } + + if (config.startDate) { + const startDate = new Date(config.startDate.replace(/-/g, '/')); + if (startDate.getFullYear() == config.currentYear && startDate.getMonth() + 1 == config.currentMonth && startDate.getDate() == config.currentDay) { + start = startDate.getHours(); + } + } + + if (config.endDate) { + const endDate = new Date(config.endDate.replace(/-/g, '/')); + if (endDate.getFullYear() == config.currentYear && endDate.getMonth() + 1 == config.currentMonth && endDate.getDate() == config.currentDay) { + end = endDate.getHours(); + } + } + + while (start <= end) { + let t = this.mentStr(start); + hours.push({value: t, name: config.format.replace('{value}', t)}); + start++; + } + + return hours; + }, + getMinuteItems(config) { + const minute = []; + let start = 0; + let end = 59; + + if (config.startDate) { + const startDate = new Date(config.startDate.replace(/-/g, '/')); + if (startDate.getFullYear() == config.currentYear && startDate.getMonth() + 1 == config.currentMonth && startDate.getDate() == config.currentDay && startDate.getHours() == config.currentHour) { + start = startDate.getMinutes(); + } + } + + if (config.endDate) { + const endDate = new Date(config.endDate.replace(/-/g, '/')); + if (endDate.getFullYear() == config.currentYear && endDate.getMonth() + 1 == config.currentMonth && endDate.getDate() == config.currentDay && endDate.getHours() == config.currentHour) { + end = endDate.getMinutes(); + } + } + + while (start <= end) { + let t = this.mentStr(start); + minute.push({value: t, name: config.format.replace('{value}', t)}); + start++; + } + + return minute; + } +} diff --git a/src/components/keyboard/src/keyboard.vue b/src/components/keyboard/src/keyboard.vue index 995e43f2..0ba0e786 100644 --- a/src/components/keyboard/src/keyboard.vue +++ b/src/components/keyboard/src/keyboard.vue @@ -29,7 +29,7 @@ diff --git a/src/styles/components/cell.less b/src/styles/components/cell.less index 95c31432..77677ec9 100644 --- a/src/styles/components/cell.less +++ b/src/styles/components/cell.less @@ -99,7 +99,8 @@ input[type="password"], input[type="datetime-local"], input[type="date"], - input[type="time"] { + input[type="time"], + .datetime-input { flex: 1; height: @cell-height; border: none; @@ -108,6 +109,7 @@ color: @cell-input-color; display: flex; justify-content: flex-start; + align-items: center; text-align: left; /* fuck UC */ } select { diff --git a/src/styles/components/datetime.less b/src/styles/components/datetime.less new file mode 100644 index 00000000..4e188822 --- /dev/null +++ b/src/styles/components/datetime.less @@ -0,0 +1,115 @@ +@import "../common/variables"; +@import "../common/mixins"; + +@datetime-item-height: 38px; + +.mask-datetime { + .mask(rgba(0, 0, 0, .4), @base-zindex * 500); +} + +.m-datetime { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + z-index: @base-zindex * 500; + background-color: #FFF; + transform: translate(0, 100%); + transition: transform .25s; + touch-action: none; + &.datetime-active { + transform: translate(0, 0); + } +} + +.datetime-input { + width: 100%; +} + +.datetime-head { + display: flex; + justify-content: space-between; + position: relative; + background-color: #FBFBFB; + &:after { + .bottom-line(@line-color); + } + > a { + height: 43px; + padding: 0 30px; + font-size: 15px; + display: flex; + align-items: center; + color: #555; + } + > a:last-child { + color: #0BB20C; + } +} + +.datetime-content { + position: relative; + width: 100%; + height: @datetime-item-height * 7; + overflow: hidden; + display: flex; +} + +.datetime-item { + font-size: 16px; + height: 100%; + position: relative; + flex: 1; +} + +.datetime-item-content { + > span { + width: 100%; + display: block; + height: @datetime-item-height; + line-height: @datetime-item-height; + text-align: center; + } +} + +.datetime-item-box { + height: 100%; +} + +.datetime-mask, +.datetime-indicator { + pointer-events: none; + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 100%; +} + +.datetime-mask { + z-index: 3; + transform: translateZ(0px); + background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)), linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)); + background-position: top, bottom; + background-size: 100% @datetime-item-height * 3; + background-repeat: no-repeat; +} + +.datetime-indicator { + z-index: 4; + display: flex; + justify-content: center; + flex-direction: column; + > span { + display: block; + width: 100%; + height: @datetime-item-height; + position: relative; + &:after { + .top-line(@line-color); + } + &:before { + .bottom-line(@line-color); + } + } +} diff --git a/src/styles/components/list.less b/src/styles/components/list.less index e26d09d9..08ddea79 100644 --- a/src/styles/components/list.less +++ b/src/styles/components/list.less @@ -7,6 +7,7 @@ .m-list { overflow: hidden; position: relative; + touch-action: none; .list-item:active { background: none; /* for firefox */ } diff --git a/src/utils/assist.js b/src/utils/assist.js index a4160a28..d748f8fa 100644 --- a/src/utils/assist.js +++ b/src/utils/assist.js @@ -18,6 +18,8 @@ const pageScroll = (function () { }; })(); +const isIOS = !!(window.navigator && window.navigator.userAgent || '').match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); + const isColor = function (value) { const colorReg = /^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/; const rgbaReg = /^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/; @@ -104,4 +106,4 @@ const scrollTop = function (el, from = 0, to, duration = 500) { scroll(from, to, step); }; -export {pageScroll, isColor, getScrollview, checkInview, addClass, removeClass, scrollTop}; +export {pageScroll, isIOS, isColor, getScrollview, checkInview, addClass, removeClass, scrollTop}; diff --git a/src/ydui.js b/src/ydui.js index c43cb42f..321e09e9 100644 --- a/src/ydui.js +++ b/src/ydui.js @@ -35,6 +35,7 @@ import {Radio, RadioGroup} from './components/radio'; import {CheckBox, CheckBoxGroup} from './components/checkbox'; import {BackTop} from './components/backtop'; import {Accordion, AccordionItem} from './components/accordion'; +import {DateTime} from './components/datetime'; window.document.addEventListener('touchstart', function (event) { /* Do Nothing */ @@ -89,8 +90,9 @@ const install = function (Vue) { Vue.component(CheckBox.name, CheckBox); Vue.component(CheckBoxGroup.name, CheckBoxGroup); Vue.component(BackTop.name, BackTop); - Vue.component(Accordion.name, Accordion); + Vue.component(Accordion.name, Accordion); Vue.component(AccordionItem.name, AccordionItem); + Vue.component(DateTime.name, DateTime); Vue.prototype.$dialog = { confirm: Confirm,