diff --git a/docs/example/index.html b/docs/example/index.html index 1256f33db..0919f4b52 100644 --- a/docs/example/index.html +++ b/docs/example/index.html @@ -1 +1 @@ -cube-ui lib
\ No newline at end of file +cube-ui lib
\ No newline at end of file diff --git a/docs/example/js/app.3411724ebb35f96f9e0b.js b/docs/example/js/app.3411724ebb35f96f9e0b.js new file mode 100644 index 000000000..612449e3a --- /dev/null +++ b/docs/example/js/app.3411724ebb35f96f9e0b.js @@ -0,0 +1 @@ +webpackJsonp([0],{"+//L":function(t,e,a){function i(t){a("AM6A")}var n=a("VU/8")(a("BQwy"),a("lGNi"),i,null,null);t.exports=n.exports},"+8WV":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default,CubeButtonGroup:c.default},methods:{showTimePicker:function(){this.timePicker||(this.timePicker=this.$createTimePicker({onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.timePicker.show()},showConfigDayPicker:function(){this.configDayPicker||(this.configDayPicker=this.$createTimePicker({minuteStep:5,delay:10,day:{len:5,filter:["今天","明天"],format:"M月D日"},onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.configDayPicker.show()},showFormatPicker:function(){this.formatPicker||(this.formatPicker=this.$createTimePicker({format:"hh:mm",onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.formatPicker.show()},showMinuteStepPicker:function(){this.minuteStepPicker||(this.minuteStepPicker=this.$createTimePicker({minuteStep:{rule:"ceil",step:15},onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.minuteStepPicker.show()},showMinPicker:function(){this.minPicker||(this.minPicker=this.$createTimePicker({min:+new Date-84e5,onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.minPicker.show()},showMaxPicker:function(){this.maxPicker||(this.maxPicker=this.$createTimePicker({delay:0,max:+new Date+1812e5,onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.maxPicker.show()},showSetTimePiker:function(){this.setTimePiker||(this.setTimePiker=this.$createTimePicker({onSelect:this.selectHandler,onCancel:this.cancelHandler}));var t=(new Date).valueOf()+864e5;this.setTimePiker.setTime(t),this.setTimePiker.show()},selectHandler:function(t,e,a){this.$createDialog({type:"warn",title:"selected time: "+t,content:"selected text: "+e+"
format time: "+a,icon:"cubeic-alert"}).show()},cancelHandler:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}}},t.exports=e.default})},"+Ghj":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addType=t.types=void 0;var a=/^(1|2)\d{3}[.\-\/]\d{1,2}[.\-\/]\d{1,2}$/,i={string:function(t){return"string"==typeof t},number:function(t){return!isNaN(Number(t))},array:function(t){return Array.isArray(t)},date:function(t){return!isNaN(Number(t))||a.test(t)},email:function(t){return"string"==typeof t&&/^[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)+$/i.test(t)},tel:function(t){return"string"==typeof t&&/^(11|13|14|15|17|18|19)[0-9]{9}$/.test(t)},url:function(t){return"string"==typeof t&&/(https?|ftp|file):\/\/[-A-Za-z0-9+&@#\/%?=~_|!:,.;]+[-A-Za-z0-9+&@#\/%=~_|]/.test(t)}},n=(0,e.createAddAPI)(i);t.types=i,t.addType=n})},"+HHY":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("2DUa")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-index-list-group",props:{group:{type:Object,default:function(){return{}}}},methods:{selectItem:function(t){this.$emit("select",t)}},components:{CubeIndexListItem:i.default}},t.exports=e.default})},"+HVL":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-drawer-item",props:{item:{type:[String,Object],default:""},index:{type:Number,default:-1}},computed:{itemClass:function(){return this.$parent.$parent.selectedIndex===this.index?"cube-drawer-item_active":""}},methods:{clickItem:function(t){this.$parent.$parent.itemClickHandler(t,this.index)}}},t.exports=e.default})},"+hyH":function(t,e,a){function i(t){a("OnXQ")}var n=a("VU/8")(a("fidG"),a("pAFF"),i,null,null);t.exports=n.exports},"+iBg":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={data:function(){return{customIndex:1,imgs:["https://dpubstatic.udache.com/static/dpubimg/XsZT-Ium9K/686d7361ly1fpha0mpd5uj21hc0tyws2.jpg","https://dpubstatic.udache.com/static/dpubimg/jM0pARr01R/686d7361ly1fpha0ncnnej21hc0zetxo.jpg","https://dpubstatic.udache.com/static/dpubimg/uesDMLn8ho/686d7361ly1fpha0mqvu5j21hc0zkgzz.jpg","https://dpubstatic.udache.com/static/dpubimg/yGntxcSqhM/686d7361ly1fpha0m3ufuj21hc0zkqbj.jpg"]}},methods:{showImagePreview:function(){this.$createImagePreview({imgs:this.imgs}).show()},showCustomImagePreview:function(){var t=this;this.$createImagePreview({imgs:this.imgs,initialIndex:this.customIndex,loop:!1,speed:500,onChange:function(e){t.customIndex=e},onHide:function(){console.log("hide")}},function(e){return e("div",{class:{"image-preview-custom-header":!0},slot:"header"},t.customIndex+1)}).show()},goTo:function(t){this.$router.push("/image-preview/"+t)}},components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default}},t.exports=e.default})},"+rJ6":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t,e,i,n){var l={year:"(Y+)",month:"(M+)",date:"(D+)",hour:"(h+)",minute:"(m+)",second:"(s+)",quarter:"(q+)",millisecond:"(S)"};if(new RegExp(l[t],n).test(e)){var c="year"===t?i.toString().substr(4-RegExp.$1.length):1===RegExp.$1.length?i:a(i);e=e.replace(RegExp.$1,c)}return e}function a(t){return("00"+t).substr((""+t).length)}function i(t,a){var i={year:{value:t.getFullYear(),regExpAttributes:"i"},month:{value:t.getMonth()+1},date:{value:t.getDate(),regExpAttributes:"i"},hour:{value:t.getHours(),regExpAttributes:"i"},minute:{value:t.getMinutes()},second:{value:t.getSeconds()},quarter:{value:Math.floor((t.getMonth()+3)/3),regExpAttributes:"i"},millisecond:{value:t.getMilliseconds()}};for(var n in i)a=e(n,a,i[n].value,i[n].regExpAttributes);return a}function n(t){var e=t.getFullYear(),a=t.getMonth()+1,i=t.getDate();return+new Date(e+"/"+a+"/"+i+" 00:00:00")}function l(t,e){return Math.floor((n(t)-n(e))/o)}function c(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function u(t,e){var a=30;return[1,3,5,7,8,10,12].indexOf(t)>-1?a=31:2===t&&(a=e&&e%400&&(e%4||!(e%100))?28:29),a}Object.defineProperty(t,"__esModule",{value:!0});var o=864e5;t.DAY_TIMESTAMP=o,t.HOUR_TIMESTAMP=36e5,t.MINUTE_TIMESTAMP=6e4,t.pad=a,t.formatType=e,t.formatDate=i,t.getZeroStamp=n,t.getDayDiff=l,t.getNow=c,t.computeNatureMaxDay=u})},"+vzD":function(t,e,a){var i=a("VU/8")(a("eC/x"),a("/7Xe"),null,null,null);t.exports=i.exports},"/5me":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("s0qb")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e,a){function n(e){clearTimeout(k),k=0,t.progress=1,t.status=e,a&&a(t)}function c(){var e=A.responseText||A.response;try{e=JSON.parse(e)}catch(t){}t.response=e,t.responseHeaders=A.getAllResponseHeaders()}var u=e.target,o=e.headers,s=void 0===o?{}:o,r=e.data,d=void 0===r?{}:r,v=e.fileName,p=void 0===v?"file":v,f=e.withCredentials,h=e.timeout,x=e.prop,y=void 0===x?"file":x,m=e.progressInterval,b=void 0===m?100:m,g=e.checkSuccess,_=void 0===g?function(){return!0}:g,w=(0,i.evalOpts)(u,t);t.progress=0,t.status=i.STATUS_UPLOADING;var A=new window.XMLHttpRequest;t._xhr=A;var k=0;if(A.upload){var C=Date.now();A.upload.onprogress=function(e){function a(){t.progress=e.loaded/e.total,C=Date.now()}if(e.total>0)if(k){clearTimeout(k);var i=Date.now(),n=i-C;n>=b?a():k=setTimeout(a,n)}else a(),k=1}}var T=new window.FormData,P=(0,i.evalOpts)(d,t);(0,l.default)(P).forEach(function(t){T.append(t,P[t])}),T.append(p,t[y]),A.onload=function(){if(A.status<200||A.status>=300)return void n(i.STATUS_ERROR);c();var e=t.response;if(_.length<=2){n(_(e,t)?i.STATUS_SUCCESS:i.STATUS_ERROR)}else _(e,t,function(t){n(t?i.STATUS_SUCCESS:i.STATUS_ERROR)})},A.onerror=function(){c(),n(i.STATUS_ERROR)},A.ontimeout=function(){c(),n(i.STATUS_ERROR)},A.open("POST",w,!0),f&&(A.withCredentials=!0);var j=(0,i.evalOpts)(s,t);(0,l.default)(j).forEach(function(t){A.setRequestHeader(t,j[t])}),h>0&&(A.timeout=h),A.send(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"/7Xe":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"picker",attrs:{data:t.cascadeData,"selected-index":t.selectedIndex,title:t._title,subtitle:t.subtitle,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},"/Ca3":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("t7U9"),a("UFDc"),a("4Gmg"),a("tJl4"),a("M7O5")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(l),d=o(c),v=o(u);e.default={name:"cube-form",mixins:[v.default],props:{action:String,model:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{scrollToInvalidField:!1,layout:d.default.STANDARD}}},immediateValidate:{type:Boolean,default:!1}},data:function(){return{validatedCount:0,dirty:!1,firstInvalidField:null,firstInvalidFieldIndex:-1}},computed:{fieldsModel:function(){var t={};return this.fields.forEach(function(e){e.isBtnField||(t[e.fieldValue.modelKey]=e.modelValue)}),t},groups:function(){var t=this.schema,e=t.groups||[];return t.fields&&e.unshift({fields:t.fields}),e},layout:function(){var t=this.options;return t&&t.layout||d.default.STANDARD},formClass:function(){var t=this.invalid,e=this.valid,a=this.layout;return{"cube-form_standard":a===d.default.STANDARD,"cube-form_groups":this.groups.length>1,"cube-form_validating":this.validating,"cube-form_pending":this.pending,"cube-form_valid":e,"cube-form_invalid":t,"cube-form_classic":a===d.default.CLASSIC,"cube-form_fresh":a===d.default.FRESH}}},watch:{validatedCount:function(){this.$emit("validate",{validity:this.validity,valid:this.valid,invalid:this.invalid,dirty:this.dirty,firstInvalidFieldIndex:this.firstInvalidFieldIndex})}},beforeCreate:function(){this.form=this,this.fields=[],this.validity={}},mounted:function(){this.immediateValidate&&this.validate()},methods:{submit:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.skipValidate=t,(0,i.dispatchEvent)(this.$refs.form,"submit"),this.skipValidate=!1},reset:function(){(0,i.dispatchEvent)(this.$refs.form,"reset")},submitHandler:function(t){var e=this;if(this.syncValidatorValues(),this.skipValidate)return void this.$emit("submit",t,this.model,this.fieldsModel);var a=function(a){a?(e.$emit("valid",e.validity),e.$emit("submit",t,e.model,e.fieldsModel)):(e.options.scrollToInvalidField&&e.firstInvalidField&&e.firstInvalidField.$el.scrollIntoView(),t.preventDefault(),e.$emit("invalid",e.validity))};void 0===this.valid?(this._submit(a),(this.validating||this.pending)&&t.preventDefault()):a(this.valid)},resetHandler:function(t){this._reset(),this.$emit("reset",t)},_submit:function(t){var e=this;this.validate(function(){t&&t(e.valid)})},_reset:function(){this.fields.forEach(function(t){t.reset()}),this.setValidity(),this.setValidating(),this.setPending()},syncValidatorValues:function(){this.fields.forEach(function(t){t.syncValidatorValue()})},validate:function(t){var e=this,a=(0,n.cb2PromiseWithResolve)(t);a&&(t=a.resolve);var i=0,l=this.fields.length;return this.originValid=void 0,this.fields.forEach(function(a){a.validate(function(){++i===l&&t&&t(e.valid)})}),a},updateValidating:function(){var t=this.fields.some(function(t){return t.validating});this.setValidating(t)},updatePending:function(){var t=this.fields.some(function(t){return t.pending});this.setPending(t)},setValidating:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.validating=t},setPending:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pending=t},updateValidity:function(t,e,a,i){var n=this.validity[t];n&&n.valid===e&&n.result===a&&n.dirty===i||this.setValidity(t,{valid:e,result:a,dirty:i})},setValidity:function(t,e){var a={};t&&((0,s.default)(a,this.validity),void 0===e?delete a[t]:a[t]=e);var i=!1,n=!1,l=!0,c="";this.fields.forEach(function(t){var e=t.fieldValue.modelKey;if(e){var u=a[e];u?(u.dirty&&(i=!0),!1===u.valid?l=!1:l&&!u.valid&&(l=u.valid),n||!1!==u.valid||(n=!0,c=e)):t.hasRules&&(l&&(l=void 0),a[e]={valid:void 0,result:{},dirty:!1})}}),this.validity=a,this.dirty=i,this.originValid=l,this.setFirstInvalid(c),this.validatedCount++},setFirstInvalid:function(t){var e=this;if(!t)return this.firstInvalidField=null,void(this.firstInvalidFieldIndex=-1);this.fields.some(function(a,i){if(a.fieldValue.modelKey===t)return e.firstInvalidField=a,e.firstInvalidFieldIndex=i,!0})},addField:function(t){this.fields.push(t),this.setValidity(t.fieldValue.modelKey)},destroyField:function(t){var e=this.fields.indexOf(t);this.fields.splice(e,1),this.setValidity(t.fieldValue.modelKey)}},beforeDestroy:function(){this.form=null,this.firstInvalidField=null},components:{CubeFormGroup:r.default}},t.exports=e.default})},"/O1a":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{ref:"rateContainer",staticClass:"cube-rate",class:t.rateClass,on:{touchstart:function(e){return e.stopPropagation(),t.handleStart(e)},touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.handleMove(e)},touchend:function(e){return e.stopPropagation(),t.handleEnd(e)},mousedown:function(e){return e.stopPropagation(),t.handleStart(e)},mousemove:function(e){return e.stopPropagation(),t.handleMove(e)},mouseup:function(e){return e.stopPropagation(),t.handleEnd(e)}}},[t._t("default",t._l(t.max,function(t){return a("cube-rate-item",{key:t,attrs:{index:t}})}))],2)},staticRenderFns:[]}},"/Pfp":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("N/gd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"/QTU":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"button-view",title:"Button"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("form",{attrs:{action:"/"}},[a("cube-button-group",[a("cube-button",[t._v("Button")]),t._v(" "),a("cube-button",{attrs:{type:"submit"}},[t._v("Submit Button")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{active:!0}},[t._v("Active Button")]),t._v(" "),a("cube-button",{attrs:{disabled:!0}},[t._v("Disabled Button")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{icon:"cubeic-right"}},[t._v("Button With Icon")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{light:!0}},[t._v("Light Button")]),t._v(" "),a("cube-button",{attrs:{inline:!0}},[t._v("Inline Button")]),t._v(" "),a("cube-button",{attrs:{outline:!0}},[t._v("Outline Button")]),t._v(" "),a("cube-button",{attrs:{primary:!0}},[t._v("Primary Button")])],1),t._v(" "),a("div",[a("cube-checkbox-group",{attrs:{horizontal:!0},model:{value:t.buttonStyle,callback:function(e){t.buttonStyle=e},expression:"buttonStyle"}},[a("cube-checkbox",{attrs:{label:"inline"}},[t._v("Inline")]),t._v(" "),a("cube-checkbox",{attrs:{label:"outline"}},[t._v("Outline")]),t._v(" "),a("cube-checkbox",{attrs:{label:"primary"}},[t._v("Primary")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{inline:t.inlineStyle,outline:t.outlineStyle,primary:t.primaryStyle}},[t._v("Demo Button")])],1)],1)],1)])])},staticRenderFns:[]}},"/Yrh":function(t,e,a){function i(t){a("2wFx")}var n=a("VU/8")(a("0+e1"),a("1IbW"),i,null,null);t.exports=n.exports},"/kdh":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("+//L"),a("UFDc"),a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a),c=(0,n.prefixStyle)("transform");e.default={name:"cube-tab-panels",props:{value:{type:[String,Number]},data:{type:Array,default:function(){return[]}}},created:function(){this.panels=[]},mounted:function(){this._move(this.value)},methods:{_move:function(t){var e=(0,i.findIndex)(this.panels,function(e){return e.value===t});if(-1!==e){var a=this.$refs.panelsGroup,n=-100*e;a.style[c]="translateX("+n+"%)"}},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);e>-1&&this.panels.splice(e,1)}},watch:{value:function(t){this._move(t)}},components:{TabPanel:l.default}},t.exports=e.default})},"0+e1":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9"),a("UFDc"),a("Ct0e")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(n),c=(0,a.prefixStyle)("transform"),u=(0,a.prefixStyle)("transition");e.default={name:"cube-tab-bar",components:{CubeTab:l.default},props:{value:{type:[String,Number],required:!0},data:{type:Array,default:function(){return[]}},inline:{type:Boolean,default:!1},showSlider:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0}},watch:{value:function(){this._updateSliderStyle()}},created:function(){this.tabs=[]},mounted:function(){this._updateSliderStyle(),window.addEventListener("resize",this._resizeHandler)},activated:function(){window.addEventListener("resize",this._resizeHandler)},deactivated:function(){this._cleanUp()},beforeDestroy:function(){this._cleanUp()},methods:{addTab:function(t){this.tabs.push(t)},removeTab:function(t){var e=this.tabs.indexOf(t);e>-1&&this.tabs.splice(e,1)},trigger:function(t){var e=this;if(this.$emit("click",t),t!==this.value){["input","change"].forEach(function(a){e.$emit(a,t)})}},_updateSliderStyle:function(){var t=this;if(this.showSlider){var e=this.$refs.slider;this.$nextTick(function(){var a=t._getSliderWidthAndIndex(),i=a.width,n=a.index;e.style.width=i+"px",t.setSliderTransform(t._getOffsetLeft(n))})}},setSliderTransform:function(t){var e=this.$refs.slider;"number"==typeof t&&(t+="px"),e&&(this.useTransition&&(e.style[u]=c+" 0.2s linear"),e.style[c]="translateX("+t+") translateZ(0)")},_getSliderWidthAndIndex:function(){var t=this,e=0,a=0;return this.tabs.length>0&&(a=(0,i.findIndex)(this.tabs,function(e){return e.value===t.value}),e=this.tabs[a].$el.clientWidth),{width:e,index:a}},_getOffsetLeft:function(t){return this.tabs[t].$el.offsetLeft||0},_resizeHandler:function(){var t=this;clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(function(){t._updateSliderStyle()},60)},_cleanUp:function(){clearTimeout(this._resizeTimer),window.removeEventListener("resize",this._resizeHandler)}}},t.exports=e.default})},"07pW":function(t,e,a){function i(t){a("BPg9")}var n=a("VU/8")(a("0ht6"),a("9y2D"),i,"data-v-65e7f3ef",null);t.exports=n.exports},"0Fj/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-native",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY,"check-top":t.checkTop}},[a("div",{staticClass:"scroll-ele",on:{scroll:t.scrollHandler}},[a("ul",[a("li",[t._v("title")])]),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("222")]),t._v(" "),a("li",[t._v("222")])])]),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("333")])])]),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1)])],1)])],2)},staticRenderFns:[]}},"0I1X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=(0,a.prefixStyle)("flexBasis");e.default={props:{colNum:{type:Number,default:1}},watch:{colNum:{immediate:!0,handler:function(t){var e=this;if(t<=1)return"";this.$nextTick(function(){var a=100/t+"%";Array.prototype.forEach.call(e.$refs.group.children,function(t){t.style[i]=a})})}}}},t.exports=e.default})},"0MDc":function(t,e){},"0MNC":function(t,e,a){function i(t){a("QIDF")}var n=a("VU/8")(a("CIqy"),a("L+7R"),i,null,null);t.exports=n.exports},"0NVV":function(t,e){t.exports=[{name:"热门",items:[{value:"002J4UUk29y8BY",name:"薛之谦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002J4UUk29y8BY.jpg?max_age=2592000"},{value:"0025NhlN2yWrP4",name:"周杰伦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000025NhlN2yWrP4.jpg?max_age=2592000"},{value:"004AlfUb0cVkN1",name:"BIGBANG (빅뱅)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004AlfUb0cVkN1.jpg?max_age=2592000"},{value:"003Nz2So3XXYek",name:"陈奕迅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Nz2So3XXYek.jpg?max_age=2592000"},{value:"001BLpXF2DyJe2",name:"林俊杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001BLpXF2DyJe2.jpg?max_age=2592000"},{value:"0020PeOh4ZaCw1",name:"Alan Walker (艾伦·沃克)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020PeOh4ZaCw1.jpg?max_age=2592000"},{value:"000aHmbL2aPXWH",name:"李荣浩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aHmbL2aPXWH.jpg?max_age=2592000"},{value:"000zmpju02bEBm",name:"TFBOYS",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000zmpju02bEBm.jpg?max_age=2592000"},{value:"001JuGrt372YIQ",name:"Maroon 5 (魔力红乐团)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JuGrt372YIQ.jpg?max_age=2592000"},{value:"000CK5xN3yZDJt",name:"许嵩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CK5xN3yZDJt.jpg?max_age=2592000"}]},{name:"A",items:[{value:"0020PeOh4ZaCw1",name:"Alan Walker (艾伦·沃克)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020PeOh4ZaCw1.jpg?max_age=2592000"},{value:"003ArN8Z0WpjTz",name:"A-Lin",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003ArN8Z0WpjTz.jpg?max_age=2592000"},{value:"003CoxJh1zFPpx",name:"Adele (阿黛尔)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003CoxJh1zFPpx.jpg?max_age=2592000"}]},{name:"B",items:[{value:"004AlfUb0cVkN1",name:"BIGBANG (빅뱅)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004AlfUb0cVkN1.jpg?max_age=2592000"},{value:"002pUZT93gF4Cu",name:"BEYOND",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002pUZT93gF4Cu.jpg?max_age=2592000"},{value:"003LaMHm42u7qS",name:"本兮",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003LaMHm42u7qS.jpg?max_age=2592000"},{value:"003DBAjk2MMfhR",name:"BLACKPINK",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003DBAjk2MMfhR.jpg?max_age=2592000"}]},{name:"C",items:[{value:"003Nz2So3XXYek",name:"陈奕迅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Nz2So3XXYek.jpg?max_age=2592000"},{value:"004DFS271osAwp",name:"陈小春",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004DFS271osAwp.jpg?max_age=2592000"},{value:"000jnR7q3pCzYG",name:"Charlie Puth (查理·普斯)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000jnR7q3pCzYG.jpg?max_age=2592000"},{value:"004EyqQS2hMS6V",name:"陈翔",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004EyqQS2hMS6V.jpg?max_age=2592000"},{value:"000hNnWC3kko2c",name:"蔡健雅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000hNnWC3kko2c.jpg?max_age=2592000"}]},{name:"E",items:[{value:"000yDAjj2TE9j8",name:"Eminem (艾米纳姆)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000yDAjj2TE9j8.jpg?max_age=2592000"}]},{name:"F",items:[{value:"003CKb192ggBqi",name:"Fall Out Boy (打倒男孩)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003CKb192ggBqi.jpg?max_age=2592000"},{value:"003vyG9q2klWs4",name:"范玮琪",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003vyG9q2klWs4.jpg?max_age=2592000"}]},{name:"G",items:[{value:"001fNHEf1SFEFN",name:"G.E.M. 邓紫棋",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001fNHEf1SFEFN.jpg?max_age=2592000"},{value:"000t2qd13dLpae",name:"G-DRAGON (权志龙)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000t2qd13dLpae.jpg?max_age=2592000"},{value:"002OfR3n1vx75j",name:"葛林",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002OfR3n1vx75j.jpg?max_age=2592000"},{value:"0043Zxw10txf5O",name:"郭静",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000043Zxw10txf5O.jpg?max_age=2592000"}]},{name:"H",items:[{value:"002Vcz8F2hpBQj",name:"华晨宇",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002Vcz8F2hpBQj.jpg?max_age=2592000"},{value:"002mze3U0NYXOM",name:"胡夏",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002mze3U0NYXOM.jpg?max_age=2592000"},{value:"004QoDUs3jfOC6",name:"韩安旭",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004QoDUs3jfOC6.jpg?max_age=2592000"}]},{name:"J",items:[{value:"002DYpxl3hW3EP",name:"Justin Bieber (贾斯汀·比伯)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002DYpxl3hW3EP.jpg?max_age=2592000"},{value:"004YXxql1sSr2o",name:"金志文",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004YXxql1sSr2o.jpg?max_age=2592000"},{value:"0023ni2j3F9CpN",name:"Jam",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000023ni2j3F9CpN.jpg?max_age=2592000"},{value:"001m7JoC1IVL44",name:"金南玲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001m7JoC1IVL44.jpg?max_age=2592000"}]},{name:"K",items:[{value:"002Sm9iK4RIsCr",name:"筷子兄弟",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002Sm9iK4RIsCr.jpg?max_age=2592000"}]},{name:"L",items:[{value:"001BLpXF2DyJe2",name:"林俊杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001BLpXF2DyJe2.jpg?max_age=2592000"},{value:"000aHmbL2aPXWH",name:"李荣浩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aHmbL2aPXWH.jpg?max_age=2592000"},{value:"001SqkF53OEhdO",name:"鹿晗",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001SqkF53OEhdO.jpg?max_age=2592000"},{value:"001f0VyZ1hmWZ1",name:"林宥嘉",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001f0VyZ1hmWZ1.jpg?max_age=2592000"},{value:"002xpOdd4Dh6pu",name:"李易峰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002xpOdd4Dh6pu.jpg?max_age=2592000"},{value:"002ZOuVm3Qn20Y",name:"李宇春",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002ZOuVm3Qn20Y.jpg?max_age=2592000"},{value:"002seUhN1Akj7J",name:"李圣杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002seUhN1Akj7J.jpg?max_age=2592000"},{value:"003bQEFA3KrvLI",name:"刘瑞琦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003bQEFA3KrvLI.jpg?max_age=2592000"},{value:"003aQYLo2x8izP",name:"刘德华",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003aQYLo2x8izP.jpg?max_age=2592000"},{value:"003nS2v740Lxcw",name:"李克勤",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003nS2v740Lxcw.jpg?max_age=2592000"}]},{name:"M",items:[{value:"001JuGrt372YIQ",name:"Maroon 5 (魔力红乐团)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JuGrt372YIQ.jpg?max_age=2592000"},{value:"0035kILA0ydw3j",name:"MC天佑",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000035kILA0ydw3j.jpg?max_age=2592000"},{value:"000WbpKa3WokLD",name:"MC魏小然",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000WbpKa3WokLD.jpg?max_age=2592000"},{value:"000cISVf2QqLc6",name:"莫文蔚",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000cISVf2QqLc6.jpg?max_age=2592000"},{value:"003wWQBU0fHBcj",name:"马旭东",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003wWQBU0fHBcj.jpg?max_age=2592000"},{value:"003rJfMG3PPqWd",name:"萌萌哒天团",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003rJfMG3PPqWd.jpg?max_age=2592000"}]},{name:"N",items:[{value:"003LCFXH0eodXv",name:"那英",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003LCFXH0eodXv.jpg?max_age=2592000"},{value:"003ZQQb64D5317",name:"南征北战",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003ZQQb64D5317.jpg?max_age=2592000"},{value:"0012bj8d36Xkw1",name:"牛奶咖啡",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000012bj8d36Xkw1.jpg?max_age=2592000"}]},{name:"O",items:[{value:"002a1DuK4evNsR",name:"Owl City (猫头鹰之城)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002a1DuK4evNsR.jpg?max_age=2592000"},{value:"001FXn5P0kkWfV",name:"One Direction (单向组合)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001FXn5P0kkWfV.jpg?max_age=2592000"}]},{name:"P",items:[{value:"000mLAT42CFWNa",name:"朴树",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000mLAT42CFWNa.jpg?max_age=2592000"},{value:"003vSrlp0ujV6o",name:"鹏泊",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003vSrlp0ujV6o.jpg?max_age=2592000"}]},{name:"Q",items:[{value:"0030RkE50nmpWC",name:"曲婉婷",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000030RkE50nmpWC.jpg?max_age=2592000"},{value:"0020IaUo4Vgsjk",name:"齐一",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020IaUo4Vgsjk.jpg?max_age=2592000"},{value:"000H4xDG3heHtr",name:"齐晨",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000H4xDG3heHtr.jpg?max_age=2592000"}]},{name:"R",items:[{value:"000f1b6W1wzyRN",name:"RADWIMPS (ラッドウィンプス)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000f1b6W1wzyRN.jpg?max_age=2592000"},{value:"002MiBdR19HQWx",name:"Rihanna (蕾哈娜)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002MiBdR19HQWx.jpg?max_age=2592000"}]},{name:"S",items:[{value:"000Q4W691sMvLG",name:"苏打绿",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000Q4W691sMvLG.jpg?max_age=2592000"},{value:"001oXbjs29oPul",name:"孙子涵",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001oXbjs29oPul.jpg?max_age=2592000"},{value:"004KKLWZ4320g1",name:"宋冬野",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004KKLWZ4320g1.jpg?max_age=2592000"},{value:"001pWERg3vFgg8",name:"孙燕姿",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001pWERg3vFgg8.jpg?max_age=2592000"},{value:"001t94rh4OpQn0",name:"双笙",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001t94rh4OpQn0.jpg?max_age=2592000"}]},{name:"T",items:[{value:"000zmpju02bEBm",name:"TFBOYS",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000zmpju02bEBm.jpg?max_age=2592000"},{value:"001ByAsv3XCdgm",name:"田馥甄",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001ByAsv3XCdgm.jpg?max_age=2592000"},{value:"004ABIFV1EZUAj",name:"The Chainsmokers (烟民二人组)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004ABIFV1EZUAj.jpg?max_age=2592000"},{value:"000ndQx82fsq8Z",name:"Tez Cadey",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000ndQx82fsq8Z.jpg?max_age=2592000"},{value:"001Yxpxc0OaUUX",name:"逃跑计划",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001Yxpxc0OaUUX.jpg?max_age=2592000"},{value:"000QG95i2rHlOf",name:"谭晶",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000QG95i2rHlOf.jpg?max_age=2592000"}]},{name:"W",items:[{value:"001JDzPT3JdvqK",name:"王力宏",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JDzPT3JdvqK.jpg?max_age=2592000"},{value:"002yeznU3VAVEV",name:"吴亦凡",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002yeznU3VAVEV.jpg?max_age=2592000"},{value:"001z2JmX09LLgL",name:"汪苏泷",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001z2JmX09LLgL.jpg?max_age=2592000"},{value:"000GDDuQ3sGQiT",name:"王菲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000GDDuQ3sGQiT.jpg?max_age=2592000"},{value:"000CQ06r24Naco",name:"Wiz Khalifa (维兹·卡利法)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CQ06r24Naco.jpg?max_age=2592000"},{value:"001adLDR1SS40P",name:"汪峰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001adLDR1SS40P.jpg?max_age=2592000"},{value:"001WcO2V0TLCv3",name:"威仔",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001WcO2V0TLCv3.jpg?max_age=2592000"}]},{name:"X",items:[{value:"002J4UUk29y8BY",name:"薛之谦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002J4UUk29y8BY.jpg?max_age=2592000"},{value:"000CK5xN3yZDJt",name:"许嵩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CK5xN3yZDJt.jpg?max_age=2592000"},{value:"004bsIDK0awMOv",name:"萧敬腾",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004bsIDK0awMOv.jpg?max_age=2592000"},{value:"00235pCx2tYjlq",name:"许巍",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M00000235pCx2tYjlq.jpg?max_age=2592000"},{value:"004aRKga0CXIPm",name:"徐良",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004aRKga0CXIPm.jpg?max_age=2592000"},{value:"001oNMzI3WznzG",name:"夏婉安",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001oNMzI3WznzG.jpg?max_age=2592000"},{value:"002LZVMH0zc8F4",name:"徐佳莹",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002LZVMH0zc8F4.jpg?max_age=2592000"}]},{name:"Y",items:[{value:"003tMm0y0TuewY",name:"杨宗纬",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003tMm0y0TuewY.jpg?max_age=2592000"},{value:"004coWV04C5FCV",name:"杨洋",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004coWV04C5FCV.jpg?max_age=2592000"},{value:"004FtTNW2b0tJi",name:"雨宗林",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004FtTNW2b0tJi.jpg?max_age=2592000"},{value:"001IoTZp19YMDG",name:"易烊千玺",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001IoTZp19YMDG.jpg?max_age=2592000"}]},{name:"Z",items:[{value:"0025NhlN2yWrP4",name:"周杰伦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000025NhlN2yWrP4.jpg?max_age=2592000"},{value:"002azErJ0UcDN6",name:"张杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002azErJ0UcDN6.jpg?max_age=2592000"},{value:"003Cn3Yh16q1MO",name:"庄心妍",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Cn3Yh16q1MO.jpg?max_age=2592000"},{value:"0003ZpE43ypssl",name:"张碧晨",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000003ZpE43ypssl.jpg?max_age=2592000"},{value:"004Be55m1SJaLk",name:"张学友",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004Be55m1SJaLk.jpg?max_age=2592000"},{value:"000aw4WC2EQYTv",name:"张靓颖",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aw4WC2EQYTv.jpg?max_age=2592000"},{value:"003JGrNQ3RjelA",name:"张惠妹",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003JGrNQ3RjelA.jpg?max_age=2592000"},{value:"004NMZuf2BLjg8",name:"周传雄",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004NMZuf2BLjg8.jpg?max_age=2592000"},{value:"0000mFvh1jtLcz",name:"张信哲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000000mFvh1jtLcz.jpg?max_age=2592000"},{value:"0044wQXL0ElWF1",name:"张宇",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000044wQXL0ElWF1.jpg?max_age=2592000"},{value:"004eaDNU1nfRO0",name:"张磊",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004eaDNU1nfRO0.jpg?max_age=2592000"},{value:"002raUWw3PXdkT",name:"张韶涵",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002raUWw3PXdkT.jpg?max_age=2592000"},{value:"0042kZuh1dgLre",name:"周二珂",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000042kZuh1dgLre.jpg?max_age=2592000"},{value:"003AfDK34H82GU",name:"张敬轩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003AfDK34H82GU.jpg?max_age=2592000"},{value:"000SJp6n49rDgl",name:"张赫宣",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000SJp6n49rDgl.jpg?max_age=2592000"}]}]},"0PCq":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("Dd8w"),a("Kjwe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t){var e=(0,l.default)({},t);return(0,c.default)(e),e}Object.defineProperty(t,"__esModule",{value:!0}),t.processField=void 0;var l=i(e),c=i(a);t.processField=n})},"0Rlg":function(t,e){},"0XpD":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"radio-view",title:"Radio"}},[a("template",{slot:"content"},[a("cube-radio-group",{attrs:{options:t.options},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected))]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options2,position:"right","hollow-style":!0},model:{value:t.selected2,callback:function(e){t.selected2=e},expression:"selected2"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected2))]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options3,horizontal:!0},model:{value:t.selected3,callback:function(e){t.selected3=e},expression:"selected3"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected3))]),t._v(" "),a("cube-radio-group",{model:{value:t.selected4,callback:function(e){t.selected4=e},expression:"selected4"}},t._l(t.options4,function(t,e){return a("cube-radio",{key:e,attrs:{option:t}},[a("img",{attrs:{src:t.src}})])})),t._v(" "),a("p",[t._v("selected img: "+t._s(t.selected4))]),t._v(" "),a("hr"),t._v(" "),a("cube-input",{attrs:{placeholder:"Input column number"},model:{value:t.colNum,callback:function(e){t.colNum=e},expression:"colNum"}},[a("div",{staticStyle:{paddingLeft:"10px"},attrs:{slot:"prepend"},slot:"prepend"},[t._v(" Column number:")])]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options5,"col-num":Math.floor(t.colNum)},model:{value:t.selected5,callback:function(e){t.selected5=e},expression:"selected5"}})],1)],2)},staticRenderFns:[]}},"0ht6":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"HelloWorld",data:function(){return{msg:"scroll - textarea demo",options:{scrollbar:!0,preventDefaultException:{className:/(^|\s)(editable-div|textarea-native)(\s|$)/,tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/}},optionsOuter:{preventDefaultException:{className:/(^|\s)(editable-div|textarea-native)(\s|$)/,tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|P)$/}},placeholder:"Please type here...",divValue:"",textareaValue:"",isFocusNative:!1,isFocusDiv:!1}},computed:{textareaValueCount:function(){return this.textareaValue.length},divValueCount:function(){return this.divValue.length}},mounted:function(){this.textareaInitHeight=window.getComputedStyle(this.$refs.textarea).height,console.log("textareaInitHeight: ",this.textareaInitHeight)},methods:{onInputDiv:function(t){this.divValue=t.target.innerText;var e=this.$refs.divWrapScroll;this.oldHeightDiv!==e.$el.scrollHeight&&this.goToRightPositon(e,e.$el)},onInputNative:function(){var t=this.$refs.textarea,e=this.$refs.nativeWrapScroll;t.style.height=this.textareaInitHeight,t.style.height=t.scrollHeight+"px",this.oldHeightNative!==t.scrollHeight&&this.goToRightPositon(e,t)},goToRightPositon:function(t,e){var a=this;this.$nextTick(function(){var i=a.oldHeightDiv?e.scrollHeight-a.oldHeightDiv:0;a.oldHeightDiv=e.scrollHeight,t.refresh(),t.$el.scrollTop=0;var n=t.scroll.y,l=t.scroll.maxScrollY,c=n!==l?Math.max(Math.min(n-i,0),l):n;t.scrollTo(0,c,100)})},onFocusNative:function(){this.isFocusNative=!0},onBlurNative:function(){this.isFocusNative=!1},onFocusDiv:function(){this.isFocusDiv=!0},onBlurDiv:function(){this.isFocusDiv=!1}},components:{CubePage:i.default}},t.exports=e.default})},"0l/c":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showDefault:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",data:[{content:"align - center",class:"cube-foo"},{content:"align - left",align:"left"},{content:"align - right",align:"right"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()}}),this.actionSheet.show()},showActive:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",active:0,data:[{content:"舒适型"},{content:"七座商务"},{content:"豪华型"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()},onCancel:function(){t.$createToast({txt:"Clicked canceled",type:"warn",time:1e3}).show()}}),this.actionSheet.show()},showPickerStyle:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",pickerStyle:!0,data:[{content:"舒适型"},{content:"七座商务"},{content:"豪华型"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()},onCancel:function(){t.$createToast({txt:"Clicked canceled",type:"warn",time:1e3}).show()}}),this.actionSheet.show()}},components:{CubePage:l.default,CubeButtonGroup:c.default}},t.exports=e.default})},"0wrK":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/Yrh"),a("Ct0e")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Tab=c.default,e.default=l.default,t.exports=e.default})},"13Xo":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-index-list"},[a("cube-scroll",{ref:"scroll",attrs:{"scroll-events":t.scrollEvents,options:t.scrollOptions,data:t.data},on:{scroll:t.scroll,"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pullup",fn:function(e){return t.$slots.pullup||t.$scopedSlots.pullup?[t._t("pullup",null,{pullUpLoad:e.pullUpLoad,isPullUpLoad:e.isPullUpLoad})]:void 0}},{key:"pulldown",fn:function(e){return t.$slots.pulldown||t.$scopedSlots.pulldown?[t._t("pulldown",null,{pullDownRefresh:e.pullDownRefresh,pullDownStyle:e.pullDownStyle,beforePullDown:e.beforePullDown,isPullingDown:e.isPullingDown,bubbleY:e.bubbleY})]:void 0}}])},[a("div",{ref:"content",staticClass:"cube-index-list-content"},[t.hasTitle?a("h1",{ref:"title",staticClass:"cube-index-list-title",on:{click:t.titleClick}},[t._t("title",[t._v(t._s(t.title))])],2):t._e(),t._v(" "),a("ul",[t._t("default",t._l(t.data,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e},on:{select:t.selectItem}})}))],2)])]),t._v(" "),t.navbar?a("div",{staticClass:"cube-index-list-nav",on:{touchstart:t.onShortcutTouchStart,touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.onShortcutTouchMove(e)}}},[a("ul",{staticClass:"cube-index-list-nav-list"},t._l(t.shortcutList,function(e,i){return a("li",{key:i,staticClass:"cube-index-list-nav-item",class:{active:t.currentIndex===i},attrs:{"data-index":i}},[t._t("nav-item",[t._v(t._s(e))],{item:e})],2)}))]):t._e(),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.fixedTitle,expression:"fixedTitle"}],ref:"fixed",staticClass:"cube-index-list-fixed cube-index-list-anchor",domProps:{innerHTML:t._s(t.fixedTitle)}})],1)},staticRenderFns:[]}},"1BqV":function(t,e,a){function i(t){a("XD3M")}var n=a("VU/8")(a("qgol"),a("W61h"),i,null,null);t.exports=n.exports},"1H2N":function(t,e,a){function i(t){a("g7er")}var n=a("VU/8")(a("5D5k"),a("FTiD"),i,null,null);t.exports=n.exports},"1IbW":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-tab-bar",class:{"cube-tab-bar_inline":t.inline}},[t._t("default",t._l(t.data,function(t,e){return a("cube-tab",{key:t.value||t.label,attrs:{label:t.label,value:t.value,icon:t.icon}})})),t._v(" "),t.showSlider?a("div",{ref:"slider",staticClass:"cube-tab-bar-slider"}):t._e()],2)},staticRenderFns:[]}},"1KaO":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-loading"},[a("span",{staticClass:"cube-loading-spinners",style:t.style},t._l(t.balde,function(t){return a("i",{staticClass:"cube-loading-spinner"})}))])},staticRenderFns:[]}},"1Ty8":function(t,e){},"1Vb/":function(t,e,a){function i(t){a("P5JG")}var n=a("VU/8")(a("RkVv"),a("LdqJ"),i,"data-v-73578a67",null);t.exports=n.exports},"1Zrt":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e,a){var i=t.rules&&t.rules[e];"custom"!==e&&i&&"function"!=typeof i&&(t.rules[e]=a)},a=function(t){return function(a,i){return e(a,t,i)}}("required"),i=function(t){return a(t,function(t){return!1!==t})},n=function(t){return a(t,function(t){return t>0})};t.boolRequiredHandler=i,t.numberGT0RequiredHandler=n})},"1btU":function(t,e,a){function i(t){a("K9Wg")}var n=a("VU/8")(a("ulou"),a("neus"),i,null,null);t.exports=n.exports},"1j+8":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("1Vb/"),a("6SSl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n),s={url:"http://www.didichuxing.com/",image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide03.png"};e.default={data:function(){return{items:[{image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide01.png"},{image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide02.png"}],loop:!0,autoPlay:!0,interval:4e3,threshold:.3,speed:400,allowVertical:!1,initialIndex:1,dotsSlot:!1,addItem3:!1}},computed:{options:function(){return{eventPassthrough:this.allowVertical?"vertical":""}}},watch:{addItem3:function(t){t?this.items.push(s):this.items.pop()}},methods:{changePage:function(t){console.log("当前轮播图序号为:"+t)},clickPage:function(t,e){console.log(t,e)},updateItem3:function(t){this.addItem3=t},updateLoop:function(t){this.loop=t},updateDotsSlot:function(t){this.dotsSlot=t},updateAutoPlay:function(t){this.autoPlay=t},updateInterval:function(t){(t=+t)&&(this.interval=t)},updateThreshold:function(t){(t=+t)&&(this.threshold=t)},updateSpeed:function(t){(t=+t)&&(this.speed=t)},updateAllowVertical:function(t){this.allowVertical=t},updateInitialIndex:function(t){t&&(this.initialIndex=+t)}},components:{CubePage:c.default,SwitchOption:u.default,InputOption:o.default}},t.exports=e.default})},"1peF":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("fZjL"),a("UFDc"),a("aDIA"),a("4KJe"),a("E61+")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(c),v=o(u);e.default={name:"cube-validator",mixins:[d.default],props:{model:{required:!0},modelKey:{type:String,default:""},rules:{type:Object,default:function(){return{}}},messages:{type:[Object,String],default:function(){return{}}},value:{},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!1}},data:function(){return{valid:this.value,validated:!1,msg:"",dirty:!1,validating:!1,result:{}}},computed:{targetModel:function(){var t=this.modelKey,e=this.model;return t?e[t]:e},invalid:function(){var t=this.valid;return(0,n.isUndef)(t)?void 0:!t},isDisabled:function(){var t=this.disabled,e=(0,r.default)(this.rules).length<=0;return t||e},dirtyOrValidated:function(){return(this.dirty||this.validated)&&!this.validating},containerClass:function(){if(!this.isDisabled)return{"cube-validator_invalid":this.invalid,"cube-validator_valid":this.valid,"cube-validator_validating":this.validating}}},watch:{value:function(t){this.valid=t},targetModel:{handler:function(){this.isDisabled||(this.dirty||(this.dirty=!0),this.validate())},sync:!0},rules:function(){this.validate()},isDisabled:function(t){t||!this.trigger||this.validated||this.validate()}},created:function(){this._validateCount=0,!this.isDisabled&&this.immediate&&this.validate()},methods:{validate:function(t){var e=(0,n.cb2PromiseWithResolve)(t);if(e&&(t=e.resolve),this.isDisabled)return t&&t(this.valid),e;this._validateCount++;var a=this._validateCount,i=this.targetModel,c=this.rules,u=c.type,o=[],r=!0;if(c.required||(r=l.rules.required(i,!0,u)),r){for(var d in c)!function(t){var e=c[t],a=void 0;a=(0,n.isFunc)(e)?e(i,c[t],u):!l.rules[t]||l.rules[t](i,c[t],u),o.push(function(e){var i=function(a){e({key:t,valid:!0===a,ret:a})},l=function(a){e({key:t,valid:!1,ret:a})};"object"===(void 0===a?"undefined":(0,s.default)(a))&&(0,n.isFunc)(a.then)?a.then(i).catch(l):(0,n.isFunc)(a)?a(i,l):e({key:t,valid:!0===a,ret:a})})}(d)}return this._checkTasks(o,a,t),e},_checkTasks:function(t,e,a){var i=this,l=this.rules,c=!0,u={},o=!0;this.validating=!0;var s=this.targetModel;(0,n.parallel)(t,function(t){i._validateCount===e&&(i.validating=!1,t.forEach(function(t){var e=t.key,a=t.valid,o=t.ret,r=i.messages[e]?(0,n.isFunc)(i.messages[e])?i.messages[e](o,a):i.messages[e]:i.findMessage(e,l[e],l.type,s);c&&!a&&(c=!1,i.msg=r),u[e]={valid:a,invalid:!a,message:r}}),o||i.$emit("validated",c),i._updateModel(c,u),a&&a(i.valid))}),this.validating&&(o=!1,this.$emit("validating"),this.valid=void 0,this.$emit("input",this.valid))},_updateModel:function(t,e){this.validated=!0,this.result=e,e.required&&e.required.invalid&&(this.msg=e.required.message),t&&(this.msg=""),this.valid=t,this.$emit("input",this.valid)},reset:function(){this._validateCount++,this.validating=!1,this.dirty=!1,this.result={},this.msg="",this.validated=!1,this.valid=void 0,this.$emit("input",this.valid)},msgClickHandler:function(){this.$emit("msg-click")},findMessage:function(t,e,a,i){var l=this.$cubeMessages,c=this.$cubeLang,u=l[c].validator[t];return u?(0,n.isString)(u)?u:(0,n.isFunc)(u)?u(e):(u[a]||(a=(0,n.isArray)(i)?"array":void 0===i?"undefined":(0,s.default)(i)),"function"==typeof u[a]?u[a](e):(0,v.default)(u[a],e)):""}}},t.exports=e.default})},"1y26":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-input",class:{"cube-input_active":t.isFocus}},[t.$slots.prepend?a("div",{staticClass:"cube-input-prepend"},[t._t("prepend")],2):t._e(),t._v(" "),"checkbox"===t._type?a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:[function(e){var a=t.inputValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.inputValue=a.concat([null])):l>-1&&(t.inputValue=a.slice(0,l).concat(a.slice(l+1)))}else t.inputValue=n},t.changeHander]}},"input",t.$props,!1)):"radio"===t._type?a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t.handleFocus,blur:t.handleBlur,change:[function(e){t.inputValue=null},t.changeHander]}},"input",t.$props,!1)):a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:t._type},domProps:{value:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:t.changeHander,input:function(e){e.target.composing||(t.inputValue=e.target.value)}}},"input",t.$props,!1)),t._v(" "),t.$slots.append||t._showClear||t._showPwdEye?a("div",{staticClass:"cube-input-append"},[t._showClear?a("div",{staticClass:"cube-input-clear",on:{touchend:t.handleClear}},[a("i",{staticClass:"cubeic-wrong"})]):t._e(),t._v(" "),t._showPwdEye?a("div",{staticClass:"cube-input-eye",on:{click:t.handlePwdEye}},[a("i",{class:t.eyeClass})]):t._e(),t._v(" "),t._t("append")],2):t._e()])},staticRenderFns:[]}},"1ze/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"slide-view",title:"Slide"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"slide-container-v"},[a("cube-slide",{attrs:{data:t.items,loop:t.loop,showDots:!1,direction:"vertical"},on:{change:t.change}})],1)])])},staticRenderFns:[]}},"2DUa":function(t,e,a){function i(t){a("D11v")}var n=a("VU/8")(a("3SPU"),a("FzF9"),i,null,null);t.exports=n.exports},"2iSa":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showAlert:function(){this.dialog=this.$createDialog({type:"alert",title:"我是标题",content:"我是内容",icon:"cubeic-alert"}),this.dialog.show()},showPrompt:function(){var t=this;this.dialog=this.$createDialog({type:"prompt",title:"我是标题",prompt:{placeholder:"请输入"},onConfirm:function(e,a){t.$createToast({type:"warn",time:1e3,txt:"Prompt value: "+(a||"")}).show()}}),this.dialog.show()},showBtn:function(){var t=this;this.dialog=this.$createDialog({type:"confirm",icon:"cubeic-alert",title:"我是标题",content:"我是内容",confirmBtn:{text:"确定按钮",active:!0,disabled:!1,href:"javascript:;"},cancelBtn:{text:"取消按钮",active:!1,disabled:!1,href:"javascript:;"},onConfirm:function(){t.$createToast({type:"warn",time:1e3,txt:"点击确认按钮"}).show()},onCancel:function(){t.$createToast({type:"warn",time:1e3,txt:"点击取消按钮"}).show()}}),this.dialog.show()},showClose:function(){var t=this;this.dialog=this.$createDialog({type:"alert",icon:"cubeic-alert",showClose:!0,title:"标题",onClose:function(){t.$createToast({type:"warn",time:1e3,txt:"点击关闭按钮"}).show()}}),this.dialog.show()},showSlot:function(){this.dialog=this.$createDialog({type:"alert",confirmBtn:{text:"我知道了",active:!0}},function(t){return[t("div",{class:{"my-title":!0},slot:"title"},[t("div",{class:{"my-title-img":!0}}),t("p","附近车少,优选出租车将来接您")]),t("p",{class:{"my-content":!0},slot:"content"},"价格仍按快车计算")]}),this.dialog.show()}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},"2ql2":function(t,e){},"2wFx":function(t,e){},"34KM":function(t,e){},"3BKo":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{multiple:{type:Boolean,default:!0},accept:{type:String,default:"image/*"}}},t.exports=e.default})},"3SPU":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="cube-index-list-item_active";e.default={name:"cube-index-list-item",props:{item:{type:Object,default:function(){return{}}}},computed:{itemClass:function(){return this.item.active?i:""}},methods:{addActiveCls:function(t){(0,a.addClass)(t.currentTarget,i)},removeActiveCls:function(t){(0,a.removeClass)(t.currentTarget,i)},selectItem:function(){this.$emit("select",this.item)}}},t.exports=e.default})},"3Xsx":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"formItem",staticClass:"cube-form-item border-bottom-1px",class:t.itemClass},[t.isBtnField?a("cube-button",t._g(t._b({},"cube-button",t.fieldValue.props,!1),t.fieldValue.events),[t._v(t._s(t.fieldValue.label))]):[t._t("label",[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fieldValue.label,expression:"fieldValue.label"}],staticClass:"cube-form-label"},[a("span",[t._v(t._s(t.fieldValue.label))])])]),t._v(" "),t.hasRules?a("cube-validator",{ref:"validator",staticClass:"cube-form-field",attrs:{disabled:t.validatorDisabled,model:t.validatorModel,"model-key":t.validatorModelKey,rules:t.fieldValue.rules,messages:t.fieldValue.messages},on:{input:t.validatorChangeHandler,validating:t.validatingHandler,validated:t.validatedHandler,"msg-click":t.msgClick},model:{value:t.originValid,callback:function(e){t.originValid=e},expression:"originValid"}},[t._t("default",[a(t.componentName,t._g(t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1),t.fieldValue.events))])],2):a("div",{staticClass:"cube-form-field"},[t._t("default",[a(t.componentName,t._g(t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1),t.fieldValue.events))])],2)]],2)},staticRenderFns:[]}},"3Yuc":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-page",class:t.type},[a("header",{staticClass:"header"},[a("h1",[t._v(t._s(t.title))]),t._v(" "),a("i",{staticClass:"cubeic-back",on:{click:t.back}})]),t._v(" "),a("div",{staticClass:"wrapper"},[a("section",{directives:[{name:"show",rawName:"v-show",value:t.desc,expression:"desc"}],staticClass:"desc"},[t._t("desc",[t._v(t._s(t.desc))])],2),t._v(" "),a("main",{staticClass:"content"},[t._t("content",[t._v(t._s(t.content))])],2)])])},staticRenderFns:[]}},"3jWI":function(t,e,a){function i(t){a("3uWI")}var n=a("VU/8")(a("X4T+"),a("enXm"),i,null,null);t.exports=n.exports},"3kPI":function(t,e,a){function i(t){a("nocm")}var n=a("VU/8")(a("Lg4b"),a("m4tM"),i,null,null);t.exports=n.exports},"3uWI":function(t,e){},"3ubT":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("5/tf"),a("agqa"),a("5KkG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Panel=u.default,c.default.Item=o.default,e.default=c.default,t.exports=e.default})},"41pN":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yjF1"),a("0I1X")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-checkbox-group",mixins:[c.default],props:{value:{type:Array},horizontal:{type:Boolean,default:!1},shape:{type:String,default:"circle"},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}},min:{type:Number,default:0},max:{type:Number,default:1/0}},data:function(){return{_value:[],_checkboxGroup:!0}},computed:{groupClass:function(){if(!this.horizontal||this.colNum>1)return"border-top-1px border-bottom-1px"}},watch:{value:{immediate:!0,handler:function(t,e){this._value=this.value.concat()}}},mounted:function(){var t=this;this.$on("checked",function(e){t._value.lengtht.min){var a=t._value.indexOf(e);t._value.splice(a,1)}t.$emit("input",t._value)})},components:{CubeCheckbox:l.default}},t.exports=e.default})},"4BV0":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.easeOutBack="cubic-bezier(0.18, 0.89, 0.32, 1.28)",t.easeOutQuart="cubic-bezier(0.165, 0.84, 0.44, 1)",t.easeOutCubic="cubic-bezier(0.22, 0.61, 0.36, 1)"})},"4BmD":function(t,e,a){function i(t){a("V8x2")}var n=a("VU/8")(a("xIPZ"),a("zf5d"),i,null,null);t.exports=n.exports},"4CSM":function(t,e){},"4Gmg":function(t,e,a){function i(t){a("6SD/")}var n=a("VU/8")(a("f/6s"),a("A/pu"),i,null,null);t.exports=n.exports},"4KJe":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("j9ag"),a("UFDc"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={computed:{$t:function(){var t=this.$cubeLang,e=this.$cubeMessages[t];return(0,i.isUndef)(e)?((0,n.warn)("Translation is not registered correctly, you can call Locale.use() to install it."),""):function(t){return(0,i.parsePath)(e,t)}}},beforeCreate:function(){l.default.install(this.$root.constructor)}},t.exports=e.default})},"4Kqh":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["timeout"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"4OFj":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll",title:"Scroll"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[a("span",{staticClass:"scroll-example"},[t._v("1. Default")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("horizontal")}}},[a("span",{staticClass:"scroll-example"},[t._v("2. Horizontal")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("config")}}},[a("span",{staticClass:"scroll-example"},[t._v("3. Customized")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("jd")}}},[a("span",{staticClass:"scroll-example"},[t._v("4. JD")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("toutiao")}}},[a("span",{staticClass:"scroll-example"},[t._v("5. Toutiao")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("v-scrolls")}}},[a("span",{staticClass:"scroll-example"},[t._v("6. Vertical scrolls")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("h-scrolls")}}},[a("span",{staticClass:"scroll-example"},[t._v("7. Horizontal scrolls")])])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"4eWE":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe",title:"Swipe"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"4g/6":function(t,e){},"4gT0":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={methods:{changeHander:function(t){this.$emit("change",t)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()}}},t.exports=e.default})},"4sRm":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("3BKo")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-upload-btn",mixins:[i.default],methods:{changeHandler:function(t){var e=t.currentTarget,a=e.files;a&&(this.$parent.addFiles(a),e.value=null)}}},t.exports=e.default})},"4xIg":function(t,e,a){function i(t){a("MFKK")}var n=a("VU/8")(a("XlLO"),a("ZCFR"),i,null,null);t.exports=n.exports},"5/tf":function(t,e,a){function i(t){a("N3Wc")}var n=a("VU/8")(a("kLzu"),a("HgRm"),i,null,null);t.exports=n.exports},"57KX":function(t,e){},"58Ml":function(t,e,a){function i(t){a("wYaX")}var n=a("VU/8")(a("jnfQ"),a("br84"),i,null,null);t.exports=n.exports},"5BnR":function(t,e){},"5D5k":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("1Vb/")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{type:"password",value:"",disabled:!1,useClear:!0,maxlength10:!1,clearBlurHidden:!0,readonly:!1,isPwd:!0,showEye:!0,pwdVisible:!0,reverse:!1}},computed:{clearable:function(){return{visible:this.useClear,blurHidden:this.clearBlurHidden}},eye:function(){return!(!this.isPwd||!this.showEye)&&{open:this.reverse?!this.pwdVisible:this.pwdVisible,reverse:this.reverse}}},watch:{value:function(t){var e=this;this.maxlength10&&t.length>10&&(t=t.slice(0,10),this.$nextTick(function(){e.value=t}))}},methods:{updateDisabled:function(t){this.disabled=t},updateReadonly:function(t){this.readonly=t},updateUseClear:function(t){this.useClear=t},updateBlurHidden:function(t){this.clearBlurHidden=t},updateMaxLength:function(t){this.maxlength10=t},updatePwd:function(t){this.isPwd=t,this.type=this.isPwd?"password":"text"},updateShowEye:function(t){this.showEye=t},updatePwdVisible:function(t){this.pwdVisible=t},updateReverse:function(t){this.reverse=t}},components:{CubePage:l.default,SwitchOption:c.default}},t.exports=e.default})},"5Fev":function(t,e,a){function i(t){a("I6++")}var n=a("VU/8")(a("Dw/u"),a("Szk3"),i,"data-v-7605c0c2",null);t.exports=n.exports},"5HTY":function(t,e,a){var i=a("VU/8")(a("eWUu"),a("C/x+"),null,null,null);t.exports=i.exports},"5KkG":function(t,e,a){function i(t){a("mNkZ")}var n=a("VU/8")(a("+HVL"),a("FccO"),i,null,null);t.exports=n.exports},"5MeU":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checkbox-group-view",title:"CheckboxGroup"}},[a("template",{slot:"content"},[a("cube-checkbox-group",{attrs:{options:t.options},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}}),t._v(" "),a("p",[t._v("checkList value : "+t._s(t.checkList))]),t._v(" "),a("br"),t._v(" "),a("cube-checkbox-group",{attrs:{options:t.options,horizontal:!0,position:"right",shape:"square","hollow-style":!0},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}}),t._v(" "),a("br"),t._v(" "),a("cube-checkbox-group",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("cube-checkbox",{attrs:{option:"1"}},[a("i",[t._v("Checkbox 1")])]),t._v(" "),a("cube-checkbox",{attrs:{option:"2"}},[a("i",[t._v("Checkbox 2")])]),t._v(" "),a("cube-checkbox",{attrs:{option:{value:"3",disabled:!0}}},[a("i",[t._v("Disabled Checkbox")])]),t._v(" "),a("cube-checkbox",{attrs:{option:{value:"4",disabled:!0}}},[a("i",[t._v("Disabled & Checked Checkbox")])])],1),t._v(" "),a("br"),t._v(" "),a("cube-input",{attrs:{placeholder:"Input column number"},model:{value:t.colNum,callback:function(e){t.colNum=e},expression:"colNum"}},[a("div",{staticStyle:{paddingLeft:"10px"},attrs:{slot:"prepend"},slot:"prepend"},[t._v(" Column number:")])]),t._v(" "),a("cube-checkbox-group",{attrs:{options:t.colOptions,"col-num":Math.floor(t.colNum)},model:{value:t.colCheckList,callback:function(e){t.colCheckList=e},expression:"colCheckList"}}),t._v(" "),a("br")],1)],2)},staticRenderFns:[]}},"5Raf":function(t,e){},"5VLA":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/scroll-nav/"+t)}}},t.exports=e.default})},"5WX7":function(t,e){},"5e0o":function(t,e,a){function i(t){a("R1uw")}var n=a("VU/8")(a("DLo4"),a("mS3r"),i,null,null);t.exports=n.exports},"5qoB":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("fZjL"),a("pFYg"),a("UFDc"),a("+Ghj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.addRule=t.rules=void 0;var c=l(e),u=l(a),o={required:function(t,e,a){return a=a||(Array.isArray(t)?"array":void 0===t?"undefined":(0,u.default)(t)),"array"===a&&Array.isArray(t)?t.length>0:""!==t&&void 0!==t&&null!==t},type:function(t,e){return!n.types[e]||n.types[e](t)},min:function(t,e,a){return a=a||(void 0===t?"undefined":(0,u.default)(t)),"number"===a||"date"===a?Number(t)>=e:t.length>=e},max:function(t,e,a){return a=a||(void 0===t?"undefined":(0,u.default)(t)),"number"===a||"date"===a?Number(t)<=e:t.length<=e},len:function(t,e,a){a=a||(void 0===t?"undefined":(0,u.default)(t));var i=t;return void 0===i.length&&(i="object"===a?(0,c.default)(i):String(i)),i.length===e},notWhitespace:function(t,e,a){return!/^\s+$/.test(t)},pattern:function(t,e,a){return e.test(t)},custom:function(t,e,a){return e(t)}},s=(0,i.createAddAPI)(o);t.rules=o,t.addRule=s})},"5ri1":function(t,e){},"64cm":function(t,e){},"6BWR":function(t,e){},"6G1g":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("piyO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"6KDq":function(t,e,a){function i(t){a("A794")}var n=a("VU/8")(a("I7KL"),a("5MeU"),i,null,null);t.exports=n.exports},"6SD/":function(t,e){},"6SSl":function(t,e,a){function i(t){a("Z7ln")}var n=a("VU/8")(a("eAlP"),a("IWr1"),i,"data-v-2295ccaf",null);t.exports=n.exports},"6WIs":function(t,e,a){function i(t){return a(n(t))}function n(t){var e=l[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var l={"./avatar0.png":"Uz7t","./avatar1.png":"bJvT","./avatar2.png":"j/9N","./avatar3.png":"kl+Y","./avatar4.png":"E37f","./avatar5.png":"F7um"};i.keys=function(){return Object.keys(l)},i.resolve=n,t.exports=i,i.id="6WIs"},"6boj":function(t,e,a){function i(t){a("rR3D")}var n=a("VU/8")(a("TdZF"),a("fUkQ"),i,null,null);t.exports=n.exports},"6liq":function(t,e,a){var i=a("VU/8")(a("+HHY"),a("tYAf"),null,null,null);t.exports=i.exports},"77Ud":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"time-picker-view",title:"TimePicker(时间选择器)"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showTimePicker}},[t._v("TimePicker")]),t._v(" "),a("cube-button",{on:{click:t.showConfigDayPicker}},[t._v("Config day options")]),t._v(" "),a("cube-button",{on:{click:t.showFormatPicker}},[t._v("Config format")]),t._v(" "),a("cube-button",{on:{click:t.showMinuteStepPicker}},[t._v("Config minute step")]),t._v(" "),a("cube-button",{on:{click:t.showMinPicker}},[t._v("Config min")]),t._v(" "),a("cube-button",{on:{click:t.showMaxPicker}},[t._v("Config max")]),t._v(" "),a("cube-button",{on:{click:t.showSetTimePiker}},[t._v("Use setTime")])],1)],1)])},staticRenderFns:[]}},"794M":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"action-sheet-view",title:"ActionSheet(操作列表)"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDefault}},[t._v("ActionSheet")]),t._v(" "),a("cube-button",{on:{click:t.showActive}},[t._v("ActionSheet - active")]),t._v(" "),a("cube-button",{on:{click:t.showPickerStyle}},[t._v("ActionSheet - picker style")])],1)],1)])},staticRenderFns:[]}},"7ErG":function(t,e,a){function i(t){a("5ri1")}var n=a("VU/8")(a("kZnE"),a("kXYV"),i,null,null);t.exports=n.exports},"7Sku":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("+hyH")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"7brH":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("QMhb"),a("5e0o"),a("1BqV"),a("bh5B"),a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);e.default={name:"cube-scroll-nav",provide:function(){return{scrollNav:this}},mixins:[o.default],props:{data:{type:Array},speed:{type:Number,default:300},side:{type:Boolean,default:!1},current:{type:[String,Number],default:""}},data:function(){return{scrollEvents:["scroll","scroll-end"],scrollY:0,panels:[],active:this.current,pageStickyOffset:0}},computed:{labels:function(){return this.panels.map(function(t){return t.label})},barTxts:function(){return this.panels.map(function(t){return t.title})},barDirection:function(){return this.side?"vertical":"horizontal"}},watch:{current:function(t){this.stickyCurrent=t,this.active=t,this.jumpTo(t)},active:function(t){this.$emit("change",t)}},created:function(){this.navBar=null,this.stickyCurrent=this.current},mounted:function(){var t=this;this.$nextTick(function(){if(t.side){var e=t.$refs.pageSticky.$refs.fixedEle;t.$refs.scroll.$el.appendChild(e)}t.current||(t.active=t.stickyCurrent=t.labels[0]),t.refresh(),t.jumpTo(t.current)})},methods:{scrollTo:function(){this.$refs.scroll&&this.$refs.scroll.scrollTo.apply(this.$refs.scroll,arguments)},refresh:function(){this.navBar&&this.navBar.refresh(),this.$refs.sticky.refresh(),this.$refs.pageSticky.refresh(),this.pageStickyOffset=this.side?0:this.$refs.navBarEle.$el.offsetHeight,this.$refs.scroll.refresh()},setBar:function(t){this.navBar=t},barChange:function(t){var e=this;this.active=t,setTimeout(function(){e.jumpTo(t)})},jumpTo:function(t){if(t){var e=this.getPanel(t);if(e){this._jumping=!0;var a=this.pageStickyOffset;this.$refs.scroll.scrollToElement(e.$el,this.speed,0,this.side?a:-a)}}},getPanel:function(t){var e=null;return this.panels.some(function(a){if(a.label===t)return e=a,!0}),e},pageStickyChangeHandler:function(t){""===t&&(t=this.labels[0]),this.stickyCurrent=t,this._jumping||(this.active=t)},stickyChangeHandler:function(t){var e=this;this.$nextTick(function(){e.navBar&&e.navBar.refresh()}),this.$emit("sticky-change",t)},scrollHandler:function(t){this.scrollY=-t.y,this._jumping||(this.active=this.stickyCurrent)},scrollEndHandler:function(){this._jumping=!1},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);this.panels.splice(e,1)}},components:{CubeSticky:s.default,CubeStickyEle:r.default,CubeScroll:d.default,CubeScrollNavBar:v.default}},t.exports=e.default})},"7lCl":function(t,e,a){function i(t){a("1Ty8")}var n=a("VU/8")(a("41pN"),a("ziJF"),i,null,null);t.exports=n.exports},"7t+P":function(t,e){},"7tZM":function(t,e,a){function i(t){a("v4qp")}var n=a("VU/8")(a("Fth0"),a("NOHr"),i,null,null);t.exports=n.exports},"85uG":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload",title:"Upload"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("compress")}}},[t._v("Compress")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"8F4S":function(t,e,a){function i(t){a("IBoP")}var n=a("VU/8")(a("Uo7j"),a("VOiB"),i,null,null);t.exports=n.exports},"8JgO":function(t,e){},"8Q6G":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"slide-view",title:"Slide"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{ref:"slideWrapper",staticClass:"slide-container"},[a("cube-slide",{ref:"slide",attrs:{data:t.items,"initial-index":t.initialIndex,loop:t.loop,"auto-play":t.autoPlay,interval:t.interval,threshold:t.threshold,speed:t.speed,options:t.options},on:{change:t.changePage,click:t.clickPage},scopedSlots:t._u([{key:"dots",fn:function(e){return t.dotsSlot?t._l(e.dots,function(i,n){return a("span",{staticClass:"my-dot",class:{active:e.current===n}},[t._v(t._s(n+1))])}):void 0}}])})],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"InitialIndex",value:t.initialIndex},on:{"update:value":t.updateInitialIndex}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Loop",value:t.loop},on:{"update:value":t.updateLoop}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Auto Play",value:t.autoPlay},on:{"update:value":t.updateAutoPlay}}),t._v(" "),t.autoPlay?a("input-option",{staticClass:"item sub first last",attrs:{name:"interval",value:t.interval},on:{"update:value":t.updateInterval}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"Threshold",value:t.threshold},on:{"update:value":t.updateThreshold}})],1),t._v(" "),a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"Speed",value:t.speed},on:{"update:value":t.updateSpeed}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Allow Vertical",value:t.allowVertical},on:{"update:value":t.updateAllowVertical}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Add Slide Item3",value:t.addItem3},on:{"update:value":t.updateItem3}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Dots Slot",value:t.dotsSlot},on:{"update:value":t.updateDotsSlot}})],1)])])])])},staticRenderFns:[]}},"8T9y":function(t,e){},"8YJ/":function(t,e,a){function i(t){a("2ql2")}var n=a("VU/8")(a("pWL+"),a("Ycrx"),i,null,null);t.exports=n.exports},"8cOd":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("NTtZ"),a("4Gmg"),a("zuie"),a("j9ag"),a("xYoV"),a("aDIA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(p.default.name,p.default),v.default.install(t),p.default._base=t},s.default.Group=r.default,s.default.Item=d.default,s.default.Validator=p.default,p.default.addRule=u.addRule,p.default.addMessage=u.addMessage,p.default.addType=u.addType,p.default.addHelper=v.default.addHelper,e.default=s.default,t.exports=e.default})},"8jxs":function(t,e,a){function i(t){a("Ngbz")}var n=a("VU/8")(a("l+e5"),a("HT+y"),i,null,null);t.exports=n.exports},"8nmV":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("R4Zp")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"91me":function(t,e,a){function i(t){a("QwXM")}var n=a("VU/8")(a("nPBw"),a("0Fj/"),i,null,null);t.exports=n.exports},"99oh":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"wrapper",staticClass:"cube-scroll-wrapper"},[a("div",{staticClass:"cube-scroll-content"},[a("div",{ref:"listWrapper",staticClass:"cube-scroll-list-wrapper"},[t._t("default",[a("ul",{staticClass:"cube-scroll-list"},t._l(t.data,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px",on:{click:function(a){t.clickItem(e)}}},[t._v(t._s(e))])}))])],2),t._v(" "),t._t("pullup",[t.pullUpLoad?a("div",{staticClass:"cube-pullup-wrapper"},[t.isPullUpLoad?a("div",{staticClass:"after-trigger"},[a("loading")],1):a("div",{staticClass:"before-trigger"},[a("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad})],2),t._v(" "),t.pullDownRefresh?a("div",{ref:"pulldown",staticClass:"cube-pulldown"},[t._t("pulldown",[a("div",{staticClass:"cube-pulldown-wrapper",style:t.pullDownStyle},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.beforePullDown,expression:"beforePullDown"}],staticClass:"before-trigger"},[a("bubble",{staticClass:"bubble",attrs:{y:t.bubbleY}})],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.beforePullDown,expression:"!beforePullDown"}],staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isPullingDown,expression:"isPullingDown"}],staticClass:"loading"},[a("loading")],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.isPullingDown,expression:"!isPullingDown"}],staticClass:"cube-pulldown-loaded"},[a("span",[t._v(t._s(t.refreshTxt))])])])])],{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY})],2):t._e()])},staticRenderFns:[]}},"9IQh":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{direction:{type:String,default:"column"}}},t.exports=e.default})},"9O6X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("XRNA"),a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-recycle-list",data:function(){return{items:[],heights:0,startIndex:0,loadings:[],noMore:!1}},props:{infinite:{type:Boolean,default:!1},size:{type:Number,default:20},offset:{type:Number,default:100},onFetch:{type:Function,required:!0}},computed:{visibleItems:function(){return this.items.slice(Math.max(0,this.startIndex-this.size),Math.min(this.items.length,this.startIndex+this.size))},tombHeight:function(){return this.infinite?this.$refs.tomb&&this.$refs.tomb.offsetHeight:0},loading:function(){return this.loadings.length}},created:function(){this.list=[],this.promiseStack=[]},mounted:function(){this.checkPromiseCompatibility(),this.$el.addEventListener("scroll",this._onScroll),window.addEventListener("resize",this._onResize),this.load()},beforeDestroy:function(){this.$el.removeEventListener("scroll",this._onScroll),window.removeEventListener("resize",this._onResize)},methods:{checkPromiseCompatibility:function(){(0,n.isUndef)(window.Promise)&&(0,i.warn)("requires a Promise polyfill in this browser.")},load:function(){if(this.infinite){var t=this.items,e=t.length;t.length+=this.size;var a=t.length;this.loadItems(e,a),this.getItems()}else this.loading||this.getItems()},getItems:function(){var t=this,e=this.promiseStack.length,a=this.onFetch();this.loadings.push("pending"),this.promiseStack.push(a),a.then(function(a){t.loadings.pop(),a?(t.setList(e,a),t.loadItemsByIndex(e),a.lengtht){this.startIndex=Math.max(0,i-1);break}},reset:function(){var t=this;[{key:"items",value:[]},{key:"heights",value:0},{key:"startIndex",value:0},{key:"loadings",value:[]},{key:"noMore",value:!1},{key:"list",value:[]},{key:"promiseStack",value:[]}].forEach(function(e){var a=e.key,i=e.value;t[a]=i}),this.$el.scrollTop=0,this.load()},_onScroll:function(){!this.noMore&&this.$el.scrollTop+this.$el.offsetHeight>this.heights-this.offset&&this.load(),this.updateStartIndex()},_onResize:function(){var t=this.items;t.forEach(function(t){t.loaded=!1}),this.loadItems(0,t.length)}},components:{CubeLoading:l.default}},t.exports=e.default})},"9Vqu":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-tab-view",title:"ScrollTab"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"left-panel"},[a("cube-scroll",[a("cube-tab-bar",{attrs:{data:t.tabs},on:{change:t.changeHandler},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}})],1)],1),t._v(" "),a("div",{staticClass:"right-panel"},[a("cube-scroll",{ref:"scroll"},[a("ul",t._l(t.scrollData,function(e,i){return a("li",[a("img",{attrs:{src:e.avatar,alt:""}}),t._v(" "),a("span",[t._v(t._s(e.name))])])}))])],1)])])},staticRenderFns:[]}},"9ZU5":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{options:{pullDownRefresh:{threshold:60,stop:40,txt:"更新成功"}},pullDownY:0,pullDownStyle:"",opacityStyle:"",triggerSurpriseFlag:!1,triggerSurprise:!1}},components:{CubePage:i.default},computed:{pullDownTip:function(){return this.pullDownY<=60?"下拉刷新...":this.pullDownY<=90?"继续下拉有惊喜...":"松手得惊喜!"},headerStyle:function(){return Math.min(1,Math.max(0,1-this.pullDownY/40))}},methods:{onScrollHandle:function(t){this.pullDownY=t.y,t.y>0&&(this.pullDownStyle="top:"+t.y+"px",this.triggerSurpriseFlag=!1,this.pullDownY>90&&(this.triggerSurpriseFlag=!0)),this.$refs.topHeader.style.opacity=this.headerStyle},onPullingDown:function(){var t=this;if(this.triggerSurpriseFlag)return this.triggerSurprise=!0,void this.$refs.scroll.forceUpdate();setTimeout(function(){t.$refs.scroll.forceUpdate()},1e3)},surpriseHandle:function(){this.triggerSurpriseFlag=!1,this.triggerSurprise=!1,this.$refs.topHeader.style.opacity=1},onImgLoad:function(){this.$refs.scroll.refresh()}}},t.exports=e.default})},"9dOh":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-def",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Normal upload(File max size 1MB): ")]),t._v(" "),a("div",[a("cube-upload",{ref:"upload",attrs:{action:t.action,"simultaneous-uploads":1},on:{"files-added":t.filesAdded}}),t._v(" "),t.isUploading?a("cube-button",{on:{click:t.pause}},[t._v("Pause")]):a("cube-button",{on:{click:t.upload}},[t._v("Upload")]),t._v(" "),a("cube-button",{on:{click:t.retry}},[t._v("Retry")])],1)])],2)},staticRenderFns:[]}},"9eEc":function(t,e){},"9gYT":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer-def",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button",{on:{click:t.showDrawer}},[t._v("Show Drawer")]),t._v(" "),a("cube-drawer",{ref:"drawer",attrs:{title:"请选择",data:t.data,"selected-index":t.selectedIndex},on:{change:t.changeHandler,select:t.selectHandler,cancel:t.cancelHandler}})],1)])])},staticRenderFns:[]}},"9xqn":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1"),a("7lCl"),a("ZrYO"),a("N/gd"),a("mkLW"),a("yb46"),a("g9J/"),a("3kPI"),a("R4Zp"),a("+hyH"),a("BD2p")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p){"use strict";function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var h=f(a),x=f(i),y=f(n),m=f(l),b=f(c),g=f(u),_=f(o),w=f(s),A=f(r),k=f(d),C=f(v),T=f(p),P=[h.default,x.default,y.default,m.default,b.default,g.default,_.default,w.default,A.default,k.default,C.default,T.default],j={};P.forEach(function(t){j[t.name]=t}),e.default=j,t.exports=e.default})},"9y2D":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-textarea",title:"Scroll"}},[a("template",{slot:"content"},[a("div",{staticClass:"scroll-wrap",on:{touchstart:function(t){t.stopPropagation()}}},[a("cube-scroll",{ref:"scrollOuter",staticClass:"scroll-outer",attrs:{options:t.optionsOuter}},[a("p",[t._v("Sometimes we need a teatarea in cube-scroll component. However the problem is, we can not use the native scroll in teatarea when we need to scroll, due to we prevent the default broswer behavior of 'scroll' event in Cube-scroll.")]),t._v(" "),a("p",[t._v("Now, we give this example, introducing two ways how to solve this trouble.")]),t._v(" "),a("p",[t._v("Both approach takes advantage of the cube-scroll support for nesting. We wrap the internal input box with cube-scroll and simulate the scrolling behavior by cube-scroll.")]),t._v(" "),a("div",{staticClass:"editable-div-wrapper",class:{"editable-div_active":t.isFocusDiv}},[a("cube-scroll",{ref:"divWrapScroll",attrs:{options:t.options}},[a("div",{ref:"editablediv",staticClass:"editable-div",attrs:{contenteditable:"true"},on:{focus:t.onFocusDiv,blur:t.onBlurDiv,input:t.onInputDiv}})]),t._v(" "),a("span",{staticClass:"editable-div-indicator"},[t._v(t._s(t.divValueCount))])],1),t._v(" "),a("div",{staticClass:"cube-textarea-wrapper",class:{"cube-textarea_active":t.isFocusNative}},[a("cube-scroll",{ref:"nativeWrapScroll",attrs:{options:t.options}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textareaValue,expression:"textareaValue"}],ref:"textarea",staticClass:"cube-textarea",attrs:{placeholder:t.placeholder},domProps:{value:t.textareaValue},on:{input:[function(e){e.target.composing||(t.textareaValue=e.target.value)},t.onInputNative],focus:t.onFocusNative,blur:t.onBlurNative}})]),t._v(" "),a("span",{staticClass:"cube-textarea-indicator"},[t._v(t._s(t.textareaValueCount))])],1),t._v(" "),a("p",[t._v("有时候我们需要在 cube-scroll 组件中包含 teatarea 输入框。然而由于我们在使用 cube-scroll 时禁用了浏览器 'scroll' 事件的默认行为,因此我们无法在 textarea 输入框中使用浏览器的原生滚动。")]),t._v(" "),a("p",[t._v("现在我们希望通过这个例子,介绍两种解决这个问题的方法。")]),t._v(" "),a("p",[t._v("核心都是利用了 cube-scroll 支持嵌套的能力,我们将内部的输入框用 cube-scroll 进行包装,通过 cube-scroll 去模拟滚动行为。但是有一个要求是,内容区域必须是高度自适应,即高度随内容多少增加或减少。")]),t._v(" "),a("p",[t._v("1. 利用 div 标签模拟 textarea,实现内容区域高度自适应。"),a("br"),t._v(" 2. 利用 textarea 配合 js,实现高度自适应。")]),t._v(" "),a("p",[t._v("最后,我们还需要一些额外的工作保证输入过程中,光标能始终在视线内,保持与原生输入框的行为一致。")])])],1),t._v(" "),a("h1",[t._v(t._s(t.msg))])])],2)},staticRenderFns:[]}},"9zBd":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.provinceList=[{text:"北京市",value:"110000"},{text:"天津市",value:"120000"},{text:"河北省",value:"130000"},{text:"山西省",value:"140000"},{text:"内蒙古自治区",value:"150000"},{text:"辽宁省",value:"210000"},{text:"吉林省",value:"220000"},{text:"黑龙江省",value:"230000"},{text:"上海市",value:"310000"},{text:"江苏省",value:"320000"},{text:"浙江省",value:"330000"},{text:"安徽省",value:"340000"},{text:"福建省",value:"350000"},{text:"江西省",value:"360000"},{text:"山东省",value:"370000"},{text:"河南省",value:"410000"},{text:"湖北省",value:"420000"},{text:"湖南省",value:"430000"},{text:"广东省",value:"440000"},{text:"广西壮族自治区",value:"450000"},{text:"海南省",value:"460000"},{text:"重庆市",value:"500000"},{text:"四川省",value:"510000"},{text:"贵州省",value:"520000"},{text:"云南省",value:"530000"},{text:"西藏自治区",value:"540000"},{text:"陕西省",value:"610000"},{text:"甘肃省",value:"620000"},{text:"青海省",value:"630000"},{text:"宁夏回族自治区",value:"640000"},{text:"新疆维吾尔自治区",value:"650000"}],t.cityList={110000:[{province:"北京市",text:"北京市",value:"110100"}],120000:[{province:"天津市",text:"天津市",value:"120100"}],130000:[{province:"河北省",text:"石家庄市",value:"130100"},{province:"河北省",text:"唐山市",value:"130200"},{province:"河北省",text:"秦皇岛市",value:"130300"},{province:"河北省",text:"邯郸市",value:"130400"},{province:"河北省",text:"邢台市",value:"130500"},{province:"河北省",text:"保定市",value:"130600"},{province:"河北省",text:"张家口市",value:"130700"},{province:"河北省",text:"承德市",value:"130800"},{province:"河北省",text:"沧州市",value:"130900"},{province:"河北省",text:"廊坊市",value:"131000"},{province:"河北省",text:"衡水市",value:"131100"},{province:"河北省",text:"省直辖县级行政区划",value:"139000"}],140000:[{province:"山西省",text:"太原市",value:"140100"},{province:"山西省",text:"大同市",value:"140200"},{province:"山西省",text:"阳泉市",value:"140300"},{province:"山西省",text:"长治市",value:"140400"},{province:"山西省",text:"晋城市",value:"140500"},{province:"山西省",text:"朔州市",value:"140600"},{province:"山西省",text:"晋中市",value:"140700"},{province:"山西省",text:"运城市",value:"140800"},{province:"山西省",text:"忻州市",value:"140900"},{province:"山西省",text:"临汾市",value:"141000"},{province:"山西省",text:"吕梁市",value:"141100"}],150000:[{province:"内蒙古自治区",text:"呼和浩特市",value:"150100"},{province:"内蒙古自治区",text:"包头市",value:"150200"},{province:"内蒙古自治区",text:"乌海市",value:"150300"},{province:"内蒙古自治区",text:"赤峰市",value:"150400"},{province:"内蒙古自治区",text:"通辽市",value:"150500"},{province:"内蒙古自治区",text:"鄂尔多斯市",value:"150600"},{province:"内蒙古自治区",text:"呼伦贝尔市",value:"150700"},{province:"内蒙古自治区",text:"巴彦淖尔市",value:"150800"},{province:"内蒙古自治区",text:"乌兰察布市",value:"150900"},{province:"内蒙古自治区",text:"兴安盟",value:"152200"},{province:"内蒙古自治区",text:"锡林郭勒盟",value:"152500"},{province:"内蒙古自治区",text:"阿拉善盟",value:"152900"}],210000:[{province:"辽宁省",text:"沈阳市",value:"210100"},{province:"辽宁省",text:"大连市",value:"210200"},{province:"辽宁省",text:"鞍山市",value:"210300"},{province:"辽宁省",text:"抚顺市",value:"210400"},{province:"辽宁省",text:"本溪市",value:"210500"},{province:"辽宁省",text:"丹东市",value:"210600"},{province:"辽宁省",text:"锦州市",value:"210700"},{province:"辽宁省",text:"营口市",value:"210800"},{province:"辽宁省",text:"阜新市",value:"210900"},{province:"辽宁省",text:"辽阳市",value:"211000"},{province:"辽宁省",text:"盘锦市",value:"211100"},{province:"辽宁省",text:"铁岭市",value:"211200"},{province:"辽宁省",text:"朝阳市",value:"211300"},{province:"辽宁省",text:"葫芦岛市",value:"211400"}],220000:[{province:"吉林省",text:"长春市",value:"220100"},{province:"吉林省",text:"吉林市",value:"220200"},{province:"吉林省",text:"四平市",value:"220300"},{province:"吉林省",text:"辽源市",value:"220400"},{province:"吉林省",text:"通化市",value:"220500"},{province:"吉林省",text:"白山市",value:"220600"},{province:"吉林省",text:"松原市",value:"220700"},{province:"吉林省",text:"白城市",value:"220800"},{province:"吉林省",text:"延边朝鲜族自治州",value:"222400"}],230000:[{province:"黑龙江省",text:"哈尔滨市",value:"230100"},{province:"黑龙江省",text:"齐齐哈尔市",value:"230200"},{province:"黑龙江省",text:"鸡西市",value:"230300"},{province:"黑龙江省",text:"鹤岗市",value:"230400"},{province:"黑龙江省",text:"双鸭山市",value:"230500"},{province:"黑龙江省",text:"大庆市",value:"230600"},{province:"黑龙江省",text:"伊春市",value:"230700"},{province:"黑龙江省",text:"佳木斯市",value:"230800"},{province:"黑龙江省",text:"七台河市",value:"230900"},{province:"黑龙江省",text:"牡丹江市",value:"231000"},{province:"黑龙江省",text:"黑河市",value:"231100"},{province:"黑龙江省",text:"绥化市",value:"231200"},{province:"黑龙江省",text:"大兴安岭地区",value:"232700"}],310000:[{province:"上海市",text:"上海市",value:"310100"}],320000:[{province:"江苏省",text:"南京市",value:"320100"},{province:"江苏省",text:"无锡市",value:"320200"},{province:"江苏省",text:"徐州市",value:"320300"},{province:"江苏省",text:"常州市",value:"320400"},{province:"江苏省",text:"苏州市",value:"320500"},{province:"江苏省",text:"南通市",value:"320600"},{province:"江苏省",text:"连云港市",value:"320700"},{province:"江苏省",text:"淮安市",value:"320800"},{province:"江苏省",text:"盐城市",value:"320900"},{province:"江苏省",text:"扬州市",value:"321000"},{province:"江苏省",text:"镇江市",value:"321100"},{province:"江苏省",text:"泰州市",value:"321200"},{province:"江苏省",text:"宿迁市",value:"321300"}],330000:[{province:"浙江省",text:"杭州市",value:"330100"},{province:"浙江省",text:"宁波市",value:"330200"},{province:"浙江省",text:"温州市",value:"330300"},{province:"浙江省",text:"嘉兴市",value:"330400"},{province:"浙江省",text:"湖州市",value:"330500"},{province:"浙江省",text:"绍兴市",value:"330600"},{province:"浙江省",text:"金华市",value:"330700"},{province:"浙江省",text:"衢州市",value:"330800"},{province:"浙江省",text:"舟山市",value:"330900"},{province:"浙江省",text:"台州市",value:"331000"},{province:"浙江省",text:"丽水市",value:"331100"}],340000:[{province:"安徽省",text:"合肥市",value:"340100"},{province:"安徽省",text:"芜湖市",value:"340200"},{province:"安徽省",text:"蚌埠市",value:"340300"},{province:"安徽省",text:"淮南市",value:"340400"},{province:"安徽省",text:"马鞍山市",value:"340500"},{province:"安徽省",text:"淮北市",value:"340600"},{province:"安徽省",text:"铜陵市",value:"340700"},{province:"安徽省",text:"安庆市",value:"340800"},{province:"安徽省",text:"黄山市",value:"341000"},{province:"安徽省",text:"滁州市",value:"341100"},{province:"安徽省",text:"阜阳市",value:"341200"},{province:"安徽省",text:"宿州市",value:"341300"},{province:"安徽省",text:"六安市",value:"341500"},{province:"安徽省",text:"亳州市",value:"341600"},{province:"安徽省",text:"池州市",value:"341700"},{province:"安徽省",text:"宣城市",value:"341800"}],350000:[{province:"福建省",text:"福州市",value:"350100"},{province:"福建省",text:"厦门市",value:"350200"},{province:"福建省",text:"莆田市",value:"350300"},{province:"福建省",text:"三明市",value:"350400"},{province:"福建省",text:"泉州市",value:"350500"},{province:"福建省",text:"漳州市",value:"350600"},{province:"福建省",text:"南平市",value:"350700"},{province:"福建省",text:"龙岩市",value:"350800"},{province:"福建省",text:"宁德市",value:"350900"}],360000:[{province:"江西省",text:"南昌市",value:"360100"},{province:"江西省",text:"景德镇市",value:"360200"},{province:"江西省",text:"萍乡市",value:"360300"},{province:"江西省",text:"九江市",value:"360400"},{province:"江西省",text:"新余市",value:"360500"},{province:"江西省",text:"鹰潭市",value:"360600"},{province:"江西省",text:"赣州市",value:"360700"},{province:"江西省",text:"吉安市",value:"360800"},{province:"江西省",text:"宜春市",value:"360900"},{province:"江西省",text:"抚州市",value:"361000"},{province:"江西省",text:"上饶市",value:"361100"}],370000:[{province:"山东省",text:"济南市",value:"370100"},{province:"山东省",text:"青岛市",value:"370200"},{province:"山东省",text:"淄博市",value:"370300"},{province:"山东省",text:"枣庄市",value:"370400"},{province:"山东省",text:"东营市",value:"370500"},{province:"山东省",text:"烟台市",value:"370600"},{province:"山东省",text:"潍坊市",value:"370700"},{province:"山东省",text:"济宁市",value:"370800"},{province:"山东省",text:"泰安市",value:"370900"},{province:"山东省",text:"威海市",value:"371000"},{province:"山东省",text:"日照市",value:"371100"},{province:"山东省",text:"莱芜市",value:"371200"},{province:"山东省",text:"临沂市",value:"371300"},{province:"山东省",text:"德州市",value:"371400"},{province:"山东省",text:"聊城市",value:"371500"},{province:"山东省",text:"滨州市",value:"371600"},{province:"山东省",text:"菏泽市",value:"371700"}],410000:[{province:"河南省",text:"郑州市",value:"410100"},{province:"河南省",text:"开封市",value:"410200"},{province:"河南省",text:"洛阳市",value:"410300"},{province:"河南省",text:"平顶山市",value:"410400"},{province:"河南省",text:"安阳市",value:"410500"},{province:"河南省",text:"鹤壁市",value:"410600"},{province:"河南省",text:"新乡市",value:"410700"},{province:"河南省",text:"焦作市",value:"410800"},{province:"河南省",text:"濮阳市",value:"410900"},{province:"河南省",text:"许昌市",value:"411000"},{province:"河南省",text:"漯河市",value:"411100"},{province:"河南省",text:"三门峡市",value:"411200"},{province:"河南省",text:"南阳市",value:"411300"},{province:"河南省",text:"商丘市",value:"411400"},{province:"河南省",text:"信阳市",value:"411500"},{province:"河南省",text:"周口市",value:"411600"},{province:"河南省",text:"驻马店市",value:"411700"},{province:"河南省",text:"省直辖县级行政区划",value:"419000"}],420000:[{province:"湖北省",text:"武汉市",value:"420100"},{province:"湖北省",text:"黄石市",value:"420200"},{province:"湖北省",text:"十堰市",value:"420300"},{province:"湖北省",text:"宜昌市",value:"420500"},{province:"湖北省",text:"襄阳市",value:"420600"},{province:"湖北省",text:"鄂州市",value:"420700"},{province:"湖北省",text:"荆门市",value:"420800"},{province:"湖北省",text:"孝感市",value:"420900"},{province:"湖北省",text:"荆州市",value:"421000"},{province:"湖北省",text:"黄冈市",value:"421100"},{province:"湖北省",text:"咸宁市",value:"421200"},{province:"湖北省",text:"随州市",value:"421300"},{province:"湖北省",text:"恩施土家族苗族自治州",value:"422800"},{province:"湖北省",text:"省直辖县级行政区划",value:"429000"}],430000:[{province:"湖南省",text:"长沙市",value:"430100"},{province:"湖南省",text:"株洲市",value:"430200"},{province:"湖南省",text:"湘潭市",value:"430300"},{province:"湖南省",text:"衡阳市",value:"430400"},{province:"湖南省",text:"邵阳市",value:"430500"},{province:"湖南省",text:"岳阳市",value:"430600"},{province:"湖南省",text:"常德市",value:"430700"},{province:"湖南省",text:"张家界市",value:"430800"},{province:"湖南省",text:"益阳市",value:"430900"},{province:"湖南省",text:"郴州市",value:"431000"},{province:"湖南省",text:"永州市",value:"431100"},{province:"湖南省",text:"怀化市",value:"431200"},{province:"湖南省",text:"娄底市",value:"431300"},{province:"湖南省",text:"湘西土家族苗族自治州",value:"433100"}],440000:[{province:"广东省",text:"广州市",value:"440100"},{province:"广东省",text:"韶关市",value:"440200"},{province:"广东省",text:"深圳市",value:"440300"},{province:"广东省",text:"珠海市",value:"440400"},{province:"广东省",text:"汕头市",value:"440500"},{province:"广东省",text:"佛山市",value:"440600"},{province:"广东省",text:"江门市",value:"440700"},{province:"广东省",text:"湛江市",value:"440800"},{province:"广东省",text:"茂名市",value:"440900"},{province:"广东省",text:"肇庆市",value:"441200"},{province:"广东省",text:"惠州市",value:"441300"},{province:"广东省",text:"梅州市",value:"441400"},{province:"广东省",text:"汕尾市",value:"441500"},{province:"广东省",text:"河源市",value:"441600"},{province:"广东省",text:"阳江市",value:"441700"},{province:"广东省",text:"清远市",value:"441800"},{province:"广东省",text:"东莞市",value:"441900"},{province:"广东省",text:"中山市",value:"442000"},{province:"广东省",text:"潮州市",value:"445100"},{province:"广东省",text:"揭阳市",value:"445200"},{province:"广东省",text:"云浮市",value:"445300"}],450000:[{province:"广西壮族自治区",text:"南宁市",value:"450100"},{province:"广西壮族自治区",text:"柳州市",value:"450200"},{province:"广西壮族自治区",text:"桂林市",value:"450300"},{province:"广西壮族自治区",text:"梧州市",value:"450400"},{province:"广西壮族自治区",text:"北海市",value:"450500"},{province:"广西壮族自治区",text:"防城港市",value:"450600"},{province:"广西壮族自治区",text:"钦州市",value:"450700"},{province:"广西壮族自治区",text:"贵港市",value:"450800"},{province:"广西壮族自治区",text:"玉林市",value:"450900"},{province:"广西壮族自治区",text:"百色市",value:"451000"},{province:"广西壮族自治区",text:"贺州市",value:"451100"},{province:"广西壮族自治区",text:"河池市",value:"451200"},{province:"广西壮族自治区",text:"来宾市",value:"451300"},{province:"广西壮族自治区",text:"崇左市",value:"451400"}],460000:[{province:"海南省",text:"海口市",value:"460100"},{province:"海南省",text:"三亚市",value:"460200"},{province:"海南省",text:"三沙市",value:"460300"},{province:"海南省",text:"儋州市",value:"460400"},{province:"海南省",text:"省直辖县级行政区划",value:"469000"}],500000:[{province:"重庆市",text:"重庆市",value:"500100"},{province:"重庆市",text:"县",value:"500200"}],510000:[{province:"四川省",text:"成都市",value:"510100"},{province:"四川省",text:"自贡市",value:"510300"},{province:"四川省",text:"攀枝花市",value:"510400"},{province:"四川省",text:"泸州市",value:"510500"},{province:"四川省",text:"德阳市",value:"510600"},{province:"四川省",text:"绵阳市",value:"510700"},{province:"四川省",text:"广元市",value:"510800"},{province:"四川省",text:"遂宁市",value:"510900"},{province:"四川省",text:"内江市",value:"511000"},{province:"四川省",text:"乐山市",value:"511100"},{province:"四川省",text:"南充市",value:"511300"},{province:"四川省",text:"眉山市",value:"511400"},{province:"四川省",text:"宜宾市",value:"511500"},{province:"四川省",text:"广安市",value:"511600"},{province:"四川省",text:"达州市",value:"511700"},{province:"四川省",text:"雅安市",value:"511800"},{province:"四川省",text:"巴中市",value:"511900"},{province:"四川省",text:"资阳市",value:"512000"},{province:"四川省",text:"阿坝藏族羌族自治州",value:"513200"},{province:"四川省",text:"甘孜藏族自治州",value:"513300"},{province:"四川省",text:"凉山彝族自治州",value:"513400"}],520000:[{province:"贵州省",text:"贵阳市",value:"520100"},{province:"贵州省",text:"六盘水市",value:"520200"},{province:"贵州省",text:"遵义市",value:"520300"},{province:"贵州省",text:"安顺市",value:"520400"},{province:"贵州省",text:"毕节市",value:"520500"},{province:"贵州省",text:"铜仁市",value:"520600"},{province:"贵州省",text:"黔西南布依族苗族自治州",value:"522300"},{province:"贵州省",text:"黔东南苗族侗族自治州",value:"522600"},{province:"贵州省",text:"黔南布依族苗族自治州",value:"522700"}],530000:[{province:"云南省",text:"昆明市",value:"530100"},{province:"云南省",text:"曲靖市",value:"530300"},{province:"云南省",text:"玉溪市",value:"530400"},{province:"云南省",text:"保山市",value:"530500"},{province:"云南省",text:"昭通市",value:"530600"},{province:"云南省",text:"丽江市",value:"530700"},{province:"云南省",text:"普洱市",value:"530800"},{province:"云南省",text:"临沧市",value:"530900"},{province:"云南省",text:"楚雄彝族自治州",value:"532300"},{province:"云南省",text:"红河哈尼族彝族自治州",value:"532500"},{province:"云南省",text:"文山壮族苗族自治州",value:"532600"},{province:"云南省",text:"西双版纳傣族自治州",value:"532800"},{province:"云南省",text:"大理白族自治州",value:"532900"},{province:"云南省",text:"德宏傣族景颇族自治州",value:"533100"},{province:"云南省",text:"怒江傈僳族自治州",value:"533300"},{province:"云南省",text:"迪庆藏族自治州",value:"533400"}],540000:[{province:"西藏自治区",text:"拉萨市",value:"540100"},{province:"西藏自治区",text:"日喀则市",value:"540200"},{province:"西藏自治区",text:"昌都市",value:"540300"},{province:"西藏自治区",text:"林芝市",value:"540400"},{province:"西藏自治区",text:"山南市",value:"540500"},{province:"西藏自治区",text:"那曲地区",value:"542400"},{province:"西藏自治区",text:"阿里地区",value:"542500"}],610000:[{province:"陕西省",text:"西安市",value:"610100"},{province:"陕西省",text:"铜川市",value:"610200"},{province:"陕西省",text:"宝鸡市",value:"610300"},{province:"陕西省",text:"咸阳市",value:"610400"},{province:"陕西省",text:"渭南市",value:"610500"},{province:"陕西省",text:"延安市",value:"610600"},{province:"陕西省",text:"汉中市",value:"610700"},{province:"陕西省",text:"榆林市",value:"610800"},{province:"陕西省",text:"安康市",value:"610900"},{province:"陕西省",text:"商洛市",value:"611000"}],620000:[{province:"甘肃省",text:"兰州市",value:"620100"},{province:"甘肃省",text:"嘉峪关市",value:"620200"},{province:"甘肃省",text:"金昌市",value:"620300"},{province:"甘肃省",text:"白银市",value:"620400"},{province:"甘肃省",text:"天水市",value:"620500"},{province:"甘肃省",text:"武威市",value:"620600"},{province:"甘肃省",text:"张掖市",value:"620700"},{province:"甘肃省",text:"平凉市",value:"620800"},{province:"甘肃省",text:"酒泉市",value:"620900"},{province:"甘肃省",text:"庆阳市",value:"621000"},{province:"甘肃省",text:"定西市",value:"621100"},{province:"甘肃省",text:"陇南市",value:"621200"},{province:"甘肃省",text:"临夏回族自治州",value:"622900"},{province:"甘肃省",text:"甘南藏族自治州",value:"623000"}],630000:[{province:"青海省",text:"西宁市",value:"630100"},{province:"青海省",text:"海东市",value:"630200"},{province:"青海省",text:"海北藏族自治州",value:"632200"},{province:"青海省",text:"黄南藏族自治州",value:"632300"},{province:"青海省",text:"海南藏族自治州",value:"632500"},{province:"青海省",text:"果洛藏族自治州",value:"632600"},{province:"青海省",text:"玉树藏族自治州",value:"632700"},{province:"青海省",text:"海西蒙古族藏族自治州",value:"632800"}],640000:[{province:"宁夏回族自治区",text:"银川市",value:"640100"},{province:"宁夏回族自治区",text:"石嘴山市",value:"640200"},{province:"宁夏回族自治区",text:"吴忠市",value:"640300"},{province:"宁夏回族自治区",text:"固原市",value:"640400"},{province:"宁夏回族自治区",text:"中卫市",value:"640500"}],650000:[{province:"新疆维吾尔自治区",text:"乌鲁木齐市",value:"650100"},{province:"新疆维吾尔自治区",text:"克拉玛依市",value:"650200"},{province:"新疆维吾尔自治区",text:"吐鲁番市",value:"650400"},{province:"新疆维吾尔自治区",text:"哈密市",value:"650500"},{province:"新疆维吾尔自治区",text:"昌吉回族自治州",value:"652300"},{province:"新疆维吾尔自治区",text:"博尔塔拉蒙古自治州",value:"652700"},{province:"新疆维吾尔自治区",text:"巴音郭楞蒙古自治州",value:"652800"},{province:"新疆维吾尔自治区",text:"阿克苏地区",value:"652900"},{province:"新疆维吾尔自治区",text:"克孜勒苏柯尔克孜自治州",value:"653000"},{province:"新疆维吾尔自治区",text:"喀什地区",value:"653100"},{province:"新疆维吾尔自治区",text:"和田地区",value:"653200"},{province:"新疆维吾尔自治区",text:"伊犁哈萨克自治州",value:"654000"},{province:"新疆维吾尔自治区",text:"塔城地区",value:"654200"},{province:"新疆维吾尔自治区",text:"阿勒泰地区",value:"654300"},{province:"新疆维吾尔自治区",text:"自治区直辖县级行政区划",value:"659000"}]},t.areaList={110100:[{city:"市辖区",text:"东城区",value:"110101"},{city:"市辖区",text:"西城区",value:"110102"},{city:"市辖区",text:"朝阳区",value:"110105"},{city:"市辖区",text:"丰台区",value:"110106"},{city:"市辖区",text:"石景山区",value:"110107"},{city:"市辖区",text:"海淀区",value:"110108"},{city:"市辖区",text:"门头沟区",value:"110109"},{city:"市辖区",text:"房山区",value:"110111"},{city:"市辖区",text:"通州区",value:"110112"},{city:"市辖区",text:"顺义区",value:"110113"},{city:"市辖区",text:"昌平区",value:"110114"},{city:"市辖区",text:"大兴区",value:"110115"},{city:"市辖区",text:"怀柔区",value:"110116"},{city:"市辖区",text:"平谷区",value:"110117"},{city:"市辖区",text:"密云区",value:"110118"},{city:"市辖区",text:"延庆区",value:"110119"}],120100:[{city:"市辖区",text:"和平区",value:"120101"},{city:"市辖区",text:"河东区",value:"120102"},{city:"市辖区",text:"河西区",value:"120103"},{city:"市辖区",text:"南开区",value:"120104"},{city:"市辖区",text:"河北区",value:"120105"},{city:"市辖区",text:"红桥区",value:"120106"},{city:"市辖区",text:"东丽区",value:"120110"},{city:"市辖区",text:"西青区",value:"120111"},{city:"市辖区",text:"津南区",value:"120112"},{city:"市辖区",text:"北辰区",value:"120113"},{city:"市辖区",text:"武清区",value:"120114"},{city:"市辖区",text:"宝坻区",value:"120115"},{city:"市辖区",text:"滨海新区",value:"120116"},{city:"市辖区",text:"宁河区",value:"120117"},{city:"市辖区",text:"静海区",value:"120118"},{city:"市辖区",text:"蓟州区",value:"120119"}],130100:[{city:"石家庄市",text:"市辖区",value:"130101"},{city:"石家庄市",text:"长安区",value:"130102"},{city:"石家庄市",text:"桥西区",value:"130104"},{city:"石家庄市",text:"新华区",value:"130105"},{city:"石家庄市",text:"井陉矿区",value:"130107"},{city:"石家庄市",text:"裕华区",value:"130108"},{city:"石家庄市",text:"藁城区",value:"130109"},{city:"石家庄市",text:"鹿泉区",value:"130110"},{city:"石家庄市",text:"栾城区",value:"130111"},{city:"石家庄市",text:"井陉县",value:"130121"},{city:"石家庄市",text:"正定县",value:"130123"},{city:"石家庄市",text:"行唐县",value:"130125"},{city:"石家庄市",text:"灵寿县",value:"130126"},{city:"石家庄市",text:"高邑县",value:"130127"},{city:"石家庄市",text:"深泽县",value:"130128"},{city:"石家庄市",text:"赞皇县",value:"130129"},{city:"石家庄市",text:"无极县",value:"130130"},{city:"石家庄市",text:"平山县",value:"130131"},{city:"石家庄市",text:"元氏县",value:"130132"},{city:"石家庄市",text:"赵县",value:"130133"},{city:"石家庄市",text:"晋州市",value:"130183"},{city:"石家庄市",text:"新乐市",value:"130184"}],130200:[{city:"唐山市",text:"市辖区",value:"130201"},{city:"唐山市",text:"路南区",value:"130202"},{city:"唐山市",text:"路北区",value:"130203"},{city:"唐山市",text:"古冶区",value:"130204"},{city:"唐山市",text:"开平区",value:"130205"},{city:"唐山市",text:"丰南区",value:"130207"},{city:"唐山市",text:"丰润区",value:"130208"},{city:"唐山市",text:"曹妃甸区",value:"130209"},{city:"唐山市",text:"滦县",value:"130223"},{city:"唐山市",text:"滦南县",value:"130224"},{city:"唐山市",text:"乐亭县",value:"130225"},{city:"唐山市",text:"迁西县",value:"130227"},{city:"唐山市",text:"玉田县",value:"130229"},{city:"唐山市",text:"遵化市",value:"130281"},{city:"唐山市",text:"迁安市",value:"130283"}],130300:[{city:"秦皇岛市",text:"市辖区",value:"130301"},{city:"秦皇岛市",text:"海港区",value:"130302"},{city:"秦皇岛市",text:"山海关区",value:"130303"},{city:"秦皇岛市",text:"北戴河区",value:"130304"},{city:"秦皇岛市",text:"抚宁区",value:"130306"},{city:"秦皇岛市",text:"青龙满族自治县",value:"130321"},{city:"秦皇岛市",text:"昌黎县",value:"130322"},{city:"秦皇岛市",text:"卢龙县",value:"130324"}],130400:[{city:"邯郸市",text:"市辖区",value:"130401"},{city:"邯郸市",text:"邯山区",value:"130402"},{city:"邯郸市",text:"丛台区",value:"130403"},{city:"邯郸市",text:"复兴区",value:"130404"},{city:"邯郸市",text:"峰峰矿区",value:"130406"},{city:"邯郸市",text:"邯郸县",value:"130421"},{city:"邯郸市",text:"临漳县",value:"130423"},{city:"邯郸市",text:"成安县",value:"130424"},{city:"邯郸市",text:"大名县",value:"130425"},{city:"邯郸市",text:"涉县",value:"130426"},{city:"邯郸市",text:"磁县",value:"130427"},{city:"邯郸市",text:"肥乡县",value:"130428"},{city:"邯郸市",text:"永年县",value:"130429"},{city:"邯郸市",text:"邱县",value:"130430"},{city:"邯郸市",text:"鸡泽县",value:"130431"},{city:"邯郸市",text:"广平县",value:"130432"},{city:"邯郸市",text:"馆陶县",value:"130433"},{city:"邯郸市",text:"魏县",value:"130434"},{city:"邯郸市",text:"曲周县",value:"130435"},{city:"邯郸市",text:"武安市",value:"130481"}],130500:[{city:"邢台市",text:"市辖区",value:"130501"},{city:"邢台市",text:"桥东区",value:"130502"},{city:"邢台市",text:"桥西区",value:"130503"},{city:"邢台市",text:"邢台县",value:"130521"},{city:"邢台市",text:"临城县",value:"130522"},{city:"邢台市",text:"内丘县",value:"130523"},{city:"邢台市",text:"柏乡县",value:"130524"},{city:"邢台市",text:"隆尧县",value:"130525"},{city:"邢台市",text:"任县",value:"130526"},{city:"邢台市",text:"南和县",value:"130527"},{city:"邢台市",text:"宁晋县",value:"130528"},{city:"邢台市",text:"巨鹿县",value:"130529"},{city:"邢台市",text:"新河县",value:"130530"},{city:"邢台市",text:"广宗县",value:"130531"},{city:"邢台市",text:"平乡县",value:"130532"},{city:"邢台市",text:"威县",value:"130533"},{city:"邢台市",text:"清河县",value:"130534"},{city:"邢台市",text:"临西县",value:"130535"},{city:"邢台市",text:"南宫市",value:"130581"},{city:"邢台市",text:"沙河市",value:"130582"}],130600:[{city:"保定市",text:"市辖区",value:"130601"},{city:"保定市",text:"竞秀区",value:"130602"},{city:"保定市",text:"莲池区",value:"130606"},{city:"保定市",text:"满城区",value:"130607"},{city:"保定市",text:"清苑区",value:"130608"},{city:"保定市",text:"徐水区",value:"130609"},{city:"保定市",text:"涞水县",value:"130623"},{city:"保定市",text:"阜平县",value:"130624"},{city:"保定市",text:"定兴县",value:"130626"},{city:"保定市",text:"唐县",value:"130627"},{city:"保定市",text:"高阳县",value:"130628"},{city:"保定市",text:"容城县",value:"130629"},{city:"保定市",text:"涞源县",value:"130630"},{city:"保定市",text:"望都县",value:"130631"},{city:"保定市",text:"安新县",value:"130632"},{city:"保定市",text:"易县",value:"130633"},{city:"保定市",text:"曲阳县",value:"130634"},{city:"保定市",text:"蠡县",value:"130635"},{city:"保定市",text:"顺平县",value:"130636"},{city:"保定市",text:"博野县",value:"130637"},{city:"保定市",text:"雄县",value:"130638"},{city:"保定市",text:"涿州市",value:"130681"},{city:"保定市",text:"安国市",value:"130683"},{city:"保定市",text:"高碑店市",value:"130684"}],130700:[{city:"张家口市",text:"市辖区",value:"130701"},{city:"张家口市",text:"桥东区",value:"130702"},{city:"张家口市",text:"桥西区",value:"130703"},{city:"张家口市",text:"宣化区",value:"130705"},{city:"张家口市",text:"下花园区",value:"130706"},{city:"张家口市",text:"万全区",value:"130708"},{city:"张家口市",text:"崇礼区",value:"130709"},{city:"张家口市",text:"张北县",value:"130722"},{city:"张家口市",text:"康保县",value:"130723"},{city:"张家口市",text:"沽源县",value:"130724"},{city:"张家口市",text:"尚义县",value:"130725"},{city:"张家口市",text:"蔚县",value:"130726"},{city:"张家口市",text:"阳原县",value:"130727"},{city:"张家口市",text:"怀安县",value:"130728"},{city:"张家口市",text:"怀来县",value:"130730"},{city:"张家口市",text:"涿鹿县",value:"130731"},{city:"张家口市",text:"赤城县",value:"130732"}],130800:[{city:"承德市",text:"市辖区",value:"130801"},{city:"承德市",text:"双桥区",value:"130802"},{city:"承德市",text:"双滦区",value:"130803"},{city:"承德市",text:"鹰手营子矿区",value:"130804"},{city:"承德市",text:"承德县",value:"130821"},{city:"承德市",text:"兴隆县",value:"130822"},{city:"承德市",text:"平泉县",value:"130823"},{city:"承德市",text:"滦平县",value:"130824"},{city:"承德市",text:"隆化县",value:"130825"},{city:"承德市",text:"丰宁满族自治县",value:"130826"},{city:"承德市",text:"宽城满族自治县",value:"130827"},{city:"承德市",text:"围场满族蒙古族自治县",value:"130828"}],130900:[{city:"沧州市",text:"市辖区",value:"130901"},{city:"沧州市",text:"新华区",value:"130902"},{city:"沧州市",text:"运河区",value:"130903"},{city:"沧州市",text:"沧县",value:"130921"},{city:"沧州市",text:"青县",value:"130922"},{city:"沧州市",text:"东光县",value:"130923"},{city:"沧州市",text:"海兴县",value:"130924"},{city:"沧州市",text:"盐山县",value:"130925"},{city:"沧州市",text:"肃宁县",value:"130926"},{city:"沧州市",text:"南皮县",value:"130927"},{city:"沧州市",text:"吴桥县",value:"130928"},{city:"沧州市",text:"献县",value:"130929"},{city:"沧州市",text:"孟村回族自治县",value:"130930"},{city:"沧州市",text:"泊头市",value:"130981"},{city:"沧州市",text:"任丘市",value:"130982"},{city:"沧州市",text:"黄骅市",value:"130983"},{city:"沧州市",text:"河间市",value:"130984"}],131000:[{city:"廊坊市",text:"市辖区",value:"131001"},{city:"廊坊市",text:"安次区",value:"131002"},{city:"廊坊市",text:"广阳区",value:"131003"},{city:"廊坊市",text:"固安县",value:"131022"},{city:"廊坊市",text:"永清县",value:"131023"},{city:"廊坊市",text:"香河县",value:"131024"},{city:"廊坊市",text:"大城县",value:"131025"},{city:"廊坊市",text:"文安县",value:"131026"},{city:"廊坊市",text:"大厂回族自治县",value:"131028"},{city:"廊坊市",text:"霸州市",value:"131081"},{city:"廊坊市",text:"三河市",value:"131082"}],131100:[{city:"衡水市",text:"市辖区",value:"131101"},{city:"衡水市",text:"桃城区",value:"131102"},{city:"衡水市",text:"冀州区",value:"131103"},{city:"衡水市",text:"枣强县",value:"131121"},{city:"衡水市",text:"武邑县",value:"131122"},{city:"衡水市",text:"武强县",value:"131123"},{city:"衡水市",text:"饶阳县",value:"131124"},{city:"衡水市",text:"安平县",value:"131125"},{city:"衡水市",text:"故城县",value:"131126"},{city:"衡水市",text:"景县",value:"131127"},{city:"衡水市",text:"阜城县",value:"131128"},{city:"衡水市",text:"深州市",value:"131182"}],139000:[{city:"省直辖县级行政区划",text:"定州市",value:"139001"},{city:"省直辖县级行政区划",text:"辛集市",value:"139002"}],140100:[{city:"太原市",text:"市辖区",value:"140101"},{city:"太原市",text:"小店区",value:"140105"},{city:"太原市",text:"迎泽区",value:"140106"},{city:"太原市",text:"杏花岭区",value:"140107"},{city:"太原市",text:"尖草坪区",value:"140108"},{city:"太原市",text:"万柏林区",value:"140109"},{city:"太原市",text:"晋源区",value:"140110"},{city:"太原市",text:"清徐县",value:"140121"},{city:"太原市",text:"阳曲县",value:"140122"},{city:"太原市",text:"娄烦县",value:"140123"},{city:"太原市",text:"古交市",value:"140181"}],140200:[{city:"大同市",text:"市辖区",value:"140201"},{city:"大同市",text:"城区",value:"140202"},{city:"大同市",text:"矿区",value:"140203"},{city:"大同市",text:"南郊区",value:"140211"},{city:"大同市",text:"新荣区",value:"140212"},{city:"大同市",text:"阳高县",value:"140221"},{city:"大同市",text:"天镇县",value:"140222"},{city:"大同市",text:"广灵县",value:"140223"},{city:"大同市",text:"灵丘县",value:"140224"},{city:"大同市",text:"浑源县",value:"140225"},{city:"大同市",text:"左云县",value:"140226"},{city:"大同市",text:"大同县",value:"140227"}],140300:[{city:"阳泉市",text:"市辖区",value:"140301"},{city:"阳泉市",text:"城区",value:"140302"},{city:"阳泉市",text:"矿区",value:"140303"},{city:"阳泉市",text:"郊区",value:"140311"},{city:"阳泉市",text:"平定县",value:"140321"},{city:"阳泉市",text:"盂县",value:"140322"}],140400:[{city:"长治市",text:"市辖区",value:"140401"},{city:"长治市",text:"城区",value:"140402"},{city:"长治市",text:"郊区",value:"140411"},{city:"长治市",text:"长治县",value:"140421"},{city:"长治市",text:"襄垣县",value:"140423"},{city:"长治市",text:"屯留县",value:"140424"},{city:"长治市",text:"平顺县",value:"140425"},{city:"长治市",text:"黎城县",value:"140426"},{city:"长治市",text:"壶关县",value:"140427"},{city:"长治市",text:"长子县",value:"140428"},{city:"长治市",text:"武乡县",value:"140429"},{city:"长治市",text:"沁县",value:"140430"},{city:"长治市",text:"沁源县",value:"140431"},{city:"长治市",text:"潞城市",value:"140481"}],140500:[{city:"晋城市",text:"市辖区",value:"140501"},{city:"晋城市",text:"城区",value:"140502"},{city:"晋城市",text:"沁水县",value:"140521"},{city:"晋城市",text:"阳城县",value:"140522"},{city:"晋城市",text:"陵川县",value:"140524"},{city:"晋城市",text:"泽州县",value:"140525"},{city:"晋城市",text:"高平市",value:"140581"}],140600:[{city:"朔州市",text:"市辖区",value:"140601"},{city:"朔州市",text:"朔城区",value:"140602"},{city:"朔州市",text:"平鲁区",value:"140603"},{city:"朔州市",text:"山阴县",value:"140621"},{city:"朔州市",text:"应县",value:"140622"},{city:"朔州市",text:"右玉县",value:"140623"},{city:"朔州市",text:"怀仁县",value:"140624"}],140700:[{city:"晋中市",text:"市辖区",value:"140701"},{city:"晋中市",text:"榆次区",value:"140702"},{city:"晋中市",text:"榆社县",value:"140721"},{city:"晋中市",text:"左权县",value:"140722"},{city:"晋中市",text:"和顺县",value:"140723"},{city:"晋中市",text:"昔阳县",value:"140724"},{city:"晋中市",text:"寿阳县",value:"140725"},{city:"晋中市",text:"太谷县",value:"140726"},{city:"晋中市",text:"祁县",value:"140727"},{city:"晋中市",text:"平遥县",value:"140728"},{city:"晋中市",text:"灵石县",value:"140729"},{city:"晋中市",text:"介休市",value:"140781"}],140800:[{city:"运城市",text:"市辖区",value:"140801"},{city:"运城市",text:"盐湖区",value:"140802"},{city:"运城市",text:"临猗县",value:"140821"},{city:"运城市",text:"万荣县",value:"140822"},{city:"运城市",text:"闻喜县",value:"140823"},{city:"运城市",text:"稷山县",value:"140824"},{city:"运城市",text:"新绛县",value:"140825"},{city:"运城市",text:"绛县",value:"140826"},{city:"运城市",text:"垣曲县",value:"140827"},{city:"运城市",text:"夏县",value:"140828"},{city:"运城市",text:"平陆县",value:"140829"},{city:"运城市",text:"芮城县",value:"140830"},{city:"运城市",text:"永济市",value:"140881"},{city:"运城市",text:"河津市",value:"140882"}],140900:[{city:"忻州市",text:"市辖区",value:"140901"},{city:"忻州市",text:"忻府区",value:"140902"},{city:"忻州市",text:"定襄县",value:"140921"},{city:"忻州市",text:"五台县",value:"140922"},{city:"忻州市",text:"代县",value:"140923"},{city:"忻州市",text:"繁峙县",value:"140924"},{city:"忻州市",text:"宁武县",value:"140925"},{city:"忻州市",text:"静乐县",value:"140926"},{city:"忻州市",text:"神池县",value:"140927"},{city:"忻州市",text:"五寨县",value:"140928"},{city:"忻州市",text:"岢岚县",value:"140929"},{city:"忻州市",text:"河曲县",value:"140930"},{city:"忻州市",text:"保德县",value:"140931"},{city:"忻州市",text:"偏关县",value:"140932"},{city:"忻州市",text:"原平市",value:"140981"}],141000:[{city:"临汾市",text:"市辖区",value:"141001"},{city:"临汾市",text:"尧都区",value:"141002"},{city:"临汾市",text:"曲沃县",value:"141021"},{city:"临汾市",text:"翼城县",value:"141022"},{city:"临汾市",text:"襄汾县",value:"141023"},{city:"临汾市",text:"洪洞县",value:"141024"},{city:"临汾市",text:"古县",value:"141025"},{city:"临汾市",text:"安泽县",value:"141026"},{city:"临汾市",text:"浮山县",value:"141027"},{city:"临汾市",text:"吉县",value:"141028"},{city:"临汾市",text:"乡宁县",value:"141029"},{city:"临汾市",text:"大宁县",value:"141030"},{city:"临汾市",text:"隰县",value:"141031"},{city:"临汾市",text:"永和县",value:"141032"},{city:"临汾市",text:"蒲县",value:"141033"},{city:"临汾市",text:"汾西县",value:"141034"},{city:"临汾市",text:"侯马市",value:"141081"},{city:"临汾市",text:"霍州市",value:"141082"}],141100:[{city:"吕梁市",text:"市辖区",value:"141101"},{city:"吕梁市",text:"离石区",value:"141102"},{city:"吕梁市",text:"文水县",value:"141121"},{city:"吕梁市",text:"交城县",value:"141122"},{city:"吕梁市",text:"兴县",value:"141123"},{city:"吕梁市",text:"临县",value:"141124"},{city:"吕梁市",text:"柳林县",value:"141125"},{city:"吕梁市",text:"石楼县",value:"141126"},{city:"吕梁市",text:"岚县",value:"141127"},{city:"吕梁市",text:"方山县",value:"141128"},{city:"吕梁市",text:"中阳县",value:"141129"},{city:"吕梁市",text:"交口县",value:"141130"},{city:"吕梁市",text:"孝义市",value:"141181"},{city:"吕梁市",text:"汾阳市",value:"141182"}],150100:[{city:"呼和浩特市",text:"市辖区",value:"150101"},{city:"呼和浩特市",text:"新城区",value:"150102"},{city:"呼和浩特市",text:"回民区",value:"150103"},{city:"呼和浩特市",text:"玉泉区",value:"150104"},{city:"呼和浩特市",text:"赛罕区",value:"150105"},{city:"呼和浩特市",text:"土默特左旗",value:"150121"},{city:"呼和浩特市",text:"托克托县",value:"150122"},{city:"呼和浩特市",text:"和林格尔县",value:"150123"},{city:"呼和浩特市",text:"清水河县",value:"150124"},{city:"呼和浩特市",text:"武川县",value:"150125"}],150200:[{city:"包头市",text:"市辖区",value:"150201"},{city:"包头市",text:"东河区",value:"150202"},{city:"包头市",text:"昆都仑区",value:"150203"},{city:"包头市",text:"青山区",value:"150204"},{city:"包头市",text:"石拐区",value:"150205"},{city:"包头市",text:"白云鄂博矿区",value:"150206"},{city:"包头市",text:"九原区",value:"150207"},{city:"包头市",text:"土默特右旗",value:"150221"},{city:"包头市",text:"固阳县",value:"150222"},{city:"包头市",text:"达尔罕茂明安联合旗",value:"150223"}],150300:[{city:"乌海市",text:"市辖区",value:"150301"},{city:"乌海市",text:"海勃湾区",value:"150302"},{city:"乌海市",text:"海南区",value:"150303"},{city:"乌海市",text:"乌达区",value:"150304"}],150400:[{city:"赤峰市",text:"市辖区",value:"150401"},{city:"赤峰市",text:"红山区",value:"150402"},{city:"赤峰市",text:"元宝山区",value:"150403"},{city:"赤峰市",text:"松山区",value:"150404"},{city:"赤峰市",text:"阿鲁科尔沁旗",value:"150421"},{city:"赤峰市",text:"巴林左旗",value:"150422"},{city:"赤峰市",text:"巴林右旗",value:"150423"},{city:"赤峰市",text:"林西县",value:"150424"},{city:"赤峰市",text:"克什克腾旗",value:"150425"},{city:"赤峰市",text:"翁牛特旗",value:"150426"},{city:"赤峰市",text:"喀喇沁旗",value:"150428"},{city:"赤峰市",text:"宁城县",value:"150429"},{city:"赤峰市",text:"敖汉旗",value:"150430"}],150500:[{city:"通辽市",text:"市辖区",value:"150501"},{city:"通辽市",text:"科尔沁区",value:"150502"},{city:"通辽市",text:"科尔沁左翼中旗",value:"150521"},{city:"通辽市",text:"科尔沁左翼后旗",value:"150522"},{city:"通辽市",text:"开鲁县",value:"150523"},{city:"通辽市",text:"库伦旗",value:"150524"},{city:"通辽市",text:"奈曼旗",value:"150525"},{city:"通辽市",text:"扎鲁特旗",value:"150526"},{city:"通辽市",text:"霍林郭勒市",value:"150581"}],150600:[{city:"鄂尔多斯市",text:"市辖区",value:"150601"},{city:"鄂尔多斯市",text:"东胜区",value:"150602"},{city:"鄂尔多斯市",text:"康巴什区",value:"150603"},{city:"鄂尔多斯市",text:"达拉特旗",value:"150621"},{city:"鄂尔多斯市",text:"准格尔旗",value:"150622"},{city:"鄂尔多斯市",text:"鄂托克前旗",value:"150623"},{city:"鄂尔多斯市",text:"鄂托克旗",value:"150624"},{city:"鄂尔多斯市",text:"杭锦旗",value:"150625"},{city:"鄂尔多斯市",text:"乌审旗",value:"150626"},{city:"鄂尔多斯市",text:"伊金霍洛旗",value:"150627"}],150700:[{city:"呼伦贝尔市",text:"市辖区",value:"150701"},{city:"呼伦贝尔市",text:"海拉尔区",value:"150702"},{city:"呼伦贝尔市",text:"扎赉诺尔区",value:"150703"},{city:"呼伦贝尔市",text:"阿荣旗",value:"150721"},{city:"呼伦贝尔市",text:"莫力达瓦达斡尔族自治旗",value:"150722"},{city:"呼伦贝尔市",text:"鄂伦春自治旗",value:"150723"},{city:"呼伦贝尔市",text:"鄂温克族自治旗",value:"150724"},{city:"呼伦贝尔市",text:"陈巴尔虎旗",value:"150725"},{city:"呼伦贝尔市",text:"新巴尔虎左旗",value:"150726"},{city:"呼伦贝尔市",text:"新巴尔虎右旗",value:"150727"},{city:"呼伦贝尔市",text:"满洲里市",value:"150781"},{city:"呼伦贝尔市",text:"牙克石市",value:"150782"},{city:"呼伦贝尔市",text:"扎兰屯市",value:"150783"},{city:"呼伦贝尔市",text:"额尔古纳市",value:"150784"},{city:"呼伦贝尔市",text:"根河市",value:"150785"}],150800:[{city:"巴彦淖尔市",text:"市辖区",value:"150801"},{city:"巴彦淖尔市",text:"临河区",value:"150802"},{city:"巴彦淖尔市",text:"五原县",value:"150821"},{city:"巴彦淖尔市",text:"磴口县",value:"150822"},{city:"巴彦淖尔市",text:"乌拉特前旗",value:"150823"},{city:"巴彦淖尔市",text:"乌拉特中旗",value:"150824"},{city:"巴彦淖尔市",text:"乌拉特后旗",value:"150825"},{city:"巴彦淖尔市",text:"杭锦后旗",value:"150826"}],150900:[{city:"乌兰察布市",text:"市辖区",value:"150901"},{city:"乌兰察布市",text:"集宁区",value:"150902"},{city:"乌兰察布市",text:"卓资县",value:"150921"},{city:"乌兰察布市",text:"化德县",value:"150922"},{city:"乌兰察布市",text:"商都县",value:"150923"},{city:"乌兰察布市",text:"兴和县",value:"150924"},{city:"乌兰察布市",text:"凉城县",value:"150925"},{city:"乌兰察布市",text:"察哈尔右翼前旗",value:"150926"},{city:"乌兰察布市",text:"察哈尔右翼中旗",value:"150927"},{city:"乌兰察布市",text:"察哈尔右翼后旗",value:"150928"},{city:"乌兰察布市",text:"四子王旗",value:"150929"},{city:"乌兰察布市",text:"丰镇市",value:"150981"}],152200:[{city:"兴安盟",text:"乌兰浩特市",value:"152201"},{city:"兴安盟",text:"阿尔山市",value:"152202"},{city:"兴安盟",text:"科尔沁右翼前旗",value:"152221"},{city:"兴安盟",text:"科尔沁右翼中旗",value:"152222"},{city:"兴安盟",text:"扎赉特旗",value:"152223"},{city:"兴安盟",text:"突泉县",value:"152224"}],152500:[{city:"锡林郭勒盟",text:"二连浩特市",value:"152501"},{city:"锡林郭勒盟",text:"锡林浩特市",value:"152502"},{city:"锡林郭勒盟",text:"阿巴嘎旗",value:"152522"},{city:"锡林郭勒盟",text:"苏尼特左旗",value:"152523"},{city:"锡林郭勒盟",text:"苏尼特右旗",value:"152524"},{city:"锡林郭勒盟",text:"东乌珠穆沁旗",value:"152525"},{city:"锡林郭勒盟",text:"西乌珠穆沁旗",value:"152526"},{city:"锡林郭勒盟",text:"太仆寺旗",value:"152527"},{city:"锡林郭勒盟",text:"镶黄旗",value:"152528"},{city:"锡林郭勒盟",text:"正镶白旗",value:"152529"},{city:"锡林郭勒盟",text:"正蓝旗",value:"152530"},{city:"锡林郭勒盟",text:"多伦县",value:"152531"}],152900:[{city:"阿拉善盟",text:"阿拉善左旗",value:"152921"},{city:"阿拉善盟",text:"阿拉善右旗",value:"152922"},{city:"阿拉善盟",text:"额济纳旗",value:"152923"}],210100:[{city:"沈阳市",text:"市辖区",value:"210101"},{city:"沈阳市",text:"和平区",value:"210102"},{city:"沈阳市",text:"沈河区",value:"210103"},{city:"沈阳市",text:"大东区",value:"210104"},{city:"沈阳市",text:"皇姑区",value:"210105"},{city:"沈阳市",text:"铁西区",value:"210106"},{city:"沈阳市",text:"苏家屯区",value:"210111"},{city:"沈阳市",text:"浑南区",value:"210112"},{city:"沈阳市",text:"沈北新区",value:"210113"},{city:"沈阳市",text:"于洪区",value:"210114"},{city:"沈阳市",text:"辽中区",value:"210115"},{city:"沈阳市",text:"康平县",value:"210123"},{city:"沈阳市",text:"法库县",value:"210124"},{city:"沈阳市",text:"新民市",value:"210181"}],210200:[{city:"大连市",text:"市辖区",value:"210201"},{city:"大连市",text:"中山区",value:"210202"},{city:"大连市",text:"西岗区",value:"210203"},{city:"大连市",text:"沙河口区",value:"210204"},{city:"大连市",text:"甘井子区",value:"210211"},{city:"大连市",text:"旅顺口区",value:"210212"},{city:"大连市",text:"金州区",value:"210213"},{city:"大连市",text:"普兰店区",value:"210214"},{city:"大连市",text:"长海县",value:"210224"},{city:"大连市",text:"瓦房店市",value:"210281"},{city:"大连市",text:"庄河市",value:"210283"}],210300:[{city:"鞍山市",text:"市辖区",value:"210301"},{city:"鞍山市",text:"铁东区",value:"210302"},{city:"鞍山市",text:"铁西区",value:"210303"},{city:"鞍山市",text:"立山区",value:"210304"},{city:"鞍山市",text:"千山区",value:"210311"},{city:"鞍山市",text:"台安县",value:"210321"},{city:"鞍山市",text:"岫岩满族自治县",value:"210323"},{city:"鞍山市",text:"海城市",value:"210381"}],210400:[{city:"抚顺市",text:"市辖区",value:"210401"},{city:"抚顺市",text:"新抚区",value:"210402"},{city:"抚顺市",text:"东洲区",value:"210403"},{city:"抚顺市",text:"望花区",value:"210404"},{city:"抚顺市",text:"顺城区",value:"210411"},{city:"抚顺市",text:"抚顺县",value:"210421"},{city:"抚顺市",text:"新宾满族自治县",value:"210422"},{city:"抚顺市",text:"清原满族自治县",value:"210423"}],210500:[{city:"本溪市",text:"市辖区",value:"210501"},{city:"本溪市",text:"平山区",value:"210502"},{city:"本溪市",text:"溪湖区",value:"210503"},{city:"本溪市",text:"明山区",value:"210504"},{city:"本溪市",text:"南芬区",value:"210505"},{city:"本溪市",text:"本溪满族自治县",value:"210521"},{city:"本溪市",text:"桓仁满族自治县",value:"210522"}],210600:[{city:"丹东市",text:"市辖区",value:"210601"},{city:"丹东市",text:"元宝区",value:"210602"},{city:"丹东市",text:"振兴区",value:"210603"},{city:"丹东市",text:"振安区",value:"210604"},{city:"丹东市",text:"宽甸满族自治县",value:"210624"},{city:"丹东市",text:"东港市",value:"210681"},{city:"丹东市",text:"凤城市",value:"210682"}],210700:[{city:"锦州市",text:"市辖区",value:"210701"},{city:"锦州市",text:"古塔区",value:"210702"},{city:"锦州市",text:"凌河区",value:"210703"},{city:"锦州市",text:"太和区",value:"210711"},{city:"锦州市",text:"黑山县",value:"210726"},{city:"锦州市",text:"义县",value:"210727"},{city:"锦州市",text:"凌海市",value:"210781"},{city:"锦州市",text:"北镇市",value:"210782"}],210800:[{city:"营口市",text:"市辖区",value:"210801"},{city:"营口市",text:"站前区",value:"210802"},{city:"营口市",text:"西市区",value:"210803"},{city:"营口市",text:"鲅鱼圈区",value:"210804"},{city:"营口市",text:"老边区",value:"210811"},{city:"营口市",text:"盖州市",value:"210881"},{city:"营口市",text:"大石桥市",value:"210882"}],210900:[{city:"阜新市",text:"市辖区",value:"210901"},{city:"阜新市",text:"海州区",value:"210902"},{city:"阜新市",text:"新邱区",value:"210903"},{city:"阜新市",text:"太平区",value:"210904"},{city:"阜新市",text:"清河门区",value:"210905"},{city:"阜新市",text:"细河区",value:"210911"},{city:"阜新市",text:"阜新蒙古族自治县",value:"210921"},{city:"阜新市",text:"彰武县",value:"210922"}],211000:[{city:"辽阳市",text:"市辖区",value:"211001"},{city:"辽阳市",text:"白塔区",value:"211002"},{city:"辽阳市",text:"文圣区",value:"211003"},{city:"辽阳市",text:"宏伟区",value:"211004"},{city:"辽阳市",text:"弓长岭区",value:"211005"},{city:"辽阳市",text:"太子河区",value:"211011"},{city:"辽阳市",text:"辽阳县",value:"211021"},{city:"辽阳市",text:"灯塔市",value:"211081"}],211100:[{city:"盘锦市",text:"市辖区",value:"211101"},{city:"盘锦市",text:"双台子区",value:"211102"},{city:"盘锦市",text:"兴隆台区",value:"211103"},{city:"盘锦市",text:"大洼区",value:"211104"},{city:"盘锦市",text:"盘山县",value:"211122"}],211200:[{city:"铁岭市",text:"市辖区",value:"211201"},{city:"铁岭市",text:"银州区",value:"211202"},{city:"铁岭市",text:"清河区",value:"211204"},{city:"铁岭市",text:"铁岭县",value:"211221"},{city:"铁岭市",text:"西丰县",value:"211223"},{city:"铁岭市",text:"昌图县",value:"211224"},{city:"铁岭市",text:"调兵山市",value:"211281"},{city:"铁岭市",text:"开原市",value:"211282"}],211300:[{city:"朝阳市",text:"市辖区",value:"211301"},{city:"朝阳市",text:"双塔区",value:"211302"},{city:"朝阳市",text:"龙城区",value:"211303"},{city:"朝阳市",text:"朝阳县",value:"211321"},{city:"朝阳市",text:"建平县",value:"211322"},{city:"朝阳市",text:"喀喇沁左翼蒙古族自治县",value:"211324"},{city:"朝阳市",text:"北票市",value:"211381"},{city:"朝阳市",text:"凌源市",value:"211382"}],211400:[{city:"葫芦岛市",text:"市辖区",value:"211401"},{city:"葫芦岛市",text:"连山区",value:"211402"},{city:"葫芦岛市",text:"龙港区",value:"211403"},{city:"葫芦岛市",text:"南票区",value:"211404"},{city:"葫芦岛市",text:"绥中县",value:"211421"},{city:"葫芦岛市",text:"建昌县",value:"211422"},{city:"葫芦岛市",text:"兴城市",value:"211481"}],220100:[{city:"长春市",text:"市辖区",value:"220101"},{city:"长春市",text:"南关区",value:"220102"},{city:"长春市",text:"宽城区",value:"220103"},{city:"长春市",text:"朝阳区",value:"220104"},{city:"长春市",text:"二道区",value:"220105"},{city:"长春市",text:"绿园区",value:"220106"},{city:"长春市",text:"双阳区",value:"220112"},{city:"长春市",text:"九台区",value:"220113"},{city:"长春市",text:"农安县",value:"220122"},{city:"长春市",text:"榆树市",value:"220182"},{city:"长春市",text:"德惠市",value:"220183"}],220200:[{city:"吉林市",text:"市辖区",value:"220201"},{city:"吉林市",text:"昌邑区",value:"220202"},{city:"吉林市",text:"龙潭区",value:"220203"},{city:"吉林市",text:"船营区",value:"220204"},{city:"吉林市",text:"丰满区",value:"220211"},{city:"吉林市",text:"永吉县",value:"220221"},{city:"吉林市",text:"蛟河市",value:"220281"},{city:"吉林市",text:"桦甸市",value:"220282"},{city:"吉林市",text:"舒兰市",value:"220283"},{city:"吉林市",text:"磐石市",value:"220284"}],220300:[{city:"四平市",text:"市辖区",value:"220301"},{city:"四平市",text:"铁西区",value:"220302"},{city:"四平市",text:"铁东区",value:"220303"},{city:"四平市",text:"梨树县",value:"220322"},{city:"四平市",text:"伊通满族自治县",value:"220323"},{city:"四平市",text:"公主岭市",value:"220381"},{city:"四平市",text:"双辽市",value:"220382"}],220400:[{city:"辽源市",text:"市辖区",value:"220401"},{city:"辽源市",text:"龙山区",value:"220402"},{city:"辽源市",text:"西安区",value:"220403"},{city:"辽源市",text:"东丰县",value:"220421"},{city:"辽源市",text:"东辽县",value:"220422"}],220500:[{city:"通化市",text:"市辖区",value:"220501"},{city:"通化市",text:"东昌区",value:"220502"},{city:"通化市",text:"二道江区",value:"220503"},{city:"通化市",text:"通化县",value:"220521"},{city:"通化市",text:"辉南县",value:"220523"},{city:"通化市",text:"柳河县",value:"220524"},{city:"通化市",text:"梅河口市",value:"220581"},{city:"通化市",text:"集安市",value:"220582"}],220600:[{city:"白山市",text:"市辖区",value:"220601"},{city:"白山市",text:"浑江区",value:"220602"},{city:"白山市",text:"江源区",value:"220605"},{city:"白山市",text:"抚松县",value:"220621"},{city:"白山市",text:"靖宇县",value:"220622"},{city:"白山市",text:"长白朝鲜族自治县",value:"220623"},{city:"白山市",text:"临江市",value:"220681"}],220700:[{city:"松原市",text:"市辖区",value:"220701"},{city:"松原市",text:"宁江区",value:"220702"},{city:"松原市",text:"前郭尔罗斯蒙古族自治县",value:"220721"},{city:"松原市",text:"长岭县",value:"220722"},{city:"松原市",text:"乾安县",value:"220723"},{city:"松原市",text:"扶余市",value:"220781"}],220800:[{city:"白城市",text:"市辖区",value:"220801"},{city:"白城市",text:"洮北区",value:"220802"},{city:"白城市",text:"镇赉县",value:"220821"},{city:"白城市",text:"通榆县",value:"220822"},{city:"白城市",text:"洮南市",value:"220881"},{city:"白城市",text:"大安市",value:"220882"}],222400:[{city:"延边朝鲜族自治州",text:"延吉市",value:"222401"},{city:"延边朝鲜族自治州",text:"图们市",value:"222402"},{city:"延边朝鲜族自治州",text:"敦化市",value:"222403"},{city:"延边朝鲜族自治州",text:"珲春市",value:"222404"},{city:"延边朝鲜族自治州",text:"龙井市",value:"222405"},{city:"延边朝鲜族自治州",text:"和龙市",value:"222406"},{city:"延边朝鲜族自治州",text:"汪清县",value:"222424"},{city:"延边朝鲜族自治州",text:"安图县",value:"222426"}],230100:[{city:"哈尔滨市",text:"市辖区",value:"230101"},{city:"哈尔滨市",text:"道里区",value:"230102"},{city:"哈尔滨市",text:"南岗区",value:"230103"},{city:"哈尔滨市",text:"道外区",value:"230104"},{city:"哈尔滨市",text:"平房区",value:"230108"},{city:"哈尔滨市",text:"松北区",value:"230109"},{city:"哈尔滨市",text:"香坊区",value:"230110"},{city:"哈尔滨市",text:"呼兰区",value:"230111"},{city:"哈尔滨市",text:"阿城区",value:"230112"},{city:"哈尔滨市",text:"双城区",value:"230113"},{city:"哈尔滨市",text:"依兰县",value:"230123"},{city:"哈尔滨市",text:"方正县",value:"230124"},{city:"哈尔滨市",text:"宾县",value:"230125"},{city:"哈尔滨市",text:"巴彦县",value:"230126"},{city:"哈尔滨市",text:"木兰县",value:"230127"},{city:"哈尔滨市",text:"通河县",value:"230128"},{city:"哈尔滨市",text:"延寿县",value:"230129"},{city:"哈尔滨市",text:"尚志市",value:"230183"},{city:"哈尔滨市",text:"五常市",value:"230184"}],230200:[{city:"齐齐哈尔市",text:"市辖区",value:"230201"},{city:"齐齐哈尔市",text:"龙沙区",value:"230202"},{city:"齐齐哈尔市",text:"建华区",value:"230203"},{city:"齐齐哈尔市",text:"铁锋区",value:"230204"},{city:"齐齐哈尔市",text:"昂昂溪区",value:"230205"},{city:"齐齐哈尔市",text:"富拉尔基区",value:"230206"},{city:"齐齐哈尔市",text:"碾子山区",value:"230207"},{city:"齐齐哈尔市",text:"梅里斯达斡尔族区",value:"230208"},{city:"齐齐哈尔市",text:"龙江县",value:"230221"},{city:"齐齐哈尔市",text:"依安县",value:"230223"},{city:"齐齐哈尔市",text:"泰来县",value:"230224"},{city:"齐齐哈尔市",text:"甘南县",value:"230225"},{city:"齐齐哈尔市",text:"富裕县",value:"230227"},{city:"齐齐哈尔市",text:"克山县",value:"230229"},{city:"齐齐哈尔市",text:"克东县",value:"230230"},{city:"齐齐哈尔市",text:"拜泉县",value:"230231"},{city:"齐齐哈尔市",text:"讷河市",value:"230281"}],230300:[{city:"鸡西市",text:"市辖区",value:"230301"},{city:"鸡西市",text:"鸡冠区",value:"230302"},{city:"鸡西市",text:"恒山区",value:"230303"},{city:"鸡西市",text:"滴道区",value:"230304"},{city:"鸡西市",text:"梨树区",value:"230305"},{city:"鸡西市",text:"城子河区",value:"230306"},{city:"鸡西市",text:"麻山区",value:"230307"},{city:"鸡西市",text:"鸡东县",value:"230321"},{city:"鸡西市",text:"虎林市",value:"230381"},{city:"鸡西市",text:"密山市",value:"230382"}],230400:[{city:"鹤岗市",text:"市辖区",value:"230401"},{city:"鹤岗市",text:"向阳区",value:"230402"},{city:"鹤岗市",text:"工农区",value:"230403"},{city:"鹤岗市",text:"南山区",value:"230404"},{city:"鹤岗市",text:"兴安区",value:"230405"},{city:"鹤岗市",text:"东山区",value:"230406"},{city:"鹤岗市",text:"兴山区",value:"230407"},{city:"鹤岗市",text:"萝北县",value:"230421"},{city:"鹤岗市",text:"绥滨县",value:"230422"}],230500:[{city:"双鸭山市",text:"市辖区",value:"230501"},{city:"双鸭山市",text:"尖山区",value:"230502"},{city:"双鸭山市",text:"岭东区",value:"230503"},{city:"双鸭山市",text:"四方台区",value:"230505"},{city:"双鸭山市",text:"宝山区",value:"230506"},{city:"双鸭山市",text:"集贤县",value:"230521"},{city:"双鸭山市",text:"友谊县",value:"230522"},{city:"双鸭山市",text:"宝清县",value:"230523"},{city:"双鸭山市",text:"饶河县",value:"230524"}],230600:[{city:"大庆市",text:"市辖区",value:"230601"},{city:"大庆市",text:"萨尔图区",value:"230602"},{city:"大庆市",text:"龙凤区",value:"230603"},{city:"大庆市",text:"让胡路区",value:"230604"},{city:"大庆市",text:"红岗区",value:"230605"},{city:"大庆市",text:"大同区",value:"230606"},{city:"大庆市",text:"肇州县",value:"230621"},{city:"大庆市",text:"肇源县",value:"230622"},{city:"大庆市",text:"林甸县",value:"230623"},{city:"大庆市",text:"杜尔伯特蒙古族自治县",value:"230624"}],230700:[{city:"伊春市",text:"市辖区",value:"230701"},{city:"伊春市",text:"伊春区",value:"230702"},{city:"伊春市",text:"南岔区",value:"230703"},{city:"伊春市",text:"友好区",value:"230704"},{city:"伊春市",text:"西林区",value:"230705"},{city:"伊春市",text:"翠峦区",value:"230706"},{city:"伊春市",text:"新青区",value:"230707"},{city:"伊春市",text:"美溪区",value:"230708"},{city:"伊春市",text:"金山屯区",value:"230709"},{city:"伊春市",text:"五营区",value:"230710"},{city:"伊春市",text:"乌马河区",value:"230711"},{city:"伊春市",text:"汤旺河区",value:"230712"},{city:"伊春市",text:"带岭区",value:"230713"},{city:"伊春市",text:"乌伊岭区",value:"230714"},{city:"伊春市",text:"红星区",value:"230715"},{city:"伊春市",text:"上甘岭区",value:"230716"},{city:"伊春市",text:"嘉荫县",value:"230722"},{city:"伊春市",text:"铁力市",value:"230781"}],230800:[{city:"佳木斯市",text:"市辖区",value:"230801"},{city:"佳木斯市",text:"向阳区",value:"230803"},{city:"佳木斯市",text:"前进区",value:"230804"},{city:"佳木斯市",text:"东风区",value:"230805"},{city:"佳木斯市",text:"郊区",value:"230811"},{city:"佳木斯市",text:"桦南县",value:"230822"},{city:"佳木斯市",text:"桦川县",value:"230826"},{city:"佳木斯市",text:"汤原县",value:"230828"},{city:"佳木斯市",text:"同江市",value:"230881"},{city:"佳木斯市",text:"富锦市",value:"230882"},{city:"佳木斯市",text:"抚远市",value:"230883"}],230900:[{city:"七台河市",text:"市辖区",value:"230901"},{city:"七台河市",text:"新兴区",value:"230902"},{city:"七台河市",text:"桃山区",value:"230903"},{city:"七台河市",text:"茄子河区",value:"230904"},{city:"七台河市",text:"勃利县",value:"230921"}],231000:[{city:"牡丹江市",text:"市辖区",value:"231001"},{city:"牡丹江市",text:"东安区",value:"231002"},{city:"牡丹江市",text:"阳明区",value:"231003"},{city:"牡丹江市",text:"爱民区",value:"231004"},{city:"牡丹江市",text:"西安区",value:"231005"},{city:"牡丹江市",text:"林口县",value:"231025"},{city:"牡丹江市",text:"绥芬河市",value:"231081"},{city:"牡丹江市",text:"海林市",value:"231083"},{city:"牡丹江市",text:"宁安市",value:"231084"},{city:"牡丹江市",text:"穆棱市",value:"231085"},{city:"牡丹江市",text:"东宁市",value:"231086"}],231100:[{city:"黑河市",text:"市辖区",value:"231101"},{city:"黑河市",text:"爱辉区",value:"231102"},{city:"黑河市",text:"嫩江县",value:"231121"},{city:"黑河市",text:"逊克县",value:"231123"},{city:"黑河市",text:"孙吴县",value:"231124"},{city:"黑河市",text:"北安市",value:"231181"},{city:"黑河市",text:"五大连池市",value:"231182"}],231200:[{city:"绥化市",text:"市辖区",value:"231201"},{city:"绥化市",text:"北林区",value:"231202"},{city:"绥化市",text:"望奎县",value:"231221"},{city:"绥化市",text:"兰西县",value:"231222"},{city:"绥化市",text:"青冈县",value:"231223"},{city:"绥化市",text:"庆安县",value:"231224"},{city:"绥化市",text:"明水县",value:"231225"},{city:"绥化市",text:"绥棱县",value:"231226"},{city:"绥化市",text:"安达市",value:"231281"},{city:"绥化市",text:"肇东市",value:"231282"},{city:"绥化市",text:"海伦市",value:"231283"}],232700:[{city:"大兴安岭地区",text:"呼玛县",value:"232721"},{city:"大兴安岭地区",text:"塔河县",value:"232722"},{city:"大兴安岭地区",text:"漠河县",value:"232723"}],310100:[{city:"市辖区",text:"黄浦区",value:"310101"},{city:"市辖区",text:"徐汇区",value:"310104"},{city:"市辖区",text:"长宁区",value:"310105"},{city:"市辖区",text:"静安区",value:"310106"},{city:"市辖区",text:"普陀区",value:"310107"},{city:"市辖区",text:"虹口区",value:"310109"},{city:"市辖区",text:"杨浦区",value:"310110"},{city:"市辖区",text:"闵行区",value:"310112"},{city:"市辖区",text:"宝山区",value:"310113"},{city:"市辖区",text:"嘉定区",value:"310114"},{city:"市辖区",text:"浦东新区",value:"310115"},{city:"市辖区",text:"金山区",value:"310116"},{city:"市辖区",text:"松江区",value:"310117"},{city:"市辖区",text:"青浦区",value:"310118"},{city:"市辖区",text:"奉贤区",value:"310120"},{city:"市辖区",text:"崇明区",value:"310151"}],320100:[{city:"南京市",text:"市辖区",value:"320101"},{city:"南京市",text:"玄武区",value:"320102"},{city:"南京市",text:"秦淮区",value:"320104"},{city:"南京市",text:"建邺区",value:"320105"},{city:"南京市",text:"鼓楼区",value:"320106"},{city:"南京市",text:"浦口区",value:"320111"},{city:"南京市",text:"栖霞区",value:"320113"},{city:"南京市",text:"雨花台区",value:"320114"},{city:"南京市",text:"江宁区",value:"320115"},{city:"南京市",text:"六合区",value:"320116"},{city:"南京市",text:"溧水区",value:"320117"},{city:"南京市",text:"高淳区",value:"320118"}],320200:[{city:"无锡市",text:"市辖区",value:"320201"},{city:"无锡市",text:"锡山区",value:"320205"},{city:"无锡市",text:"惠山区",value:"320206"},{city:"无锡市",text:"滨湖区",value:"320211"},{city:"无锡市",text:"梁溪区",value:"320213"},{city:"无锡市",text:"新吴区",value:"320214"},{city:"无锡市",text:"江阴市",value:"320281"},{city:"无锡市",text:"宜兴市",value:"320282"}],320300:[{city:"徐州市",text:"市辖区",value:"320301"},{city:"徐州市",text:"鼓楼区",value:"320302"},{city:"徐州市",text:"云龙区",value:"320303"},{city:"徐州市",text:"贾汪区",value:"320305"},{city:"徐州市",text:"泉山区",value:"320311"},{city:"徐州市",text:"铜山区",value:"320312"},{city:"徐州市",text:"丰县",value:"320321"},{city:"徐州市",text:"沛县",value:"320322"},{city:"徐州市",text:"睢宁县",value:"320324"},{city:"徐州市",text:"新沂市",value:"320381"},{city:"徐州市",text:"邳州市",value:"320382"}],320400:[{city:"常州市",text:"市辖区",value:"320401"},{city:"常州市",text:"天宁区",value:"320402"},{city:"常州市",text:"钟楼区",value:"320404"},{city:"常州市",text:"新北区",value:"320411"},{city:"常州市",text:"武进区",value:"320412"},{city:"常州市",text:"金坛区",value:"320413"},{city:"常州市",text:"溧阳市",value:"320481"}],320500:[{city:"苏州市",text:"市辖区",value:"320501"},{city:"苏州市",text:"虎丘区",value:"320505"},{city:"苏州市",text:"吴中区",value:"320506"},{city:"苏州市",text:"相城区",value:"320507"},{city:"苏州市",text:"姑苏区",value:"320508"},{city:"苏州市",text:"吴江区",value:"320509"},{city:"苏州市",text:"常熟市",value:"320581"},{city:"苏州市",text:"张家港市",value:"320582"},{city:"苏州市",text:"昆山市",value:"320583"},{city:"苏州市",text:"太仓市",value:"320585"}],320600:[{city:"南通市",text:"市辖区",value:"320601"},{city:"南通市",text:"崇川区",value:"320602"},{city:"南通市",text:"港闸区",value:"320611"},{city:"南通市",text:"通州区",value:"320612"},{city:"南通市",text:"海安县",value:"320621"},{city:"南通市",text:"如东县",value:"320623"},{city:"南通市",text:"启东市",value:"320681"},{city:"南通市",text:"如皋市",value:"320682"},{city:"南通市",text:"海门市",value:"320684"}],320700:[{city:"连云港市",text:"市辖区",value:"320701"},{city:"连云港市",text:"连云区",value:"320703"},{city:"连云港市",text:"海州区",value:"320706"},{city:"连云港市",text:"赣榆区",value:"320707"},{city:"连云港市",text:"东海县",value:"320722"},{city:"连云港市",text:"灌云县",value:"320723"},{city:"连云港市",text:"灌南县",value:"320724"}],320800:[{city:"淮安市",text:"市辖区",value:"320801"},{city:"淮安市",text:"淮安区",value:"320803"},{city:"淮安市",text:"淮阴区",value:"320804"},{city:"淮安市",text:"清江浦区",value:"320812"},{city:"淮安市",text:"洪泽区",value:"320813"},{city:"淮安市",text:"涟水县",value:"320826"},{city:"淮安市",text:"盱眙县",value:"320830"},{city:"淮安市",text:"金湖县",value:"320831"}],320900:[{city:"盐城市",text:"市辖区",value:"320901"},{city:"盐城市",text:"亭湖区",value:"320902"},{city:"盐城市",text:"盐都区",value:"320903"},{city:"盐城市",text:"大丰区",value:"320904"},{city:"盐城市",text:"响水县",value:"320921"},{city:"盐城市",text:"滨海县",value:"320922"},{city:"盐城市",text:"阜宁县",value:"320923"},{city:"盐城市",text:"射阳县",value:"320924"},{city:"盐城市",text:"建湖县",value:"320925"},{city:"盐城市",text:"东台市",value:"320981"}],321000:[{city:"扬州市",text:"市辖区",value:"321001"},{city:"扬州市",text:"广陵区",value:"321002"},{city:"扬州市",text:"邗江区",value:"321003"},{city:"扬州市",text:"江都区",value:"321012"},{city:"扬州市",text:"宝应县",value:"321023"},{city:"扬州市",text:"仪征市",value:"321081"},{city:"扬州市",text:"高邮市",value:"321084"}],321100:[{city:"镇江市",text:"市辖区",value:"321101"},{city:"镇江市",text:"京口区",value:"321102"},{city:"镇江市",text:"润州区",value:"321111"},{city:"镇江市",text:"丹徒区",value:"321112"},{city:"镇江市",text:"丹阳市",value:"321181"},{city:"镇江市",text:"扬中市",value:"321182"},{city:"镇江市",text:"句容市",value:"321183"}],321200:[{city:"泰州市",text:"市辖区",value:"321201"},{city:"泰州市",text:"海陵区",value:"321202"},{city:"泰州市",text:"高港区",value:"321203"},{city:"泰州市",text:"姜堰区",value:"321204"},{city:"泰州市",text:"兴化市",value:"321281"},{city:"泰州市",text:"靖江市",value:"321282"},{city:"泰州市",text:"泰兴市",value:"321283"}],321300:[{city:"宿迁市",text:"市辖区",value:"321301"},{city:"宿迁市",text:"宿城区",value:"321302"},{city:"宿迁市",text:"宿豫区",value:"321311"},{city:"宿迁市",text:"沭阳县",value:"321322"},{city:"宿迁市",text:"泗阳县",value:"321323"},{city:"宿迁市",text:"泗洪县",value:"321324"}],330100:[{city:"杭州市",text:"市辖区",value:"330101"},{city:"杭州市",text:"上城区",value:"330102"},{city:"杭州市",text:"下城区",value:"330103"},{city:"杭州市",text:"江干区",value:"330104"},{city:"杭州市",text:"拱墅区",value:"330105"},{city:"杭州市",text:"西湖区",value:"330106"},{city:"杭州市",text:"滨江区",value:"330108"},{city:"杭州市",text:"萧山区",value:"330109"},{city:"杭州市",text:"余杭区",value:"330110"},{city:"杭州市",text:"富阳区",value:"330111"},{city:"杭州市",text:"桐庐县",value:"330122"},{city:"杭州市",text:"淳安县",value:"330127"},{city:"杭州市",text:"建德市",value:"330182"},{city:"杭州市",text:"临安市",value:"330185"}],330200:[{city:"宁波市",text:"市辖区",value:"330201"},{city:"宁波市",text:"海曙区",value:"330203"},{city:"宁波市",text:"江东区",value:"330204"},{city:"宁波市",text:"江北区",value:"330205"},{city:"宁波市",text:"北仑区",value:"330206"},{city:"宁波市",text:"镇海区",value:"330211"},{city:"宁波市",text:"鄞州区",value:"330212"},{city:"宁波市",text:"象山县",value:"330225"},{city:"宁波市",text:"宁海县",value:"330226"},{city:"宁波市",text:"余姚市",value:"330281"},{city:"宁波市",text:"慈溪市",value:"330282"},{city:"宁波市",text:"奉化市",value:"330283"}],330300:[{city:"温州市",text:"市辖区",value:"330301"},{city:"温州市",text:"鹿城区",value:"330302"},{city:"温州市",text:"龙湾区",value:"330303"},{city:"温州市",text:"瓯海区",value:"330304"},{city:"温州市",text:"洞头区",value:"330305"},{city:"温州市",text:"永嘉县",value:"330324"},{city:"温州市",text:"平阳县",value:"330326"},{city:"温州市",text:"苍南县",value:"330327"},{city:"温州市",text:"文成县",value:"330328"},{city:"温州市",text:"泰顺县",value:"330329"},{city:"温州市",text:"瑞安市",value:"330381"},{city:"温州市",text:"乐清市",value:"330382"}],330400:[{city:"嘉兴市",text:"市辖区",value:"330401"},{city:"嘉兴市",text:"南湖区",value:"330402"},{city:"嘉兴市",text:"秀洲区",value:"330411"},{city:"嘉兴市",text:"嘉善县",value:"330421"},{city:"嘉兴市",text:"海盐县",value:"330424"},{city:"嘉兴市",text:"海宁市",value:"330481"},{city:"嘉兴市",text:"平湖市",value:"330482"},{city:"嘉兴市",text:"桐乡市",value:"330483"}],330500:[{city:"湖州市",text:"市辖区",value:"330501"},{city:"湖州市",text:"吴兴区",value:"330502"},{city:"湖州市",text:"南浔区",value:"330503"},{city:"湖州市",text:"德清县",value:"330521"},{city:"湖州市",text:"长兴县",value:"330522"},{city:"湖州市",text:"安吉县",value:"330523"}],330600:[{city:"绍兴市",text:"市辖区",value:"330601"},{city:"绍兴市",text:"越城区",value:"330602"},{city:"绍兴市",text:"柯桥区",value:"330603"},{city:"绍兴市",text:"上虞区",value:"330604"},{city:"绍兴市",text:"新昌县",value:"330624"},{city:"绍兴市",text:"诸暨市",value:"330681"},{city:"绍兴市",text:"嵊州市",value:"330683"}],330700:[{city:"金华市",text:"市辖区",value:"330701"},{city:"金华市",text:"婺城区",value:"330702"},{city:"金华市",text:"金东区",value:"330703"},{city:"金华市",text:"武义县",value:"330723"},{city:"金华市",text:"浦江县",value:"330726"},{city:"金华市",text:"磐安县",value:"330727"},{city:"金华市",text:"兰溪市",value:"330781"},{city:"金华市",text:"义乌市",value:"330782"},{city:"金华市",text:"东阳市",value:"330783"},{city:"金华市",text:"永康市",value:"330784"}],330800:[{city:"衢州市",text:"市辖区",value:"330801"},{city:"衢州市",text:"柯城区",value:"330802"},{city:"衢州市",text:"衢江区",value:"330803"},{city:"衢州市",text:"常山县",value:"330822"},{city:"衢州市",text:"开化县",value:"330824"},{city:"衢州市",text:"龙游县",value:"330825"},{city:"衢州市",text:"江山市",value:"330881"}],330900:[{city:"舟山市",text:"市辖区",value:"330901"},{city:"舟山市",text:"定海区",value:"330902"},{city:"舟山市",text:"普陀区",value:"330903"},{city:"舟山市",text:"岱山县",value:"330921"},{city:"舟山市",text:"嵊泗县",value:"330922"}],331000:[{city:"台州市",text:"市辖区",value:"331001"},{city:"台州市",text:"椒江区",value:"331002"},{city:"台州市",text:"黄岩区",value:"331003"},{city:"台州市",text:"路桥区",value:"331004"},{city:"台州市",text:"玉环县",value:"331021"},{city:"台州市",text:"三门县",value:"331022"},{city:"台州市",text:"天台县",value:"331023"},{city:"台州市",text:"仙居县",value:"331024"},{city:"台州市",text:"温岭市",value:"331081"},{city:"台州市",text:"临海市",value:"331082"}],331100:[{city:"丽水市",text:"市辖区",value:"331101"},{city:"丽水市",text:"莲都区",value:"331102"},{city:"丽水市",text:"青田县",value:"331121"},{city:"丽水市",text:"缙云县",value:"331122"},{city:"丽水市",text:"遂昌县",value:"331123"},{city:"丽水市",text:"松阳县",value:"331124"},{city:"丽水市",text:"云和县",value:"331125"},{city:"丽水市",text:"庆元县",value:"331126"},{city:"丽水市",text:"景宁畲族自治县",value:"331127"},{city:"丽水市",text:"龙泉市",value:"331181"}],340100:[{city:"合肥市",text:"市辖区",value:"340101"},{city:"合肥市",text:"瑶海区",value:"340102"},{city:"合肥市",text:"庐阳区",value:"340103"},{city:"合肥市",text:"蜀山区",value:"340104"},{city:"合肥市",text:"包河区",value:"340111"},{city:"合肥市",text:"长丰县",value:"340121"},{city:"合肥市",text:"肥东县",value:"340122"},{city:"合肥市",text:"肥西县",value:"340123"},{city:"合肥市",text:"庐江县",value:"340124"},{city:"合肥市",text:"巢湖市",value:"340181"}],340200:[{city:"芜湖市",text:"市辖区",value:"340201"},{city:"芜湖市",text:"镜湖区",value:"340202"},{city:"芜湖市",text:"弋江区",value:"340203"},{city:"芜湖市",text:"鸠江区",value:"340207"},{city:"芜湖市",text:"三山区",value:"340208"},{city:"芜湖市",text:"芜湖县",value:"340221"},{city:"芜湖市",text:"繁昌县",value:"340222"},{city:"芜湖市",text:"南陵县",value:"340223"},{city:"芜湖市",text:"无为县",value:"340225"}],340300:[{city:"蚌埠市",text:"市辖区",value:"340301"},{city:"蚌埠市",text:"龙子湖区",value:"340302"},{city:"蚌埠市",text:"蚌山区",value:"340303"},{city:"蚌埠市",text:"禹会区",value:"340304"},{city:"蚌埠市",text:"淮上区",value:"340311"},{city:"蚌埠市",text:"怀远县",value:"340321"},{city:"蚌埠市",text:"五河县",value:"340322"},{city:"蚌埠市",text:"固镇县",value:"340323"}],340400:[{city:"淮南市",text:"市辖区",value:"340401"},{city:"淮南市",text:"大通区",value:"340402"},{city:"淮南市",text:"田家庵区",value:"340403"},{city:"淮南市",text:"谢家集区",value:"340404"},{city:"淮南市",text:"八公山区",value:"340405"},{city:"淮南市",text:"潘集区",value:"340406"},{city:"淮南市",text:"凤台县",value:"340421"},{city:"淮南市",text:"寿县",value:"340422"}],340500:[{city:"马鞍山市",text:"市辖区",value:"340501"},{city:"马鞍山市",text:"花山区",value:"340503"},{city:"马鞍山市",text:"雨山区",value:"340504"},{city:"马鞍山市",text:"博望区",value:"340506"},{city:"马鞍山市",text:"当涂县",value:"340521"},{city:"马鞍山市",text:"含山县",value:"340522"},{city:"马鞍山市",text:"和县",value:"340523"}],340600:[{city:"淮北市",text:"市辖区",value:"340601"},{city:"淮北市",text:"杜集区",value:"340602"},{city:"淮北市",text:"相山区",value:"340603"},{city:"淮北市",text:"烈山区",value:"340604"},{city:"淮北市",text:"濉溪县",value:"340621"}],340700:[{city:"铜陵市",text:"市辖区",value:"340701"},{city:"铜陵市",text:"铜官区",value:"340705"},{city:"铜陵市",text:"义安区",value:"340706"},{city:"铜陵市",text:"郊区",value:"340711"},{city:"铜陵市",text:"枞阳县",value:"340722"}],340800:[{city:"安庆市",text:"市辖区",value:"340801"},{city:"安庆市",text:"迎江区",value:"340802"},{city:"安庆市",text:"大观区",value:"340803"},{city:"安庆市",text:"宜秀区",value:"340811"},{city:"安庆市",text:"怀宁县",value:"340822"},{city:"安庆市",text:"潜山县",value:"340824"},{city:"安庆市",text:"太湖县",value:"340825"},{city:"安庆市",text:"宿松县",value:"340826"},{city:"安庆市",text:"望江县",value:"340827"},{city:"安庆市",text:"岳西县",value:"340828"},{city:"安庆市",text:"桐城市",value:"340881"}],341000:[{city:"黄山市",text:"市辖区",value:"341001"},{city:"黄山市",text:"屯溪区",value:"341002"},{city:"黄山市",text:"黄山区",value:"341003"},{city:"黄山市",text:"徽州区",value:"341004"},{city:"黄山市",text:"歙县",value:"341021"},{city:"黄山市",text:"休宁县",value:"341022"},{city:"黄山市",text:"黟县",value:"341023"},{city:"黄山市",text:"祁门县",value:"341024"}],341100:[{city:"滁州市",text:"市辖区",value:"341101"},{city:"滁州市",text:"琅琊区",value:"341102"},{city:"滁州市",text:"南谯区",value:"341103"},{city:"滁州市",text:"来安县",value:"341122"},{city:"滁州市",text:"全椒县",value:"341124"},{city:"滁州市",text:"定远县",value:"341125"},{city:"滁州市",text:"凤阳县",value:"341126"},{city:"滁州市",text:"天长市",value:"341181"},{city:"滁州市",text:"明光市",value:"341182"}],341200:[{city:"阜阳市",text:"市辖区",value:"341201"},{city:"阜阳市",text:"颍州区",value:"341202"},{city:"阜阳市",text:"颍东区",value:"341203"},{city:"阜阳市",text:"颍泉区",value:"341204"},{city:"阜阳市",text:"临泉县",value:"341221"},{city:"阜阳市",text:"太和县",value:"341222"},{city:"阜阳市",text:"阜南县",value:"341225"},{city:"阜阳市",text:"颍上县",value:"341226"},{city:"阜阳市",text:"界首市",value:"341282"}],341300:[{city:"宿州市",text:"市辖区",value:"341301"},{city:"宿州市",text:"埇桥区",value:"341302"},{city:"宿州市",text:"砀山县",value:"341321"},{city:"宿州市",text:"萧县",value:"341322"},{city:"宿州市",text:"灵璧县",value:"341323"},{city:"宿州市",text:"泗县",value:"341324"}],341500:[{city:"六安市",text:"市辖区",value:"341501"},{city:"六安市",text:"金安区",value:"341502"},{city:"六安市",text:"裕安区",value:"341503"},{city:"六安市",text:"叶集区",value:"341504"},{city:"六安市",text:"霍邱县",value:"341522"},{city:"六安市",text:"舒城县",value:"341523"},{city:"六安市",text:"金寨县",value:"341524"},{city:"六安市",text:"霍山县",value:"341525"}],341600:[{city:"亳州市",text:"市辖区",value:"341601"},{city:"亳州市",text:"谯城区",value:"341602"},{city:"亳州市",text:"涡阳县",value:"341621"},{city:"亳州市",text:"蒙城县",value:"341622"},{city:"亳州市",text:"利辛县",value:"341623"}],341700:[{city:"池州市",text:"市辖区",value:"341701"},{city:"池州市",text:"贵池区",value:"341702"},{city:"池州市",text:"东至县",value:"341721"},{city:"池州市",text:"石台县",value:"341722"},{city:"池州市",text:"青阳县",value:"341723"}],341800:[{city:"宣城市",text:"市辖区",value:"341801"},{city:"宣城市",text:"宣州区",value:"341802"},{city:"宣城市",text:"郎溪县",value:"341821"},{city:"宣城市",text:"广德县",value:"341822"},{city:"宣城市",text:"泾县",value:"341823"},{city:"宣城市",text:"绩溪县",value:"341824"},{city:"宣城市",text:"旌德县",value:"341825"},{city:"宣城市",text:"宁国市",value:"341881"}],350100:[{city:"福州市",text:"市辖区",value:"350101"},{city:"福州市",text:"鼓楼区",value:"350102"},{city:"福州市",text:"台江区",value:"350103"},{city:"福州市",text:"仓山区",value:"350104"},{city:"福州市",text:"马尾区",value:"350105"},{city:"福州市",text:"晋安区",value:"350111"},{city:"福州市",text:"闽侯县",value:"350121"},{city:"福州市",text:"连江县",value:"350122"},{city:"福州市",text:"罗源县",value:"350123"},{city:"福州市",text:"闽清县",value:"350124"},{city:"福州市",text:"永泰县",value:"350125"},{city:"福州市",text:"平潭县",value:"350128"},{city:"福州市",text:"福清市",value:"350181"},{city:"福州市",text:"长乐市",value:"350182"}],350200:[{city:"厦门市",text:"市辖区",value:"350201"},{city:"厦门市",text:"思明区",value:"350203"},{city:"厦门市",text:"海沧区",value:"350205"},{city:"厦门市",text:"湖里区",value:"350206"},{city:"厦门市",text:"集美区",value:"350211"},{city:"厦门市",text:"同安区",value:"350212"},{city:"厦门市",text:"翔安区",value:"350213"}],350300:[{city:"莆田市",text:"市辖区",value:"350301"},{city:"莆田市",text:"城厢区",value:"350302"},{city:"莆田市",text:"涵江区",value:"350303"},{city:"莆田市",text:"荔城区",value:"350304"},{city:"莆田市",text:"秀屿区",value:"350305"},{city:"莆田市",text:"仙游县",value:"350322"}],350400:[{city:"三明市",text:"市辖区",value:"350401"},{city:"三明市",text:"梅列区",value:"350402"},{city:"三明市",text:"三元区",value:"350403"},{city:"三明市",text:"明溪县",value:"350421"},{city:"三明市",text:"清流县",value:"350423"},{city:"三明市",text:"宁化县",value:"350424"},{city:"三明市",text:"大田县",value:"350425"},{city:"三明市",text:"尤溪县",value:"350426"},{city:"三明市",text:"沙县",value:"350427"},{city:"三明市",text:"将乐县",value:"350428"},{city:"三明市",text:"泰宁县",value:"350429"},{city:"三明市",text:"建宁县",value:"350430"},{city:"三明市",text:"永安市",value:"350481"}],350500:[{city:"泉州市",text:"市辖区",value:"350501"},{city:"泉州市",text:"鲤城区",value:"350502"},{city:"泉州市",text:"丰泽区",value:"350503"},{city:"泉州市",text:"洛江区",value:"350504"},{city:"泉州市",text:"泉港区",value:"350505"},{city:"泉州市",text:"惠安县",value:"350521"},{city:"泉州市",text:"安溪县",value:"350524"},{city:"泉州市",text:"永春县",value:"350525"},{city:"泉州市",text:"德化县",value:"350526"},{city:"泉州市",text:"金门县",value:"350527"},{city:"泉州市",text:"石狮市",value:"350581"},{city:"泉州市",text:"晋江市",value:"350582"},{city:"泉州市",text:"南安市",value:"350583"}],350600:[{city:"漳州市",text:"市辖区",value:"350601"},{city:"漳州市",text:"芗城区",value:"350602"},{city:"漳州市",text:"龙文区",value:"350603"},{city:"漳州市",text:"云霄县",value:"350622"},{city:"漳州市",text:"漳浦县",value:"350623"},{city:"漳州市",text:"诏安县",value:"350624"},{city:"漳州市",text:"长泰县",value:"350625"},{city:"漳州市",text:"东山县",value:"350626"},{city:"漳州市",text:"南靖县",value:"350627"},{city:"漳州市",text:"平和县",value:"350628"},{city:"漳州市",text:"华安县",value:"350629"},{city:"漳州市",text:"龙海市",value:"350681"}],350700:[{city:"南平市",text:"市辖区",value:"350701"},{city:"南平市",text:"延平区",value:"350702"},{city:"南平市",text:"建阳区",value:"350703"},{city:"南平市",text:"顺昌县",value:"350721"},{city:"南平市",text:"浦城县",value:"350722"},{city:"南平市",text:"光泽县",value:"350723"},{city:"南平市",text:"松溪县",value:"350724"},{city:"南平市",text:"政和县",value:"350725"},{city:"南平市",text:"邵武市",value:"350781"},{city:"南平市",text:"武夷山市",value:"350782"},{city:"南平市",text:"建瓯市",value:"350783"}],350800:[{city:"龙岩市",text:"市辖区",value:"350801"},{city:"龙岩市",text:"新罗区",value:"350802"},{city:"龙岩市",text:"永定区",value:"350803"},{city:"龙岩市",text:"长汀县",value:"350821"},{city:"龙岩市",text:"上杭县",value:"350823"},{city:"龙岩市",text:"武平县",value:"350824"},{city:"龙岩市",text:"连城县",value:"350825"},{city:"龙岩市",text:"漳平市",value:"350881"}],350900:[{city:"宁德市",text:"市辖区",value:"350901"},{city:"宁德市",text:"蕉城区",value:"350902"},{city:"宁德市",text:"霞浦县",value:"350921"},{city:"宁德市",text:"古田县",value:"350922"},{city:"宁德市",text:"屏南县",value:"350923"},{city:"宁德市",text:"寿宁县",value:"350924"},{city:"宁德市",text:"周宁县",value:"350925"},{city:"宁德市",text:"柘荣县",value:"350926"},{city:"宁德市",text:"福安市",value:"350981"},{city:"宁德市",text:"福鼎市",value:"350982"}],360100:[{city:"南昌市",text:"市辖区",value:"360101"},{city:"南昌市",text:"东湖区",value:"360102"},{city:"南昌市",text:"西湖区",value:"360103"},{city:"南昌市",text:"青云谱区",value:"360104"},{city:"南昌市",text:"湾里区",value:"360105"},{city:"南昌市",text:"青山湖区",value:"360111"},{city:"南昌市",text:"新建区",value:"360112"},{city:"南昌市",text:"南昌县",value:"360121"},{city:"南昌市",text:"安义县",value:"360123"},{city:"南昌市",text:"进贤县",value:"360124"}],360200:[{city:"景德镇市",text:"市辖区",value:"360201"},{city:"景德镇市",text:"昌江区",value:"360202"},{city:"景德镇市",text:"珠山区",value:"360203"},{city:"景德镇市",text:"浮梁县",value:"360222"},{city:"景德镇市",text:"乐平市",value:"360281"}],360300:[{city:"萍乡市",text:"市辖区",value:"360301"},{city:"萍乡市",text:"安源区",value:"360302"},{city:"萍乡市",text:"湘东区",value:"360313"},{city:"萍乡市",text:"莲花县",value:"360321"},{city:"萍乡市",text:"上栗县",value:"360322"},{city:"萍乡市",text:"芦溪县",value:"360323"}],360400:[{city:"九江市",text:"市辖区",value:"360401"},{city:"九江市",text:"濂溪区",value:"360402"},{city:"九江市",text:"浔阳区",value:"360403"},{city:"九江市",text:"九江县",value:"360421"},{city:"九江市",text:"武宁县",value:"360423"},{city:"九江市",text:"修水县",value:"360424"},{city:"九江市",text:"永修县",value:"360425"},{city:"九江市",text:"德安县",value:"360426"},{city:"九江市",text:"都昌县",value:"360428"},{city:"九江市",text:"湖口县",value:"360429"},{city:"九江市",text:"彭泽县",value:"360430"},{city:"九江市",text:"瑞昌市",value:"360481"},{city:"九江市",text:"共青城市",value:"360482"},{city:"九江市",text:"庐山市",value:"360483"}],360500:[{city:"新余市",text:"市辖区",value:"360501"},{city:"新余市",text:"渝水区",value:"360502"},{city:"新余市",text:"分宜县",value:"360521"}],360600:[{city:"鹰潭市",text:"市辖区",value:"360601"},{city:"鹰潭市",text:"月湖区",value:"360602"},{city:"鹰潭市",text:"余江县",value:"360622"},{city:"鹰潭市",text:"贵溪市",value:"360681"}],360700:[{city:"赣州市",text:"市辖区",value:"360701"},{city:"赣州市",text:"章贡区",value:"360702"},{city:"赣州市",text:"南康区",value:"360703"},{city:"赣州市",text:"赣县",value:"360721"},{city:"赣州市",text:"信丰县",value:"360722"},{city:"赣州市",text:"大余县",value:"360723"},{city:"赣州市",text:"上犹县",value:"360724"},{city:"赣州市",text:"崇义县",value:"360725"},{city:"赣州市",text:"安远县",value:"360726"},{city:"赣州市",text:"龙南县",value:"360727"},{city:"赣州市",text:"定南县",value:"360728"},{city:"赣州市",text:"全南县",value:"360729"},{city:"赣州市",text:"宁都县",value:"360730"},{city:"赣州市",text:"于都县",value:"360731"},{city:"赣州市",text:"兴国县",value:"360732"},{city:"赣州市",text:"会昌县",value:"360733"},{city:"赣州市",text:"寻乌县",value:"360734"},{city:"赣州市",text:"石城县",value:"360735"},{city:"赣州市",text:"瑞金市",value:"360781"}],360800:[{city:"吉安市",text:"市辖区",value:"360801"},{city:"吉安市",text:"吉州区",value:"360802"},{city:"吉安市",text:"青原区",value:"360803"},{city:"吉安市",text:"吉安县",value:"360821"},{city:"吉安市",text:"吉水县",value:"360822"},{city:"吉安市",text:"峡江县",value:"360823"},{city:"吉安市",text:"新干县",value:"360824"},{city:"吉安市",text:"永丰县",value:"360825"},{city:"吉安市",text:"泰和县",value:"360826"},{city:"吉安市",text:"遂川县",value:"360827"},{city:"吉安市",text:"万安县",value:"360828"},{city:"吉安市",text:"安福县",value:"360829"},{city:"吉安市",text:"永新县",value:"360830"},{city:"吉安市",text:"井冈山市",value:"360881"}],360900:[{city:"宜春市",text:"市辖区",value:"360901"},{city:"宜春市",text:"袁州区",value:"360902"},{city:"宜春市",text:"奉新县",value:"360921"},{city:"宜春市",text:"万载县",value:"360922"},{city:"宜春市",text:"上高县",value:"360923"},{city:"宜春市",text:"宜丰县",value:"360924"},{city:"宜春市",text:"靖安县",value:"360925"},{city:"宜春市",text:"铜鼓县",value:"360926"},{city:"宜春市",text:"丰城市",value:"360981"},{city:"宜春市",text:"樟树市",value:"360982"},{city:"宜春市",text:"高安市",value:"360983"}],361000:[{city:"抚州市",text:"市辖区",value:"361001"},{city:"抚州市",text:"临川区",value:"361002"},{city:"抚州市",text:"南城县",value:"361021"},{city:"抚州市",text:"黎川县",value:"361022"},{city:"抚州市",text:"南丰县",value:"361023"},{city:"抚州市",text:"崇仁县",value:"361024"},{city:"抚州市",text:"乐安县",value:"361025"},{city:"抚州市",text:"宜黄县",value:"361026"},{city:"抚州市",text:"金溪县",value:"361027"},{city:"抚州市",text:"资溪县",value:"361028"},{city:"抚州市",text:"东乡县",value:"361029"},{city:"抚州市",text:"广昌县",value:"361030"}],361100:[{city:"上饶市",text:"市辖区",value:"361101"},{city:"上饶市",text:"信州区",value:"361102"},{city:"上饶市",text:"广丰区",value:"361103"},{city:"上饶市",text:"上饶县",value:"361121"},{city:"上饶市",text:"玉山县",value:"361123"},{city:"上饶市",text:"铅山县",value:"361124"},{city:"上饶市",text:"横峰县",value:"361125"},{city:"上饶市",text:"弋阳县",value:"361126"},{city:"上饶市",text:"余干县",value:"361127"},{city:"上饶市",text:"鄱阳县",value:"361128"},{city:"上饶市",text:"万年县",value:"361129"},{city:"上饶市",text:"婺源县",value:"361130"},{city:"上饶市",text:"德兴市",value:"361181"}],370100:[{city:"济南市",text:"市辖区",value:"370101"},{city:"济南市",text:"历下区",value:"370102"},{city:"济南市",text:"市中区",value:"370103"},{city:"济南市",text:"槐荫区",value:"370104"},{city:"济南市",text:"天桥区",value:"370105"},{city:"济南市",text:"历城区",value:"370112"},{city:"济南市",text:"长清区",value:"370113"},{city:"济南市",text:"平阴县",value:"370124"},{city:"济南市",text:"济阳县",value:"370125"},{city:"济南市",text:"商河县",value:"370126"},{city:"济南市",text:"章丘市",value:"370181"}],370200:[{city:"青岛市",text:"市辖区",value:"370201"},{city:"青岛市",text:"市南区",value:"370202"},{city:"青岛市",text:"市北区",value:"370203"},{city:"青岛市",text:"黄岛区",value:"370211"},{city:"青岛市",text:"崂山区",value:"370212"},{city:"青岛市",text:"李沧区",value:"370213"},{city:"青岛市",text:"城阳区",value:"370214"},{city:"青岛市",text:"胶州市",value:"370281"},{city:"青岛市",text:"即墨市",value:"370282"},{city:"青岛市",text:"平度市",value:"370283"},{city:"青岛市",text:"莱西市",value:"370285"}],370300:[{city:"淄博市",text:"市辖区",value:"370301"},{city:"淄博市",text:"淄川区",value:"370302"},{city:"淄博市",text:"张店区",value:"370303"},{city:"淄博市",text:"博山区",value:"370304"},{city:"淄博市",text:"临淄区",value:"370305"},{city:"淄博市",text:"周村区",value:"370306"},{city:"淄博市",text:"桓台县",value:"370321"},{city:"淄博市",text:"高青县",value:"370322"},{city:"淄博市",text:"沂源县",value:"370323"}],370400:[{city:"枣庄市",text:"市辖区",value:"370401"},{city:"枣庄市",text:"市中区",value:"370402"},{city:"枣庄市",text:"薛城区",value:"370403"},{city:"枣庄市",text:"峄城区",value:"370404"},{city:"枣庄市",text:"台儿庄区",value:"370405"},{city:"枣庄市",text:"山亭区",value:"370406"},{city:"枣庄市",text:"滕州市",value:"370481"}],370500:[{city:"东营市",text:"市辖区",value:"370501"},{city:"东营市",text:"东营区",value:"370502"},{city:"东营市",text:"河口区",value:"370503"},{city:"东营市",text:"垦利区",value:"370505"},{city:"东营市",text:"利津县",value:"370522"},{city:"东营市",text:"广饶县",value:"370523"}],370600:[{city:"烟台市",text:"市辖区",value:"370601"},{city:"烟台市",text:"芝罘区",value:"370602"},{city:"烟台市",text:"福山区",value:"370611"},{city:"烟台市",text:"牟平区",value:"370612"},{city:"烟台市",text:"莱山区",value:"370613"},{city:"烟台市",text:"长岛县",value:"370634"},{city:"烟台市",text:"龙口市",value:"370681"},{city:"烟台市",text:"莱阳市",value:"370682"},{city:"烟台市",text:"莱州市",value:"370683"},{city:"烟台市",text:"蓬莱市",value:"370684"},{city:"烟台市",text:"招远市",value:"370685"},{city:"烟台市",text:"栖霞市",value:"370686"},{city:"烟台市",text:"海阳市",value:"370687"}],370700:[{city:"潍坊市",text:"市辖区",value:"370701"},{city:"潍坊市",text:"潍城区",value:"370702"},{city:"潍坊市",text:"寒亭区",value:"370703"},{city:"潍坊市",text:"坊子区",value:"370704"},{city:"潍坊市",text:"奎文区",value:"370705"},{city:"潍坊市",text:"临朐县",value:"370724"},{city:"潍坊市",text:"昌乐县",value:"370725"},{city:"潍坊市",text:"青州市",value:"370781"},{city:"潍坊市",text:"诸城市",value:"370782"},{city:"潍坊市",text:"寿光市",value:"370783"},{city:"潍坊市",text:"安丘市",value:"370784"},{city:"潍坊市",text:"高密市",value:"370785"},{city:"潍坊市",text:"昌邑市",value:"370786"}],370800:[{city:"济宁市",text:"市辖区",value:"370801"},{city:"济宁市",text:"任城区",value:"370811"},{city:"济宁市",text:"兖州区",value:"370812"},{city:"济宁市",text:"微山县",value:"370826"},{city:"济宁市",text:"鱼台县",value:"370827"},{city:"济宁市",text:"金乡县",value:"370828"},{city:"济宁市",text:"嘉祥县",value:"370829"},{city:"济宁市",text:"汶上县",value:"370830"},{city:"济宁市",text:"泗水县",value:"370831"},{city:"济宁市",text:"梁山县",value:"370832"},{city:"济宁市",text:"曲阜市",value:"370881"},{city:"济宁市",text:"邹城市",value:"370883"}],370900:[{city:"泰安市",text:"市辖区",value:"370901"},{city:"泰安市",text:"泰山区",value:"370902"},{city:"泰安市",text:"岱岳区",value:"370911"},{city:"泰安市",text:"宁阳县",value:"370921"},{city:"泰安市",text:"东平县",value:"370923"},{city:"泰安市",text:"新泰市",value:"370982"},{city:"泰安市",text:"肥城市",value:"370983"}],371000:[{city:"威海市",text:"市辖区",value:"371001"},{city:"威海市",text:"环翠区",value:"371002"},{city:"威海市",text:"文登区",value:"371003"},{city:"威海市",text:"荣成市",value:"371082"},{city:"威海市",text:"乳山市",value:"371083"}],371100:[{city:"日照市",text:"市辖区",value:"371101"},{city:"日照市",text:"东港区",value:"371102"},{city:"日照市",text:"岚山区",value:"371103"},{city:"日照市",text:"五莲县",value:"371121"},{city:"日照市",text:"莒县",value:"371122"}],371200:[{city:"莱芜市",text:"市辖区",value:"371201"},{city:"莱芜市",text:"莱城区",value:"371202"},{city:"莱芜市",text:"钢城区",value:"371203"}],371300:[{city:"临沂市",text:"市辖区",value:"371301"},{city:"临沂市",text:"兰山区",value:"371302"},{city:"临沂市",text:"罗庄区",value:"371311"},{city:"临沂市",text:"河东区",value:"371312"},{city:"临沂市",text:"沂南县",value:"371321"},{city:"临沂市",text:"郯城县",value:"371322"},{city:"临沂市",text:"沂水县",value:"371323"},{city:"临沂市",text:"兰陵县",value:"371324"},{city:"临沂市",text:"费县",value:"371325"},{city:"临沂市",text:"平邑县",value:"371326"},{city:"临沂市",text:"莒南县",value:"371327"},{city:"临沂市",text:"蒙阴县",value:"371328"},{city:"临沂市",text:"临沭县",value:"371329"}],371400:[{city:"德州市",text:"市辖区",value:"371401"},{city:"德州市",text:"德城区",value:"371402"},{city:"德州市",text:"陵城区",value:"371403"},{city:"德州市",text:"宁津县",value:"371422"},{city:"德州市",text:"庆云县",value:"371423"},{city:"德州市",text:"临邑县",value:"371424"},{city:"德州市",text:"齐河县",value:"371425"},{city:"德州市",text:"平原县",value:"371426"},{city:"德州市",text:"夏津县",value:"371427"},{city:"德州市",text:"武城县",value:"371428"},{city:"德州市",text:"乐陵市",value:"371481"},{city:"德州市",text:"禹城市",value:"371482"}],371500:[{city:"聊城市",text:"市辖区",value:"371501"},{city:"聊城市",text:"东昌府区",value:"371502"},{city:"聊城市",text:"阳谷县",value:"371521"},{city:"聊城市",text:"莘县",value:"371522"},{city:"聊城市",text:"茌平县",value:"371523"},{city:"聊城市",text:"东阿县",value:"371524"},{city:"聊城市",text:"冠县",value:"371525"},{city:"聊城市",text:"高唐县",value:"371526"},{city:"聊城市",text:"临清市",value:"371581"}],371600:[{city:"滨州市",text:"市辖区",value:"371601"},{city:"滨州市",text:"滨城区",value:"371602"},{city:"滨州市",text:"沾化区",value:"371603"},{city:"滨州市",text:"惠民县",value:"371621"},{city:"滨州市",text:"阳信县",value:"371622"},{city:"滨州市",text:"无棣县",value:"371623"},{city:"滨州市",text:"博兴县",value:"371625"},{city:"滨州市",text:"邹平县",value:"371626"}],371700:[{city:"菏泽市",text:"市辖区",value:"371701"},{city:"菏泽市",text:"牡丹区",value:"371702"},{city:"菏泽市",text:"定陶区",value:"371703"},{city:"菏泽市",text:"曹县",value:"371721"},{city:"菏泽市",text:"单县",value:"371722"},{city:"菏泽市",text:"成武县",value:"371723"},{city:"菏泽市",text:"巨野县",value:"371724"},{city:"菏泽市",text:"郓城县",value:"371725"},{city:"菏泽市",text:"鄄城县",value:"371726"},{city:"菏泽市",text:"东明县",value:"371728"}],410100:[{city:"郑州市",text:"市辖区",value:"410101"},{city:"郑州市",text:"中原区",value:"410102"},{city:"郑州市",text:"二七区",value:"410103"},{city:"郑州市",text:"管城回族区",value:"410104"},{city:"郑州市",text:"金水区",value:"410105"},{city:"郑州市",text:"上街区",value:"410106"},{city:"郑州市",text:"惠济区",value:"410108"},{city:"郑州市",text:"中牟县",value:"410122"},{city:"郑州市",text:"巩义市",value:"410181"},{city:"郑州市",text:"荥阳市",value:"410182"},{city:"郑州市",text:"新密市",value:"410183"},{city:"郑州市",text:"新郑市",value:"410184"},{city:"郑州市",text:"登封市",value:"410185"}],410200:[{city:"开封市",text:"市辖区",value:"410201"},{city:"开封市",text:"龙亭区",value:"410202"},{city:"开封市",text:"顺河回族区",value:"410203"},{city:"开封市",text:"鼓楼区",value:"410204"},{city:"开封市",text:"禹王台区",value:"410205"},{city:"开封市",text:"金明区",value:"410211"},{city:"开封市",text:"祥符区",value:"410212"},{city:"开封市",text:"杞县",value:"410221"},{city:"开封市",text:"通许县",value:"410222"},{city:"开封市",text:"尉氏县",value:"410223"},{city:"开封市",text:"兰考县",value:"410225"}],410300:[{city:"洛阳市",text:"市辖区",value:"410301"},{city:"洛阳市",text:"老城区",value:"410302"},{city:"洛阳市",text:"西工区",value:"410303"},{city:"洛阳市",text:"瀍河回族区",value:"410304"},{city:"洛阳市",text:"涧西区",value:"410305"},{city:"洛阳市",text:"吉利区",value:"410306"},{city:"洛阳市",text:"洛龙区",value:"410311"},{city:"洛阳市",text:"孟津县",value:"410322"},{city:"洛阳市",text:"新安县",value:"410323"},{city:"洛阳市",text:"栾川县",value:"410324"},{city:"洛阳市",text:"嵩县",value:"410325"},{city:"洛阳市",text:"汝阳县",value:"410326"},{city:"洛阳市",text:"宜阳县",value:"410327"},{city:"洛阳市",text:"洛宁县",value:"410328"},{city:"洛阳市",text:"伊川县",value:"410329"},{city:"洛阳市",text:"偃师市",value:"410381"}],410400:[{city:"平顶山市",text:"市辖区",value:"410401"},{city:"平顶山市",text:"新华区",value:"410402"},{city:"平顶山市",text:"卫东区",value:"410403"},{city:"平顶山市",text:"石龙区",value:"410404"},{city:"平顶山市",text:"湛河区",value:"410411"},{city:"平顶山市",text:"宝丰县",value:"410421"},{city:"平顶山市",text:"叶县",value:"410422"},{city:"平顶山市",text:"鲁山县",value:"410423"},{city:"平顶山市",text:"郏县",value:"410425"},{city:"平顶山市",text:"舞钢市",value:"410481"},{city:"平顶山市",text:"汝州市",value:"410482"}],410500:[{city:"安阳市",text:"市辖区",value:"410501"},{city:"安阳市",text:"文峰区",value:"410502"},{city:"安阳市",text:"北关区",value:"410503"},{city:"安阳市",text:"殷都区",value:"410505"},{city:"安阳市",text:"龙安区",value:"410506"},{city:"安阳市",text:"安阳县",value:"410522"},{city:"安阳市",text:"汤阴县",value:"410523"},{city:"安阳市",text:"滑县",value:"410526"},{city:"安阳市",text:"内黄县",value:"410527"},{city:"安阳市",text:"林州市",value:"410581"}],410600:[{city:"鹤壁市",text:"市辖区",value:"410601"},{city:"鹤壁市",text:"鹤山区",value:"410602"},{city:"鹤壁市",text:"山城区",value:"410603"},{city:"鹤壁市",text:"淇滨区",value:"410611"},{city:"鹤壁市",text:"浚县",value:"410621"},{city:"鹤壁市",text:"淇县",value:"410622"}],410700:[{city:"新乡市",text:"市辖区",value:"410701"},{city:"新乡市",text:"红旗区",value:"410702"},{city:"新乡市",text:"卫滨区",value:"410703"},{city:"新乡市",text:"凤泉区",value:"410704"},{city:"新乡市",text:"牧野区",value:"410711"},{city:"新乡市",text:"新乡县",value:"410721"},{city:"新乡市",text:"获嘉县",value:"410724"},{city:"新乡市",text:"原阳县",value:"410725"},{city:"新乡市",text:"延津县",value:"410726"},{city:"新乡市",text:"封丘县",value:"410727"},{city:"新乡市",text:"长垣县",value:"410728"},{city:"新乡市",text:"卫辉市",value:"410781"},{city:"新乡市",text:"辉县市",value:"410782"}],410800:[{city:"焦作市",text:"市辖区",value:"410801"},{city:"焦作市",text:"解放区",value:"410802"},{city:"焦作市",text:"中站区",value:"410803"},{city:"焦作市",text:"马村区",value:"410804"},{city:"焦作市",text:"山阳区",value:"410811"},{city:"焦作市",text:"修武县",value:"410821"},{city:"焦作市",text:"博爱县",value:"410822"},{city:"焦作市",text:"武陟县",value:"410823"},{city:"焦作市",text:"温县",value:"410825"},{city:"焦作市",text:"沁阳市",value:"410882"},{city:"焦作市",text:"孟州市",value:"410883"}],410900:[{city:"濮阳市",text:"市辖区",value:"410901"},{city:"濮阳市",text:"华龙区",value:"410902"},{city:"濮阳市",text:"清丰县",value:"410922"},{city:"濮阳市",text:"南乐县",value:"410923"},{city:"濮阳市",text:"范县",value:"410926"},{city:"濮阳市",text:"台前县",value:"410927"},{city:"濮阳市",text:"濮阳县",value:"410928"}],411000:[{city:"许昌市",text:"市辖区",value:"411001"},{city:"许昌市",text:"魏都区",value:"411002"},{city:"许昌市",text:"许昌县",value:"411023"},{city:"许昌市",text:"鄢陵县",value:"411024"},{city:"许昌市",text:"襄城县",value:"411025"},{city:"许昌市",text:"禹州市",value:"411081"},{city:"许昌市",text:"长葛市",value:"411082"}],411100:[{city:"漯河市",text:"市辖区",value:"411101"},{city:"漯河市",text:"源汇区",value:"411102"},{city:"漯河市",text:"郾城区",value:"411103"},{city:"漯河市",text:"召陵区",value:"411104"},{city:"漯河市",text:"舞阳县",value:"411121"},{city:"漯河市",text:"临颍县",value:"411122"}],411200:[{city:"三门峡市",text:"市辖区",value:"411201"},{city:"三门峡市",text:"湖滨区",value:"411202"},{city:"三门峡市",text:"陕州区",value:"411203"},{city:"三门峡市",text:"渑池县",value:"411221"},{city:"三门峡市",text:"卢氏县",value:"411224"},{city:"三门峡市",text:"义马市",value:"411281"},{city:"三门峡市",text:"灵宝市",value:"411282"}],411300:[{city:"南阳市",text:"市辖区",value:"411301"},{city:"南阳市",text:"宛城区",value:"411302"},{city:"南阳市",text:"卧龙区",value:"411303"},{city:"南阳市",text:"南召县",value:"411321"},{city:"南阳市",text:"方城县",value:"411322"},{city:"南阳市",text:"西峡县",value:"411323"},{city:"南阳市",text:"镇平县",value:"411324"},{city:"南阳市",text:"内乡县",value:"411325"},{city:"南阳市",text:"淅川县",value:"411326"},{city:"南阳市",text:"社旗县",value:"411327"},{city:"南阳市",text:"唐河县",value:"411328"},{city:"南阳市",text:"新野县",value:"411329"},{city:"南阳市",text:"桐柏县",value:"411330"},{city:"南阳市",text:"邓州市",value:"411381"}],411400:[{city:"商丘市",text:"市辖区",value:"411401"},{city:"商丘市",text:"梁园区",value:"411402"},{city:"商丘市",text:"睢阳区",value:"411403"},{city:"商丘市",text:"民权县",value:"411421"},{city:"商丘市",text:"睢县",value:"411422"},{city:"商丘市",text:"宁陵县",value:"411423"},{city:"商丘市",text:"柘城县",value:"411424"},{city:"商丘市",text:"虞城县",value:"411425"},{city:"商丘市",text:"夏邑县",value:"411426"},{city:"商丘市",text:"永城市",value:"411481"}],411500:[{city:"信阳市",text:"市辖区",value:"411501"},{city:"信阳市",text:"浉河区",value:"411502"},{city:"信阳市",text:"平桥区",value:"411503"},{city:"信阳市",text:"罗山县",value:"411521"},{city:"信阳市",text:"光山县",value:"411522"},{city:"信阳市",text:"新县",value:"411523"},{city:"信阳市",text:"商城县",value:"411524"},{city:"信阳市",text:"固始县",value:"411525"},{city:"信阳市",text:"潢川县",value:"411526"},{city:"信阳市",text:"淮滨县",value:"411527"},{city:"信阳市",text:"息县",value:"411528"}],411600:[{city:"周口市",text:"市辖区",value:"411601"},{city:"周口市",text:"川汇区",value:"411602"},{city:"周口市",text:"扶沟县",value:"411621"},{city:"周口市",text:"西华县",value:"411622"},{city:"周口市",text:"商水县",value:"411623"},{city:"周口市",text:"沈丘县",value:"411624"},{city:"周口市",text:"郸城县",value:"411625"},{city:"周口市",text:"淮阳县",value:"411626"},{city:"周口市",text:"太康县",value:"411627"},{city:"周口市",text:"鹿邑县",value:"411628"},{city:"周口市",text:"项城市",value:"411681"}],411700:[{city:"驻马店市",text:"市辖区",value:"411701"},{city:"驻马店市",text:"驿城区",value:"411702"},{city:"驻马店市",text:"西平县",value:"411721"},{city:"驻马店市",text:"上蔡县",value:"411722"},{city:"驻马店市",text:"平舆县",value:"411723"},{city:"驻马店市",text:"正阳县",value:"411724"},{city:"驻马店市",text:"确山县",value:"411725"},{city:"驻马店市",text:"泌阳县",value:"411726"},{city:"驻马店市",text:"汝南县",value:"411727"},{city:"驻马店市",text:"遂平县",value:"411728"},{city:"驻马店市",text:"新蔡县",value:"411729"}],419000:[{city:"省直辖县级行政区划",text:"济源市",value:"419001"}],420100:[{city:"武汉市",text:"市辖区",value:"420101"},{city:"武汉市",text:"江岸区",value:"420102"},{city:"武汉市",text:"江汉区",value:"420103"},{city:"武汉市",text:"硚口区",value:"420104"},{city:"武汉市",text:"汉阳区",value:"420105"},{city:"武汉市",text:"武昌区",value:"420106"},{city:"武汉市",text:"青山区",value:"420107"},{city:"武汉市",text:"洪山区",value:"420111"},{city:"武汉市",text:"东西湖区",value:"420112"},{city:"武汉市",text:"汉南区",value:"420113"},{city:"武汉市",text:"蔡甸区",value:"420114"},{city:"武汉市",text:"江夏区",value:"420115"},{city:"武汉市",text:"黄陂区",value:"420116"},{city:"武汉市",text:"新洲区",value:"420117"}],420200:[{city:"黄石市",text:"市辖区",value:"420201"},{city:"黄石市",text:"黄石港区",value:"420202"},{city:"黄石市",text:"西塞山区",value:"420203"},{city:"黄石市",text:"下陆区",value:"420204"},{city:"黄石市",text:"铁山区",value:"420205"},{city:"黄石市",text:"阳新县",value:"420222"},{city:"黄石市",text:"大冶市",value:"420281"}],420300:[{city:"十堰市",text:"市辖区",value:"420301"},{city:"十堰市",text:"茅箭区",value:"420302"},{city:"十堰市",text:"张湾区",value:"420303"},{city:"十堰市",text:"郧阳区",value:"420304"},{city:"十堰市",text:"郧西县",value:"420322"},{city:"十堰市",text:"竹山县",value:"420323"},{city:"十堰市",text:"竹溪县",value:"420324"},{city:"十堰市",text:"房县",value:"420325"},{city:"十堰市",text:"丹江口市",value:"420381"}],420500:[{city:"宜昌市",text:"市辖区",value:"420501"},{city:"宜昌市",text:"西陵区",value:"420502"},{city:"宜昌市",text:"伍家岗区",value:"420503"},{city:"宜昌市",text:"点军区",value:"420504"},{city:"宜昌市",text:"猇亭区",value:"420505"},{city:"宜昌市",text:"夷陵区",value:"420506"},{city:"宜昌市",text:"远安县",value:"420525"},{city:"宜昌市",text:"兴山县",value:"420526"},{city:"宜昌市",text:"秭归县",value:"420527"},{city:"宜昌市",text:"长阳土家族自治县",value:"420528"},{city:"宜昌市",text:"五峰土家族自治县",value:"420529"},{city:"宜昌市",text:"宜都市",value:"420581"},{city:"宜昌市",text:"当阳市",value:"420582"},{city:"宜昌市",text:"枝江市",value:"420583"}],420600:[{city:"襄阳市",text:"市辖区",value:"420601"},{city:"襄阳市",text:"襄城区",value:"420602"},{city:"襄阳市",text:"樊城区",value:"420606"},{city:"襄阳市",text:"襄州区",value:"420607"},{city:"襄阳市",text:"南漳县",value:"420624"},{city:"襄阳市",text:"谷城县",value:"420625"},{city:"襄阳市",text:"保康县",value:"420626"},{city:"襄阳市",text:"老河口市",value:"420682"},{city:"襄阳市",text:"枣阳市",value:"420683"},{city:"襄阳市",text:"宜城市",value:"420684"}],420700:[{city:"鄂州市",text:"市辖区",value:"420701"},{city:"鄂州市",text:"梁子湖区",value:"420702"},{city:"鄂州市",text:"华容区",value:"420703"},{city:"鄂州市",text:"鄂城区",value:"420704"}],420800:[{city:"荆门市",text:"市辖区",value:"420801"},{city:"荆门市",text:"东宝区",value:"420802"},{city:"荆门市",text:"掇刀区",value:"420804"},{city:"荆门市",text:"京山县",value:"420821"},{city:"荆门市",text:"沙洋县",value:"420822"},{city:"荆门市",text:"钟祥市",value:"420881"}],420900:[{city:"孝感市",text:"市辖区",value:"420901"},{city:"孝感市",text:"孝南区",value:"420902"},{city:"孝感市",text:"孝昌县",value:"420921"},{city:"孝感市",text:"大悟县",value:"420922"},{city:"孝感市",text:"云梦县",value:"420923"},{city:"孝感市",text:"应城市",value:"420981"},{city:"孝感市",text:"安陆市",value:"420982"},{city:"孝感市",text:"汉川市",value:"420984"}],421000:[{city:"荆州市",text:"市辖区",value:"421001"},{city:"荆州市",text:"沙市区",value:"421002"},{city:"荆州市",text:"荆州区",value:"421003"},{city:"荆州市",text:"公安县",value:"421022"},{city:"荆州市",text:"监利县",value:"421023"},{city:"荆州市",text:"江陵县",value:"421024"},{city:"荆州市",text:"石首市",value:"421081"},{city:"荆州市",text:"洪湖市",value:"421083"},{city:"荆州市",text:"松滋市",value:"421087"}],421100:[{city:"黄冈市",text:"市辖区",value:"421101"},{city:"黄冈市",text:"黄州区",value:"421102"},{city:"黄冈市",text:"团风县",value:"421121"},{city:"黄冈市",text:"红安县",value:"421122"},{city:"黄冈市",text:"罗田县",value:"421123"},{city:"黄冈市",text:"英山县",value:"421124"},{city:"黄冈市",text:"浠水县",value:"421125"},{city:"黄冈市",text:"蕲春县",value:"421126"},{city:"黄冈市",text:"黄梅县",value:"421127"},{city:"黄冈市",text:"麻城市",value:"421181"},{city:"黄冈市",text:"武穴市",value:"421182"}],421200:[{city:"咸宁市",text:"市辖区",value:"421201"},{city:"咸宁市",text:"咸安区",value:"421202"},{city:"咸宁市",text:"嘉鱼县",value:"421221"},{city:"咸宁市",text:"通城县",value:"421222"},{city:"咸宁市",text:"崇阳县",value:"421223"},{city:"咸宁市",text:"通山县",value:"421224"},{city:"咸宁市",text:"赤壁市",value:"421281"}],421300:[{city:"随州市",text:"市辖区",value:"421301"},{city:"随州市",text:"曾都区",value:"421303"},{city:"随州市",text:"随县",value:"421321"},{city:"随州市",text:"广水市",value:"421381"}],422800:[{city:"恩施土家族苗族自治州",text:"恩施市",value:"422801"},{city:"恩施土家族苗族自治州",text:"利川市",value:"422802"},{city:"恩施土家族苗族自治州",text:"建始县",value:"422822"},{city:"恩施土家族苗族自治州",text:"巴东县",value:"422823"},{city:"恩施土家族苗族自治州",text:"宣恩县",value:"422825"},{city:"恩施土家族苗族自治州",text:"咸丰县",value:"422826"},{city:"恩施土家族苗族自治州",text:"来凤县",value:"422827"},{city:"恩施土家族苗族自治州",text:"鹤峰县",value:"422828"}],429000:[{city:"省直辖县级行政区划",text:"仙桃市",value:"429004"},{city:"省直辖县级行政区划",text:"潜江市",value:"429005"},{city:"省直辖县级行政区划",text:"天门市",value:"429006"},{city:"省直辖县级行政区划",text:"神农架林区",value:"429021"}],430100:[{city:"长沙市",text:"市辖区",value:"430101"},{city:"长沙市",text:"芙蓉区",value:"430102"},{city:"长沙市",text:"天心区",value:"430103"},{city:"长沙市",text:"岳麓区",value:"430104"},{city:"长沙市",text:"开福区",value:"430105"},{city:"长沙市",text:"雨花区",value:"430111"},{city:"长沙市",text:"望城区",value:"430112"},{city:"长沙市",text:"长沙县",value:"430121"},{city:"长沙市",text:"宁乡县",value:"430124"},{city:"长沙市",text:"浏阳市",value:"430181"}],430200:[{city:"株洲市",text:"市辖区",value:"430201"},{city:"株洲市",text:"荷塘区",value:"430202"},{city:"株洲市",text:"芦淞区",value:"430203"},{city:"株洲市",text:"石峰区",value:"430204"},{city:"株洲市",text:"天元区",value:"430211"},{city:"株洲市",text:"株洲县",value:"430221"},{city:"株洲市",text:"攸县",value:"430223"},{city:"株洲市",text:"茶陵县",value:"430224"},{city:"株洲市",text:"炎陵县",value:"430225"},{city:"株洲市",text:"醴陵市",value:"430281"}],430300:[{city:"湘潭市",text:"市辖区",value:"430301"},{city:"湘潭市",text:"雨湖区",value:"430302"},{city:"湘潭市",text:"岳塘区",value:"430304"},{city:"湘潭市",text:"湘潭县",value:"430321"},{city:"湘潭市",text:"湘乡市",value:"430381"},{city:"湘潭市",text:"韶山市",value:"430382"}],430400:[{city:"衡阳市",text:"市辖区",value:"430401"},{city:"衡阳市",text:"珠晖区",value:"430405"},{city:"衡阳市",text:"雁峰区",value:"430406"},{city:"衡阳市",text:"石鼓区",value:"430407"},{city:"衡阳市",text:"蒸湘区",value:"430408"},{city:"衡阳市",text:"南岳区",value:"430412"},{city:"衡阳市",text:"衡阳县",value:"430421"},{city:"衡阳市",text:"衡南县",value:"430422"},{city:"衡阳市",text:"衡山县",value:"430423"},{city:"衡阳市",text:"衡东县",value:"430424"},{city:"衡阳市",text:"祁东县",value:"430426"},{city:"衡阳市",text:"耒阳市",value:"430481"},{city:"衡阳市",text:"常宁市",value:"430482"}],430500:[{city:"邵阳市",text:"市辖区",value:"430501"},{city:"邵阳市",text:"双清区",value:"430502"},{city:"邵阳市",text:"大祥区",value:"430503"},{city:"邵阳市",text:"北塔区",value:"430511"},{city:"邵阳市",text:"邵东县",value:"430521"},{city:"邵阳市",text:"新邵县",value:"430522"},{city:"邵阳市",text:"邵阳县",value:"430523"},{city:"邵阳市",text:"隆回县",value:"430524"},{city:"邵阳市",text:"洞口县",value:"430525"},{city:"邵阳市",text:"绥宁县",value:"430527"},{city:"邵阳市",text:"新宁县",value:"430528"},{city:"邵阳市",text:"城步苗族自治县",value:"430529"},{city:"邵阳市",text:"武冈市",value:"430581"}],430600:[{city:"岳阳市",text:"市辖区",value:"430601"},{city:"岳阳市",text:"岳阳楼区",value:"430602"},{city:"岳阳市",text:"云溪区",value:"430603"},{city:"岳阳市",text:"君山区",value:"430611"},{city:"岳阳市",text:"岳阳县",value:"430621"},{city:"岳阳市",text:"华容县",value:"430623"},{city:"岳阳市",text:"湘阴县",value:"430624"},{city:"岳阳市",text:"平江县",value:"430626"},{city:"岳阳市",text:"汨罗市",value:"430681"},{city:"岳阳市",text:"临湘市",value:"430682"}],430700:[{city:"常德市",text:"市辖区",value:"430701"},{city:"常德市",text:"武陵区",value:"430702"},{city:"常德市",text:"鼎城区",value:"430703"},{city:"常德市",text:"安乡县",value:"430721"},{city:"常德市",text:"汉寿县",value:"430722"},{city:"常德市",text:"澧县",value:"430723"},{city:"常德市",text:"临澧县",value:"430724"},{city:"常德市",text:"桃源县",value:"430725"},{city:"常德市",text:"石门县",value:"430726"},{city:"常德市",text:"津市市",value:"430781"}],430800:[{city:"张家界市",text:"市辖区",value:"430801"},{city:"张家界市",text:"永定区",value:"430802"},{city:"张家界市",text:"武陵源区",value:"430811"},{city:"张家界市",text:"慈利县",value:"430821"},{city:"张家界市",text:"桑植县",value:"430822"}],430900:[{city:"益阳市",text:"市辖区",value:"430901"},{city:"益阳市",text:"资阳区",value:"430902"},{city:"益阳市",text:"赫山区",value:"430903"},{city:"益阳市",text:"南县",value:"430921"},{city:"益阳市",text:"桃江县",value:"430922"},{city:"益阳市",text:"安化县",value:"430923"},{city:"益阳市",text:"沅江市",value:"430981"}],431000:[{city:"郴州市",text:"市辖区",value:"431001"},{city:"郴州市",text:"北湖区",value:"431002"},{city:"郴州市",text:"苏仙区",value:"431003"},{city:"郴州市",text:"桂阳县",value:"431021"},{city:"郴州市",text:"宜章县",value:"431022"},{city:"郴州市",text:"永兴县",value:"431023"},{city:"郴州市",text:"嘉禾县",value:"431024"},{city:"郴州市",text:"临武县",value:"431025"},{city:"郴州市",text:"汝城县",value:"431026"},{city:"郴州市",text:"桂东县",value:"431027"},{city:"郴州市",text:"安仁县",value:"431028"},{city:"郴州市",text:"资兴市",value:"431081"}],431100:[{city:"永州市",text:"市辖区",value:"431101"},{city:"永州市",text:"零陵区",value:"431102"},{city:"永州市",text:"冷水滩区",value:"431103"},{city:"永州市",text:"祁阳县",value:"431121"},{city:"永州市",text:"东安县",value:"431122"},{city:"永州市",text:"双牌县",value:"431123"},{city:"永州市",text:"道县",value:"431124"},{city:"永州市",text:"江永县",value:"431125"},{city:"永州市",text:"宁远县",value:"431126"},{city:"永州市",text:"蓝山县",value:"431127"},{city:"永州市",text:"新田县",value:"431128"},{city:"永州市",text:"江华瑶族自治县",value:"431129"}],431200:[{city:"怀化市",text:"市辖区",value:"431201"},{city:"怀化市",text:"鹤城区",value:"431202"},{city:"怀化市",text:"中方县",value:"431221"},{city:"怀化市",text:"沅陵县",value:"431222"},{city:"怀化市",text:"辰溪县",value:"431223"},{city:"怀化市",text:"溆浦县",value:"431224"},{city:"怀化市",text:"会同县",value:"431225"},{city:"怀化市",text:"麻阳苗族自治县",value:"431226"},{city:"怀化市",text:"新晃侗族自治县",value:"431227"},{city:"怀化市",text:"芷江侗族自治县",value:"431228"},{city:"怀化市",text:"靖州苗族侗族自治县",value:"431229"},{city:"怀化市",text:"通道侗族自治县",value:"431230"},{city:"怀化市",text:"洪江市",value:"431281"}],431300:[{city:"娄底市",text:"市辖区",value:"431301"},{city:"娄底市",text:"娄星区",value:"431302"},{city:"娄底市",text:"双峰县",value:"431321"},{city:"娄底市",text:"新化县",value:"431322"},{city:"娄底市",text:"冷水江市",value:"431381"},{city:"娄底市",text:"涟源市",value:"431382"}],433100:[{city:"湘西土家族苗族自治州",text:"吉首市",value:"433101"},{city:"湘西土家族苗族自治州",text:"泸溪县",value:"433122"},{city:"湘西土家族苗族自治州",text:"凤凰县",value:"433123"},{city:"湘西土家族苗族自治州",text:"花垣县",value:"433124"},{city:"湘西土家族苗族自治州",text:"保靖县",value:"433125"},{city:"湘西土家族苗族自治州",text:"古丈县",value:"433126"},{city:"湘西土家族苗族自治州",text:"永顺县",value:"433127"},{city:"湘西土家族苗族自治州",text:"龙山县",value:"433130"}],440100:[{city:"广州市",text:"市辖区",value:"440101"},{city:"广州市",text:"荔湾区",value:"440103"},{city:"广州市",text:"越秀区",value:"440104"},{city:"广州市",text:"海珠区",value:"440105"},{city:"广州市",text:"天河区",value:"440106"},{city:"广州市",text:"白云区",value:"440111"},{city:"广州市",text:"黄埔区",value:"440112"},{city:"广州市",text:"番禺区",value:"440113"},{city:"广州市",text:"花都区",value:"440114"},{city:"广州市",text:"南沙区",value:"440115"},{city:"广州市",text:"从化区",value:"440117"},{city:"广州市",text:"增城区",value:"440118"}],440200:[{city:"韶关市",text:"市辖区",value:"440201"},{city:"韶关市",text:"武江区",value:"440203"},{city:"韶关市",text:"浈江区",value:"440204"},{city:"韶关市",text:"曲江区",value:"440205"},{city:"韶关市",text:"始兴县",value:"440222"},{city:"韶关市",text:"仁化县",value:"440224"},{city:"韶关市",text:"翁源县",value:"440229"},{city:"韶关市",text:"乳源瑶族自治县",value:"440232"},{city:"韶关市",text:"新丰县",value:"440233"},{city:"韶关市",text:"乐昌市",value:"440281"},{city:"韶关市",text:"南雄市",value:"440282"}],440300:[{city:"深圳市",text:"市辖区",value:"440301"},{city:"深圳市",text:"罗湖区",value:"440303"},{city:"深圳市",text:"福田区",value:"440304"},{city:"深圳市",text:"南山区",value:"440305"},{city:"深圳市",text:"宝安区",value:"440306"},{city:"深圳市",text:"龙岗区",value:"440307"},{city:"深圳市",text:"盐田区",value:"440308"}],440400:[{city:"珠海市",text:"市辖区",value:"440401"},{city:"珠海市",text:"香洲区",value:"440402"},{city:"珠海市",text:"斗门区",value:"440403"},{city:"珠海市",text:"金湾区",value:"440404"}],440500:[{city:"汕头市",text:"市辖区",value:"440501"},{city:"汕头市",text:"龙湖区",value:"440507"},{city:"汕头市",text:"金平区",value:"440511"},{city:"汕头市",text:"濠江区",value:"440512"},{city:"汕头市",text:"潮阳区",value:"440513"},{city:"汕头市",text:"潮南区",value:"440514"},{city:"汕头市",text:"澄海区",value:"440515"},{city:"汕头市",text:"南澳县",value:"440523"}],440600:[{city:"佛山市",text:"市辖区",value:"440601"},{city:"佛山市",text:"禅城区",value:"440604"},{city:"佛山市",text:"南海区",value:"440605"},{city:"佛山市",text:"顺德区",value:"440606"},{city:"佛山市",text:"三水区",value:"440607"},{city:"佛山市",text:"高明区",value:"440608"}],440700:[{city:"江门市",text:"市辖区",value:"440701"},{city:"江门市",text:"蓬江区",value:"440703"},{city:"江门市",text:"江海区",value:"440704"},{city:"江门市",text:"新会区",value:"440705"},{city:"江门市",text:"台山市",value:"440781"},{city:"江门市",text:"开平市",value:"440783"},{city:"江门市",text:"鹤山市",value:"440784"},{city:"江门市",text:"恩平市",value:"440785"}],440800:[{city:"湛江市",text:"市辖区",value:"440801"},{city:"湛江市",text:"赤坎区",value:"440802"},{city:"湛江市",text:"霞山区",value:"440803"},{city:"湛江市",text:"坡头区",value:"440804"},{city:"湛江市",text:"麻章区",value:"440811"},{city:"湛江市",text:"遂溪县",value:"440823"},{city:"湛江市",text:"徐闻县",value:"440825"},{city:"湛江市",text:"廉江市",value:"440881"},{city:"湛江市",text:"雷州市",value:"440882"},{city:"湛江市",text:"吴川市",value:"440883"}],440900:[{city:"茂名市",text:"市辖区",value:"440901"},{city:"茂名市",text:"茂南区",value:"440902"},{city:"茂名市",text:"电白区",value:"440904"},{city:"茂名市",text:"高州市",value:"440981"},{city:"茂名市",text:"化州市",value:"440982"},{city:"茂名市",text:"信宜市",value:"440983"}],441200:[{city:"肇庆市",text:"市辖区",value:"441201"},{city:"肇庆市",text:"端州区",value:"441202"},{city:"肇庆市",text:"鼎湖区",value:"441203"},{city:"肇庆市",text:"高要区",value:"441204"},{city:"肇庆市",text:"广宁县",value:"441223"},{city:"肇庆市",text:"怀集县",value:"441224"},{city:"肇庆市",text:"封开县",value:"441225"},{city:"肇庆市",text:"德庆县",value:"441226"},{city:"肇庆市",text:"四会市",value:"441284"}],441300:[{city:"惠州市",text:"市辖区",value:"441301"},{city:"惠州市",text:"惠城区",value:"441302"},{city:"惠州市",text:"惠阳区",value:"441303"},{city:"惠州市",text:"博罗县",value:"441322"},{city:"惠州市",text:"惠东县",value:"441323"},{city:"惠州市",text:"龙门县",value:"441324"}],441400:[{city:"梅州市",text:"市辖区",value:"441401"},{city:"梅州市",text:"梅江区",value:"441402"},{city:"梅州市",text:"梅县区",value:"441403"},{city:"梅州市",text:"大埔县",value:"441422"},{city:"梅州市",text:"丰顺县",value:"441423"},{city:"梅州市",text:"五华县",value:"441424"},{city:"梅州市",text:"平远县",value:"441426"},{city:"梅州市",text:"蕉岭县",value:"441427"},{city:"梅州市",text:"兴宁市",value:"441481"}],441500:[{city:"汕尾市",text:"市辖区",value:"441501"},{city:"汕尾市",text:"城区",value:"441502"},{city:"汕尾市",text:"海丰县",value:"441521"},{city:"汕尾市",text:"陆河县",value:"441523"},{city:"汕尾市",text:"陆丰市",value:"441581"}],441600:[{city:"河源市",text:"市辖区",value:"441601"},{city:"河源市",text:"源城区",value:"441602"},{city:"河源市",text:"紫金县",value:"441621"},{city:"河源市",text:"龙川县",value:"441622"},{city:"河源市",text:"连平县",value:"441623"},{city:"河源市",text:"和平县",value:"441624"},{city:"河源市",text:"东源县",value:"441625"}],441700:[{city:"阳江市",text:"市辖区",value:"441701"},{city:"阳江市",text:"江城区",value:"441702"},{city:"阳江市",text:"阳东区",value:"441704"},{city:"阳江市",text:"阳西县",value:"441721"},{city:"阳江市",text:"阳春市",value:"441781"}],441800:[{city:"清远市",text:"市辖区",value:"441801"},{city:"清远市",text:"清城区",value:"441802"},{city:"清远市",text:"清新区",value:"441803"},{city:"清远市",text:"佛冈县",value:"441821"},{city:"清远市",text:"阳山县",value:"441823"},{city:"清远市",text:"连山壮族瑶族自治县",value:"441825"},{city:"清远市",text:"连南瑶族自治县",value:"441826"},{city:"清远市",text:"英德市",value:"441881"},{city:"清远市",text:"连州市",value:"441882"}],441900:[],442000:[],445100:[{city:"潮州市",text:"市辖区",value:"445101"},{city:"潮州市",text:"湘桥区",value:"445102"},{city:"潮州市",text:"潮安区",value:"445103"},{city:"潮州市",text:"饶平县",value:"445122"}],445200:[{city:"揭阳市",text:"市辖区",value:"445201"},{city:"揭阳市",text:"榕城区",value:"445202"},{city:"揭阳市",text:"揭东区",value:"445203"},{city:"揭阳市",text:"揭西县",value:"445222"},{city:"揭阳市",text:"惠来县",value:"445224"},{city:"揭阳市",text:"普宁市",value:"445281"}],445300:[{city:"云浮市",text:"市辖区",value:"445301"},{city:"云浮市",text:"云城区",value:"445302"},{city:"云浮市",text:"云安区",value:"445303"},{city:"云浮市",text:"新兴县",value:"445321"},{city:"云浮市",text:"郁南县",value:"445322"},{city:"云浮市",text:"罗定市",value:"445381"}],450100:[{city:"南宁市",text:"市辖区",value:"450101"},{city:"南宁市",text:"兴宁区",value:"450102"},{city:"南宁市",text:"青秀区",value:"450103"},{city:"南宁市",text:"江南区",value:"450105"},{city:"南宁市",text:"西乡塘区",value:"450107"},{city:"南宁市",text:"良庆区",value:"450108"},{city:"南宁市",text:"邕宁区",value:"450109"},{city:"南宁市",text:"武鸣区",value:"450110"},{city:"南宁市",text:"隆安县",value:"450123"},{city:"南宁市",text:"马山县",value:"450124"},{city:"南宁市",text:"上林县",value:"450125"},{city:"南宁市",text:"宾阳县",value:"450126"},{city:"南宁市",text:"横县",value:"450127"}],450200:[{city:"柳州市",text:"市辖区",value:"450201"},{city:"柳州市",text:"城中区",value:"450202"},{city:"柳州市",text:"鱼峰区",value:"450203"},{city:"柳州市",text:"柳南区",value:"450204"},{city:"柳州市",text:"柳北区",value:"450205"},{city:"柳州市",text:"柳江区",value:"450206"},{city:"柳州市",text:"柳城县",value:"450222"},{city:"柳州市",text:"鹿寨县",value:"450223"},{city:"柳州市",text:"融安县",value:"450224"},{city:"柳州市",text:"融水苗族自治县",value:"450225"},{city:"柳州市",text:"三江侗族自治县",value:"450226"}],450300:[{city:"桂林市",text:"市辖区",value:"450301"},{city:"桂林市",text:"秀峰区",value:"450302"},{city:"桂林市",text:"叠彩区",value:"450303"},{city:"桂林市",text:"象山区",value:"450304"},{city:"桂林市",text:"七星区",value:"450305"},{city:"桂林市",text:"雁山区",value:"450311"},{city:"桂林市",text:"临桂区",value:"450312"},{city:"桂林市",text:"阳朔县",value:"450321"},{city:"桂林市",text:"灵川县",value:"450323"},{city:"桂林市",text:"全州县",value:"450324"},{city:"桂林市",text:"兴安县",value:"450325"},{city:"桂林市",text:"永福县",value:"450326"},{city:"桂林市",text:"灌阳县",value:"450327"},{city:"桂林市",text:"龙胜各族自治县",value:"450328"},{city:"桂林市",text:"资源县",value:"450329"},{city:"桂林市",text:"平乐县",value:"450330"},{city:"桂林市",text:"荔浦县",value:"450331"},{city:"桂林市",text:"恭城瑶族自治县",value:"450332"}],450400:[{city:"梧州市",text:"市辖区",value:"450401"},{city:"梧州市",text:"万秀区",value:"450403"},{city:"梧州市",text:"长洲区",value:"450405"},{city:"梧州市",text:"龙圩区",value:"450406"},{city:"梧州市",text:"苍梧县",value:"450421"},{city:"梧州市",text:"藤县",value:"450422"},{city:"梧州市",text:"蒙山县",value:"450423"},{city:"梧州市",text:"岑溪市",value:"450481"}],450500:[{city:"北海市",text:"市辖区",value:"450501"},{city:"北海市",text:"海城区",value:"450502"},{city:"北海市",text:"银海区",value:"450503"},{city:"北海市",text:"铁山港区",value:"450512"},{city:"北海市",text:"合浦县",value:"450521"}],450600:[{city:"防城港市",text:"市辖区",value:"450601"},{city:"防城港市",text:"港口区",value:"450602"},{city:"防城港市",text:"防城区",value:"450603"},{city:"防城港市",text:"上思县",value:"450621"},{city:"防城港市",text:"东兴市",value:"450681"}],450700:[{city:"钦州市",text:"市辖区",value:"450701"},{city:"钦州市",text:"钦南区",value:"450702"},{city:"钦州市",text:"钦北区",value:"450703"},{city:"钦州市",text:"灵山县",value:"450721"},{city:"钦州市",text:"浦北县",value:"450722"}],450800:[{city:"贵港市",text:"市辖区",value:"450801"},{city:"贵港市",text:"港北区",value:"450802"},{city:"贵港市",text:"港南区",value:"450803"},{city:"贵港市",text:"覃塘区",value:"450804"},{city:"贵港市",text:"平南县",value:"450821"},{city:"贵港市",text:"桂平市",value:"450881"}],450900:[{city:"玉林市",text:"市辖区",value:"450901"},{city:"玉林市",text:"玉州区",value:"450902"},{city:"玉林市",text:"福绵区",value:"450903"},{city:"玉林市",text:"容县",value:"450921"},{city:"玉林市",text:"陆川县",value:"450922"},{city:"玉林市",text:"博白县",value:"450923"},{city:"玉林市",text:"兴业县",value:"450924"},{city:"玉林市",text:"北流市",value:"450981"}],451000:[{city:"百色市",text:"市辖区",value:"451001"},{city:"百色市",text:"右江区",value:"451002"},{city:"百色市",text:"田阳县",value:"451021"},{city:"百色市",text:"田东县",value:"451022"},{city:"百色市",text:"平果县",value:"451023"},{city:"百色市",text:"德保县",value:"451024"},{city:"百色市",text:"那坡县",value:"451026"},{city:"百色市",text:"凌云县",value:"451027"},{city:"百色市",text:"乐业县",value:"451028"},{city:"百色市",text:"田林县",value:"451029"},{city:"百色市",text:"西林县",value:"451030"},{city:"百色市",text:"隆林各族自治县",value:"451031"},{city:"百色市",text:"靖西市",value:"451081"}],451100:[{city:"贺州市",text:"市辖区",value:"451101"},{city:"贺州市",text:"八步区",value:"451102"},{city:"贺州市",text:"平桂区",value:"451103"},{city:"贺州市",text:"昭平县",value:"451121"},{city:"贺州市",text:"钟山县",value:"451122"},{city:"贺州市",text:"富川瑶族自治县",value:"451123"}],451200:[{city:"河池市",text:"市辖区",value:"451201"},{city:"河池市",text:"金城江区",value:"451202"},{city:"河池市",text:"南丹县",value:"451221"},{city:"河池市",text:"天峨县",value:"451222"},{city:"河池市",text:"凤山县",value:"451223"},{city:"河池市",text:"东兰县",value:"451224"},{city:"河池市",text:"罗城仫佬族自治县",value:"451225"},{city:"河池市",text:"环江毛南族自治县",value:"451226"},{city:"河池市",text:"巴马瑶族自治县",value:"451227"},{city:"河池市",text:"都安瑶族自治县",value:"451228"},{city:"河池市",text:"大化瑶族自治县",value:"451229"},{city:"河池市",text:"宜州市",value:"451281"}],451300:[{city:"来宾市",text:"市辖区",value:"451301"},{city:"来宾市",text:"兴宾区",value:"451302"},{city:"来宾市",text:"忻城县",value:"451321"},{city:"来宾市",text:"象州县",value:"451322"},{city:"来宾市",text:"武宣县",value:"451323"},{city:"来宾市",text:"金秀瑶族自治县",value:"451324"},{city:"来宾市",text:"合山市",value:"451381"}],451400:[{city:"崇左市",text:"市辖区",value:"451401"},{city:"崇左市",text:"江州区",value:"451402"},{city:"崇左市",text:"扶绥县",value:"451421"},{city:"崇左市",text:"宁明县",value:"451422"},{city:"崇左市",text:"龙州县",value:"451423"},{city:"崇左市",text:"大新县",value:"451424"},{city:"崇左市",text:"天等县",value:"451425"},{city:"崇左市",text:"凭祥市",value:"451481"}],460100:[{city:"海口市",text:"市辖区",value:"460101"},{city:"海口市",text:"秀英区",value:"460105"},{city:"海口市",text:"龙华区",value:"460106"},{city:"海口市",text:"琼山区",value:"460107"},{city:"海口市",text:"美兰区",value:"460108"}],460200:[{city:"三亚市",text:"市辖区",value:"460201"},{city:"三亚市",text:"海棠区",value:"460202"},{city:"三亚市",text:"吉阳区",value:"460203"},{city:"三亚市",text:"天涯区",value:"460204"},{city:"三亚市",text:"崖州区",value:"460205"}],460300:[],460400:[],469000:[{city:"省直辖县级行政区划",text:"五指山市",value:"469001"},{city:"省直辖县级行政区划",text:"琼海市",value:"469002"},{city:"省直辖县级行政区划",text:"文昌市",value:"469005"},{city:"省直辖县级行政区划",text:"万宁市",value:"469006"},{city:"省直辖县级行政区划",text:"东方市",value:"469007"},{city:"省直辖县级行政区划",text:"定安县",value:"469021"},{city:"省直辖县级行政区划",text:"屯昌县",value:"469022"},{city:"省直辖县级行政区划",text:"澄迈县",value:"469023"},{city:"省直辖县级行政区划",text:"临高县",value:"469024"},{city:"省直辖县级行政区划",text:"白沙黎族自治县",value:"469025"},{city:"省直辖县级行政区划",text:"昌江黎族自治县",value:"469026"},{city:"省直辖县级行政区划",text:"乐东黎族自治县",value:"469027"},{city:"省直辖县级行政区划",text:"陵水黎族自治县",value:"469028"},{city:"省直辖县级行政区划",text:"保亭黎族苗族自治县",value:"469029"},{city:"省直辖县级行政区划",text:"琼中黎族苗族自治县",value:"469030"}],500100:[{city:"市辖区",text:"万州区",value:"500101"},{city:"市辖区",text:"涪陵区",value:"500102"},{city:"市辖区",text:"渝中区",value:"500103"},{city:"市辖区",text:"大渡口区",value:"500104"},{city:"市辖区",text:"江北区",value:"500105"},{city:"市辖区",text:"沙坪坝区",value:"500106"},{city:"市辖区",text:"九龙坡区",value:"500107"},{city:"市辖区",text:"南岸区",value:"500108"},{city:"市辖区",text:"北碚区",value:"500109"},{city:"市辖区",text:"綦江区",value:"500110"},{city:"市辖区",text:"大足区",value:"500111"},{city:"市辖区",text:"渝北区",value:"500112"},{city:"市辖区",text:"巴南区",value:"500113"},{city:"市辖区",text:"黔江区",value:"500114"},{city:"市辖区",text:"长寿区",value:"500115"},{city:"市辖区",text:"江津区",value:"500116"},{city:"市辖区",text:"合川区",value:"500117"},{city:"市辖区",text:"永川区",value:"500118"},{city:"市辖区",text:"南川区",value:"500119"},{city:"市辖区",text:"璧山区",value:"500120"},{city:"市辖区",text:"铜梁区",value:"500151"},{city:"市辖区",text:"潼南区",value:"500152"},{city:"市辖区",text:"荣昌区",value:"500153"},{city:"市辖区",text:"开州区",value:"500154"}],500200:[{city:"县",text:"梁平县",value:"500228"},{city:"县",text:"城口县",value:"500229"},{city:"县",text:"丰都县",value:"500230"},{city:"县",text:"垫江县",value:"500231"},{city:"县",text:"武隆县",value:"500232"},{city:"县",text:"忠县",value:"500233"},{city:"县",text:"云阳县",value:"500235"},{city:"县",text:"奉节县",value:"500236"},{city:"县",text:"巫山县",value:"500237"},{city:"县",text:"巫溪县",value:"500238"},{city:"县",text:"石柱土家族自治县",value:"500240"},{city:"县",text:"秀山土家族苗族自治县",value:"500241"},{city:"县",text:"酉阳土家族苗族自治县",value:"500242"},{city:"县",text:"彭水苗族土家族自治县",value:"500243"}],510100:[{city:"成都市",text:"市辖区",value:"510101"},{city:"成都市",text:"锦江区",value:"510104"},{city:"成都市",text:"青羊区",value:"510105"},{city:"成都市",text:"金牛区",value:"510106"},{city:"成都市",text:"武侯区",value:"510107"},{city:"成都市",text:"成华区",value:"510108"},{city:"成都市",text:"龙泉驿区",value:"510112"},{city:"成都市",text:"青白江区",value:"510113"},{city:"成都市",text:"新都区",value:"510114"},{city:"成都市",text:"温江区",value:"510115"},{city:"成都市",text:"双流区",value:"510116"},{city:"成都市",text:"金堂县",value:"510121"},{city:"成都市",text:"郫县",value:"510124"},{city:"成都市",text:"大邑县",value:"510129"},{city:"成都市",text:"蒲江县",value:"510131"},{city:"成都市",text:"新津县",value:"510132"},{city:"成都市",text:"都江堰市",value:"510181"},{city:"成都市",text:"彭州市",value:"510182"},{city:"成都市",text:"邛崃市",value:"510183"},{city:"成都市",text:"崇州市",value:"510184"},{city:"成都市",text:"简阳市",value:"510185"}],510300:[{city:"自贡市",text:"市辖区",value:"510301"},{city:"自贡市",text:"自流井区",value:"510302"},{city:"自贡市",text:"贡井区",value:"510303"},{city:"自贡市",text:"大安区",value:"510304"},{city:"自贡市",text:"沿滩区",value:"510311"},{city:"自贡市",text:"荣县",value:"510321"},{city:"自贡市",text:"富顺县",value:"510322"}],510400:[{city:"攀枝花市",text:"市辖区",value:"510401"},{city:"攀枝花市",text:"东区",value:"510402"},{city:"攀枝花市",text:"西区",value:"510403"},{city:"攀枝花市",text:"仁和区",value:"510411"},{city:"攀枝花市",text:"米易县",value:"510421"},{city:"攀枝花市",text:"盐边县",value:"510422"}],510500:[{city:"泸州市",text:"市辖区",value:"510501"},{city:"泸州市",text:"江阳区",value:"510502"},{city:"泸州市",text:"纳溪区",value:"510503"},{city:"泸州市",text:"龙马潭区",value:"510504"},{city:"泸州市",text:"泸县",value:"510521"},{city:"泸州市",text:"合江县",value:"510522"},{city:"泸州市",text:"叙永县",value:"510524"},{city:"泸州市",text:"古蔺县",value:"510525"}],510600:[{city:"德阳市",text:"市辖区",value:"510601"},{city:"德阳市",text:"旌阳区",value:"510603"},{city:"德阳市",text:"中江县",value:"510623"},{city:"德阳市",text:"罗江县",value:"510626"},{city:"德阳市",text:"广汉市",value:"510681"},{city:"德阳市",text:"什邡市",value:"510682"},{city:"德阳市",text:"绵竹市",value:"510683"}],510700:[{city:"绵阳市",text:"市辖区",value:"510701"},{city:"绵阳市",text:"涪城区",value:"510703"},{city:"绵阳市",text:"游仙区",value:"510704"},{city:"绵阳市",text:"安州区",value:"510705"},{city:"绵阳市",text:"三台县",value:"510722"},{city:"绵阳市",text:"盐亭县",value:"510723"},{city:"绵阳市",text:"梓潼县",value:"510725"},{city:"绵阳市",text:"北川羌族自治县",value:"510726"},{city:"绵阳市",text:"平武县",value:"510727"},{city:"绵阳市",text:"江油市",value:"510781"}],510800:[{city:"广元市",text:"市辖区",value:"510801"},{city:"广元市",text:"利州区",value:"510802"},{city:"广元市",text:"昭化区",value:"510811"},{city:"广元市",text:"朝天区",value:"510812"},{city:"广元市",text:"旺苍县",value:"510821"},{city:"广元市",text:"青川县",value:"510822"},{city:"广元市",text:"剑阁县",value:"510823"},{city:"广元市",text:"苍溪县",value:"510824"}],510900:[{city:"遂宁市",text:"市辖区",value:"510901"},{city:"遂宁市",text:"船山区",value:"510903"},{city:"遂宁市",text:"安居区",value:"510904"},{city:"遂宁市",text:"蓬溪县",value:"510921"},{city:"遂宁市",text:"射洪县",value:"510922"},{city:"遂宁市",text:"大英县",value:"510923"}],511000:[{city:"内江市",text:"市辖区",value:"511001"},{city:"内江市",text:"市中区",value:"511002"},{city:"内江市",text:"东兴区",value:"511011"},{city:"内江市",text:"威远县",value:"511024"},{city:"内江市",text:"资中县",value:"511025"},{city:"内江市",text:"隆昌县",value:"511028"}],511100:[{city:"乐山市",text:"市辖区",value:"511101"},{city:"乐山市",text:"市中区",value:"511102"},{city:"乐山市",text:"沙湾区",value:"511111"},{city:"乐山市",text:"五通桥区",value:"511112"},{city:"乐山市",text:"金口河区",value:"511113"},{city:"乐山市",text:"犍为县",value:"511123"},{city:"乐山市",text:"井研县",value:"511124"},{city:"乐山市",text:"夹江县",value:"511126"},{city:"乐山市",text:"沐川县",value:"511129"},{city:"乐山市",text:"峨边彝族自治县",value:"511132"},{city:"乐山市",text:"马边彝族自治县",value:"511133"},{city:"乐山市",text:"峨眉山市",value:"511181"}],511300:[{city:"南充市",text:"市辖区",value:"511301"},{city:"南充市",text:"顺庆区",value:"511302"},{city:"南充市",text:"高坪区",value:"511303"},{city:"南充市",text:"嘉陵区",value:"511304"},{city:"南充市",text:"南部县",value:"511321"},{city:"南充市",text:"营山县",value:"511322"},{city:"南充市",text:"蓬安县",value:"511323"},{city:"南充市",text:"仪陇县",value:"511324"},{city:"南充市",text:"西充县",value:"511325"},{city:"南充市",text:"阆中市",value:"511381"}],511400:[{city:"眉山市",text:"市辖区",value:"511401"},{city:"眉山市",text:"东坡区",value:"511402"},{city:"眉山市",text:"彭山区",value:"511403"},{city:"眉山市",text:"仁寿县",value:"511421"},{city:"眉山市",text:"洪雅县",value:"511423"},{city:"眉山市",text:"丹棱县",value:"511424"},{city:"眉山市",text:"青神县",value:"511425"}],511500:[{city:"宜宾市",text:"市辖区",value:"511501"},{city:"宜宾市",text:"翠屏区",value:"511502"},{city:"宜宾市",text:"南溪区",value:"511503"},{city:"宜宾市",text:"宜宾县",value:"511521"},{city:"宜宾市",text:"江安县",value:"511523"},{city:"宜宾市",text:"长宁县",value:"511524"},{city:"宜宾市",text:"高县",value:"511525"},{city:"宜宾市",text:"珙县",value:"511526"},{city:"宜宾市",text:"筠连县",value:"511527"},{city:"宜宾市",text:"兴文县",value:"511528"},{city:"宜宾市",text:"屏山县",value:"511529"}],511600:[{city:"广安市",text:"市辖区",value:"511601"},{city:"广安市",text:"广安区",value:"511602"},{city:"广安市",text:"前锋区",value:"511603"},{city:"广安市",text:"岳池县",value:"511621"},{city:"广安市",text:"武胜县",value:"511622"},{city:"广安市",text:"邻水县",value:"511623"},{city:"广安市",text:"华蓥市",value:"511681"}],511700:[{city:"达州市",text:"市辖区",value:"511701"},{city:"达州市",text:"通川区",value:"511702"},{city:"达州市",text:"达川区",value:"511703"},{city:"达州市",text:"宣汉县",value:"511722"},{city:"达州市",text:"开江县",value:"511723"},{city:"达州市",text:"大竹县",value:"511724"},{city:"达州市",text:"渠县",value:"511725"},{city:"达州市",text:"万源市",value:"511781"}],511800:[{city:"雅安市",text:"市辖区",value:"511801"},{city:"雅安市",text:"雨城区",value:"511802"},{city:"雅安市",text:"名山区",value:"511803"},{city:"雅安市",text:"荥经县",value:"511822"},{city:"雅安市",text:"汉源县",value:"511823"},{city:"雅安市",text:"石棉县",value:"511824"},{city:"雅安市",text:"天全县",value:"511825"},{city:"雅安市",text:"芦山县",value:"511826"},{city:"雅安市",text:"宝兴县",value:"511827"}],511900:[{city:"巴中市",text:"市辖区",value:"511901"},{city:"巴中市",text:"巴州区",value:"511902"},{city:"巴中市",text:"恩阳区",value:"511903"},{city:"巴中市",text:"通江县",value:"511921"},{city:"巴中市",text:"南江县",value:"511922"},{city:"巴中市",text:"平昌县",value:"511923"}],512000:[{city:"资阳市",text:"市辖区",value:"512001"},{city:"资阳市",text:"雁江区",value:"512002"},{city:"资阳市",text:"安岳县",value:"512021"},{city:"资阳市",text:"乐至县",value:"512022"}],513200:[{city:"阿坝藏族羌族自治州",text:"马尔康市",value:"513201"},{city:"阿坝藏族羌族自治州",text:"汶川县",value:"513221"},{city:"阿坝藏族羌族自治州",text:"理县",value:"513222"},{city:"阿坝藏族羌族自治州",text:"茂县",value:"513223"},{city:"阿坝藏族羌族自治州",text:"松潘县",value:"513224"},{city:"阿坝藏族羌族自治州",text:"九寨沟县",value:"513225"},{city:"阿坝藏族羌族自治州",text:"金川县",value:"513226"},{city:"阿坝藏族羌族自治州",text:"小金县",value:"513227"},{city:"阿坝藏族羌族自治州",text:"黑水县",value:"513228"},{city:"阿坝藏族羌族自治州",text:"壤塘县",value:"513230"},{city:"阿坝藏族羌族自治州",text:"阿坝县",value:"513231"},{city:"阿坝藏族羌族自治州",text:"若尔盖县",value:"513232"},{city:"阿坝藏族羌族自治州",text:"红原县",value:"513233"}],513300:[{city:"甘孜藏族自治州",text:"康定市",value:"513301"},{city:"甘孜藏族自治州",text:"泸定县",value:"513322"},{city:"甘孜藏族自治州",text:"丹巴县",value:"513323"},{city:"甘孜藏族自治州",text:"九龙县",value:"513324"},{city:"甘孜藏族自治州",text:"雅江县",value:"513325"},{city:"甘孜藏族自治州",text:"道孚县",value:"513326"},{city:"甘孜藏族自治州",text:"炉霍县",value:"513327"},{city:"甘孜藏族自治州",text:"甘孜县",value:"513328"},{city:"甘孜藏族自治州",text:"新龙县",value:"513329"},{city:"甘孜藏族自治州",text:"德格县",value:"513330"},{city:"甘孜藏族自治州",text:"白玉县",value:"513331"},{city:"甘孜藏族自治州",text:"石渠县",value:"513332"},{city:"甘孜藏族自治州",text:"色达县",value:"513333"},{city:"甘孜藏族自治州",text:"理塘县",value:"513334"},{city:"甘孜藏族自治州",text:"巴塘县",value:"513335"},{city:"甘孜藏族自治州",text:"乡城县",value:"513336"},{city:"甘孜藏族自治州",text:"稻城县",value:"513337"},{city:"甘孜藏族自治州",text:"得荣县",value:"513338"}],513400:[{city:"凉山彝族自治州",text:"西昌市",value:"513401"},{city:"凉山彝族自治州",text:"木里藏族自治县",value:"513422"},{city:"凉山彝族自治州",text:"盐源县",value:"513423"},{city:"凉山彝族自治州",text:"德昌县",value:"513424"},{city:"凉山彝族自治州",text:"会理县",value:"513425"},{city:"凉山彝族自治州",text:"会东县",value:"513426"},{city:"凉山彝族自治州",text:"宁南县",value:"513427"},{city:"凉山彝族自治州",text:"普格县",value:"513428"},{city:"凉山彝族自治州",text:"布拖县",value:"513429"},{city:"凉山彝族自治州",text:"金阳县",value:"513430"},{city:"凉山彝族自治州",text:"昭觉县",value:"513431"},{city:"凉山彝族自治州",text:"喜德县",value:"513432"},{city:"凉山彝族自治州",text:"冕宁县",value:"513433"},{city:"凉山彝族自治州",text:"越西县",value:"513434"},{city:"凉山彝族自治州",text:"甘洛县",value:"513435"},{city:"凉山彝族自治州",text:"美姑县",value:"513436"},{city:"凉山彝族自治州",text:"雷波县",value:"513437"}],520100:[{city:"贵阳市",text:"市辖区",value:"520101"},{city:"贵阳市",text:"南明区",value:"520102"},{city:"贵阳市",text:"云岩区",value:"520103"},{city:"贵阳市",text:"花溪区",value:"520111"},{city:"贵阳市",text:"乌当区",value:"520112"},{city:"贵阳市",text:"白云区",value:"520113"},{city:"贵阳市",text:"观山湖区",value:"520115"},{city:"贵阳市",text:"开阳县",value:"520121"},{city:"贵阳市",text:"息烽县",value:"520122"},{city:"贵阳市",text:"修文县",value:"520123"},{city:"贵阳市",text:"清镇市",value:"520181"}],520200:[{city:"六盘水市",text:"钟山区",value:"520201"},{city:"六盘水市",text:"六枝特区",value:"520203"},{city:"六盘水市",text:"水城县",value:"520221"},{city:"六盘水市",text:"盘县",value:"520222"}],520300:[{city:"遵义市",text:"市辖区",value:"520301"},{city:"遵义市",text:"红花岗区",value:"520302"},{city:"遵义市",text:"汇川区",value:"520303"},{city:"遵义市",text:"播州区",value:"520304"},{city:"遵义市",text:"桐梓县",value:"520322"},{city:"遵义市",text:"绥阳县",value:"520323"},{city:"遵义市",text:"正安县",value:"520324"},{city:"遵义市",text:"道真仡佬族苗族自治县",value:"520325"},{city:"遵义市",text:"务川仡佬族苗族自治县",value:"520326"},{city:"遵义市",text:"凤冈县",value:"520327"},{city:"遵义市",text:"湄潭县",value:"520328"},{city:"遵义市",text:"余庆县",value:"520329"},{city:"遵义市",text:"习水县",value:"520330"},{city:"遵义市",text:"赤水市",value:"520381"},{city:"遵义市",text:"仁怀市",value:"520382"}],520400:[{city:"安顺市",text:"市辖区",value:"520401"},{city:"安顺市",text:"西秀区",value:"520402"},{city:"安顺市",text:"平坝区",value:"520403"},{city:"安顺市",text:"普定县",value:"520422"},{city:"安顺市",text:"镇宁布依族苗族自治县",value:"520423"},{city:"安顺市",text:"关岭布依族苗族自治县",value:"520424"},{city:"安顺市",text:"紫云苗族布依族自治县",value:"520425"}],520500:[{city:"毕节市",text:"市辖区",value:"520501"},{city:"毕节市",text:"七星关区",value:"520502"},{city:"毕节市",text:"大方县",value:"520521"},{city:"毕节市",text:"黔西县",value:"520522"},{city:"毕节市",text:"金沙县",value:"520523"},{city:"毕节市",text:"织金县",value:"520524"},{city:"毕节市",text:"纳雍县",value:"520525"},{city:"毕节市",text:"威宁彝族回族苗族自治县",value:"520526"},{city:"毕节市",text:"赫章县",value:"520527"}],520600:[{city:"铜仁市",text:"市辖区",value:"520601"},{city:"铜仁市",text:"碧江区",value:"520602"},{city:"铜仁市",text:"万山区",value:"520603"},{city:"铜仁市",text:"江口县",value:"520621"},{city:"铜仁市",text:"玉屏侗族自治县",value:"520622"},{city:"铜仁市",text:"石阡县",value:"520623"},{city:"铜仁市",text:"思南县",value:"520624"},{city:"铜仁市",text:"印江土家族苗族自治县",value:"520625"},{city:"铜仁市",text:"德江县",value:"520626"},{city:"铜仁市",text:"沿河土家族自治县",value:"520627"},{city:"铜仁市",text:"松桃苗族自治县",value:"520628"}],522300:[{city:"黔西南布依族苗族自治州",text:"兴义市",value:"522301"},{city:"黔西南布依族苗族自治州",text:"兴仁县",value:"522322"},{city:"黔西南布依族苗族自治州",text:"普安县",value:"522323"},{city:"黔西南布依族苗族自治州",text:"晴隆县",value:"522324"},{city:"黔西南布依族苗族自治州",text:"贞丰县",value:"522325"},{city:"黔西南布依族苗族自治州",text:"望谟县",value:"522326"},{city:"黔西南布依族苗族自治州",text:"册亨县",value:"522327"},{city:"黔西南布依族苗族自治州",text:"安龙县",value:"522328"}],522600:[{city:"黔东南苗族侗族自治州",text:"凯里市",value:"522601"},{city:"黔东南苗族侗族自治州",text:"黄平县",value:"522622"},{city:"黔东南苗族侗族自治州",text:"施秉县",value:"522623"},{city:"黔东南苗族侗族自治州",text:"三穗县",value:"522624"},{city:"黔东南苗族侗族自治州",text:"镇远县",value:"522625"},{city:"黔东南苗族侗族自治州",text:"岑巩县",value:"522626"},{city:"黔东南苗族侗族自治州",text:"天柱县",value:"522627"},{city:"黔东南苗族侗族自治州",text:"锦屏县",value:"522628"},{city:"黔东南苗族侗族自治州",text:"剑河县",value:"522629"},{city:"黔东南苗族侗族自治州",text:"台江县",value:"522630"},{city:"黔东南苗族侗族自治州",text:"黎平县",value:"522631"},{city:"黔东南苗族侗族自治州",text:"榕江县",value:"522632"},{city:"黔东南苗族侗族自治州",text:"从江县",value:"522633"},{city:"黔东南苗族侗族自治州",text:"雷山县",value:"522634"},{city:"黔东南苗族侗族自治州",text:"麻江县",value:"522635"},{city:"黔东南苗族侗族自治州",text:"丹寨县",value:"522636"}],522700:[{city:"黔南布依族苗族自治州",text:"都匀市",value:"522701"},{city:"黔南布依族苗族自治州",text:"福泉市",value:"522702"},{city:"黔南布依族苗族自治州",text:"荔波县",value:"522722"},{city:"黔南布依族苗族自治州",text:"贵定县",value:"522723"},{city:"黔南布依族苗族自治州",text:"瓮安县",value:"522725"},{city:"黔南布依族苗族自治州",text:"独山县",value:"522726"},{city:"黔南布依族苗族自治州",text:"平塘县",value:"522727"},{city:"黔南布依族苗族自治州",text:"罗甸县",value:"522728"},{city:"黔南布依族苗族自治州",text:"长顺县",value:"522729"},{city:"黔南布依族苗族自治州",text:"龙里县",value:"522730"},{city:"黔南布依族苗族自治州",text:"惠水县",value:"522731"},{city:"黔南布依族苗族自治州",text:"三都水族自治县",value:"522732"}],530100:[{city:"昆明市",text:"市辖区",value:"530101"},{city:"昆明市",text:"五华区",value:"530102"},{city:"昆明市",text:"盘龙区",value:"530103"},{city:"昆明市",text:"官渡区",value:"530111"},{city:"昆明市",text:"西山区",value:"530112"},{city:"昆明市",text:"东川区",value:"530113"},{city:"昆明市",text:"呈贡区",value:"530114"},{city:"昆明市",text:"晋宁县",value:"530122"},{city:"昆明市",text:"富民县",value:"530124"},{city:"昆明市",text:"宜良县",value:"530125"},{city:"昆明市",text:"石林彝族自治县",value:"530126"},{city:"昆明市",text:"嵩明县",value:"530127"},{city:"昆明市",text:"禄劝彝族苗族自治县",value:"530128"},{city:"昆明市",text:"寻甸回族彝族自治县",value:"530129"},{city:"昆明市",text:"安宁市",value:"530181"}],530300:[{city:"曲靖市",text:"市辖区",value:"530301"},{city:"曲靖市",text:"麒麟区",value:"530302"},{city:"曲靖市",text:"沾益区",value:"530303"},{city:"曲靖市",text:"马龙县",value:"530321"},{city:"曲靖市",text:"陆良县",value:"530322"},{city:"曲靖市",text:"师宗县",value:"530323"},{city:"曲靖市",text:"罗平县",value:"530324"},{city:"曲靖市",text:"富源县",value:"530325"},{city:"曲靖市",text:"会泽县",value:"530326"},{city:"曲靖市",text:"宣威市",value:"530381"}],530400:[{city:"玉溪市",text:"市辖区",value:"530401"},{city:"玉溪市",text:"红塔区",value:"530402"},{city:"玉溪市",text:"江川区",value:"530403"},{city:"玉溪市",text:"澄江县",value:"530422"},{city:"玉溪市",text:"通海县",value:"530423"},{city:"玉溪市",text:"华宁县",value:"530424"},{city:"玉溪市",text:"易门县",value:"530425"},{city:"玉溪市",text:"峨山彝族自治县",value:"530426"},{city:"玉溪市",text:"新平彝族傣族自治县",value:"530427"},{city:"玉溪市",text:"元江哈尼族彝族傣族自治县",value:"530428"}],530500:[{city:"保山市",text:"市辖区",value:"530501"},{city:"保山市",text:"隆阳区",value:"530502"},{city:"保山市",text:"施甸县",value:"530521"},{city:"保山市",text:"龙陵县",value:"530523"},{city:"保山市",text:"昌宁县",value:"530524"},{city:"保山市",text:"腾冲市",value:"530581"}],530600:[{city:"昭通市",text:"市辖区",value:"530601"},{city:"昭通市",text:"昭阳区",value:"530602"},{city:"昭通市",text:"鲁甸县",value:"530621"},{city:"昭通市",text:"巧家县",value:"530622"},{city:"昭通市",text:"盐津县",value:"530623"},{city:"昭通市",text:"大关县",value:"530624"},{city:"昭通市",text:"永善县",value:"530625"},{city:"昭通市",text:"绥江县",value:"530626"},{city:"昭通市",text:"镇雄县",value:"530627"},{city:"昭通市",text:"彝良县",value:"530628"},{city:"昭通市",text:"威信县",value:"530629"},{city:"昭通市",text:"水富县",value:"530630"}],530700:[{city:"丽江市",text:"市辖区",value:"530701"},{city:"丽江市",text:"古城区",value:"530702"},{city:"丽江市",text:"玉龙纳西族自治县",value:"530721"},{city:"丽江市",text:"永胜县",value:"530722"},{city:"丽江市",text:"华坪县",value:"530723"},{city:"丽江市",text:"宁蒗彝族自治县",value:"530724"}],530800:[{city:"普洱市",text:"市辖区",value:"530801"},{city:"普洱市",text:"思茅区",value:"530802"},{city:"普洱市",text:"宁洱哈尼族彝族自治县",value:"530821"},{city:"普洱市",text:"墨江哈尼族自治县",value:"530822"},{city:"普洱市",text:"景东彝族自治县",value:"530823"},{city:"普洱市",text:"景谷傣族彝族自治县",value:"530824"},{city:"普洱市",text:"镇沅彝族哈尼族拉祜族自治县",value:"530825"},{city:"普洱市",text:"江城哈尼族彝族自治县",value:"530826"},{city:"普洱市",text:"孟连傣族拉祜族佤族自治县",value:"530827"},{city:"普洱市",text:"澜沧拉祜族自治县",value:"530828"},{city:"普洱市",text:"西盟佤族自治县",value:"530829"}],530900:[{city:"临沧市",text:"市辖区",value:"530901"},{city:"临沧市",text:"临翔区",value:"530902"},{city:"临沧市",text:"凤庆县",value:"530921"},{city:"临沧市",text:"云县",value:"530922"},{city:"临沧市",text:"永德县",value:"530923"},{city:"临沧市",text:"镇康县",value:"530924"},{city:"临沧市",text:"双江拉祜族佤族布朗族傣族自治县",value:"530925"},{city:"临沧市",text:"耿马傣族佤族自治县",value:"530926"},{city:"临沧市",text:"沧源佤族自治县",value:"530927"}],532300:[{city:"楚雄彝族自治州",text:"楚雄市",value:"532301"},{city:"楚雄彝族自治州",text:"双柏县",value:"532322"},{city:"楚雄彝族自治州",text:"牟定县",value:"532323"},{city:"楚雄彝族自治州",text:"南华县",value:"532324"},{city:"楚雄彝族自治州",text:"姚安县",value:"532325"},{city:"楚雄彝族自治州",text:"大姚县",value:"532326"},{city:"楚雄彝族自治州",text:"永仁县",value:"532327"},{city:"楚雄彝族自治州",text:"元谋县",value:"532328"},{city:"楚雄彝族自治州",text:"武定县",value:"532329"},{city:"楚雄彝族自治州",text:"禄丰县",value:"532331"}],532500:[{city:"红河哈尼族彝族自治州",text:"个旧市",value:"532501"},{city:"红河哈尼族彝族自治州",text:"开远市",value:"532502"},{city:"红河哈尼族彝族自治州",text:"蒙自市",value:"532503"},{city:"红河哈尼族彝族自治州",text:"弥勒市",value:"532504"},{city:"红河哈尼族彝族自治州",text:"屏边苗族自治县",value:"532523"},{city:"红河哈尼族彝族自治州",text:"建水县",value:"532524"},{city:"红河哈尼族彝族自治州",text:"石屏县",value:"532525"},{city:"红河哈尼族彝族自治州",text:"泸西县",value:"532527"},{city:"红河哈尼族彝族自治州",text:"元阳县",value:"532528"},{city:"红河哈尼族彝族自治州",text:"红河县",value:"532529"},{city:"红河哈尼族彝族自治州",text:"金平苗族瑶族傣族自治县",value:"532530"},{city:"红河哈尼族彝族自治州",text:"绿春县",value:"532531"},{city:"红河哈尼族彝族自治州",text:"河口瑶族自治县",value:"532532"}],532600:[{city:"文山壮族苗族自治州",text:"文山市",value:"532601"},{city:"文山壮族苗族自治州",text:"砚山县",value:"532622"},{city:"文山壮族苗族自治州",text:"西畴县",value:"532623"},{city:"文山壮族苗族自治州",text:"麻栗坡县",value:"532624"},{city:"文山壮族苗族自治州",text:"马关县",value:"532625"},{city:"文山壮族苗族自治州",text:"丘北县",value:"532626"},{city:"文山壮族苗族自治州",text:"广南县",value:"532627"},{city:"文山壮族苗族自治州",text:"富宁县",value:"532628"}],532800:[{city:"西双版纳傣族自治州",text:"景洪市",value:"532801"},{city:"西双版纳傣族自治州",text:"勐海县",value:"532822"},{city:"西双版纳傣族自治州",text:"勐腊县",value:"532823"}],532900:[{city:"大理白族自治州",text:"大理市",value:"532901"},{city:"大理白族自治州",text:"漾濞彝族自治县",value:"532922"},{city:"大理白族自治州",text:"祥云县",value:"532923"},{city:"大理白族自治州",text:"宾川县",value:"532924"},{city:"大理白族自治州",text:"弥渡县",value:"532925"},{city:"大理白族自治州",text:"南涧彝族自治县",value:"532926"},{city:"大理白族自治州",text:"巍山彝族回族自治县",value:"532927"},{city:"大理白族自治州",text:"永平县",value:"532928"},{city:"大理白族自治州",text:"云龙县",value:"532929"},{city:"大理白族自治州",text:"洱源县",value:"532930"},{city:"大理白族自治州",text:"剑川县",value:"532931"},{city:"大理白族自治州",text:"鹤庆县",value:"532932"}],533100:[{city:"德宏傣族景颇族自治州",text:"瑞丽市",value:"533102"},{city:"德宏傣族景颇族自治州",text:"芒市",value:"533103"},{city:"德宏傣族景颇族自治州",text:"梁河县",value:"533122"},{city:"德宏傣族景颇族自治州",text:"盈江县",value:"533123"},{city:"德宏傣族景颇族自治州",text:"陇川县",value:"533124"}],533300:[{city:"怒江傈僳族自治州",text:"泸水市",value:"533301"},{city:"怒江傈僳族自治州",text:"福贡县",value:"533323"},{city:"怒江傈僳族自治州",text:"贡山独龙族怒族自治县",value:"533324"},{city:"怒江傈僳族自治州",text:"兰坪白族普米族自治县",value:"533325"}],533400:[{city:"迪庆藏族自治州",text:"香格里拉市",value:"533401"},{city:"迪庆藏族自治州",text:"德钦县",value:"533422"},{city:"迪庆藏族自治州",text:"维西傈僳族自治县",value:"533423"}],540100:[{city:"拉萨市",text:"市辖区",value:"540101"},{city:"拉萨市",text:"城关区",value:"540102"},{city:"拉萨市",text:"堆龙德庆区",value:"540103"},{city:"拉萨市",text:"林周县",value:"540121"},{city:"拉萨市",text:"当雄县",value:"540122"},{city:"拉萨市",text:"尼木县",value:"540123"},{city:"拉萨市",text:"曲水县",value:"540124"},{city:"拉萨市",text:"达孜县",value:"540126"},{city:"拉萨市",text:"墨竹工卡县",value:"540127"}],540200:[{city:"日喀则市",text:"桑珠孜区",value:"540202"},{city:"日喀则市",text:"南木林县",value:"540221"},{city:"日喀则市",text:"江孜县",value:"540222"},{city:"日喀则市",text:"定日县",value:"540223"},{city:"日喀则市",text:"萨迦县",value:"540224"},{city:"日喀则市",text:"拉孜县",value:"540225"},{city:"日喀则市",text:"昂仁县",value:"540226"},{city:"日喀则市",text:"谢通门县",value:"540227"},{city:"日喀则市",text:"白朗县",value:"540228"},{city:"日喀则市",text:"仁布县",value:"540229"},{city:"日喀则市",text:"康马县",value:"540230"},{city:"日喀则市",text:"定结县",value:"540231"},{city:"日喀则市",text:"仲巴县",value:"540232"},{city:"日喀则市",text:"亚东县",value:"540233"},{city:"日喀则市",text:"吉隆县",value:"540234"},{city:"日喀则市",text:"聂拉木县",value:"540235"},{city:"日喀则市",text:"萨嘎县",value:"540236"},{city:"日喀则市",text:"岗巴县",value:"540237"}],540300:[{city:"昌都市",text:"卡若区",value:"540302"},{city:"昌都市",text:"江达县",value:"540321"},{city:"昌都市",text:"贡觉县",value:"540322"},{city:"昌都市",text:"类乌齐县",value:"540323"},{city:"昌都市",text:"丁青县",value:"540324"},{city:"昌都市",text:"察雅县",value:"540325"},{city:"昌都市",text:"八宿县",value:"540326"},{city:"昌都市",text:"左贡县",value:"540327"},{city:"昌都市",text:"芒康县",value:"540328"},{city:"昌都市",text:"洛隆县",value:"540329"},{city:"昌都市",text:"边坝县",value:"540330"}],540400:[{city:"林芝市",text:"巴宜区",value:"540402"},{city:"林芝市",text:"工布江达县",value:"540421"},{city:"林芝市",text:"米林县",value:"540422"},{city:"林芝市",text:"墨脱县",value:"540423"},{city:"林芝市",text:"波密县",value:"540424"},{city:"林芝市",text:"察隅县",value:"540425"},{city:"林芝市",text:"朗县",value:"540426"}],540500:[{city:"山南市",text:"市辖区",value:"540501"},{city:"山南市",text:"乃东区",value:"540502"},{city:"山南市",text:"扎囊县",value:"540521"},{city:"山南市",text:"贡嘎县",value:"540522"},{city:"山南市",text:"桑日县",value:"540523"},{city:"山南市",text:"琼结县",value:"540524"},{city:"山南市",text:"曲松县",value:"540525"},{city:"山南市",text:"措美县",value:"540526"},{city:"山南市",text:"洛扎县",value:"540527"},{city:"山南市",text:"加查县",value:"540528"},{city:"山南市",text:"隆子县",value:"540529"},{city:"山南市",text:"错那县",value:"540530"},{city:"山南市",text:"浪卡子县",value:"540531"}],542400:[{city:"那曲地区",text:"那曲县",value:"542421"},{city:"那曲地区",text:"嘉黎县",value:"542422"},{city:"那曲地区",text:"比如县",value:"542423"},{city:"那曲地区",text:"聂荣县",value:"542424"},{city:"那曲地区",text:"安多县",value:"542425"},{city:"那曲地区",text:"申扎县",value:"542426"},{city:"那曲地区",text:"索县",value:"542427"},{city:"那曲地区",text:"班戈县",value:"542428"},{city:"那曲地区",text:"巴青县",value:"542429"},{city:"那曲地区",text:"尼玛县",value:"542430"},{city:"那曲地区",text:"双湖县",value:"542431"}],542500:[{city:"阿里地区",text:"普兰县",value:"542521"},{city:"阿里地区",text:"札达县",value:"542522"},{city:"阿里地区",text:"噶尔县",value:"542523"},{city:"阿里地区",text:"日土县",value:"542524"},{city:"阿里地区",text:"革吉县",value:"542525"},{city:"阿里地区",text:"改则县",value:"542526"},{city:"阿里地区",text:"措勤县",value:"542527"}],610100:[{city:"西安市",text:"市辖区",value:"610101"},{city:"西安市",text:"新城区",value:"610102"},{city:"西安市",text:"碑林区",value:"610103"},{city:"西安市",text:"莲湖区",value:"610104"},{city:"西安市",text:"灞桥区",value:"610111"},{city:"西安市",text:"未央区",value:"610112"},{city:"西安市",text:"雁塔区",value:"610113"},{city:"西安市",text:"阎良区",value:"610114"},{city:"西安市",text:"临潼区",value:"610115"},{city:"西安市",text:"长安区",value:"610116"},{city:"西安市",text:"高陵区",value:"610117"},{city:"西安市",text:"蓝田县",value:"610122"},{city:"西安市",text:"周至县",value:"610124"},{city:"西安市",text:"户县",value:"610125"}],610200:[{city:"铜川市",text:"市辖区",value:"610201"},{city:"铜川市",text:"王益区",value:"610202"},{city:"铜川市",text:"印台区",value:"610203"},{city:"铜川市",text:"耀州区",value:"610204"},{city:"铜川市",text:"宜君县",value:"610222"}],610300:[{city:"宝鸡市",text:"市辖区",value:"610301"},{city:"宝鸡市",text:"渭滨区",value:"610302"},{city:"宝鸡市",text:"金台区",value:"610303"},{city:"宝鸡市",text:"陈仓区",value:"610304"},{city:"宝鸡市",text:"凤翔县",value:"610322"},{city:"宝鸡市",text:"岐山县",value:"610323"},{city:"宝鸡市",text:"扶风县",value:"610324"},{city:"宝鸡市",text:"眉县",value:"610326"},{city:"宝鸡市",text:"陇县",value:"610327"},{city:"宝鸡市",text:"千阳县",value:"610328"},{city:"宝鸡市",text:"麟游县",value:"610329"},{city:"宝鸡市",text:"凤县",value:"610330"},{city:"宝鸡市",text:"太白县",value:"610331"}],610400:[{city:"咸阳市",text:"市辖区",value:"610401"},{city:"咸阳市",text:"秦都区",value:"610402"},{city:"咸阳市",text:"杨陵区",value:"610403"},{city:"咸阳市",text:"渭城区",value:"610404"},{city:"咸阳市",text:"三原县",value:"610422"},{city:"咸阳市",text:"泾阳县",value:"610423"},{city:"咸阳市",text:"乾县",value:"610424"},{city:"咸阳市",text:"礼泉县",value:"610425"},{city:"咸阳市",text:"永寿县",value:"610426"},{city:"咸阳市",text:"彬县",value:"610427"},{city:"咸阳市",text:"长武县",value:"610428"},{city:"咸阳市",text:"旬邑县",value:"610429"},{city:"咸阳市",text:"淳化县",value:"610430"},{city:"咸阳市",text:"武功县",value:"610431"},{city:"咸阳市",text:"兴平市",value:"610481"}],610500:[{city:"渭南市",text:"市辖区",value:"610501"},{city:"渭南市",text:"临渭区",value:"610502"},{city:"渭南市",text:"华州区",value:"610503"},{city:"渭南市",text:"潼关县",value:"610522"},{city:"渭南市",text:"大荔县",value:"610523"},{city:"渭南市",text:"合阳县",value:"610524"},{city:"渭南市",text:"澄城县",value:"610525"},{city:"渭南市",text:"蒲城县",value:"610526"},{city:"渭南市",text:"白水县",value:"610527"},{city:"渭南市",text:"富平县",value:"610528"},{city:"渭南市",text:"韩城市",value:"610581"},{city:"渭南市",text:"华阴市",value:"610582"}],610600:[{city:"延安市",text:"市辖区",value:"610601"},{city:"延安市",text:"宝塔区",value:"610602"},{city:"延安市",text:"安塞区",value:"610603"},{city:"延安市",text:"延长县",value:"610621"},{city:"延安市",text:"延川县",value:"610622"},{city:"延安市",text:"子长县",value:"610623"},{city:"延安市",text:"志丹县",value:"610625"},{city:"延安市",text:"吴起县",value:"610626"},{city:"延安市",text:"甘泉县",value:"610627"},{city:"延安市",text:"富县",value:"610628"},{city:"延安市",text:"洛川县",value:"610629"},{city:"延安市",text:"宜川县",value:"610630"},{city:"延安市",text:"黄龙县",value:"610631"},{city:"延安市",text:"黄陵县",value:"610632"}],610700:[{city:"汉中市",text:"市辖区",value:"610701"},{city:"汉中市",text:"汉台区",value:"610702"},{city:"汉中市",text:"南郑县",value:"610721"},{city:"汉中市",text:"城固县",value:"610722"},{city:"汉中市",text:"洋县",value:"610723"},{city:"汉中市",text:"西乡县",value:"610724"},{city:"汉中市",text:"勉县",value:"610725"},{city:"汉中市",text:"宁强县",value:"610726"},{city:"汉中市",text:"略阳县",value:"610727"},{city:"汉中市",text:"镇巴县",value:"610728"},{city:"汉中市",text:"留坝县",value:"610729"},{city:"汉中市",text:"佛坪县",value:"610730"}],610800:[{city:"榆林市",text:"市辖区",value:"610801"},{city:"榆林市",text:"榆阳区",value:"610802"},{city:"榆林市",text:"横山区",value:"610803"},{city:"榆林市",text:"神木县",value:"610821"},{city:"榆林市",text:"府谷县",value:"610822"},{city:"榆林市",text:"靖边县",value:"610824"},{city:"榆林市",text:"定边县",value:"610825"},{city:"榆林市",text:"绥德县",value:"610826"},{city:"榆林市",text:"米脂县",value:"610827"},{city:"榆林市",text:"佳县",value:"610828"},{city:"榆林市",text:"吴堡县",value:"610829"},{city:"榆林市",text:"清涧县",value:"610830"},{city:"榆林市",text:"子洲县",value:"610831"}],610900:[{city:"安康市",text:"市辖区",value:"610901"},{city:"安康市",text:"汉滨区",value:"610902"},{city:"安康市",text:"汉阴县",value:"610921"},{city:"安康市",text:"石泉县",value:"610922"},{city:"安康市",text:"宁陕县",value:"610923"},{city:"安康市",text:"紫阳县",value:"610924"},{city:"安康市",text:"岚皋县",value:"610925"},{city:"安康市",text:"平利县",value:"610926"},{city:"安康市",text:"镇坪县",value:"610927"},{city:"安康市",text:"旬阳县",value:"610928"},{city:"安康市",text:"白河县",value:"610929"}],611000:[{city:"商洛市",text:"市辖区",value:"611001"},{city:"商洛市",text:"商州区",value:"611002"},{city:"商洛市",text:"洛南县",value:"611021"},{city:"商洛市",text:"丹凤县",value:"611022"},{city:"商洛市",text:"商南县",value:"611023"},{city:"商洛市",text:"山阳县",value:"611024"},{city:"商洛市",text:"镇安县",value:"611025"},{city:"商洛市",text:"柞水县",value:"611026"}],620100:[{city:"兰州市",text:"市辖区",value:"620101"},{city:"兰州市",text:"城关区",value:"620102"},{city:"兰州市",text:"七里河区",value:"620103"},{city:"兰州市",text:"西固区",value:"620104"},{city:"兰州市",text:"安宁区",value:"620105"},{city:"兰州市",text:"红古区",value:"620111"},{city:"兰州市",text:"永登县",value:"620121"},{city:"兰州市",text:"皋兰县",value:"620122"},{city:"兰州市",text:"榆中县",value:"620123"}],620200:[{city:"嘉峪关市",text:"市辖区",value:"620201"}],620300:[{city:"金昌市",text:"市辖区",value:"620301"},{city:"金昌市",text:"金川区",value:"620302"},{city:"金昌市",text:"永昌县",value:"620321"}],620400:[{city:"白银市",text:"市辖区",value:"620401"},{city:"白银市",text:"白银区",value:"620402"},{city:"白银市",text:"平川区",value:"620403"},{city:"白银市",text:"靖远县",value:"620421"},{city:"白银市",text:"会宁县",value:"620422"},{city:"白银市",text:"景泰县",value:"620423"}],620500:[{city:"天水市",text:"市辖区",value:"620501"},{city:"天水市",text:"秦州区",value:"620502"},{city:"天水市",text:"麦积区",value:"620503"},{city:"天水市",text:"清水县",value:"620521"},{city:"天水市",text:"秦安县",value:"620522"},{city:"天水市",text:"甘谷县",value:"620523"},{city:"天水市",text:"武山县",value:"620524"},{city:"天水市",text:"张家川回族自治县",value:"620525"}],620600:[{city:"武威市",text:"市辖区",value:"620601"},{city:"武威市",text:"凉州区",value:"620602"},{city:"武威市",text:"民勤县",value:"620621"},{city:"武威市",text:"古浪县",value:"620622"},{city:"武威市",text:"天祝藏族自治县",value:"620623"}],620700:[{city:"张掖市",text:"市辖区",value:"620701"},{city:"张掖市",text:"甘州区",value:"620702"},{city:"张掖市",text:"肃南裕固族自治县",value:"620721"},{city:"张掖市",text:"民乐县",value:"620722"},{city:"张掖市",text:"临泽县",value:"620723"},{city:"张掖市",text:"高台县",value:"620724"},{city:"张掖市",text:"山丹县",value:"620725"}],620800:[{city:"平凉市",text:"市辖区",value:"620801"},{city:"平凉市",text:"崆峒区",value:"620802"},{city:"平凉市",text:"泾川县",value:"620821"},{city:"平凉市",text:"灵台县",value:"620822"},{city:"平凉市",text:"崇信县",value:"620823"},{city:"平凉市",text:"华亭县",value:"620824"},{city:"平凉市",text:"庄浪县",value:"620825"},{city:"平凉市",text:"静宁县",value:"620826"}],620900:[{city:"酒泉市",text:"市辖区",value:"620901"},{city:"酒泉市",text:"肃州区",value:"620902"},{city:"酒泉市",text:"金塔县",value:"620921"},{city:"酒泉市",text:"瓜州县",value:"620922"},{city:"酒泉市",text:"肃北蒙古族自治县",value:"620923"},{city:"酒泉市",text:"阿克塞哈萨克族自治县",value:"620924"},{city:"酒泉市",text:"玉门市",value:"620981"},{city:"酒泉市",text:"敦煌市",value:"620982"}],621000:[{city:"庆阳市",text:"市辖区",value:"621001"},{city:"庆阳市",text:"西峰区",value:"621002"},{city:"庆阳市",text:"庆城县",value:"621021"},{city:"庆阳市",text:"环县",value:"621022"},{city:"庆阳市",text:"华池县",value:"621023"},{city:"庆阳市",text:"合水县",value:"621024"},{city:"庆阳市",text:"正宁县",value:"621025"},{city:"庆阳市",text:"宁县",value:"621026"},{city:"庆阳市",text:"镇原县",value:"621027"}],621100:[{city:"定西市",text:"市辖区",value:"621101"},{city:"定西市",text:"安定区",value:"621102"},{city:"定西市",text:"通渭县",value:"621121"},{city:"定西市",text:"陇西县",value:"621122"},{city:"定西市",text:"渭源县",value:"621123"},{city:"定西市",text:"临洮县",value:"621124"},{city:"定西市",text:"漳县",value:"621125"},{city:"定西市",text:"岷县",value:"621126"}],621200:[{city:"陇南市",text:"市辖区",value:"621201"},{city:"陇南市",text:"武都区",value:"621202"},{city:"陇南市",text:"成县",value:"621221"},{city:"陇南市",text:"文县",value:"621222"},{city:"陇南市",text:"宕昌县",value:"621223"},{city:"陇南市",text:"康县",value:"621224"},{city:"陇南市",text:"西和县",value:"621225"},{city:"陇南市",text:"礼县",value:"621226"},{city:"陇南市",text:"徽县",value:"621227"},{city:"陇南市",text:"两当县",value:"621228"}],622900:[{city:"临夏回族自治州",text:"临夏市",value:"622901"},{city:"临夏回族自治州",text:"临夏县",value:"622921"},{city:"临夏回族自治州",text:"康乐县",value:"622922"},{city:"临夏回族自治州",text:"永靖县",value:"622923"},{city:"临夏回族自治州",text:"广河县",value:"622924"},{city:"临夏回族自治州",text:"和政县",value:"622925"},{city:"临夏回族自治州",text:"东乡族自治县",value:"622926"},{city:"临夏回族自治州",text:"积石山保安族东乡族撒拉族自治县",value:"622927"}],623000:[{city:"甘南藏族自治州",text:"合作市",value:"623001"},{city:"甘南藏族自治州",text:"临潭县",value:"623021"},{city:"甘南藏族自治州",text:"卓尼县",value:"623022"},{city:"甘南藏族自治州",text:"舟曲县",value:"623023"},{city:"甘南藏族自治州",text:"迭部县",value:"623024"},{city:"甘南藏族自治州",text:"玛曲县",value:"623025"},{city:"甘南藏族自治州",text:"碌曲县",value:"623026"},{city:"甘南藏族自治州",text:"夏河县",value:"623027"}],630100:[{city:"西宁市",text:"市辖区",value:"630101"},{city:"西宁市",text:"城东区",value:"630102"},{city:"西宁市",text:"城中区",value:"630103"},{city:"西宁市",text:"城西区",value:"630104"},{city:"西宁市",text:"城北区",value:"630105"},{city:"西宁市",text:"大通回族土族自治县",value:"630121"},{city:"西宁市",text:"湟中县",value:"630122"},{city:"西宁市",text:"湟源县",value:"630123"}],630200:[{city:"海东市",text:"乐都区",value:"630202"},{city:"海东市",text:"平安区",value:"630203"},{city:"海东市",text:"民和回族土族自治县",value:"630222"},{city:"海东市",text:"互助土族自治县",value:"630223"},{city:"海东市",text:"化隆回族自治县",value:"630224"},{city:"海东市",text:"循化撒拉族自治县",value:"630225"}],632200:[{city:"海北藏族自治州",text:"门源回族自治县",value:"632221"},{city:"海北藏族自治州",text:"祁连县",value:"632222"},{city:"海北藏族自治州",text:"海晏县",value:"632223"},{city:"海北藏族自治州",text:"刚察县",value:"632224"}],632300:[{city:"黄南藏族自治州",text:"同仁县",value:"632321"},{city:"黄南藏族自治州",text:"尖扎县",value:"632322"},{city:"黄南藏族自治州",text:"泽库县",value:"632323"},{city:"黄南藏族自治州",text:"河南蒙古族自治县",value:"632324"}],632500:[{city:"海南藏族自治州",text:"共和县",value:"632521"},{city:"海南藏族自治州",text:"同德县",value:"632522"},{city:"海南藏族自治州",text:"贵德县",value:"632523"},{city:"海南藏族自治州",text:"兴海县",value:"632524"},{city:"海南藏族自治州",text:"贵南县",value:"632525"}],632600:[{city:"果洛藏族自治州",text:"玛沁县",value:"632621"},{city:"果洛藏族自治州",text:"班玛县",value:"632622"},{city:"果洛藏族自治州",text:"甘德县",value:"632623"},{city:"果洛藏族自治州",text:"达日县",value:"632624"},{city:"果洛藏族自治州",text:"久治县",value:"632625"},{city:"果洛藏族自治州",text:"玛多县",value:"632626"}],632700:[{city:"玉树藏族自治州",text:"玉树市",value:"632701"},{city:"玉树藏族自治州",text:"杂多县",value:"632722"},{city:"玉树藏族自治州",text:"称多县",value:"632723"},{city:"玉树藏族自治州",text:"治多县",value:"632724"},{city:"玉树藏族自治州",text:"囊谦县",value:"632725"},{city:"玉树藏族自治州",text:"曲麻莱县",value:"632726"}],632800:[{city:"海西蒙古族藏族自治州",text:"格尔木市",value:"632801"},{city:"海西蒙古族藏族自治州",text:"德令哈市",value:"632802"},{city:"海西蒙古族藏族自治州",text:"乌兰县",value:"632821"},{city:"海西蒙古族藏族自治州",text:"都兰县",value:"632822"},{city:"海西蒙古族藏族自治州",text:"天峻县",value:"632823"}],640100:[{city:"银川市",text:"市辖区",value:"640101"},{city:"银川市",text:"兴庆区",value:"640104"},{city:"银川市",text:"西夏区",value:"640105"},{city:"银川市",text:"金凤区",value:"640106"},{city:"银川市",text:"永宁县",value:"640121"},{city:"银川市",text:"贺兰县",value:"640122"},{city:"银川市",text:"灵武市",value:"640181"}],640200:[{city:"石嘴山市",text:"市辖区",value:"640201"},{city:"石嘴山市",text:"大武口区",value:"640202"},{city:"石嘴山市",text:"惠农区",value:"640205"},{city:"石嘴山市",text:"平罗县",value:"640221"}],640300:[{city:"吴忠市",text:"市辖区",value:"640301"},{city:"吴忠市",text:"利通区",value:"640302"},{city:"吴忠市",text:"红寺堡区",value:"640303"},{city:"吴忠市",text:"盐池县",value:"640323"},{city:"吴忠市",text:"同心县",value:"640324"},{city:"吴忠市",text:"青铜峡市",value:"640381"}],640400:[{city:"固原市",text:"市辖区",value:"640401"},{city:"固原市",text:"原州区",value:"640402"},{city:"固原市",text:"西吉县",value:"640422"},{city:"固原市",text:"隆德县",value:"640423"},{city:"固原市",text:"泾源县",value:"640424"},{city:"固原市",text:"彭阳县",value:"640425"}],640500:[{city:"中卫市",text:"市辖区",value:"640501"},{city:"中卫市",text:"沙坡头区",value:"640502"},{city:"中卫市",text:"中宁县",value:"640521"},{city:"中卫市",text:"海原县",value:"640522"}],650100:[{city:"乌鲁木齐市",text:"市辖区",value:"650101"},{city:"乌鲁木齐市",text:"天山区",value:"650102"},{city:"乌鲁木齐市",text:"沙依巴克区",value:"650103"},{city:"乌鲁木齐市",text:"新市区",value:"650104"},{city:"乌鲁木齐市",text:"水磨沟区",value:"650105"},{city:"乌鲁木齐市",text:"头屯河区",value:"650106"},{city:"乌鲁木齐市",text:"达坂城区",value:"650107"},{city:"乌鲁木齐市",text:"米东区",value:"650109"},{city:"乌鲁木齐市",text:"乌鲁木齐县",value:"650121"}],650200:[{city:"克拉玛依市",text:"市辖区",value:"650201"},{city:"克拉玛依市",text:"独山子区",value:"650202"},{city:"克拉玛依市",text:"克拉玛依区",value:"650203"},{city:"克拉玛依市",text:"白碱滩区",value:"650204"},{city:"克拉玛依市",text:"乌尔禾区",value:"650205"}],650400:[{city:"吐鲁番市",text:"高昌区",value:"650402"},{city:"吐鲁番市",text:"鄯善县",value:"650421"},{city:"吐鲁番市",text:"托克逊县",value:"650422"}],650500:[{city:"哈密市",text:"伊州区",value:"650502"},{city:"哈密市",text:"巴里坤哈萨克自治县",value:"650521"},{city:"哈密市",text:"伊吾县",value:"650522"}],652300:[{city:"昌吉回族自治州",text:"昌吉市",value:"652301"},{city:"昌吉回族自治州",text:"阜康市",value:"652302"},{city:"昌吉回族自治州",text:"呼图壁县",value:"652323"},{city:"昌吉回族自治州",text:"玛纳斯县",value:"652324"},{city:"昌吉回族自治州",text:"奇台县",value:"652325"},{city:"昌吉回族自治州",text:"吉木萨尔县",value:"652327"},{city:"昌吉回族自治州",text:"木垒哈萨克自治县",value:"652328"}],652700:[{city:"博尔塔拉蒙古自治州",text:"博乐市",value:"652701"},{city:"博尔塔拉蒙古自治州",text:"阿拉山口市",value:"652702"},{city:"博尔塔拉蒙古自治州",text:"精河县",value:"652722"},{city:"博尔塔拉蒙古自治州",text:"温泉县",value:"652723"}],652800:[{city:"巴音郭楞蒙古自治州",text:"库尔勒市",value:"652801"},{city:"巴音郭楞蒙古自治州",text:"轮台县",value:"652822"},{city:"巴音郭楞蒙古自治州",text:"尉犁县",value:"652823"},{city:"巴音郭楞蒙古自治州",text:"若羌县",value:"652824"},{city:"巴音郭楞蒙古自治州",text:"且末县",value:"652825"},{city:"巴音郭楞蒙古自治州",text:"焉耆回族自治县",value:"652826"},{city:"巴音郭楞蒙古自治州",text:"和静县",value:"652827"},{city:"巴音郭楞蒙古自治州",text:"和硕县",value:"652828"},{city:"巴音郭楞蒙古自治州",text:"博湖县",value:"652829"}],652900:[{city:"阿克苏地区",text:"阿克苏市",value:"652901"},{city:"阿克苏地区",text:"温宿县",value:"652922"},{city:"阿克苏地区",text:"库车县",value:"652923"},{city:"阿克苏地区",text:"沙雅县",value:"652924"},{city:"阿克苏地区",text:"新和县",value:"652925"},{city:"阿克苏地区",text:"拜城县",value:"652926"},{city:"阿克苏地区",text:"乌什县",value:"652927"},{city:"阿克苏地区",text:"阿瓦提县",value:"652928"},{city:"阿克苏地区",text:"柯坪县",value:"652929"}],653000:[{city:"克孜勒苏柯尔克孜自治州",text:"阿图什市",value:"653001"},{city:"克孜勒苏柯尔克孜自治州",text:"阿克陶县",value:"653022"},{city:"克孜勒苏柯尔克孜自治州",text:"阿合奇县",value:"653023"},{city:"克孜勒苏柯尔克孜自治州",text:"乌恰县",value:"653024"}],653100:[{city:"喀什地区",text:"喀什市",value:"653101"},{city:"喀什地区",text:"疏附县",value:"653121"},{city:"喀什地区",text:"疏勒县",value:"653122"},{city:"喀什地区",text:"英吉沙县",value:"653123"},{city:"喀什地区",text:"泽普县",value:"653124"},{city:"喀什地区",text:"莎车县",value:"653125"},{city:"喀什地区",text:"叶城县",value:"653126"},{city:"喀什地区",text:"麦盖提县",value:"653127"},{city:"喀什地区",text:"岳普湖县",value:"653128"},{city:"喀什地区",text:"伽师县",value:"653129"},{city:"喀什地区",text:"巴楚县",value:"653130"},{city:"喀什地区",text:"塔什库尔干塔吉克自治县",value:"653131"}],653200:[{city:"和田地区",text:"和田市",value:"653201"},{city:"和田地区",text:"和田县",value:"653221"},{city:"和田地区",text:"墨玉县",value:"653222"},{city:"和田地区",text:"皮山县",value:"653223"},{city:"和田地区",text:"洛浦县",value:"653224"},{city:"和田地区",text:"策勒县",value:"653225"},{city:"和田地区",text:"于田县",value:"653226"},{city:"和田地区",text:"民丰县",value:"653227"}],654000:[{city:"伊犁哈萨克自治州",text:"伊宁市",value:"654002"},{city:"伊犁哈萨克自治州",text:"奎屯市",value:"654003"},{city:"伊犁哈萨克自治州",text:"霍尔果斯市",value:"654004"},{city:"伊犁哈萨克自治州",text:"伊宁县",value:"654021"},{city:"伊犁哈萨克自治州",text:"察布查尔锡伯自治县",value:"654022"},{city:"伊犁哈萨克自治州",text:"霍城县",value:"654023"},{city:"伊犁哈萨克自治州",text:"巩留县",value:"654024"},{city:"伊犁哈萨克自治州",text:"新源县",value:"654025"},{city:"伊犁哈萨克自治州",text:"昭苏县",value:"654026"},{city:"伊犁哈萨克自治州",text:"特克斯县",value:"654027"},{city:"伊犁哈萨克自治州",text:"尼勒克县",value:"654028"}],654200:[{city:"塔城地区",text:"塔城市",value:"654201"},{city:"塔城地区",text:"乌苏市",value:"654202"},{city:"塔城地区",text:"额敏县",value:"654221"},{city:"塔城地区",text:"沙湾县",value:"654223"},{city:"塔城地区",text:"托里县",value:"654224"},{city:"塔城地区",text:"裕民县",value:"654225"},{city:"塔城地区",text:"和布克赛尔蒙古自治县",value:"654226"}],654300:[{city:"阿勒泰地区",text:"阿勒泰市",value:"654301"},{city:"阿勒泰地区",text:"布尔津县",value:"654321"},{city:"阿勒泰地区",text:"富蕴县",value:"654322"},{city:"阿勒泰地区",text:"福海县",value:"654323"},{city:"阿勒泰地区",text:"哈巴河县",value:"654324"},{city:"阿勒泰地区",text:"青河县",value:"654325"},{city:"阿勒泰地区",text:"吉木乃县",value:"654326"}],659000:[{city:"自治区直辖县级行政区划",text:"石河子市",value:"659001"},{city:"自治区直辖县级行政区划",text:"阿拉尔市",value:"659002"},{city:"自治区直辖县级行政区划",text:"图木舒克市",value:"659003"},{city:"自治区直辖县级行政区划",text:"五家渠市",value:"659004"},{city:"自治区直辖县级行政区划",text:"铁门关市",value:"659006"}]}})},"A/pu":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-form-group"},[a("p",{staticClass:"cube-form-group-legend"},[t._v(t._s(t.legend))]),t._v(" "),a("div",{staticClass:"cube-form-group-content"},[t._t("default",t._l(t.fields,function(t,e){return a("cube-form-item",{key:e,attrs:{field:t}})}))],2)])},staticRenderFns:[]}},A5db:function(t,e,a){function i(t){a("8JgO")}var n=a("VU/8")(a("KZW3"),a("Rn3t"),i,null,null);t.exports=n.exports},A794:function(t,e){},AEue:function(t,e){},AM6A:function(t,e){},ANjG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-tab",class:{"cube-tab_active":t.isActive},on:{click:t.handleClick}},[t._t("icon",[a("i",{class:t.icon})]),t._v(" "),t._t("default",[a("div",{domProps:{innerHTML:t._s(t.label)}})])],2)},staticRenderFns:[]}},AQXh:function(t,e,a){function i(t){a("w3NF")}var n=a("VU/8")(a("Woua"),a("oU/Y"),i,null,null);t.exports=n.exports},AW5U:function(t,e){},AdWU:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{action:"//jsonplaceholder.typicode.com/photos/",isUploading:!0}},methods:{upload:function(){this.isUploading=!0,this.$refs.upload.start()},pause:function(){this.isUploading=!1,this.$refs.upload.pause()},retry:function(){this.$refs.upload.retry()},filesAdded:function(t){var e=!1;for(var a in t){var i=t[a];i.size>1048576&&(i.ignore=!0,e=!0)}e&&this.$createToast({type:"warn",time:1e3,txt:"You selected >1M files"}).show()}},components:{CubePage:i.default}},t.exports=e.default})},AgjA:function(t,e,a){function i(t){a("crve")}var n=a("VU/8")(a("2iSa"),a("Pn6H"),i,null,null);t.exports=n.exports},AnsX:function(t,e,a){var i=a("VU/8")(a("WjKT"),a("jsiO"),null,null,null);t.exports=i.exports},ApVb:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("Zd1j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(i),o=c(n),s=c(l);e.default={data:function(){return{initTime:(new Date).getTime(),id:0,size:50,infinite:!0}},components:{CubePage:o.default},methods:{getItem:function(t){var e=Math.floor(6*Math.random()),i=s.default.messages[Math.floor(Math.random()*s.default.messages.length)];return{id:t,avatar:a("6WIs")("./avatar"+e+".png"),msg:i,time:new Date(Math.floor(this.initTime+t*this.size*1e3+Math.random()*this.size*1e3)).toString()}},onFetch:function(){var t=this,e=[];return new u.default(function(a){setTimeout(function(){for(var i=0;i0){for(var t=arguments.length,e=Array(t),a=0;a10元',action:"moreMoney"}],moreActions:[{text:"操作a",action:"showText"},{text:"操作b",action:"showText"},{text:"操作c",icon:"cubeic-right",action:"showText"}]}},methods:{updateMore:function(t){this.more=t},showText:function(t){this.$createToast({type:"correct",txt:"clicked "+t.text,time:1e3}).show()},moreMoney:function(t){this.money+=10,t.text='一口价'+this.money+"元"},clickHandler:function(t){t.action&&this[t.action](t)}}},t.exports=e.default})},"C/x+":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Date Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDatePicker}},[t._v("Date Picker")]),t._v(" "),a("cube-button",{on:{click:t.showChangeOrderPicker}},[t._v("Date Picker(Change order)")]),t._v(" "),a("cube-button",{on:{click:t.showTimePicker}},[t._v("Time Picker")]),t._v(" "),a("cube-button",{on:{click:t.showDateTimePicker}},[t._v("Date Time Picker")]),t._v(" "),a("cube-button",{on:{click:t.showFormatPicker}},[t._v("Use format")]),t._v(" "),a("cube-button",{on:{click:t.showUpdatePropsPicker}},[t._v("Use $updateProps")])],1)],1)])},staticRenderFns:[]}},C1Qw:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe-view",title:"Swipe"}},[a("template",{slot:"content"},[a("div",{staticClass:"swipe-wrapper"},[a("cube-scroll",[a("cube-swipe",[a("transition-group",{attrs:{name:"swipe",tag:"ul"}},t._l(t.swipeData,function(e,i){return a("li",{key:e.item.id,staticClass:"swipe-item-wrapper"},[a("cube-swipe-item",{ref:"swipeItem",refInFor:!0,attrs:{btns:e.btns,index:i},on:{"btn-click":t.onBtnClick}},[a("div",{staticClass:"item-inner",on:{click:function(a){t.onItemClick(e.item,i)}}},[a("div",{staticClass:"icon"},[a("img",{attrs:{width:"60",height:"60",src:e.item.imgurl}})]),t._v(" "),a("div",{staticClass:"text"},[a("h2",{staticClass:"item-name",domProps:{innerHTML:t._s(e.item.name)}}),t._v(" "),a("p",{staticClass:"item-desc",domProps:{innerHTML:t._s(e.item.desc)}})])])])],1)}))],1)],1)],1)])],2)},staticRenderFns:[]}},C2tW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change","next","prev"]).before(function(t,e,a){a&&(0,i.tip)("SegmentPicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},C8H9:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("XPXN"),a("xV+0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e}(n),s={"全部":o.ALL_HEROES,"近战":o.MELEE_HEROES,"远程":o.REMOTE_HEROES,"辅助":o.SUPPORT_HEROES,"法师":o.MAGIC_HEROES,"打野":o.JUNGLE_HEROES,"坦克":o.TANK_HEROES,"隐身":o.INVISIBLE_HEROES,"后期":o.CARRY_HEROES,"闪烁":o.BLINK_HEROES,"爆发":o.HIGH_DAMAGE_HEROES,"召唤":o.INVOKE_HEROES,"眩晕":o.DIZZY_HEROES,"治疗":o.HEALER_HEROES},r=(0,c.default)(s).map(function(t){return{label:t}});e.default={data:function(){return{selectedLabel:"全部",scrollData:[],tabs:r}},created:function(){this.scrollData=s[this.selectedLabel]},methods:{changeHandler:function(t){var e=this;this.scrollData=s[t],this.$nextTick(function(){e.$refs.scroll.scrollTo(0,0),e.$refs.scroll.refresh()})}},components:{CubePage:u.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},CIqy:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Dd8w"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{initialIndex:0,imgs:["https://dpubstatic.udache.com/static/dpubimg/XsZT-Ium9K/686d7361ly1fpha0mpd5uj21hc0tyws2.jpg","https://dpubstatic.udache.com/static/dpubimg/jM0pARr01R/686d7361ly1fpha0ncnnej21hc0zetxo.jpg","https://dpubstatic.udache.com/static/dpubimg/uesDMLn8ho/686d7361ly1fpha0mqvu5j21hc0zkgzz.jpg"]}},methods:{handleImgsClick:function(t){var e=this;this.initialIndex=t;var a={$props:{imgs:this.imgs,initialIndex:"initialIndex",loop:!1},$events:{change:function(t){e.initialIndex=t}}};this.$createImagePreview((0,l.default)({},a)).show()}},components:{CubePage:c.default}},t.exports=e.default})},CRTG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[t._m(0),t._v(" "),a("section",{ref:"mfct",staticClass:"cube-content"},[a("cube-index-list",{staticClass:"cube-list",attrs:{data:t.components},scopedSlots:t._u([{key:"nav-item",fn:function(e){return a("span",{staticClass:"custom-nav-item"},[t._v(t._s(e.item))])}}])},t._l(t.components,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e}},t._l(e.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e}},[a("div",{staticClass:"cube-item border-bottom-1px"},[a("router-link",{staticClass:"link",attrs:{to:e.path}},[t._v(t._s(e.text)),a("i",{staticClass:"cubeic-arrow"})])],1)])}))}))],1),t._v(" "),a("cube-view")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"cube-bar"},[a("h1",[t._v("cube-ui")])])}]}},CZnn:function(t,e){},Cfx3:function(t,e,a){function i(t){a("j1CU")}var n=a("VU/8")(a("5VLA"),a("IIbQ"),i,null,null);t.exports=n.exports},Cnp6:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tabs",title:"Tab Demos"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("tab-bar")}}},[t._v("TabBar Demos")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("tab")}}},[t._v("Tab Demos")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("scroll-tab")}}},[t._v("ScrollTab Demo")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},Ct0e:function(t,e,a){function i(t){a("57KX")}var n=a("VU/8")(a("cMIu"),a("ANjG"),i,null,null);t.exports=n.exports},CzhT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xru3"),a("go4C"),a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Panel=u.default,c.default.Bar=o.default,e.default=c.default,t.exports=e.default})},D11v:function(t,e){},D9Go:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-checker-item",class:{"cube-checker-item_active":t.isActive,"cube-checker-item_disabled":t.isDisabled},on:{click:t.clickHandler}},[t._t("default",[a("span",{domProps:{innerHTML:t._s(t.option.text)}})])],2)},staticRenderFns:[]}},DD7W:function(t,e,a){function i(t){a("eNOl")}var n=a("VU/8")(a("t4A1"),a("wKxo"),i,null,null);t.exports=n.exports},DIVr:function(t,e,a){function i(t){a("Zbp1")}var n=a("VU/8")(a("Kjut"),a("KVex"),i,null,null);t.exports=n.exports},DLo4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=(0,a.prefixStyle)("transform");e.default={name:"cube-sticky",provide:function(){return{sticky:this}},props:{pos:{type:Number,required:!0},checkTop:{type:Boolean,default:!0},fixedShowAni:{type:String,default:function(){return this.checkTop?"":"cube-sticky-fixed-fade"}},offset:{type:Number,default:0}},data:function(){return{diff:0,currentDiff:0,currentIndex:-1,currentKey:""}},computed:{fixedShow:function(){return!!this.eles[this.currentIndex]}},watch:{diff:function(t){t>=0&&(t=0),t=Math.ceil(t),this._fixedTop!==t&&(this._fixedTop=t,this.$refs.fixedEle.style[i]="translate3d(0, "+t+"px, 0)")},pos:"computeCurrentSticky",currentIndex:function(t,e){var a=this,i=this.eles[e],n=this.eles[t],l=n&&void 0!==n.eleKey?n.eleKey:-1===t?"":t,c=this.$refs.fixedEle,u=this.$slots.fixed||this.$scopedSlots.fixed;this.$nextTick(function(){if(u)a.fixedEleHeight=c.offsetHeight;else{var t=c.firstElementChild;i&&(i.$el.appendChild(t),i.refresh()),n?(c.appendChild(n.$el.firstElementChild),a.fixedEleHeight=c.offsetHeight):a.fixedEleHeight=0}}),this.currentKey=l,this.$emit("change",l,t)},currentDiff:function(t){var e=this.heights[this.currentIndex]||0;this.$emit("diff-change",t,e)}},created:function(){this.fixedEleHeight=0,this.eles=[],this.positions=[],this.heights=[]},mounted:function(){this.refresh()},methods:{addEle:function(t){this.eles.push(t)},removeEle:function(t){var e=this.eles.indexOf(t);this.eles.splice(e,1),this.positions.splice(e,1)},refresh:function(){var t=this;this.$nextTick(function(){t.eles.forEach(function(t){t.refresh()}),t._calculateHeight(),t.computeCurrentSticky(t.pos)})},computeCurrentSticky:function(t){t+=this.offset;for(var e=this.positions,a=this.heights,i=this.checkTop,n=e.length,l=n-1;l>=0;l--){var c=l===n-1,u=c?t:e[l+1],o=void 0,s=void 0;i?(o=e[l],s=o+a[l]):(o=e[l]+a[l],s=o);var r=Math.max(s,u);if(t>=o&&t<=r){this.currentIndex=l,this.currentDiff=t-o;var d=u-t;return void(this.diff=d>=0&&!c?d-(this.fixedEleHeight||a[l]):0)}}this.currentIndex=-1,this.currentDiff=0},_calculateHeight:function(){var t=this;this.eles.forEach(function(e,i){var n=(0,a.getRect)(e.$el),l=n.top,c=n.height;t.positions[i]=l,t.heights[i]=c}),this.fixedEleHeight=this.$refs.fixedEle.offsetHeight}}},t.exports=e.default})},DXQ8:function(t,e,a){function i(t){a("5WX7")}var n=a("VU/8")(a("gBDM"),a("yfBG"),i,null,null);t.exports=n.exports},"Dw/u":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"select-option",props:{name:{type:String},options:{type:Array},value:null},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("update:value",t)}},mounted:function(){var t=this;this.picker=this.$createPicker({title:"Choose "+this.name,data:[this.options],cancelTxt:"cancel",confirmTxt:"confirm",onValueChange:function(e){t.selected=e[0]}})},methods:{showPicker:function(){this.picker.show()}}},t.exports=e.default})},"Dz+K":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-toast-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"toast","z-index":t.zIndex,mask:t.mask},on:{"mask-click":t.maskClick}},[!t.isLoading&&t.iconClass.length?a("i",{staticClass:"cube-toast-icon",class:t.iconClass}):t._e(),t._v(" "),t.isLoading?a("cube-loading"):t._e(),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.txt,expression:"txt"}],staticClass:"cube-toast-tip",domProps:{innerHTML:t._s(t.txt)}})],1)],1)},staticRenderFns:[]}},E37f:function(t,e){t.exports="data:image/png;base64,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"},E4RE:function(t,e){},"E61+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("UFDc"),a("XRNA"),a("osO1")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.replace(o,function(t,n,l){var o=n.split("|").slice(1).map(function(t){return t.trim()}),s=o.length,r=e;return s&&o.forEach(function(t){var e=c(t),n=e.fnName,l=e.args;l.unshift(r),(0,a.isFunc)(u.default.helpers[n])?r=u.default.helpers[n].apply(null,l):((0,i.warn)('A helper function named "'+n+'" is not registered, please register it by Validator.addHelper()'),r="")}),r})}function c(t){var e=t.indexOf("("),a=t.indexOf(")"),i="",n=[];if(e===r)n=[],i=t;else if(e!==r&&a!==r){var l=t.slice(e+1,a);n=l.split(",").map(function(t){return t.trim().replace(s,"")}),i=t.slice(0,e)}return{fnName:i,args:n}}Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){return t&&t.__esModule?t:{default:t}}(n),o=/\{\{((?:.|\n)+?)\}\}/g,s=/['"]/g,r=-1;e.default=l,t.exports=e.default})},EF6b:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-rate-item",props:{index:{type:Number,default:0}}},t.exports=e.default})},"EI6/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"panels",staticClass:"cube-tab-panels"},[a("div",{ref:"panelsGroup",staticClass:"cube-tab-panels-group"},[t._t("default",t._l(t.data,function(e,i){return a("cube-tab-panel",{key:e.value||e.label,attrs:{label:e.label,value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])}))],2)])},staticRenderFns:[]}},EKZ3:function(t,e){},ES30:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gCE8"),a("6liq"),a("2DUa")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Group=u.default,c.default.Item=o.default,e.default=c.default,t.exports=e.default})},Er22:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/recycle-list/"+t)}}},t.exports=e.default})},Ex12:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"cube-checker"},[t._t("default",t._l(t.options,function(t,e){return a("cube-checker-item",{key:e,attrs:{option:t}})}))],2)},staticRenderFns:[]}},EzL5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("IskU")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{swipeData:i.defaultData}},methods:{onItemClick:function(t){console.log("click item:",t)},onBtnClick:function(t,e){var a=this;"delete"===t.action&&this.$createActionSheet({title:"确认要删除吗",active:0,data:[{content:"删除"}],onSelect:function(){a.swipeData.splice(e,1)}}).show()}},components:{CubePage:n.default}},t.exports=e.default})},F7um:function(t,e){t.exports="data:image/png;base64,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"},FK47:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"slide",staticClass:"cube-slide"},[a("div",{ref:"slideGroup",staticClass:"cube-slide-group"},[t._t("default",t._l(t.data,function(e,i){return a("cube-slide-item",{key:i,attrs:{item:e},nativeOn:{click:function(a){t.clickItem(e,i)}}})}))],2),t._v(" "),t.showDots?a("div",{staticClass:"cube-slide-dots"},[t._t("dots",t._l(t.dots,function(e,i){return a("span",{key:i,class:{active:t.currentPageIndex===i}})}),{current:t.currentPageIndex,dots:t.dots})],2):t._e()])},staticRenderFns:[]}},FTiD:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"input-view",title:"Input"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-input",{attrs:{type:t.type,placeholder:"please type here...",disabled:t.disabled,readonly:t.readonly,clearable:t.clearable,autocomplete:!0,eye:t.eye},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("div",{staticClass:"value"},[t._v("value: "+t._s(t.value))]),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"readonly",value:t.readonly},on:{"update:value":t.updateReadonly}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"maxlength:10",value:t.maxlength10},on:{"update:value":t.updateMaxLength}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"clearable",value:t.useClear},on:{"update:value":t.updateUseClear}}),t._v(" "),t.useClear?a("switch-option",{staticClass:"item",attrs:{name:"blur hiden",value:t.clearBlurHidden},on:{"update:value":t.updateBlurHidden}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"password",value:t.isPwd},on:{"update:value":t.updatePwd}}),t._v(" "),t.isPwd?a("switch-option",{staticClass:"item",attrs:{name:"show eye",value:t.showEye},on:{"update:value":t.updateShowEye}}):t._e(),t._v(" "),t.isPwd&&t.showEye?a("switch-option",{staticClass:"item",attrs:{name:"reverse",value:t.reverse},on:{"update:value":t.updateReverse}}):t._e(),t._v(" "),t.isPwd&&t.showEye?a("switch-option",{staticClass:"item",attrs:{name:"password visible",value:t.pwdVisible},on:{"update:value":t.updatePwdVisible}}):t._e()],1)])])],1)])},staticRenderFns:[]}},FZvW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{current:"快车",labels:["快车","小巴","专车","顺风车","代驾","公交","自驾租车","豪华车","二手车","出租车"],txts:["1快车","2小巴","3专车","4顺风车","5代驾","6公交","7自驾租车","8豪华车","9二手车","10出租车"]}},methods:{changeHandler:function(t){this.current=t}},components:{CubePage:i.default}},t.exports=e.default})},Fc4T:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 🙃 ","👆🏻 outer 👇🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👆🏻 outer 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ "],l=["😀 😁 😂 🤣 😃 🙃 ","👆🏻 inner 👇🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👆🏻 inner 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","👆🏻 inner 👇🏻 ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 inner 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","👆🏻 inner 👇🏻 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 inner 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","👆🏻 inner 👇🏻 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 inner 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","👆🏻 inner 👇🏻 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items1:n,items2:l}},components:{CubePage:i.default}},t.exports=e.default})},FccO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("li",{staticClass:"cube-drawer-item border-bottom-1px",class:t.itemClass,on:{click:function(e){t.clickItem(t.item)}}},[t._t("default",[t._v("\n "+t._s(t.item.text||t.item)+"\n ")])],2)},staticRenderFns:[]}},FmUO:function(t,e,a){function i(t){a("sVin")}var n=a("VU/8")(a("NEEv"),a("D9Go"),i,null,null);t.exports=n.exports},Fth0:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/sticky/"+t)}}},t.exports=e.default})},FzF9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-index-list-item",class:t.itemClass,on:{touchstart:t.addActiveCls,touchend:t.removeActiveCls,click:function(e){t.selectItem()}}},[t._t("default",[a("div",{staticClass:"cube-index-list-item-def border-bottom-1px"},[t._v("\n "+t._s(t.item.name)+"\n ")])])],2)},staticRenderFns:[]}},FzTc:function(t,e){},"G59/":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("PzHl"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={name:"cube-toast",mixins:[s.default,r.default],props:{type:{type:String,default:"loading"},icon:{type:String,default:""},mask:{type:Boolean,default:!1},txt:{type:String,default:""},time:{type:Number,default:3e3},zIndex:{type:Number,default:900}},computed:{iconClass:function(){var t=[];this.icon&&t.push(this.icon);var e={correct:"cubeic-right",error:"cubeic-wrong",warn:"cubeic-warn"},a=e[this.type];return a&&t.push(a),t},isLoading:function(){return"loading"===this.type}},methods:{maskClick:function(){this.maskClosable&&this.hide()},show:function(){var t=this;this.isVisible=!0,this.clearTimer(),this.$nextTick(function(){0!==t.time&&(t.timer=setTimeout(function(){t.hide(),t.$emit("timeout")},t.time))})},hide:function(){this.isVisible=!1,this.clearTimer()},clearTimer:function(){clearTimeout(this.timer),this.timer=null}},components:{CubePopup:o.default,CubeLoading:u.default}},t.exports=e.default})},G9D9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-scroll",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY},scopedSlots:t._u([{key:"fixed",fn:function(e){return[a("ul",{staticClass:"sticky-header"},[a("li",[t._v(t._s(e.current))])])]}}])},[a("cube-scroll",{attrs:{"scroll-events":t.scrollEvents},on:{scroll:t.scrollHandler}},[a("ul",[a("li",[t._v("title")])]),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"11"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"22"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("222")]),t._v(" "),a("li",[t._v("222")])])]),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"33"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("333")])])]),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1)],1)],1)])],2)},staticRenderFns:[]}},GFMH:function(t,e,a){function i(t){a("befj")}var n=a("VU/8")(a("/kdh"),a("EI6/"),i,null,null);t.exports=n.exports},GJyM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/slide/"+t)}}},t.exports=e.default})},GXMy:function(t,e){},GcL8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-upload"},[t._t("default",[a("div",{staticClass:"cube-upload-def clear-fix"},[t._l(t.files,function(e,i){return a("upload-file",{key:i,attrs:{file:e},on:{click:t.fileClick}})}),t._v(" "),a("upload-btn",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn,expression:"isShowBtn"}],attrs:{multiple:t.multiple,accept:t.accept}})],2)])],2)},staticRenderFns:[]}},Gcl4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("dz9r")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{action:{target:"//jsonplaceholder.typicode.com/photos/",prop:"base64Value",checkSuccess:function(t){return!0}}}},methods:{processFile:function(t,e){(0,c.default)(t,{compress:{width:1600,height:1600,quality:.5}},e)},fileSubmitted:function(t){t.base64Value=t.file.base64}},components:{CubePage:l.default}},t.exports=e.default})},"Gn4+":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-picker-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,"z-index":t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.maskClick}},[a("transition",{attrs:{name:"cube-picker-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-picker-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[a("div",{staticClass:"cube-picker-choose border-bottom-1px"},[a("span",{staticClass:"cube-picker-cancel",on:{click:t.cancel}},[t._v(t._s(t._cancelTxt))]),t._v(" "),a("span",{staticClass:"cube-picker-confirm",on:{click:t.confirm}},[t._v(t._s(t._confirmTxt))]),t._v(" "),a("div",{staticClass:"cube-picker-title-group"},[a("h1",{staticClass:"cube-picker-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.subtitle?a("h2",{staticClass:"cube-picker-subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])]),t._v(" "),a("div",{staticClass:"cube-picker-content"},[a("i",{staticClass:"border-bottom-1px"}),t._v(" "),a("i",{staticClass:"border-top-1px"}),t._v(" "),a("div",{ref:"wheelWrapper",staticClass:"cube-picker-wheel-wrapper"},t._l(t.finalData,function(e,i){return a("div",{key:i,style:{order:t._getFlexOrder(e)}},[a("ul",{staticClass:"cube-picker-wheel-scroll"},t._l(e,function(e,i){return a("li",{key:i,staticClass:"cube-picker-wheel-item",domProps:{innerHTML:t._s(e[t.textKey])}})}))])}))]),t._v(" "),a("div",{staticClass:"cube-picker-footer"})])])],1)],1)},staticRenderFns:[]}},Gp4f:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["confirm","cancel","close","btn-click","link-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"H+BD":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("1Vb/"),a("5Fev")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{disabled:!1,max:5,value:3,image:"https://p3.pstatp.com/large/593c0006340abbabefa0",customStar:!1,justify:!1,options:[{text:"5",value:5},{text:"10",value:10}]}},methods:{updateDisabled:function(t){this.disabled=t},updateStarNumbers:function(t){this.max=t},updateJustify:function(t){this.justify=t},updateRateItem:function(t){this.customStar=t}},components:{CubePage:u.default,CubeButtonGroup:o.default,SwitchOption:s.default,SelectOption:r.default}},t.exports=e.default})},"H61/":function(t,e,a){function i(t){a("y7n+")}var n=a("VU/8")(a("gAqf"),a("vEm4"),i,null,null);t.exports=n.exports},HBJ7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"HT+y":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tip-view",title:"Tip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"tip-eg"},[a("cube-button",{attrs:{inline:!0,outline:!0,primary:!0},on:{click:function(e){t.$refs.tip.show()}}},[t._v("Show tip")]),t._v(" "),a("cube-tip",{ref:"tip",staticStyle:{left:"115px",top:"-50px"},attrs:{direction:"bottom"}},[t._v("Tip")])],1),t._v(" "),a("p",{staticClass:"tip-eg"},[a("cube-button",{attrs:{inline:!0,outline:!0,primary:!0},on:{click:function(e){t.showTip("bottom")}}},[t._v("cube-ui")]),t._v(" "),a("cube-tip",{ref:"tip2",style:t.tipStyle,attrs:{direction:t.direction},on:{close:t.close,click:t.clickHandler}},[a("div",[t._v("Awesome!")])])],1),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("bottom")}}},[t._v("top")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("top")}}},[t._v("bottom")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("right")}}},[t._v("left")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("left")}}},[t._v("right")])],1)])},staticRenderFns:[]}},HgDQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("70Rd"),a("GdJY"),a("64cm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.registerLanguage("json",c.default),e.default={props:{data:{type:Object,default:function(){return{}}},title:{type:String,default:""}},data:function(){return{changed:!0}},watch:{data:{handler:function(){var t=this;this.changed=!1,this.$nextTick(function(){t.changed=!0,t.$nextTick(function(){t.$refs.code&&l.default.highlightBlock(t.$refs.code)})})},deep:!0}},mounted:function(){this.$refs.code&&l.default.highlightBlock(this.$refs.code)}},t.exports=e.default})},HgRm:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer",on:{click:t.drawerClick}},[a("div",{staticClass:"cube-drawer-main",style:t.slideStyle,on:{click:function(t){t.stopPropagation()},transitionend:t.transitionend}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.$slots.title||t.title,expression:"$slots.title || title"}],staticClass:"cube-drawer-title"},[t._t("title",[t._v(t._s(t.title))])],2),t._v(" "),a("div",{staticClass:"cube-drawer-panels",on:{transitionend:function(t){t.stopPropagation()}}},[t._t("default",t._l(t.data,function(t,e){return a("cube-drawer-panel",{key:e,attrs:{index:e,data:t}})}))],2)])])},staticRenderFns:[]}},"I+KE":function(t,e){},I3p6:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checker-view",title:"Checker"}},[a("template",{slot:"content"},[a("p",[t._v("default usage")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.checkboxOptions},model:{value:t.checkboxCheckerList,callback:function(e){t.checkboxCheckerList=e},expression:"checkboxCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkboxCheckerList))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("type: radio")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.radioOptions,type:"radio"},model:{value:t.checkerValue,callback:function(e){t.checkerValue=e},expression:"checkerValue"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkerValue))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("use slot")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.radioOptions,type:"radio"},model:{value:t.checkerValue,callback:function(e){t.checkerValue=e},expression:"checkerValue"}},t._l(t.radioOptions,function(e){return a("cube-checker-item",{key:e.value,attrs:{option:e}},[a("span",{staticClass:"orange"},[a("i",{staticClass:"cubeic-alert"}),t._v(t._s(e.text))])])})),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkerValue))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("set min and max")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.checkboxOptions,min:1,max:2},model:{value:t.defaultCheckerList,callback:function(e){t.defaultCheckerList=e},expression:"defaultCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.defaultCheckerList)+" (min: 1 max: 2)")]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("set disabled")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.disabledCheckerOptions},model:{value:t.disabledCheckerList,callback:function(e){t.disabledCheckerList=e},expression:"disabledCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.disabledCheckerList))]),t._v(" "),a("br"),a("br")],1)],2)},staticRenderFns:[]}},I3ux:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-recycle-list",{staticClass:"list",attrs:{infinite:t.infinite,size:t.size,"on-fetch":t.onFetch},scopedSlots:t._u([{key:"tombstone",fn:function(e){return[a("div",{staticClass:"item tombstone"},[a("div",{staticClass:"avatar"}),t._v(" "),a("div",{staticClass:"bubble"},[a("p"),t._v(" "),a("p"),t._v(" "),a("p"),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"})])])])]}},{key:"item",fn:function(e){var i=e.data;return[a("div",{staticClass:"item",attrs:{id:i.id},on:{click:function(e){t.handleClick(i)}}},[a("div",{staticClass:"avatar",style:{backgroundImage:"url("+(i.avatar||"")+")"}}),t._v(" "),a("div",{staticClass:"bubble"},[a("p",[t._v(t._s(i.msg))]),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"},[t._v(t._s(i.time))])])])])]}}])},[a("div",{attrs:{slot:"noMore"},slot:"noMore"},[t._v("没有更多数据了")])])],1)])])},staticRenderFns:[]}},"I6++":function(t,e){},"I6+Q":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["change","hide"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},I7KL:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checkList:["1","4"],options:["1","2",{label:"3",value:"3",disabled:!0},{label:"4",value:"4",disabled:!0}],colOptions:["1","2","3","4","5","6","7","8"],colNum:3,colCheckList:[]}},components:{CubePage:i.default}},t.exports=e.default})},IBoP:function(t,e){},IIbQ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("side")}}},[t._v("Side Style")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},IWr1:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-option"},[a("span",{staticClass:"name"},[t._v(t._s(t.name))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],attrs:{type:"text"},domProps:{value:t.inputValue},on:{input:function(e){e.target.composing||(t.inputValue=e.target.value)}}})])},staticRenderFns:[]}},Idn0:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"group",staticClass:"cube-radio-group",class:t._groupClass,attrs:{"data-horz":t.horizontal,"data-col":t.colNum>1}},[t._t("default",t._l(t.options,function(e,i){return a("cube-radio",{key:i,attrs:{option:e,position:t.position,"hollow-style":t.hollowStyle},model:{value:t.radioValue,callback:function(e){t.radioValue=e},expression:"radioValue"}})}))],2)},staticRenderFns:[]}},Il0v:function(t,e){},IskU:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultData=[{item:{text:"测试1",value:1},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试2",value:2},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试3",value:3},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:4},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:5},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:6},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:7},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:8},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:9},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:10},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:11},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:12},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:13},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:14},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:15},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:16},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:17},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:18},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:19},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:20},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:21},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:22},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:23},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:24},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]}],t.customData=[{item:{id:"3646653877",name:"还不是因为你长得不好看",desc:"伤感:歌词再狠,也抵不过现实伤人",imgurl:"http://p.qpic.cn/music_cover/MhQ4bJBPt3Yt5icXyBGNhyPJnE9O51CqaN72iaDgvFmDKaia12UFhU5uQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1789676645",name:"秋水浮萍任飘渺",desc:"『武侠配乐』快意恩仇江湖情",imgurl:"http://p.qpic.cn/music_cover/8KfvDey9cibtZ5xkWxRic6vhXgdPic3wnB7reibI4pdPQBCP8u57uqcjsQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3649034125",name:"念葳蕊",desc:"江海迦:热恋后哼一首歌为自己悲悯的歌",imgurl:"http://p.qpic.cn/music_cover/jXFicBvicUcfIWSoCNT1OrbAoHG2fqqnrJVnGV4iaLCapWUpCKqbmAicJg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2977781451",name:"风少",desc:"午后甜点:静听浓情爵士,于悠然中尽享",imgurl:"http://p.qpic.cn/music_cover/llTQ9l2AeicK2OLIORnsUdtbhlNRGF89NBDI6SoBxEIzhAlrmV1SmGg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2691498608",name:"虛榮少女",desc:"感性强盗|强势洗榜的那些韩国抒情音乐",imgurl:"http://p.qpic.cn/music_cover/icLTHicH8iakBFAJbiazGT3DnywHfOoiaVzdZWJ4pVcDdoVCqlU5hLx8K7A/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3703029362",name:"哔咯独角兽",desc:"温情摇滚|安抚夜色弥漫时落寞的心",imgurl:"http://p.qpic.cn/music_cover/0yiaX8d9LSmnROyId1RsUUwklzSKKp7RSanBAJ89We5I4kMwdnH5yeg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3606666961",name:"毕业雨季",desc:"小资情调:何为亏欠文艺青年心中的体面",imgurl:"http://p.qpic.cn/music_cover/SXTicaprnQbfAyiaibTsguPlPQK4ZBwicp09O22qKwnTJaO10kp2le37Ww/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3604823742",name:"冷门单曲酱",desc:"放假挤火车回家:等车时的轻快曲",imgurl:"http://p.qpic.cn/music_cover/lricrZ3ca62ybvZbWYjtYa9d3Biab7MTiaJhX9owcjdkv5HMxDEunm7tg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1746389460",name:"私に闻いて风i",desc:"追忆续篇:少女漫中关于邂逅他的故事",imgurl:"http://p.qpic.cn/music_cover/qH8rLHHhL8O8Iibm56uPzJy4mNzibugoib19FAujo6GdTXAAvhicw7Js0Q/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1746020155",name:"同位",desc:"优雅的音乐贵族 大提琴",imgurl:"http://p.qpic.cn/music_cover/e4us58fDgLVdxdbgmSUdTADM7Sl88AfGK3qQqibxmqpqRnmSGHaFaEQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2949232733",name:"香草拿铁",desc:"超级碗中场秀嘉宾歌曲集",imgurl:"http://p.qpic.cn/music_cover/V34Wl85ZuJRskg3Ds3R8yyddp8gI2icb7wXicN8ZEzJZP0icnwHyzNzhQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3691421503",name:"L岺",desc:"寒假赖床指南:吸猫!吸猫!吸猫!",imgurl:"http://p.qpic.cn/music_cover/Ay2w92PeiaO57pZWMwecv6SEWibhUAoWKzkmWgbtcfCsibQYt8bZtq2PA/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2072789141",name:"D.Va",desc:"中国风电音:敢问上天,是否有仙?",imgurl:"http://p.qpic.cn/music_cover/QlZibnBVmII60BjTttickJO9MTQDoTRFvboeks5LDkOJHNEjao8f9t6Q/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]}]})},IuA7:function(t,e){},Iyug:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Z5VE"),a("bh5B"),a("5KkG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={name:"cube-drawer-panel",mixins:[c.default],props:{data:{type:Array,default:function(){return[]}},index:{type:Number,default:-1}},computed:{selectedIndex:function(){var t=this.$parent.selected[this.index];return void 0===t?-1:t}},watch:{data:function(){this.scrollToTop()},isVisible:function(){var t=this;this.$nextTick(function(){t.refresh()})}},mounted:function(){this.$parent.addPanel(this)},beforeDestroy:function(){this.$parent.removePanel(this)},methods:{refresh:function(){this.$refs.scroll.refresh()},scrollToTop:function(){this.$refs.scroll.scroll&&this.$refs.scroll.scroll.scrollTo(0,0,0)},itemClickHandler:function(t,e){this.selectedIndex!==e&&this.$parent.changeHandler(this.index,t,e)}},components:{CubeScroll:u.default,CubeDrawerItem:o.default}},t.exports=e.default})},IzGe:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"cascadePicker",attrs:{title:"Date Picker",data:t.data,selectedIndex:t.selectedIndex},on:{select:t.select,cancel:t.cancel}})},staticRenderFns:[]}},J4wF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/upload/"+t)}}},t.exports=e.default})},J9Iv:function(t,e){},JBFj:function(t,e,a){var i=a("VU/8")(a("BRD/"),a("Lc9/"),null,null,null);t.exports=i.exports},JG9D:function(t,e){},JHHX:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{buttonStyle:["inline","outline","primary"]}},computed:{inlineStyle:function(){return this.buttonStyle.indexOf("inline")>=0},outlineStyle:function(){return this.buttonStyle.indexOf("outline")>=0},primaryStyle:function(){return this.buttonStyle.indexOf("primary")>=0}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},JKih:function(t,e,a){function i(t){a("TVNN")}var n=a("VU/8")(a("Fc4T"),a("PN0K"),i,null,null);t.exports=n.exports},JOED:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",rules:{required:!0,uploaded:function(t,e){return u.default.all(t.map(function(t,e){return new u.default(function(a,i){if(t.uploadedUrl)return a();setTimeout(function(){e%2?i(new Error):(t.uploadedUrl="uploaded/url",a())},1e3)})})).then(function(){return!0})}},messages:{uploaded:"上传失败"}}]},{fields:[{type:"submit",label:"Submit"},{type:"reset",label:"Reset"}]}]},options:{scrollToInvalidField:!0,layout:"classic"}}},methods:{submitHandler:function(t){t.preventDefault(),console.log("submit",t)},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},resetHandler:function(t){console.log("reset",t)}},components:{CubePage:o.default,CubeButtonGroup:s.default,JsonView:r.default}},t.exports=e.default})},JgmB:function(t,e,a){var i=a("VU/8")(a("Ba27"),a("fuAs"),null,null,null);t.exports=i.exports},"K/GD":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{components:[{name:"Basic 基础组件",shortcut:"Basic",items:[{path:"/button",text:"Button"},{path:"/loading",text:"Loading"},{path:"/tip",text:"Tip"},{path:"/toolbar",text:"Toolbar"},{path:"/tab-bar",text:"TabBar"}]},{name:"Form 表单组件",shortcut:"Form",items:[{path:"/checkbox",text:"Checkbox"},{path:"/checkbox-group",text:"CheckboxGroup"},{path:"/checker",text:"Checker"},{path:"/radio",text:"Radio"},{path:"/input",text:"Input"},{path:"/textarea",text:"Textarea"},{path:"/select",text:"Select"},{path:"/switch",text:"Switch"},{path:"/rate",text:"Rate"},{path:"/validator",text:"Validator"},{path:"/upload",text:"Upload"},{path:"/form",text:"Form"}]},{name:"Popup 弹窗组件",shortcut:"Popup",items:[{path:"/popup",text:"Popup"},{path:"/toast",text:"Toast"},{path:"/picker",text:"Picker"},{path:"/cascade-picker",text:"CascadePicker"},{path:"/segment-picker",text:"SegmentPicker"},{path:"/date-picker",text:"DatePicker"},{path:"/time-picker",text:"TimePicker"},{path:"/dialog",text:"Dialog"},{path:"/action-sheet",text:"ActionSheet"},{path:"/drawer",text:"Drawer"},{path:"/image-preview",text:"ImagePreview"}]},{name:"Scroll 滚动组件",shortcut:"Scroll",items:[{path:"/scroll",text:"Scroll"},{path:"/slide",text:"Slide"},{path:"/index-list",text:"IndexList"},{path:"/swipe",text:"Swipe"},{path:"/sticky",text:"Sticky"},{path:"/scroll-nav-bar",text:"ScrollNavBar"},{path:"/scroll-nav",text:"ScrollNav"},{path:"/recycle-list",text:"RecycleList"}]}]}},components:{CubeView:i.default}},t.exports=e.default})},K5n8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=[{text:"剧毒",value:"剧毒"},{text:"蚂蚁",value:"蚂蚁"},{text:"幽鬼",value:"幽鬼"},{text:"主宰",value:"主宰"},{text:"卡尔",value:"卡尔"},{text:"宙斯",value:"宙斯"},{text:"巫医",value:"巫医"},{text:"巫妖",value:"巫妖"},{text:"神谕者",value:"神谕者"},{text:"撼地神牛",value:"神谕者"},{text:"蓝胖子",value:"蓝胖子"},{text:"水晶室女",value:"水晶室女"},{text:"莉娜",value:"莉娜"},{text:"斯拉克",value:"斯拉克"},{text:"斯拉达",value:"斯拉达"}],a=[{text:"输出",value:"输出"},{text:"控制",value:"控制"},{text:"核心",value:"核心"},{text:"爆发",value:"爆发"},{text:"辅助",value:"辅助"},{text:"打野",value:"打野"},{text:"逃生",value:"逃生"},{text:"先手",value:"先手"}],i=[{text:"梅肯",value:"梅肯"},{text:"秘法鞋",value:"秘法鞋"},{text:"假腿",value:"假腿"},{text:"飞鞋",value:"飞鞋"},{text:"辉耀",value:"辉耀"},{text:"金箍棒",value:"金箍棒"}],n=[{text:"顺丰",value:"顺丰"},{text:"中通",value:"中通"},{text:"圆通",value:"圆通"}];t.column1=e,t.column2=a,t.column3=i,t.expressData=n})},K9Wg:function(t,e){},KATl:function(t,e,a){function i(t){a("XjAD")}var n=a("VU/8")(a("tspx"),a("uzcz"),i,null,null);t.exports=n.exports},KIfi:function(t,e,a){function i(t){a("GXMy")}var n=a("VU/8")(a("C8H9"),a("9Vqu"),i,null,null);t.exports=n.exports},"KQ/n":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},KVex:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},KZW3:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Gu7T"),a("XPXN"),a("o/OE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:u.default},data:function(){return{title:"Current City: BEIJING",data:o.default,options:{pullDownRefresh:{stop:55}}}},methods:{selectItem:function(t){console.log(t.name)},clickTitle:function(t){console.log(t)},onPullingDown:function(){var t=this;setTimeout(function(){var e;(e=t.data[1].items).push.apply(e,(0,c.default)(o.default[1].items)),t.$refs.indexList.forceUpdate(!0)},1e3)}}},t.exports=e.default})},Kjut:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/drawer/"+t)}}},t.exports=e.default})},Kjwe:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("1Zrt"),a("kjd8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){var e=l[t.type];e&&e(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l={submit:function(t){(0,i.toButtonHandler)(t,"submit")},reset:function(t){(0,i.toButtonHandler)(t,"reset")},checkbox:function(t){(0,a.boolRequiredHandler)(t)},switch:function(t){(0,a.boolRequiredHandler)(t)},rate:function(t){(0,a.numberGT0RequiredHandler)(t)}};t.exports=e.default})},Kprf:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checkbox-view",title:"Checkbox"}},[a("template",{slot:"content"},[a("cube-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("Checkbox")]),t._v(" "),a("p",[t._v("checked value: "+t._s(t.checked))]),t._v(" "),a("cube-checkbox",{attrs:{position:"right",shape:"square","hollow-style":!0},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("Styled Checkbox")]),t._v(" "),a("br"),a("br"),t._v(" "),a("cube-checkbox",{attrs:{option:t.optionValue},model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}}),t._v(" "),a("p",[t._v("checked value (with option) : "+t._s(t.checked2))]),t._v(" "),a("cube-checkbox",{attrs:{option:{disabled:!0},"hollow-style":!0},model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}},[t._v("\n Disabled Checkbox\n ")]),t._v(" "),a("br"),a("br"),t._v(" "),a("cube-checkbox",{staticClass:"with-click",model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}},[t._v("\n Agree "),a("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation()}}},[t._v("《xxx》")])])],1)],2)},staticRenderFns:[]}},KrQh:function(t,e,a){function i(t){a("dJ+B")}var n=a("VU/8")(a("AdWU"),a("9dOh"),i,null,null);t.exports=n.exports},"L+7R":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"multi-images-preview",title:"MultiImagesPreview"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"tips"},[t._v("Click Image")]),t._v(" "),a("div",{staticClass:"imgs-container"},t._l(t.imgs,function(e,i){return a("img",{key:e,attrs:{src:e},on:{click:function(e){t.handleImgsClick(i)}}})}))])])])},staticRenderFns:[]}},LFFy:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-wechat",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY,"check-top":t.checkTop,"fixed-show-ani":"sticky-fixed-show"},on:{"diff-change":t.diffChange}},[a("cube-scroll",{attrs:{"scroll-events":t.scrollEvents},on:{scroll:t.scrollHandler}},[a("img",{attrs:{src:"https://ss3.bdstatic.com/iPoZeXSm1A5BphGlnYG/skin/6.jpg"}}),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1),t._v(" "),a("ul",{ref:"stickyHeader",staticClass:"sticky-header",attrs:{slot:"fixed"},slot:"fixed"},[a("li",[t._v("header")])])],1)],1)])],2)},staticRenderFns:[]}},LIRj:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t){return t=String(t),t.replace(i,function(t,e){return e?e.toUpperCase():""})}function a(t){return t=String(t),t.replace(/([A-Z])/g,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=e,t.kebab=a;var i=/-(\w)/g})},LLJH:function(t,e){},LXLj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",rules:{required:!0,uploaded:function(t,e){return u.default.all(t.map(function(t,e){return new u.default(function(a,i){if(t.uploadedUrl)return a();setTimeout(function(){e%2?i(new Error):(t.uploadedUrl="uploaded/url",a())},1e3)})})).then(function(){return!0})}},messages:{uploaded:"上传失败"}}]},{fields:[{type:"submit",label:"Submit"},{type:"reset",label:"Reset"}]}]},options:{scrollToInvalidField:!0,layout:"fresh"}}},methods:{submitHandler:function(t){t.preventDefault(),console.log("submit",t)},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},resetHandler:function(t){console.log("reset",t)}},components:{CubePage:o.default,CubeButtonGroup:s.default,JsonView:r.default}},t.exports=e.default})},"Lc9/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-segment-picker"},t._l(t.data,function(e,i){return a(e.is||"cube-picker",t._b({key:i,ref:"pickers",refInFor:!0,tag:"component",attrs:{index:i,title:e.title||t.title,subtitle:e.subtitle||t.subtitle,"confirm-txt":e.confirmTxt||(i===t.data.length-1?t._confirmTxt:t._nextTxt),"cancel-txt":e.cancelTxt||(0===i?t._cancelTxt:t._prevTxt),"swipe-time":e.swipeTime||t.swipeTime,"z-index":e.zIndex||t.zIndex,"mask-closable":t.maskClosable},on:{select:t._select,cancel:t._cancel,change:t._change}},"component",e,!1))}))},staticRenderFns:[]}},LdqJ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"switch-option"},[a("span",{staticClass:"name"},[t._v(t._s(t.name))]),t._v(" "),a("div",{staticClass:"switch-ellipse",class:{active:t.checked},on:{click:t.clickSwitch}},[a("span",{staticClass:"switch-circle",class:{active:t.checked}})])])},staticRenderFns:[]}},LeY8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.cascadeData=[{value:"Fruit",text:"Fruit",children:[{value:"Apple",text:"Apple",children:[{value:1,text:"One"},{value:2,text:"Two"}]},{value:"Orange",text:"Orange",children:[{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"Lemon",text:"Lemon",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"},{value:5,text:"Five"}]}]},{value:"Drink",text:"Drink",children:[{value:"Coffee",text:"Coffee",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]},{value:"Tea",text:"Tea",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"Juice",text:"Juice",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]}]},{value:"Dessert",text:"Dessert",children:[{value:"Chocolate",text:"Chocolate",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"},{value:5,text:"Five"}]},{value:"cheese",text:"cheese",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"cake",text:"cake",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]}]}]})},Lg4b:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("UFDc"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(n);e.default={name:"cube-select",mixins:[u.default],data:function(){return{active:!1}},props:{options:{type:Array,default:function(){return[]}},value:null,placeholder:{type:String,default:""},autoPop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},title:{type:String,default:""},cancelTxt:{type:String,default:""},confirmTxt:{type:String,default:""}},computed:{adaptOptions:function(){return[this.options.map(function(t){return"object"!==(void 0===t?"undefined":(0,c.default)(t))&&(t={value:t,text:t}),t})]},valueIndex:function(){var t=this.value,e=(0,i.findIndex)(this.adaptOptions[0],function(e){return e.value===t});return this.picker&&this.picker.setData(this.adaptOptions,-1!==e?[e]:[0]),e},selectedIndex:function(){return-1!==this.valueIndex?[this.valueIndex]:[0]},selectedText:function(){return-1!==this.valueIndex?this.adaptOptions[0][this.valueIndex].text:""},_placeholder:function(){return this.placeholder||this.$t("selectText")},_title:function(){return this.title||this.$t("selectText")},_cancelTxt:function(){return this.cancelTxt||this.$t("cancel")},_confirmTxt:function(){return this.confirmTxt||this.$t("ok")}},created:function(){this.picker=this.$createPicker({$props:{title:"_title",data:"adaptOptions",selectedIndex:"selectedIndex",cancelTxt:"_cancelTxt",confirmTxt:"_confirmTxt"},$events:{select:"selectHandler",cancel:this.hided}}),this.autoPop&&this.showPicker()},methods:{showPicker:function(){this.disabled||(this.picker.show(),this.active=!0,this.$emit("picker-show"))},hided:function(){this.active=!1,this.$emit("picker-hide")},selectHandler:function(t,e,a){this.hided(),t[0]!==this.value&&(this.$emit("input",t[0]),this.$emit("change",t[0],e[0],a[0]))}}},t.exports=e.default})},Ll9R:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollEvents:["scroll"],scrollY:0,checkTop:!0,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){var e=t.y;this.scrollY=-e},diffChange:function(t,e){var a=0;e&&(a=t/e),this.$refs.stickyHeader.style.opacity=a}},components:{CubePage:i.default}},t.exports=e.default})},M2u5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Dd8w"),a("woOf"),a("PzHl"),a("N/gd"),a("Z5VE"),a("d64j"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o),y={textType:"ok",active:!0,disabled:!1,href:"javascript:;"},m={textType:"cancel",active:!1,disabled:!1,href:"javascript:;"},b=function(t,e){"string"==typeof t&&(t={text:t});var a=e&&this.$t(e.textType);return(0,d.default)({},e,{text:a},t)};e.default={name:"cube-dialog",mixins:[f.default,h.default,x.default],props:{type:{type:String,default:"alert"},prompt:{type:Object,default:function(){return{value:"",placeholder:""}}},icon:{type:String,default:""},title:{type:String,default:""},content:{type:String,default:""},showClose:{type:Boolean,default:!1},confirmBtn:{type:[Object,String],default:function(){return(0,r.default)({},y)}},cancelBtn:{type:[Object,String],default:function(){return(0,r.default)({},m)}}},data:function(){return{defHref:"javascript:;",promptValue:this.prompt.value}},computed:{_confirmBtn:function(){return b.call(this,this.confirmBtn,y)},_cancelBtn:function(){return b.call(this,this.cancelBtn,m)},isConfirm:function(){return"confirm"===this.type},isPrompt:function(){return"prompt"===this.type},containerClass:function(){return"cube-dialog-"+this.type}},watch:{"prompt.value":{handler:function(t){this.promptValue=t}}},methods:{maskClick:function(t){this.maskClosable&&this.cancel(t)},confirm:function(t){this._confirmBtn.disabled||(this.hide(),this.$emit("confirm",t,this.promptValue))},cancel:function(t){this._cancelBtn.disabled||(this.hide(),this.$emit("cancel",t))},close:function(t){this.hide(),this.$emit("close",t)}},components:{CubePopup:v.default,CubeInput:p.default}},t.exports=e.default})},M7O5:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{validating:!1,pending:!1,originValid:void 0}},computed:{valid:function(){var t=this.originValid,e=this.pending,a=this.validating;return e||a?void 0:t},invalid:function(){var t=this.valid;return void 0===t?t:!t}}},t.exports=e.default})},MFKK:function(t,e){},MKYq:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form",title:"Form"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("classic")}}},[t._v("Classic style")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("fresh")}}},[t._v("Fresh style")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},MNuz:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("PzHl"),a("Z5VE"),a("d64j"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={name:"cube-action-sheet",mixins:[o.default,s.default,r.default],props:{data:{type:Array,default:function(){return[]}},active:{type:Number,default:-1},title:{type:String,default:""},pickerStyle:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},cancelTxt:{type:String,default:""}},computed:{_cancelTxt:function(){return this.cancelTxt||this.$t("cancel")}},methods:{maskClick:function(){this.maskClosable&&this.cancel()},cancel:function(){this.hide(),this.$emit("cancel")},itemClick:function(t,e){this.hide(),this.$emit("select",t,e)}},components:{CubePopup:u.default}},t.exports=e.default})},MY9j:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-action-sheet-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],class:{"cube-action-sheet_picker":t.pickerStyle},attrs:{type:"action-sheet",center:!1,mask:!0,"z-index":t.zIndex},on:{"mask-click":t.maskClick}},[a("transition",{attrs:{name:"cube-action-sheet-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-action-sheet-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.pickerStyle||t.title,expression:"pickerStyle || title"}],staticClass:"cube-action-sheet-title border-bottom-1px"},[t._v(t._s(t.title))]),t._v(" "),a("div",{staticClass:"cube-action-sheet-content"},[a("ul",{staticClass:"cube-action-sheet-list"},t._l(t.data,function(e,i){return a("li",{staticClass:"cube-action-sheet-item border-bottom-1px",class:[e.class||"",i===t.active?"cube-action-sheet-item_active":""],attrs:{"data-align":e.align},domProps:{innerHTML:t._s(e.content)},on:{click:function(a){t.itemClick(e,i)}}})}))]),t._v(" "),a("div",{staticClass:"cube-action-sheet-space"}),t._v(" "),a("div",{staticClass:"cube-action-sheet-cancel",on:{click:t.cancel}},[a("span",[t._v(t._s(t._cancelTxt))])])])])],1)],1)},staticRenderFns:[]}},MdHd:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("QMhb"),a("bh5B")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-scroll-nav-bar",inject:{scrollNav:{default:null}},mixins:[l.default],props:{direction:{type:String,default:"horizontal",validator:function(t){return"horizontal"===t||"vertical"===t}},labels:{type:Array,default:function(){return[]}},txts:{type:Array,default:function(){return this._defaultTxts=!0,this.labels}},current:{type:[String,Number],default:""}},data:function(){return{active:this.current,usedTxts:this.txts}},watch:{labels:function(t){this._defaultTxts&&(this.usedTxts=t)},txts:function(t){this.usedTxts=t},current:function(t){this.active=t},active:function(t){this.$emit("change",t),this._adjust()}},mounted:function(){var t=this;this.scrollNav&&this.scrollNav.setBar(this),this.active&&this.$nextTick(function(){t._adjust()})},beforeDestroy:function(){this.scrollNav&&this.scrollNav.setBar(null)},methods:{clickHandler:function(t){t!==this.active&&(this.active=t,this.scrollNav&&this.scrollNav.barChange(t))},refresh:function(){this.$refs.scroll.refresh(),this._adjust()},_adjust:function(){var t=this;this.$nextTick(function(){var e="horizontal"===t.direction,a=e?"clientWidth":"clientHeight",i=t.active,n=t.$refs.scroll.$el[a],l=t.$refs.items,c=l[a],u=Math.min(0,n-c),o=n/2,s=l.children,r=0;t.labels.every(function(t,e){return t===i?(r+=s[e][a]/2,!1):(r+=s[e][a],!0)});var d=o-r;d=Math.max(u,Math.min(0,d)),t.$refs.scroll.scrollTo(e?d:0,e?0:d,300)})}},components:{CubeScroll:c.default}},t.exports=e.default})},Mr73:function(t,e,a){function i(t){a("blHT")}var n=a("VU/8")(a("uYby"),a("hNHr"),i,null,null);t.exports=n.exports},"N/gd":function(t,e,a){function i(t){a("dq75")}var n=a("VU/8")(a("eFmn"),a("1y26"),i,null,null);t.exports=n.exports},N3Wc:function(t,e){},N5yD:function(t,e,a){function i(t){a("dz6Z")}var n=a("VU/8")(a("B1Rs"),a("VV/4"),i,null,null);t.exports=n.exports},N6Rs:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Vexm"),a("fGk3"),a("9zBd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=c.provinceList;v.forEach(function(t){t.children=c.cityList[t.value],t.children.forEach(function(t){t.children=c.areaList[t.value]})});var p={props:{value:{type:Array,default:function(){return[]}}},data:function(){return{selected:[]}},render:function(t){return t("cube-button",{on:{click:this.showPicker}},this.selected.length?this.selected.join(" "):"placeholder")},mounted:function(){this.picker=this.$createCascadePicker({title:"PCA Select",data:v,selectedIndex:this.value,onSelect:this.selectHandler})},methods:{showPicker:function(){this.picker.show()},selectHandler:function(t,e,a){this.selected=a,this.$emit("input",t)}}};e.default={data:function(){return{validity:{},valid:void 0,model:{inputValue:"",pcaValue:[],dateValue:""},fields:[{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0}},{component:p,modelKey:"pcaValue",label:"PCASelect",rules:{required:!0},messages:{required:"请选择"}},{modelKey:"dateValue",label:"Date",rules:{required:!0}}]}},methods:{submitHandler:function(t){console.log("submit")},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},showDatePicker:function(){this.$refs.datePicker.show()},dateSelectHandler:function(t){this.model.dateValue=new Date(t[0],t[1]-1,t[2]).toDateString()}},components:{CubePage:o.default,CubeButtonGroup:s.default,DatePicker:r.default,JsonView:d.default}},t.exports=e.default})},NEEv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-checker-item",props:{option:{type:Object,default:function(){return{}}}},computed:{isActive:function(){var t=this.$parent.isRadio,e=this.$parent.currentValue,a=this.option.value;return t?e===a:e.indexOf(a)>=0},isDisabled:function(){return this.option.disabled}},methods:{clickHandler:function(){this.isDisabled||this.$parent.check(this.option)}}},t.exports=e.default})},NFzl:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-extend-popup",props:{content:{type:String}},methods:{show:function(){this.$refs.popup.show()},hide:function(){this.$refs.popup.hide(),this.$emit("hide")}}},t.exports=e.default})},NOHr:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky",title:"Sticky"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("scroll")}}},[t._v("Scroll")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("native")}}},[t._v("Native Scroll")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("wechat")}}},[t._v("WeChat")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},NTtZ:function(t,e,a){function i(t){a("dfWv")}var n=a("VU/8")(a("/Ca3"),a("liwK"),i,null,null);t.exports=n.exports},Ngbz:function(t,e){},NhRQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("lQMO"),a("I6+Q")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),(0,c.default)(t,l.default)},e.default=l.default,t.exports=e.default})},O19e:function(t,e){},O1ak:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),o.default.install(t),(0,u.default)(t,c.default)},e.default=c.default,t.exports=e.default})},O6S8:function(t,e,a){function i(t){a("XB2r")}var n=a("VU/8")(a("9IQh"),a("qaXI"),i,null,null);t.exports=n.exports},OCZZ:function(t,e){},OKCy:function(t,e){},OTGw:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("tombstone")}}},[t._v("Infinite")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},OdoB:function(t,e){},Ojzo:function(t,e,a){function i(t){a("6BWR")}var n=a("VU/8")(a("uCDH"),a("ptdZ"),i,null,null);t.exports=n.exports},Oluj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("PzHl"),a("niVN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),(0,c.default)(t,l.default)},e.default=l.default,t.exports=e.default})},OnXQ:function(t,e){},"P+K9":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("qgN4"),a("inlK"),a("t3q3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o);v.default.install=function(t){t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(v.default.name,v.default),x.default.install(t),(0,h.default)(t,r.default),(0,f.default)(t,d.default),(0,p.default)(t,v.default)},v.default.Picker=r.default,d.default.Picker=r.default,v.default.CascadePicker=d.default,e.default=v.default,t.exports=e.default})},P5JG:function(t,e){},P9U6:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/5sW"),a("XPXN"),a("1Vb/"),a("6SSl"),a("5Fev"),a("h7Gw")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c),f=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items:f,itemIndex:f.length,scrollbar:!0,scrollbarFade:!0,startY:0,scrollToY:-200,scrollToTime:700,scrollToEasing:"bounce",scrollToEasingOptions:[{text:"bounce",value:"bounce"},{text:"swipe",value:"swipe"},{text:"swipeBounce",value:"swipeBounce"}],customPullDown:!1}},computed:{options:function(){return{scrollbar:this.scrollbarObj,startY:this.startY}},scrollbarObj:function(){return!!this.scrollbar&&{fade:this.scrollbarFade}}},watch:{scrollbarObj:{handler:function(){this.rebuildScroll()},deep:!0},startY:function(){this.rebuildScroll()}},methods:{scrollTo:function(){this.$refs.scroll.scrollTo(0,this.scrollToY,this.scrollToTime,u.ease[this.scrollToEasing])},updateScrollbar:function(t){this.scrollbar=t},updateScrollbarFade:function(t){this.scrollbarFade=t},updateStartY:function(t){this.startY=t},updateScrollToY:function(t){this.scrollToY=t},updateScrollToTime:function(t){this.scrollToTime=t},updateScrollToEasing:function(t){this.scrollToEasing=t},rebuildScroll:function(){var t=this;s.default.nextTick(function(){t.$refs.scroll.destroy(),t.$refs.scroll.initScroll()})}},components:{CubePage:r.default,SwitchOption:d.default,InputOption:v.default,SelectOption:p.default}},t.exports=e.default})},PN0K:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("cube-scroll",{ref:"scroll1",staticClass:"scroll-list-outer-wrap"},[a("ul",{staticClass:"cube-scroll-list"},t._l(t.items1,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])})),t._v(" "),a("cube-scroll",{ref:"scroll2",staticClass:"scroll-list-inner-wrap",attrs:{nestMode:"native"}},[a("ul",{staticClass:"cube-scroll-list"},t._l(t.items2,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])}))]),t._v(" "),a("ul",{staticClass:"cube-scroll-list"},t._l(t.items1,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])}))],1)],1)])])},staticRenderFns:[]}},Pe8L:function(t,e,a){function i(t){a("TjYt")}var n=a("VU/8")(a("J4wF"),a("85uG"),i,null,null);t.exports=n.exports},PmdS:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-custom",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model},on:{validate:t.validateHandler,submit:t.submitHandler}},[a("cube-form-group",[a("cube-form-item",{attrs:{field:t.fields[0]}}),t._v(" "),a("cube-form-item",{attrs:{field:t.fields[1]}}),t._v(" "),a("cube-form-item",{attrs:{field:t.fields[2]}},[a("cube-button",{on:{click:t.showDatePicker}},[t._v(t._s(t.model.dateValue||"Please select"))]),t._v(" "),a("date-picker",{ref:"datePicker",attrs:{min:[2008,8,8],max:[2020,10,20]},on:{select:t.dateSelectHandler}})],1)],1),t._v(" "),a("cube-form-group",[a("cube-button",{attrs:{type:"submit"}},[t._v("Submit")])],1)],1),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},Pn6H:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"dialog-view",title:"Dialog"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showAlert}},[t._v("Dialog - alert")]),t._v(" "),a("cube-button",{on:{click:t.showPrompt}},[t._v("Dialog - prompt")]),t._v(" "),a("cube-button",{on:{click:t.showBtn}},[t._v("Dialog - btn")]),t._v(" "),a("cube-button",{on:{click:t.showClose}},[t._v("Dialog - show close")]),t._v(" "),a("cube-button",{on:{click:t.showSlot}},[t._v("Dialog - slot")])],1)],1)])},staticRenderFns:[]}},Ps1K:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("FmUO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-checker",props:{value:[String,Number,Array],options:{type:Array,default:function(){return[]}},type:{type:String,default:"checkbox"},min:{type:Number,default:0},max:{type:Number,default:function(){return this.options.length}}},data:function(){return{currentValue:this.value}},computed:{isRadio:function(){return"radio"===this.type}},watch:{value:function(t){this.currentValue=t},currentValue:function(t){this.$emit("input",t)}},methods:{check:function(t){this.isRadio?this.checkRadio(t):this.checkCheckbox(t)},checkRadio:function(t){this.currentValue=t.value},checkCheckbox:function(t){var e=t.value,a=this.currentValue,i=a.length,n=this.min,l=this.max,c=a.indexOf(e);c>-1?i>n&&a.splice(c,1):i0},isBtnField:function(){return"button"===this.fieldValue.type},itemClass:function(){var t=this.fieldValue.rules;return{"cube-form-item_required":t&&t.required,"cube-form-item_btn":this.isBtnField,"cube-form-item_validating":this.validating,"cube-form-item_pending":this.pending,"cube-form-item_valid":this.valid,"cube-form-item_invalid":this.invalid}},modelVal:function(){return this.form.model[this.fieldValue.modelKey]},componentName:function(){var t=this.fieldValue,e=t.component;if(e)return e;var a=t.type,i="cube-"+a;return y.default[i]?i:a}},watch:{modelVal:function(t){this.modelValue!==t&&(this.modelValue=t)},modelValue:{handler:function(t){this.form.model[this.fieldValue.modelKey]=t,this.updateValidatorModel()},sync:!0},originValid:function(t){this.lastOriginValid=t}},beforeCreate:function(){this.form=this.$parent.form},created:function(){var t=this;this.form.addField(this),this.getValidatorModel=function(e){return t.pending=!1,e}},mounted:function(){this.initDebounce(),this.initFocusEvents()},methods:{initDebounce:function(){var t=this,e=this.fieldValue.debounce;!0===e&&(e=200),!e&&0!==e||e<0||"blur"===this.fieldValue.trigger||(this.getValidatorModel=(0,l.debounce)(function(e){return t.syncValidatorValue(),e},e,!1,this.validatorModel[this.validatorModelKey]))},focusInHandler:function(){this.focused=!0},focusOutHandler:function(){this.focused=!1,this.updateValidatorModel()},initFocusEvents:function(){var t=this;if("blur"===this.fieldValue.trigger){var e=this.$refs.formItem;e.addEventListener("focusin",this.focusInHandler,!1),e.addEventListener("focusout",this.focusOutHandler,!1),this.getValidatorModel=function(e){return t.focused?t.validatorModel[t.validatorModelKey]:(t.pending=!1,t.form.updatePending(),e)}}},removeFocusEvents:function(){var t=this.$refs.formItem;t.removeEventListener("focusin",this.focusInHandler,!1),t.removeEventListener("focusout",this.focusOutHandler,!1)},updateValidatorModel:function(){this.pending=!0,this.validatorModel[this.validatorModelKey]=this.getValidatorModel(this.modelValue),this.pending&&(this.form.setPending(this.pending),this.originValid=void 0)},syncValidatorValue:function(){this.pending=!1,this.validatorModel[this.validatorModelKey]=this.modelValue,this.form.updatePending()},validatorChangeHandler:function(){this.validatorDisabled||this.originValid&&this.lastOriginValid||this.updateValidity()},validatingHandler:function(){this.validating=!0,this.form.setValidating(!0)},validatedHandler:function(){this.validating=!1,this.form.updateValidating()},updateValidity:function(){var t=this.$refs.validator;t&&this.form.updateValidity(this.fieldValue.modelKey,t.valid,t.result,t.dirty)},validate:function(t){var e=this,a=(0,l.cb2PromiseWithResolve)(t);a&&(t=a.resolve);var i=this.$refs.validator;return i?i.validate(function(){e.validatorDisabled=!0,e.updateValidity(),t&&t(),e.$nextTick(function(){e.validatorDisabled=!1})}):t&&t(),a},reset:function(){var t=this,e=this.fieldValue;if(e.modelKey){var a=(0,o.getResetValueByType)(e.type);this.validatorDisabled=!0,(0,l.resetTypeValue)(this,"modelValue",a),this.syncValidatorValue(),this.$refs.validator&&this.$refs.validator.reset(),this.$nextTick(function(){t.validatorDisabled=!1})}this.validating=!1,this.pending=!1},msgClick:function(){this.form.layout===h.default.STANDARD&&this.$createToast&&this.$createToast({type:"warn",txt:this.$refs.validator.msg,time:1e3}).show()}},beforeDestroy:function(){this.removeFocusEvents(),this.form.destroyField(this),this.form=null},components:y.default},t.exports=e.default})},QRTn:function(t,e){},QreJ:function(t,e,a){function i(t){a("dkN+")}var n=a("VU/8")(a("kZI5"),a("G9D9"),i,null,null);t.exports=n.exports},QwXM:function(t,e){},R082:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("lVze"),a("vhte"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),o.default.install(t),(0,u.default)(t,c.default)},e.default=c.default,t.exports=e.default})},R1uw:function(t,e){},R4Zp:function(t,e,a){function i(t){a("UJoK")}var n=a("VU/8")(a("gz49"),a("TXlC"),i,null,null);t.exports=n.exports},RGkz:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{action:"//jsonplaceholder.typicode.com/photos/",files:[]}},methods:{addedHandler:function(){var t=this.files[0];t&&this.$refs.upload.removeFile(t)},errHandler:function(t){this.$createToast({type:"warn",txt:"Upload fail",time:1e3}).show()}},components:{CubePage:i.default}},t.exports=e.default})},"RO/E":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("N5yD"),a("KATl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},RO5T:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showToastTime:function(){this.toast=this.$createToast({time:1e3,txt:"Toast time 1s",onTimeout:function(){console.log("timeout")}}),this.toast.show()},showToastTime0:function(){var t=this;this.toast=this.$createToast({time:0,txt:"Toast time 0"}),this.toast.show(),setTimeout(function(){t.toast.hide()},2e3)},showToastMask:function(){this.toast=this.$createToast({txt:"Loading...",mask:!0}),this.toast.show()},showToastType:function(){this.toast=this.$createToast({txt:"Correct",type:"correct"}),this.toast.show()},showToastTxtOnly:function(){this.toast=this.$createToast({txt:"Plain txt",type:"txt"}),this.toast.show()}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},RPhk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"toutiao",attrs:{type:"scroll-view",title:"Scroll"}},[a("template",{slot:"content"},[a("header",{ref:"topHeader"},[a("img",{attrs:{src:"https://dpubstatic.udache.com/static/dpubimg/0K9-YvWB-Q/toutiao_header2.png"}})]),t._v(" "),a("div",{staticClass:"nav-scroll-list-wrap"},[a("cube-scroll",{ref:"navScroll",attrs:{direction:"horizontal"}},[a("ul",{staticClass:"nav-wrapper"},t._l(t.navTxts,function(e,i){return a("li",{key:i,staticClass:"nav-item"},[t._v(t._s(e))])}))]),t._v(" "),a("div",{staticClass:"more-wrapper"},[a("span",{staticClass:"more"})])],1),t._v(" "),a("div",{staticClass:"content-scroll-wrapper"},[a("div",{ref:"scrollWrapper",staticClass:"content-scroll-list-wrap"},[a("cube-scroll",{ref:"contentScroll",attrs:{data:t.content,options:t.options},on:{"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pulldown",fn:function(e){return[e.pullDownRefresh?a("div",{staticClass:"cube-pulldown-wrapper",style:e.pullDownStyle},[e.beforePullDown?a("div",{staticClass:"before-trigger",style:{paddingTop:e.bubbleY+"px"}},[a("span",{class:{rotate:e.bubbleY>0}},[t._v("↓")])]):a("div",{staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isPullingDown,expression:"props.isPullingDown"}],staticClass:"loading"},[a("cube-loading")],1),t._v(" "),a("transition",{attrs:{name:"success"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isPullingDown,expression:"!props.isPullingDown"}],staticClass:"text-wrapper"},[a("span",{staticClass:"refresh-text"},[t._v("今日头条推荐引擎有x条更新")])])])],1)]):t._e()]}}])},[a("ul",{staticClass:"imgs-wrapper"},t._l(t.content,function(e,i){return a("li",{key:i,staticClass:"imgs-item"},[a("img",{attrs:{src:e.url},on:{load:t.onImgLoad}})])}))])],1)]),t._v(" "),a("footer",{ref:"footer"},[a("img",{attrs:{src:"https://dpubstatic.udache.com/static/dpubimg/1KRE2YnAim/toutiao_footer2.png"}})])])],2)},staticRenderFns:[]}},RkVv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"switch-option",props:{name:{type:String},value:null},data:function(){return{checked:this.value}},watch:{checked:function(t){this.$emit("update:value",t)}},methods:{clickSwitch:function(){this.checked=!this.checked}}},t.exports=e.default})},Rn3t:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{ref:"indexList",attrs:{data:t.data,title:t.title,options:t.options},on:{select:t.selectItem,"title-click":t.clickTitle,"pulling-down":t.onPullingDown}})],1)])])])},staticRenderFns:[]}},SFrn:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("GFMH"),a("+//L")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Panel=c.default,e.default=l.default,t.exports=e.default})},SOQt:function(t,e,a){function i(t){a("OKCy")}var n=a("VU/8")(a("M2u5"),a("fdUi"),i,null,null);t.exports=n.exports},SPGs:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},SW1b:function(t,e,a){function i(t){a("zi/F")}var n=a("VU/8")(a("P9U6"),a("s7/r"),i,null,null);t.exports=n.exports},SWc7:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe-view",title:"Swipe"}},[a("template",{slot:"content"},[a("div",{staticClass:"swipe-wrapper"},[a("cube-scroll",[a("cube-swipe",{attrs:{data:t.swipeData},on:{"item-click":t.onItemClick,"btn-click":t.onBtnClick}})],1)],1)])],2)},staticRenderFns:[]}},SpYO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",events:{"file-removed":function(){for(var t=arguments.length,e=Array(t),a=0;a0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,x.default)(h.default.mark(function i(){return h.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!t.isPullDownUpdating){i.next=2;break}return i.abrupt("return");case 2:if(!t.pullDownRefresh||!t.isPullingDown){i.next=12;break}return t.isPullingDown=!1,t.isPullDownUpdating=!0,i.next=7,t._waitFinishPullDown();case 7:return t.isPullDownUpdating=!1,i.next=10,t._waitResetPullDown(e);case 10:i.next=13;break;case 12:t.pullUpLoad&&t.isPullUpLoad&&(t.isPullUpLoad=!1,t.scroll.finishPullUp(),t.pullUpNoMore=!e||a);case 13:e&&t.refresh();case 14:case"end":return i.stop()}},i,t)}))()},resetPullUpTxt:function(){this.pullUpNoMore=!1},_listenScrollEvents:function(){var t=this;this.finalScrollEvents.forEach(function(e){t.scroll.on((0,v.camelize)(e),function(){for(var a=arguments.length,i=Array(a),n=0;n0?t.x>=this.scroll.minScrollX:e<0&&t.x<=this.scroll.maxScrollX,n=a>0?t.y>=this.scroll.minScrollY:a<0&&t.y<=this.scroll.maxScrollY,l=this.scroll.freeScroll,c=this.scroll.hasHorizontalScroll,u=this.scroll.hasVerticalScroll;if(!c&&!u)return!0;if(l)return i||n;var o=void 0;return this.scroll.movingDirectionX?o=i:this.scroll.movingDirectionY&&(o=n),o},_calculateMinHeight:function(){var t=this.$refs,e=t.wrapper,a=t.listWrapper,i=this.pullUpLoad,n=this.pullDownRefresh,l=0;if(n||i){l=(0,d.getRect)(e).height+1,i&&i.visible&&(l-=this.pullUpHeight)}a.style.minHeight=l+"px"},_onPullDownRefresh:function(){this.scroll.on("pullingDown",this._pullDownHandle),this.scroll.on("scroll",this._pullDownScrollHandle)},_offPullDownRefresh:function(){this.scroll.off("pullingDown",this._pullDownHandle),this.scroll.off("scroll",this._pullDownScrollHandle)},_pullDownRefreshChangeHandler:function(){var t=this;this.$nextTick(function(){t._getPullDownEleHeight(),t._calculateMinHeight()})},_pullDownHandle:function(){this.resetPullDownTimer&&clearTimeout(this.resetPullDownTimer),this.beforePullDown=!1,this.isPullingDown=!0,this.$emit("pulling-down")},_pullDownScrollHandle:function(t){this.beforePullDown?(this.bubbleY=Math.max(0,t.y-this.pullDownHeight),this.pullDownStyle="top:"+Math.min(t.y-this.pullDownHeight,0)+"px"):(this.bubbleY=0,this.pullDownStyle="top:"+Math.min(t.y-this.pullDownStop,0)+"px")},_pullUpLoadChangeHandler:function(){var t=this;this.$nextTick(function(){t._getPullUpEleHeight(),t._calculateMinHeight()})},_onPullUpLoad:function(){this.scroll.on("pullingUp",this._pullUpHandle)},_offPullUpLoad:function(){this.scroll.off("pullingUp",this._pullUpHandle)},_pullUpHandle:function(){this.isPullUpLoad=!0,this.$emit("pulling-up")},_waitFinishPullDown:function(t){var e=this,a=this.pullDownRefresh.stopTime,i=void 0===a?600:a;return new f.default(function(t){setTimeout(function(){e.scroll.finishPullDown(),t()},i)})},_waitResetPullDown:function(t){var e=this;return new f.default(function(t){e.resetPullDownTimer=setTimeout(function(){e.pullDownStyle="top: -"+e.pullDownHeight+"px",e.beforePullDown=!0,t()},e.scroll.options.bounceTime)})},_getPullDownEleHeight:function(){var t=this,e=this.$refs.pulldown;e&&(e=e.firstChild,this.pullDownHeight=(0,d.getRect)(e).height,this.beforePullDown=!1,this.isPullingDown=!0,this.$nextTick(function(){t.pullDownStop=(0,d.getRect)(e).height,t.beforePullDown=!0,t.isPullingDown=!1}))},_getPullUpEleHeight:function(){var t=this.$refs.listWrapper,e=t.nextElementSibling;if(!e)return void(this.pullUpHeight=0);this.pullUpHeight=(0,d.getRect)(e).height}},components:{Loading:b.default,Bubble:g.default}},t.exports=e.default})},TLh3:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-checkbox",class:t._containerClass,attrs:{"data-pos":t.position}},[a("label",{staticClass:"cube-checkbox-wrap",class:t._wrapClass},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.checkValue,expression:"checkValue"}],staticClass:"cube-checkbox-input",attrs:{type:"checkbox",disabled:t.computedOption.disabled},domProps:{checked:Array.isArray(t.checkValue)?t._i(t.checkValue,null)>-1:t.checkValue},on:{change:function(e){var a=t.checkValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.checkValue=a.concat([null])):l>-1&&(t.checkValue=a.slice(0,l).concat(a.slice(l+1)))}else t.checkValue=n}}}),t._v(" "),a("span",{staticClass:"cube-checkbox-ui",class:t._borderIconClass},[a("i",{class:t._rightIconClass})]),t._v(" "),a("span",{staticClass:"cube-checkbox-label"},[t._t("default",[t._v(t._s(t.computedOption.label))])],2)])])},staticRenderFns:[]}},TMiY:function(t,e,a){function i(t){a("bebB")}var n=a("VU/8")(a("V1uU"),a("aeD0"),i,null,null);t.exports=n.exports},TVNN:function(t,e){},TXlC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-switch"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.checkboxValue,expression:"checkboxValue"}],staticClass:"cube-switch-input",attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checkboxValue)?t._i(t.checkboxValue,null)>-1:t.checkboxValue},on:{change:function(e){var a=t.checkboxValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.checkboxValue=a.concat([null])):l>-1&&(t.checkboxValue=a.slice(0,l).concat(a.slice(l+1)))}else t.checkboxValue=n}}}),t._v(" "),a("i",{staticClass:"cube-switch-ui"}),t._v(" "),a("span",{staticClass:"cube-switch-label"},[t._t("default")],2)])},staticRenderFns:[]}},Ta5O:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("+vzD"),a("wOxr"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);s.default.install=function(t){t.component(o.default.name,o.default),t.component(s.default.name,s.default),v.default.install(t),(0,d.default)(t,o.default),(0,r.default)(t,s.default)},s.default.Picker=o.default,e.default=s.default,t.exports=e.default})},TdZF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selectedLabel:"天辉",tabs:[{label:"天辉",icon:"cubeic-like",heroes:["敌法师","卓尔游侠","主宰","米拉娜","变体精灵"]},{label:"夜魇",icon:"cubeic-star",heroes:["血魔","影魔","剃刀","剧毒术士","虚空假面","幻影刺客","冥界亚龙","克林克兹","育母蜘蛛","编织者","幽鬼","司夜刺客","米波"]}]}},components:{CubePage:i.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},TjYt:function(t,e){},U4Ng:function(t,e,a){function i(t){a("5Raf")}var n=a("VU/8")(a("Ll9R"),a("LFFy"),i,null,null);t.exports=n.exports},U8em:function(t,e,a){var i=a("VU/8")(a("vLxS"),a("ea3B"),null,null,null);t.exports=i.exports},UFDc:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("fZjL"),a("bOdI"),a("pFYg"),a("LIRj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(t.findIndex)return t.findIndex(e);var a=-1;return t.some(function(t,i,n){var l=e.call(this,t,i,n);if(l)return a=i,l}),a}function u(t,e){for(var a in e)t[a]&&"object"===(0,m.default)(t[a])?u(t[a],e[a]):t[a]=e[a]}function o(t){return function(){for(var e=arguments.length,a=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},a=e.prefix,i=void 0===a?"":a,l=e.firstUpperCase,c=void 0!==l&&l,u=t.name,o=u.replace(/^cube-/i,""),s=""+(0,n.camelize)(""+i+o);return c&&(s=s.charAt(0).toUpperCase()+s.slice(1)),s}function h(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.split("."),i=t,n=0;n - value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandler:function(){console.log("cancel")}},components:{CubePage:n.default}},t.exports=e.default})},VKJd:function(t,e,a){function i(t){a("iejJ")}var n=a("VU/8")(a("rQlO"),a("uqUP"),i,null,null);t.exports=n.exports},VLcU:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t){var e=a[t];return e&&e()}Object.defineProperty(t,"__esModule",{value:!0});var a={checkbox:function(){return!1},select:function(){return null}};t.getResetValueByType=e})},VOiB:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{ref:"indexList",attrs:{data:t.data,title:t.title,options:t.options},on:{select:t.selectItem,"title-click":t.clickTitle,"pulling-up":t.onPullingUp}})],1)])])])},staticRenderFns:[]}},"VV/4":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-swipe"},[t._t("default",[a("transition-group",{attrs:{name:"cube-swipe",tag:"ul"}},t._l(t.data,function(e,i){return a("li",{key:e.item.value},[a("cube-swipe-item",{attrs:{btns:e.btns,item:e.item,index:i,"auto-shrink":t.autoShrink}})],1)}))])],2)},staticRenderFns:[]}},VcN6:function(t,e,a){function i(t){a("nRLb")}var n=a("VU/8")(a("XUgO"),a("C1Qw"),i,null,null);t.exports=n.exports},Vexm:function(t,e,a){var i=a("VU/8")(a("apY0"),a("IzGe"),null,null,null);t.exports=i.exports},VzLe:function(t,e,a){var i=a("VU/8")(a("waH8"),a("ZU9z"),null,null,null);t.exports=i.exports},W2Hj:function(t,e,a){var i=a("VU/8")(a("0l/c"),a("794M"),null,null,null);t.exports=i.exports},W61h:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-sticky-ele"},[a("div",{staticClass:"cube-sticky-content"},[t._t("default")],2)])},staticRenderFns:[]}},W7V1:function(t,e){},WWPg:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer-def",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button",{on:{click:t.showDrawer}},[t._v("Show Drawer")]),t._v(" "),a("cube-drawer",{ref:"drawer",attrs:{data:t.data,"selected-index":t.selectedIndex},on:{change:t.changeHandler,select:t.selectHandler,cancel:t.cancelHandler}},[a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.province.text))]),t._v(" "),t._l(t.data,function(e,i){return a("cube-drawer-panel",{key:i,attrs:{index:i,data:e}},t._l(e,function(e,i){return a("cube-drawer-item",{key:i,attrs:{item:e,index:i}},[a("i",{staticClass:"cubeic-round-border"}),t._v(" "),a("span",[t._v(t._s(e.text))])])}))})],2)],1)])])},staticRenderFns:[]}},WjKT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default,CubeButtonGroup:c.default},data:function(){return{options:[2013,2014,2015,2016,2017,2018],value:2016,title:"Entry time",placeholder:"Please choose entry time",autoPop:!1,disabled:!1}},methods:{change:function(t,e,a){console.log("change",t,e,a)},modify:function(){this.value=2014}}},t.exports=e.default})},Woua:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("s0qb")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={success:"cubeic-right",error:"cubeic-warn"};e.default={name:"cube-upload-file",props:{file:{type:Object,required:!0}},computed:{fileCls:function(){return"cube-upload-file_"+this.file.status},fileStatusCls:function(){var t=this.file,e=t.status;if(t.progress>=.01||e===a.STATUS_SUCCESS||e===a.STATUS_ERROR)return"cube-upload-file_stat"},fileStyle:function(){var t=this.file.url||this.file.base64;if(t)return{"background-image":'url("'+t+'")'}},statusCls:function(){var t=this.file.status;return i[t]},fileProgress:function(){return this.statusCls?"100%":Math.min(Math.floor(100*this.file.progress),99)+"%"}},methods:{clickHandler:function(){this.$emit("click",this.file)},removeFile:function(){this.$parent.removeFile(this.file)}}},t.exports=e.default})},"X/Av":function(t,e){},"X4T+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("YlpP")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=c.default.goods;e.default={components:{CubePage:l.default},data:function(){return{data:u,current:u[3].name}},methods:{changeHandler:function(t){console.log("changed to:",t)},stickyChangeHandler:function(t){console.log("sticky-change",t)}}},t.exports=e.default})},XB2r:function(t,e){},XD3M:function(t,e){},XD4M:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},staticRenderFns:[]}},XDbB:function(t,e){},XEOk:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xUY6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-rate",props:{value:{type:Number,default:0},max:{type:Number,default:5},disabled:{type:Boolean,default:!1},justify:{type:Boolean,default:!1}},data:function(){return{tempValue:this.value}},created:function(){this.mousePressed=!1},computed:{rateClass:function(){return this.justify&&"cube-rate-justify"}},watch:{value:function(t){t!==this.tempValue&&(this.tempValue=t)}},methods:{handleStart:function(t){if(!this.disabled){t.type.indexOf("mouse")>-1&&(this.mousePressed=!0,document.addEventListener("mouseup",this.handleEnd),document.addEventListener("mousemove",this.handleMove));var e=this.$refs.rateContainer.getBoundingClientRect();this.left=e.left,this.containerWidth=e.width}},handleMove:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||this.computeTempValue(-1===t.type.indexOf("mouse")?t.touches[0]:t)},handleEnd:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||(t.type.indexOf("mouse")>-1&&(this.mousePressed=!1,document.removeEventListener("mouseup",this.handleEnd),document.removeEventListener("mousemove",this.handleMove)),this.computeTempValue(t.type.indexOf("mouse")>-1?t:t.changedTouches[0]),this.$emit("input",this.tempValue))},computeTempValue:function(t){var e=Math.ceil((t.clientX-this.left)/this.containerWidth*this.max);e>0&&e<=this.max?this.tempValue=e:this.tempValue=e<=0?0:this.max}},components:{CubeRateItem:i.default}},t.exports=e.default})},XG7C:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=[{url:"https://dpubstatic.udache.com/static/dpubimg/7EzIhoEvnG/toutiao_12.JPG"},{url:"https://dpubstatic.udache.com/static/dpubimg/GR0Piaf5sz/toutiao_21.JPG"},{url:"https://dpubstatic.udache.com/static/dpubimg/K1JqUN8HSA/toutiao_31.JPG"}],l=["关注","推荐","新时代","热点","体育","娱乐","科技","头条号","问答","国际","cube-ui666"],c=1;e.default={data:function(){return{content:n.slice(),options:{pullDownRefresh:{threshold:60,stopTime:1e3,txt:"更新成功"},pullUpLoad:!0},navTxts:l,secondStop:26}},components:{CubePage:i.default},methods:{onPullingDown:function(){var t=this;setTimeout(function(){t.content.unshift(n[c++%3]),t.$refs.contentScroll.scrollTo(0,t.secondStop,300)},1e3)},onPullingUp:function(){var t=this;setTimeout(function(){t.content=t.content.concat(n)},1e3)},onImgLoad:function(){var t=this.$refs.contentScroll;t.scroll.beforePullDown&&t.refresh()}},mounted:function(){}},t.exports=e.default})},XJZo:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("7ErG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-toolbar",components:{CubeToolbarItem:i.default},props:{actions:{type:Array,default:function(){return[]}},moreActions:{type:Array}},data:function(){return{showMore:!1}},computed:{basicActions:function(){var t=this.actions.slice();return this.moreActions&&t.push({icon:"cubeic-more",$cubeMore:!0}),t}},methods:{itemClick:function(t){t.$cubeMore?(this.showMore=!this.showMore,this.$emit("more-click",this.showMore)):this.$emit("click",t)}}},t.exports=e.default})},XNdS:function(t,e,a){var i=a("VU/8")(a("cbPg"),a("XD4M"),null,null,null);t.exports=i.exports},XPXN:function(t,e,a){function i(t){a("4g/6")}var n=a("VU/8")(a("twNj"),a("3Yuc"),i,null,null);t.exports=n.exports},XRNA:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(t,e){},t.tip=function(t,e){}})},XUNM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checkerValue:"",radioOptions:[{value:0,text:"AAAAA"},{value:1,text:"BBBBB"}],checkboxCheckerList:[],checkboxOptions:[{value:1,text:"red"},{value:2,text:"yellow"},{value:3,text:"blue"},{value:4,text:"green"}],defaultCheckerList:[3],disabledCheckerOptions:[{value:1,text:"first",disabled:!0},{value:2,text:"second",disabled:!0},{value:3,text:"third"}],disabledCheckerList:[2]}},components:{CubePage:i.default},methods:{radioClick:function(t){console.log(t),this.radioCheckerList=[t]}}},t.exports=e.default})},XUgO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("IskU")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{swipeData:i.customData}},methods:{onItemClick:function(t){console.log("click item:",t)},onBtnClick:function(t,e){var a=this;"delete"===t.action?this.$createActionSheet({title:"确认要删除吗",active:0,data:[{content:"删除"}],onSelect:function(){a.swipeData.splice(e,1)}}).show():this.$refs.swipeItem[e].shrink()}},components:{CubePage:n.default}},t.exports=e.default})},XYeX:function(t,e){},XjAD:function(t,e){},XlLO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN"),a("j/Id")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n),s=["top","right","bottom","left","center"],r=0;e.default={data:function(){return{type:"popup-dialog",mask:!0,visible1:!1,visible2:!1,visible3:!1,visible4:!1,position:""}},methods:{showPopup:function(t){var e=this;4===t&&(this.position=s[r++],r===s.length&&(r=0)),this["visible"+t]=!0,setTimeout(function(){e["visible"+t]=!1},2e3)}},components:{CubeButtonGroup:c.default,CubePage:u.default,CubeExtendPopup:o.default}},t.exports=e.default})},Xnqv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancel:"取消",confirm:"确认",ok:"确定",prev:"上一步",next:"下一步",selectText:"请选择",now:"现在",selectTime:"选择时间",today:"今日",formatDate:"M月D日",hours:"点",minutes:"分",validator:{required:"此为必填项",type:{string:"请输入字符",number:"请输入数字",array:"数据类型应为数组",date:"请选择有效日期",email:"请输入有效邮箱",tel:"请输入有效的手机号码",url:"请输入有效网址"},min:{string:"至少输入 {{config}} 位字符",number:"不得小于 {{config}}",array:"请选择至少 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之后的时间',email:"至少输入 {{config}} 位字符",tel:"至少输入 {{config}} 位字符",url:"至少输入 {{config}} 位字符"},max:{string:"请勿超过 {{config}} 位字符",number:"请勿大于 {{config}}",array:"最多选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请勿超过 {{config}} 位字符",tel:"请勿超过 {{config}} 位字符",url:"请勿超过 {{config}} 位字符"},len:{string:"请输入 {{config}} 位字符",number:"长度应等于 {{config}}",array:"请选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请输入 {{config}} 位字符",tel:"请输入 {{config}} 位字符",url:"请输入 {{config}} 位字符"},pattern:"格式错误",custom:"未通过校验",notWhitespace:"空白内容无效"}},t.exports=e.default})},XyhL:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("g9J/"),a("xUY6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},"Y/GG":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav",class:{"cube-scroll-nav_side":t.side}},[a("cube-sticky",{ref:"sticky",attrs:{pos:t.scrollY},on:{change:t.stickyChangeHandler}},[a("cube-scroll",{ref:"scroll",attrs:{"scroll-events":t.scrollEvents,options:t.options,data:t.data},on:{scroll:t.scrollHandler,"scroll-end":t.scrollEndHandler}},[t._t("prepend"),t._v(" "),a("div",{staticClass:"cube-scroll-nav-main"},[a("cube-sticky-ele",{ref:"navBarEle",attrs:{"ele-key":"cube-scroll-nav-bar"}},[t._t("bar",[a("cube-scroll-nav-bar",{attrs:{direction:t.barDirection,txts:t.barTxts,labels:t.labels,current:t.active}})],{txts:t.barTxts,labels:t.labels,current:t.active})],2),t._v(" "),a("cube-sticky",{ref:"pageSticky",attrs:{offset:t.pageStickyOffset,pos:t.scrollY},on:{change:t.pageStickyChangeHandler}},[a("div",{staticClass:"cube-scroll-nav-panels"},[t._t("default")],2),t._v(" "),t.side?t._e():a("template",{slot:"fixed"},[a("div")])],2)],1)],2)],1)],1)},staticRenderFns:[]}},"Y/JC":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"toast-view",title:"Toast"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showToastTime}},[t._v("Toast - time 1s")]),t._v(" "),a("cube-button",{on:{click:t.showToastTime0}},[t._v("Toast - time 0")]),t._v(" "),a("cube-button",{on:{click:t.showToastMask}},[t._v("Toast- with mask")]),t._v(" "),a("cube-button",{on:{click:t.showToastType}},[t._v("Toast - type")]),t._v(" "),a("cube-button",{on:{click:t.showToastTxtOnly}},[t._v("Toast - txt only")])],1)],1)])},staticRenderFns:[]}},Y01l:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("34KM")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={install:function(){}},t.exports=e.default})},YGd9:function(t,e,a){function i(t){a("0MDc")}var n=a("VU/8")(a("XUNM"),a("I3p6"),i,null,null);t.exports=n.exports},YUSN:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/scroll/"+t)}}},t.exports=e.default})},YVqS:function(t,e,a){var i=a("VU/8")(a("+8WV"),a("77Ud"),null,null,null);t.exports=i.exports},Ycrx:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-def",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-scroll-nav",{on:{change:t.changeHandler}},t._l(t.data,function(e){return a("cube-scroll-nav-panel",{key:e.name,attrs:{label:e.name}},[a("ul",t._l(e.foods,function(e){return a("li",[a("div",[a("img",{attrs:{src:e.icon}}),t._v(" "),a("p",[t._v(t._s(e.name))])])])}))])}))],1)])])},staticRenderFns:[]}},YlpP:function(t,e){t.exports={seller:{name:"粥品香坊(回龙观)",description:"蜂鸟专送",deliveryTime:38,score:4.2,serviceScore:4.1,foodScore:4.3,rankRate:69.2,minPrice:20,deliveryPrice:4,ratingCount:24,sellCount:90,bulletin:"粥品香坊其烹饪粥料的秘方源于中国千年古法,在融和现代制作工艺,由世界烹饪大师屈浩先生领衔研发。坚守纯天然、0添加的良心品质深得消费者青睐,发展至今成为粥类的引领品牌。是2008年奥运会和2013年园博会指定餐饮服务商。",supports:[{type:0,description:"在线支付满28减5"},{type:1,description:"VC无限橙果汁全场8折"},{type:2,description:"单人精彩套餐"},{type:3,description:"该商家支持发票,请下单写好发票抬头"},{type:4,description:"已加入“外卖保”计划,食品安全保障"}],avatar:"http://static.galileo.xiaojukeji.com/static/tms/seller_avatar_256px.jpg",pics:["http://fuss10.elemecdn.com/8/71/c5cf5715740998d5040dda6e66abfjpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/b/6c/75bd250e5ba69868f3b1178afbda3jpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/f/96/3d608c5811bc2d902fc9ab9a5baa7jpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/6/ad/779f8620ff49f701cd4c58f6448b6jpeg.jpeg?imageView2/1/w/180/h/180"],infos:["该商家支持发票,请下单写好发票抬头","品类:其他菜系,包子粥店","北京市昌平区回龙观西大街龙观置业大厦底商B座102单元1340","营业时间:10:00-20:30"]},goods:[{name:"热销榜",type:-1,foods:[{name:"皮蛋瘦肉粥",price:10,oldPrice:"",description:"咸粥",sellCount:229,rating:100,info:"一碗皮蛋瘦肉粥,总是我到粥店时的不二之选。香浓软滑,饱腹暖心,皮蛋的Q弹与瘦肉的滑嫩伴着粥香溢于满口,让人喝这样的一碗粥也觉得心满意足",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"扁豆焖面",price:14,oldPrice:"",description:"",sellCount:188,rating:96,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],info:"",icon:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"葱花饼",price:10,oldPrice:"",description:"",sellCount:124,rating:85,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"没啥味道",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:1,text:"很一般啊",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"牛肉馅饼",price:14,oldPrice:"",description:"",sellCount:114,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"难吃不推荐",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"招牌猪肉白菜锅贴/10个",price:17,oldPrice:"",description:"",sellCount:101,rating:78,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"不脆,不好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"南瓜粥",price:9,oldPrice:"",description:"甜粥",sellCount:91,rating:100,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红豆薏米美肤粥",price:12,oldPrice:"",description:"甜粥",sellCount:86,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"八宝酱菜",price:4,oldPrice:"",description:"",sellCount:84,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红枣山药糙米粥",price:10,oldPrice:"",description:"",sellCount:81,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"糊塌子",price:10,oldPrice:"",description:"",sellCount:80,rating:93,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"单人精彩套餐",type:2,foods:[{name:"红枣山药粥套餐",price:29,oldPrice:36,description:"红枣山药糙米粥,素材包,爽口莴笋丝,四川泡菜或八宝酱菜,配菜可备注",sellCount:17,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/6/72/cb844f0bb60c502c6d5c05e0bddf5jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/6/72/cb844f0bb60c502c6d5c05e0bddf5jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"冰爽饮品限时特惠",type:1,foods:[{name:"VC无限橙果汁",price:8,oldPrice:10,description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"精选热菜",type:-1,foods:[{name:"娃娃菜炖豆腐",price:17,oldPrice:"",description:"",sellCount:43,rating:92,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"菜量还可以,味道还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/2d/b1eb45b305635d9dd04ddf157165fjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/2d/b1eb45b305635d9dd04ddf157165fjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"手撕包菜",price:16,oldPrice:"",description:"",sellCount:29,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/c6/f3bc84468820121112e79583c24efjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/c6/f3bc84468820121112e79583c24efjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"香酥黄金鱼/3条",price:11,oldPrice:"",description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/4/e7/8277a6a2ea0a2e97710290499fc41jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/4/e7/8277a6a2ea0a2e97710290499fc41jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"爽口凉菜",type:-1,foods:[{name:"八宝酱菜",price:4,oldPrice:"",description:"",sellCount:84,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"拍黄瓜",price:9,oldPrice:"",description:"",sellCount:28,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/6/54/f654985b4e185f06eb07f8fa2b2e8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/6/54/f654985b4e185f06eb07f8fa2b2e8jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"精选套餐",type:-1,foods:[{name:"红豆薏米粥套餐",price:37,oldPrice:"",description:"红豆薏米粥,三鲜干蒸烧卖,拍黄瓜",sellCount:3,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/49/27f26ed00c025b2200a9ccbb7e67ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/49/27f26ed00c025b2200a9ccbb7e67ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"皮蛋瘦肉粥套餐",price:31,oldPrice:"",description:"",sellCount:12,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/96/f444a8087f0e940ef264617f9d98ajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/96/f444a8087f0e940ef264617f9d98ajpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"果拼果汁",type:-1,foods:[{name:"蜜瓜圣女萝莉杯",price:6,oldPrice:"",description:"",sellCount:1,rating:"",info:"",ratings:[],icon:"http://fuss10.elemecdn.com/b/5f/b3b04c259d5ec9fa52e1856ee50dajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/b/5f/b3b04c259d5ec9fa52e1856ee50dajpeg.jpeg?imageView2/1/w/750/h/750"},{name:"加多宝",price:6,oldPrice:"",description:"",sellCount:7,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/b/9f/5e6c99c593cf65229225c5661bcdejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/b/9f/5e6c99c593cf65229225c5661bcdejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"VC无限橙果汁",price:8,oldPrice:10,description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"小吃主食",type:-1,foods:[{name:"扁豆焖面",price:14,oldPrice:"",description:"",sellCount:188,rating:96,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"葱花饼",price:10,oldPrice:"",description:"",sellCount:124,rating:85,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"没啥味道",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:1,text:"很一般啊",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"牛肉馅饼",price:14,oldPrice:"",description:"",sellCount:114,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"难吃不推荐",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"招牌猪肉白菜锅贴/10个",price:17,oldPrice:"",description:"",sellCount:101,rating:78,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"不脆,不好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"糊塌子",price:10,oldPrice:"",description:"",sellCount:80,rating:93,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"特色粥品",type:-1,foods:[{name:"皮蛋瘦肉粥",price:10,oldPrice:"",description:"咸粥",sellCount:229,rating:100,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"南瓜粥",price:9,oldPrice:"",description:"甜粥",sellCount:91,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红豆薏米美肤粥",price:12,oldPrice:"",description:"甜粥",sellCount:86,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红枣山药糙米粥",price:10,oldPrice:"",description:"",sellCount:81,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"鲜蔬菌菇粥",price:11,oldPrice:"",description:"咸粥",sellCount:56,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:""},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/a3/5317c68dd618929b6ac05804e429ajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/a3/5317c68dd618929b6ac05804e429ajpeg.jpeg?imageView2/1/w/750/h/750"},{name:"田园蔬菜粥",price:10,oldPrice:"",description:"咸粥",sellCount:33,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/a/94/7371083792c19df00e546b29e344cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/a/94/7371083792c19df00e546b29e344cjpeg.jpeg?imageView2/1/w/750/h/750"}]}],ratings:[{username:"3******c",rateTime:1469281964e3,deliveryTime:30,score:5,rateType:0,text:"不错,粥很好喝,我经常吃这一家,非常赞,以后也会常来吃,强烈推荐.",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["南瓜粥","皮蛋瘦肉粥","扁豆焖面","娃娃菜炖豆腐","牛肉馅饼"]},{username:"2******3",rateTime:1469271264e3,deliveryTime:"",score:4,rateType:0,text:"服务态度不错",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["扁豆焖面"]},{username:"3******b",rateTime:1469261964e3,score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"1******c",rateTime:1469261864e3,deliveryTime:20,score:5,rateType:0,text:"良心店铺",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"2******d",rateTime:1469251264e3,deliveryTime:10,score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"9******0",rateTime:1469241964e3,deliveryTime:70,score:1,rateType:1,text:"送货速度蜗牛一样",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"d******c",rateTime:1469231964e3,deliveryTime:30,score:5,rateType:0,text:"很喜欢的粥店",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"2******3",rateTime:1469221264e3,deliveryTime:"",score:4,rateType:0,text:"量给的还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******8",rateTime:1469211964e3,deliveryTime:"",score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"a******a",rateTime:1469201964e3,deliveryTime:"",score:4,rateType:0,text:"孩子喜欢吃这家",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["南瓜粥"]},{username:"3******3",rateTime:1469191264e3,deliveryTime:"",score:4,rateType:0,text:"粥挺好吃的",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"t******b",rateTime:1469181964e3,deliveryTime:"",score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"f******c",rateTime:1469171964e3,deliveryTime:15,score:5,rateType:0,text:"送货速度很快",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"k******3",rateTime:1469161264e3,deliveryTime:"",score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"u******b",rateTime:1469151964e3,deliveryTime:"",score:4,rateType:0,text:"下雨天给快递小哥点个赞",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"s******c",rateTime:1469141964e3,deliveryTime:"",score:4,rateType:0,text:"好",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"z******3",rateTime:1469131264e3,deliveryTime:"",score:5,rateType:0,text:"吃了还想再吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"n******b",rateTime:1469121964e3,deliveryTime:"",score:3,rateType:1,text:"发票开的不对",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"m******c",rateTime:1469111964e3,deliveryTime:30,score:5,rateType:0,text:"好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"l******3",rateTime:1469101264e3,deliveryTime:40,score:5,rateType:0,text:"还不错吧",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******o",rateTime:1469091964e3,deliveryTime:"",score:2,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******p",rateTime:1469081964e3,deliveryTime:"",score:4,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"o******k",rateTime:1469071264e3,deliveryTime:"",score:5,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"k******b",rateTime:1469061964e3,deliveryTime:"",score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]}]}},Yu0J:function(t,e,a){function i(t){a("Il0v")}var n=a("VU/8")(a("s8G+"),a("penI"),i,null,null);t.exports=n.exports},Z5VE:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,a){e?t.show():a&&!t._createAPI_reuse&&t.hide()},{immediate:!0})},methods:{show:function(){this.isVisible=!0},hide:function(){this.isVisible=!1}}},t.exports=e.default})},Z7ln:function(t,e){},ZCFR:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"popup-view",title:"popup"}},[a("template",{slot:"content"},[a("div",[a("cube-popup",{attrs:{type:"my-popup"},model:{value:t.visible1,callback:function(e){t.visible1=e},expression:"visible1"}},[t._v("My Popup Content 1")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(1)}}},[t._v("Show Popup")])],1),t._v(" "),a("div",[a("cube-popup",{attrs:{type:"my-popup",mask:!1},model:{value:t.visible2,callback:function(e){t.visible2=e},expression:"visible2"}},[t._v("My Popup Content 2")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(2)}}},[t._v("Show Popup - no mask")])],1),t._v(" "),a("div",[a("cube-popup",{ref:"myPopup3",attrs:{type:"my-popup",mask:!1,content:"My Popup Content 3"},model:{value:t.visible3,callback:function(e){t.visible3=e},expression:"visible3"}}),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(3)}}},[t._v("Show Popup - with content")])],1),t._v(" "),a("div",[a("cube-popup",{ref:"myPopup4",attrs:{type:"my-popup",position:t.position,"mask-closable":!0},model:{value:t.visible4,callback:function(e){t.visible4=e},expression:"visible4"}},[t._v("My Popup Content 4")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(4)}}},[t._v("top/right/bottom/left/center")])],1),t._v(" "),a("div",[a("cube-extend-popup",{ref:"extendPopup",attrs:{content:"click here hide"}}),t._v(" "),a("cube-button",{on:{click:function(e){t.$refs.extendPopup.show()}}},[t._v("Show Extend Popup")])],1)])],2)},staticRenderFns:[]}},ZDnC:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checked:!0,checked2:"optionValue",optionValue:{label:"Option Checkbox",value:"optionValue",disabled:!1}}},components:{CubePage:i.default}},t.exports=e.default})},ZQJ7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("5e0o"),a("1BqV")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Ele=c.default,e.default=l.default,t.exports=e.default})},ZU9z:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-picker",{ref:"picker",attrs:{data:t.pickerData,"selected-index":t.pickerSelectedIndex,pending:t.pending,title:t.title,subtitle:t.subtitle,"z-index":t.zIndex,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},ZVGq:function(t,e){},ZXOh:function(t,e,a){var i=a("VU/8")(a("qC0d"),a("Cnp6"),null,null,null);t.exports=i.exports},Zbp1:function(t,e){},Zd1j:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={messages:["when you popState and actually being well, we expect it further","But I'm going to take care of ripping out my code in the fact that just something like that","And what we'll createdCallbacks than that you can still read what each one of this should go out","So just return Promise back and do this, the route equals","ah, let's do a clearRoutes it says I'm not going to do","At least trying new Promise","then, and then it's going to check what that","And we zoom in, then you can kind of set, except for a router","Now strictly today","I'm going to just takes an iterable as well be to add a visible","Anyway, so that we'll do a link","So what I'm going to minify this, so I'll just console","log data for now, just sometimes look at that","not then if we wanted to do position from the registerElements primed and red","That isn't get called","At all","No","Interesting that misc here","So what was a regular expression","Because once you get over doing a fancy techniques","And let's see","OK, we broke thing to do","Right","document","" So","Yeah","which is fine","And that we'll do sc","view","So what you draw the line where is it","Where is being run","I think, a million times look at it and styles an iteration, ES2015 update the content for is this","routes equals Array","from","Hm, that might be a trade","off, because we're just do an animation","in the attached","Look at this push","pull kind of useful to have layout root here is it","That by default, what we going to grab the","Yes","In router, I think, would let's say, for example","So let's make it can be just this the hour mark on the actual contents","We just loads though it was the way, a nice this","Are you would be a little bit more pretty raw, this is a day, dude","Border","radius, that","And I'm going to just do that will take something else","And thank you might now","That is the next time, I'm going to come into misc","And somebody actually not","source equals home","But if I was sending me to resolve where we go","All right","And it makes JavaScript","And I have run again","Normally a massive, as I said, this is always, I'm going to call the different [INAUDIBLE] Hm","Wow","We have happen on screen, and the otherwise, don't want","Yeah, and forth in the new path","So we don't you use that might very wrong","But in a customary bug","Don't forget to hidden or display to none, things like a race when you are actually really long time I want to tell that is where you go","And that work","Yeah, and I'm going to do today","I had misc are all the create one of the performance stuff","But if you had lots of tea","Yeah","Now we're going to come in","But did working as intended it","So we can be able to be watching it straightforward slash","And that, I think that will be all the like since we are valid concept for this, the root of this called HTML5 routing, which I don't know","I just feels OK, but hopefully, and opacity 0, and it's just put a z","index of 1 on that's going to be sort of handling of attachedCallback, and we want to transform scale very well be true for them is amazing, like across from the new one that","You know","Yeah, we could see now, all being we won't do this thing today","And so this is a current view","We have a question ties in","Why not","source equals router, why not","And I think that we'd probably, if we've already to allow it to be the thing","Oh, all right, so we get it, because I have to juggle it all","No","I feel I agree","It would actually get it, because otherwise, we still have this","routes","keys","So this is a layout boundary","It's the cause","Yeah, 3 pixels","OK","So since that's true","And this stuff","And that work","Good point, or strict, and then the URL, changed","But I'm going to, let's see, what we're any","So the new view, think about","And then we've defer, why not","Let's fail","So this newView, newView is never watching is I was that","so that it's a compass","Oh","North, east, south, we called, all be no ES","anything","What I'm curious about your question here","And I'm going to say","so let's see","So let's see","So we'll say from this animations that we want to do this so that this point","So we want us to cover next week","We can actually","But that they've all been set it","Yeah","And at the top and misc here","But it will be run into a bit different sections","And I think you'd want each of there's no DOM tree reason","Well, yeah","OK, so we have a couple of click for clicks","And so if we see about this","So what I think things that I really good start","script tags at home, kids","Don't do this file to actually","Woo","I made, sir","So again, particular line of the","let's call it sc for Supercharged","There's no","It's a compass","Oh","right","newView, newView is the simplicity at this one anything below 2015, right","It broke","OK, let's see","So we're going to removeEventListener","You are the nicest","something that you know, we'll create that doesn't necessarily end up with something new to these pages","In router","And certainly, as I said, you could usually just delete the constructor but createdCallback","Oh, well, let link of the","Yes","If we had to do is I want us to come up writing apps, it can actually, this push","pull kind of data, which version of something","So what they can be about view or something that have a thing to do a trade","off because you've got memory constraints and all these function","So let's see if","oh, do we wanted to do this","If you're attach, what we'd want to know","That is important think in so that goes to control of [","UI ","] transitions, particular expression","Right, so the otherwise, it should also work on the layout, which might because we're actually remind yourselves that I can do it","Yeah","So that, in theory, place all the content as well when that have new ideas","So this should be a class list, we'll create one of these, what we'll do is I want to do","All right, bottom, left","Do you have definitely","So when the mindset off chaining [INAUDIBLE] out of the same index HTML elements","Views","Yeah","So I'm going to createRoutes, wee, clearRoutes equals static","Let's do this, status is generally work","So that's why I was building the nicest","I'll tell you what we want to come into the panels","On all of ES2015 updates on the path name","Because it's an iterate what they see","I'm going to do","We'll do that","And hopefully, you're here in slash about view but we're going to be whichever view was the new view is that","so that the event that isn't get called, all subscribing to do today","And then we're just delete the JavaScript language","Yeah, and we need to extends HTMLElement","And we app where we actually uncanny valid concept for the out animation","duration","count in one tends HTML, I think, would then we've defer, why not","Let's see what's good on here","So if you say layout, for example","Yes, so one of its scope","What we want to do, I supposed to find out","The defer mean to your Custom Elements JavaScript says we don't have","We don't want to say this, so one that you click back to then dot the even though it","So there a createdCallback, so we never being us","That doesn't it","Right","All right","That should","Oh no, Array","from","Hm, it shouldNotMakeMoreOutPromises","And then let's do that is purely for simplicity at this","I don't takes too longer and I will say this","routes","because it matches the current ones will now needs to be run against that going to say const view back","And then what the createRoute","That's what I think","So we have to transitions, particular if branch of this, you're giving us way too much better","So since the layout, OK","I think we'll create objects anymore","You let us know what I'm going to do is I'm going to do is let's just find out","createdCallbacks","So if view","I could do if we don't want to make a nav","So I'm going to do that","Super","route","So for this, right now, all the like shouldNotMakeMoreOutPromise","resolve","Same for the power of Promise, right","Because why not","Let's give it or not","The defer also means that the state by selecting the view","No","Interesting","So the brand","new thing","So let's see, so we do that","All being well, we end with an actually hoping I will be remove this","Are you this","So we want to do that, actually just kind of amazing","You know","Yeah","which is the current view was the new one that's a layout","I don't you ask the question ties in it is when it's like a progressive to deal with, with contain strict","now here","And I'm going to us","So onChanged","Yeah","Because of the this","is","the","active","view","And we are building the routes equals this","But when the view first time we create that isn't it","Right","Yeah, that is amazing","And I think, a more bugs","Yeah, I want it to updating to do that I have new view, and some Promise, we can actually can do here","This is Paul","Hi","This time I write bugs, don't like this is actual lifecycle called ES6","ES2016 was doing that's why I wanted to say","currentView will be fast because","You know what, in the back to the current view","And then we'll say return","One of the panels","OK","Come of that stuff out","Should that the evaluation from 100","no, should add that kind of got allowing that back out, right","newView, newView, what we're kind of got these views that you, very wrong","But if you about using there","Because the nav has disappear ago, it was the keyword for all the regular expression and execution of a router","Now you know, over that, in there","Let's do that there we already got ourselves some of the way to go","And it matches the new one for that","Yeah","And certain time gaps, think it's an animating to put a route for some reason","view","Figure out things simplicity at this point","So what we're being a little bit of a pickle over right now we've deep","linked that could want it to be that","So let's just feels very interactions back in so this","newView","Yeah","And apparent, what we'd want each one of all the debugger standard one","So this way, it should add the visible","And we're pretty raw, there will be find out notionally, the code, it's fine, it's fail","So the question","Yeah, so we could see now them to makes Jav"]},t.exports=e.default})},ZhPo:function(t,e,a){function i(t){a("8T9y")}var n=a("VU/8")(a("4sRm"),a("By2z"),i,null,null);t.exports=n.exports},ZiC1:function(t,e,a){var i=a("VU/8")(a("fZ0D"),a("t2ZM"),null,null,null);t.exports=i.exports},ZiKE:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selectedLabelDefault:"Vip",selectedLabelSlots:"Like",selectedLabelInline:"Me",selectedLabelSlotsOnly:"Home",tabs:[{label:"Home",icon:"cubeic-home"},{label:"Like",icon:"cubeic-like"},{label:"Vip",icon:"cubeic-vip"},{label:"Me",icon:"cubeic-person"}]}},methods:{clickHandler:function(t){console.log("tab was clicked",t)},changeHandler:function(t){console.log("value has changed, now is",t)}},components:{CubePage:i.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},ZrYO:function(t,e,a){var i=a("VU/8")(a("Ps1K"),a("Ex12"),null,null,null);t.exports=i.exports},ZtZp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"rate-view",title:"Rate"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"rate-wrapper"},[a("cube-rate",{attrs:{disabled:t.disabled,max:t.max,justify:t.justify},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.max,function(e){return a("cube-rate-item",{key:e,attrs:{value:t.value,index:e}},[t.customStar?a("div",{staticClass:"rate-item"}):t._e()])}))],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}}),t._v(" "),a("select-option",{staticClass:"item",attrs:{name:"star numbers",value:t.max,options:t.options},on:{"update:value":t.updateStarNumbers}}),t._v(" "),a("switch-option",{staticClass:"item",attrs:{name:"Justify",value:t.justify},on:{"update:value":t.updateJustify}}),t._v(" "),a("switch-option",{staticClass:"item",attrs:{name:"customStar",value:t.customStar},on:{"update:value":t.updateRateItem}})],1)])])])},staticRenderFns:[]}},"a/uE":function(t,e,a){function i(t){a("mY+Z")}var n=a("VU/8")(a("cETb"),a("qdm+"),i,null,null);t.exports=n.exports},a0bD:function(t,e,a){function i(t){a("J9Iv")}var n=a("VU/8")(a("Er22"),a("OTGw"),i,null,null);t.exports=n.exports},aDIA:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("5qoB"),a("x9Ds"),a("+Ghj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"rules",{enumerable:!0,get:function(){return e.rules}}),Object.defineProperty(t,"addRule",{enumerable:!0,get:function(){return e.addRule}}),Object.defineProperty(t,"addMessage",{enumerable:!0,get:function(){return a.addMessage}}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return i.types}}),Object.defineProperty(t,"addType",{enumerable:!0,get:function(){return i.addType}})})},aLrZ:function(t,e){},aUGM:function(t,e){},aeD0:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"switch-view",title:"Switch"}},[a("template",{slot:"content"},[a("cube-switch",{model:{value:t.values[0],callback:function(e){t.$set(t.values,0,e)},expression:"values[0]"}},[t._v("Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[0]))]),t._v(" "),a("cube-switch",{model:{value:t.values[1],callback:function(e){t.$set(t.values,1,e)},expression:"values[1]"}},[t._v("Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[1]))]),t._v(" "),a("cube-switch",{attrs:{disabled:t.disabled},model:{value:t.values[2],callback:function(e){t.$set(t.values,2,e)},expression:"values[2]"}},[t._v("Disbled Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[2]))]),t._v(" "),a("cube-switch",{attrs:{disabled:t.disabled},model:{value:t.values[3],callback:function(e){t.$set(t.values,3,e)},expression:"values[3]"}},[t._v("Disbled Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[3]))])],1)],2)},staticRenderFns:[]}},agqa:function(t,e,a){function i(t){a("e/d0")}var n=a("VU/8")(a("Iyug"),a("orqC"),i,null,null);t.exports=n.exports},apY0:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";function a(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=[],l=t;l<=e;l++){var c=(a&&l<10?"0"+l:l)+i;n.push({text:c,value:l})}return n}Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"date-picker",props:{min:{type:Array,default:function(){return[2010,2,1]}},max:{type:Array,default:function(){return[2020,2,1]}},selectedIndex:{type:Array,default:function(){return[0,0,0]}}},data:function(){return{}},computed:{data:function(){var t=this,e=a(this.min[0],this.max[0],!1,"年");return e.forEach(function(e){var i=e.value===t.min[0]?t.min[1]:1,n=e.value===t.max[0]?t.max[1]:12;e.children=a(i,n,!1,"月"),e.children.forEach(function(i){var n=30;[1,3,5,7,8,10,12].indexOf(i.value)>-1?n=31:2===i.value&&(n=e.value%400&&(e.value%4||!(e.value%100))?28:29);var l=e.value===t.min[0]&&i.value===t.min[1]?t.min[2]:1,c=e.value===t.max[0]&&i.value===t.max[1]?t.max[2]:n;i.children=a(l,c,!1,"日")})}),e}},methods:{show:function(){this.$refs.cascadePicker.show()},hide:function(){this.$refs.cascadePicker.hide()},select:function(t,e,a){this.$emit("select",t,e,a)},cancel:function(){this.$emit("cancel")}}},t.exports=e.default})},axq9:function(t,e){},b1gV:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("Y01l"),a("osO1"),a("dK69"),a("HBJ7"),a("izCJ"),a("zQyI"),a("0wrK"),a("SFrn"),a("rwvr"),a("k+Su"),a("jWO0"),a("fFTD"),a("/Pfp"),a("7Sku"),a("mok4"),a("8nmV"),a("XyhL"),a("fd7u"),a("oLGW"),a("8cOd"),a("Oluj"),a("v4hj"),a("O1ak"),a("nrl6"),a("P+K9"),a("Ta5O"),a("tNeh"),a("r6LN"),a("R082"),a("3ubT"),a("NhRQ"),a("wT65"),a("eD0J"),a("ES30"),a("RO/E"),a("ZQJ7"),a("CzhT"),a("SPGs"),a("6G1g"),a("iQwk"),a("x/Fx")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p,f,h,x,y,m,b,g,_,w,A,k,C,T,P,j,S,M,D,V,I,O,E,U,R,B,H,N,L){"use strict";function F(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.createAPI=t.BetterScroll=t.RecycleList=t.ScrollNavBar=t.ScrollNav=t.ScrollNavPanel=t.Sticky=t.StickyEle=t.Swipe=t.SwipeItem=t.IndexList=t.Slide=t.SlideItem=t.Scroll=t.ImagePreview=t.Drawer=t.DrawerPanel=t.DrawerItem=t.ActionSheet=t.Dialog=t.SegmentPicker=t.TimePicker=t.DatePicker=t.CascadePicker=t.Picker=t.Toast=t.Popup=t.Form=t.FormGroup=t.FormItem=t.Upload=t.Validator=t.Rate=t.Switch=t.Select=t.Textarea=t.Input=t.RadioGroup=t.Radio=t.Checker=t.CheckerItem=t.CheckboxGroup=t.Checkbox=t.TabPanel=t.TabPanels=t.Tab=t.TabBar=t.Toolbar=t.Tip=t.Loading=t.Button=t.Locale=t.Style=void 0;var X=F(e),K=F(a),z=F(i),Y=F(n),G=F(l),Q=F(c),W=F(u),q=F(o),Z=F(s),J=F(r),$=F(d),tt=F(v),et=F(p),at=F(f),it=F(h),nt=F(x),lt=F(y),ct=F(m),ut=F(b),ot=F(g),st=F(_),rt=F(w),dt=F(A),vt=F(k),pt=F(C),ft=F(T),ht=F(P),xt=F(j),yt=F(S),mt=F(M),bt=F(D),gt=F(V),_t=F(I),wt=F(O),At=F(E),kt=F(U),Ct=F(R),Tt=F(B),Pt=F(H),jt=F(N),St=F(L),Mt=ot.default.Group,Dt=ot.default.Item,Vt=_t.default.Item,It=tt.default.Radio,Ot=At.default.Item,Et=mt.default.Panel,Ut=mt.default.Item,Rt=kt.default.Ele,Bt=Ct.default.Panel,Ht=W.default.Tab,Nt=q.default.Panel,Lt=$.default.Item;t.Style=X.default,t.Locale=K.default,t.Button=z.default,t.Loading=Y.default,t.Tip=G.default,t.Toolbar=Q.default,t.TabBar=W.default,t.Tab=Ht,t.TabPanels=q.default,t.TabPanel=Nt,t.Checkbox=Z.default,t.CheckboxGroup=J.default,t.CheckerItem=Lt,t.Checker=$.default,t.Radio=It,t.RadioGroup=tt.default,t.Input=et.default,t.Textarea=at.default,t.Select=it.default,t.Switch=nt.default,t.Rate=lt.default,t.Validator=ct.default,t.Upload=ut.default,t.FormItem=Dt,t.FormGroup=Mt,t.Form=ot.default,t.Popup=st.default,t.Toast=rt.default,t.Picker=dt.default,t.CascadePicker=vt.default,t.DatePicker=pt.default,t.TimePicker=ft.default,t.SegmentPicker=ht.default,t.Dialog=xt.default,t.ActionSheet=yt.default,t.DrawerItem=Ut,t.DrawerPanel=Et,t.Drawer=mt.default,t.ImagePreview=bt.default,t.Scroll=gt.default,t.SlideItem=Vt,t.Slide=_t.default,t.IndexList=wt.default,t.SwipeItem=Ot,t.Swipe=At.default,t.StickyEle=Rt,t.Sticky=kt.default,t.ScrollNavPanel=Bt,t.ScrollNav=Ct.default,t.ScrollNavBar=Tt.default,t.RecycleList=Pt.default,t.BetterScroll=jt.default,t.createAPI=St.default})},bEG4:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{attrs:{data:t.data,"selected-index":t.selectedIndex,title:t.title,subtitle:t.subtitle,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex,"mask-closable":t.maskClosable},on:{select:t._select,cancel:t._cancel,change:t._change},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},bJvT:function(t,e){t.exports="data:image/png;base64,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"},bebB:function(t,e){},befj:function(t,e){},bh5B:function(t,e,a){function i(t){a("FzTc")}var n=a("VU/8")(a("TAcf"),a("99oh"),i,null,null);t.exports=n.exports},blHT:function(t,e){},br84:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"validator-view",title:"Validator",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"validator-item"},[a("cube-input",{attrs:{placeholder:"E-mail"},model:{value:t.text1,callback:function(e){t.text1=e},expression:"text1"}}),t._v(" "),a("cube-validator",{ref:"validator1",attrs:{model:t.text1,rules:t.rules1,messages:t.messages1,immediate:t.immediate},model:{value:t.isValid[0],callback:function(e){t.$set(t.isValid,0,e)},expression:"isValid[0]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-validator",{ref:"validator2",attrs:{model:t.text2,rules:t.rules2,messages:t.messages2,immediate:t.immediate},scopedSlots:t._u([{key:"message",fn:function(e){return a("div",{staticClass:"custom-msg"},[!e.dirty&&!e.validated||t.isValid[1]?t._e():a("div",[a("i",{staticClass:"dd-cubeic-important"}),t._v(" "+t._s(e.message)+"\n "),a("div",t._l(Object.values(e.result),function(e,i){return e.inValid?a("span",{key:i},[t._v(t._s(e.message+" "))]):t._e()}))])])}}]),model:{value:t.isValid[1],callback:function(e){t.$set(t.isValid,1,e)},expression:"isValid[1]"}},[a("cube-input",{attrs:{placeholder:"component name"},model:{value:t.text2,callback:function(e){t.text2=e},expression:"text2"}})],1)],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-validator",{ref:"validator3",attrs:{model:t.text3,rules:t.rules3,immediate:t.immediate},model:{value:t.isValid[2],callback:function(e){t.$set(t.isValid,2,e)},expression:"isValid[2]"}},[a("cube-input",{attrs:{placeholder:"validate odd"},model:{value:t.text3,callback:function(e){t.text3=e},expression:"text3"}})],1)],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-checkbox-group",{attrs:{horizontal:!0},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("cube-checkbox",{attrs:{label:"1"}},[t._v("1")]),t._v(" "),a("cube-checkbox",{attrs:{label:"2"}},[t._v("2")]),t._v(" "),a("cube-checkbox",{attrs:{label:"3"}},[t._v("3")])],1),t._v(" "),a("cube-validator",{ref:"validator4",attrs:{model:t.checkList,rules:t.rules4,immediate:t.immediate},model:{value:t.isValid[3],callback:function(e){t.$set(t.isValid,3,e)},expression:"isValid[3]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-rate",{model:{value:t.rate,callback:function(e){t.rate=e},expression:"rate"}}),t._v(" "),a("cube-validator",{ref:"validator5",attrs:{model:t.rate,rules:t.rules5,immediate:t.immediate},model:{value:t.isValid[4],callback:function(e){t.$set(t.isValid,4,e)},expression:"isValid[4]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("p",[t._v("Async validate: ")]),t._v(" "),a("cube-validator",{ref:"validator6",attrs:{model:t.captcha,rules:t.rules6,messages:t.messages6,immediate:t.immediate},on:{validating:t.validatingHandler,validated:t.validatedHandler},model:{value:t.isValid[5],callback:function(e){t.$set(t.isValid,5,e)},expression:"isValid[5]"}},[a("cube-input",{attrs:{placeholder:"Please input captcha"},model:{value:t.captcha,callback:function(e){t.captcha=e},expression:"captcha"}})],1)],1),t._v(" "),a("cube-button",{on:{click:t.submit}},[t._v("Submit")])],1)])},staticRenderFns:[]}},c7sT:function(t,e,a){function i(t){a("uCFs")}var n=a("VU/8")(a("YUSN"),a("4OFj"),i,null,null);t.exports=n.exports},cETb:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-button",props:{icon:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},light:{type:Boolean,default:!1},type:{type:String,default:"button"}},computed:{btnClass:function(){return{"cube-btn_active":this.active,"cube-btn_disabled":this.disabled,"cube-btn-inline":this.inline,"cube-btn-primary":this.primary,"cube-btn-outline":this.outline,"cube-btn-outline-primary":this.outline&&this.primary,"cube-btn-light":this.light}}},methods:{handleClick:function(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.$emit("click",t)}}},t.exports=e.default})},"cL1+":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=t.inBrowser="undefined"!=typeof window,a=t.ua=e&&navigator.userAgent.toLowerCase();t.isAndroid=a&&a.indexOf("android")>0})},cMIu:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-tab",props:{label:{type:[String,Number],required:!0},value:{type:[String,Number],default:function(){return this.label}},icon:{type:String,default:""}},mounted:function(){this.$parent.addTab(this)},destroyed:function(){this.$parent.removeTab(this)},computed:{isActive:function(){return this.$parent.value===this.value}},methods:{handleClick:function(t){this.$parent.trigger(this.value)}}},t.exports=e.default})},cQz5:function(t,e,a){function i(t){a("xpS3")}var n=a("VU/8")(a("GJyM"),a("BPyk"),i,null,null);t.exports=n.exports},cSnO:function(t,e,a){function i(t){a("aLrZ")}var n=a("VU/8")(a("FZvW"),a("jlfN"),i,null,null);t.exports=n.exports},"cai+":function(t,e){},cbPg:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},mounted:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY},this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,a=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,a,0,Math.PI,!0);var i=this.initRadius-(this.initRadius-this.minTailRadius)*e,n={x:this.headCenter.x,y:this.headCenter.y+this.distance},l={x:n.x-i,y:n.y},c={x:l.x,y:l.y-this.distance/2};t.quadraticCurveTo(c.x,c.y,l.x,l.y),t.arc(n.x,n.y,i,Math.PI,0,!0);var u={x:this.headCenter.x+a,y:this.headCenter.y},o={x:n.x+i,y:u.y+this.distance/2};t.quadraticCurveTo(o.x,o.y,u.x,u.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,a=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,a-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,a,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-a-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-a+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-a+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}},t.exports=e.default})},cjIa:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},crve:function(t,e){},d64j:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{zIndex:{type:Number,default:100},maskClosable:{type:Boolean,default:!1}}},t.exports=e.default})},d9ai:function(t,e){},"dJ+B":function(t,e){},dK69:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},dTzF:function(t,e,a){function i(t){a("cai+")}var n=a("VU/8")(a("RGkz"),a("uN5Q"),i,null,null);t.exports=n.exports},"de/F":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("woOf"),a("Z5VE"),a("d64j"),a("wih/"),a("4KJe"),a("UFDc"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function d(t){return[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()]}Object.defineProperty(e,"__esModule",{value:!0});var v=r(a),p=r(i),f=r(n),h=r(l),x=r(c),y=r(u),m=["year","month","date","hour","minute","second"],b={month:{natureMin:1,natureMax:12},date:{natureMin:1,natureMax:31},hour:{natureMin:0,natureMax:23},minute:{natureMin:0,natureMax:59},second:{natureMin:0,natureMax:59}},g={year:"YYYY",month:"M",date:"D",hour:"hh",minute:"mm",second:"ss"};e.default={name:"cube-date-picker",mixins:[f.default,h.default,x.default,y.default],props:{min:{type:[Date,Array],default:function(){return new Date(2010,0,1)}},max:{type:[Date,Array],default:function(){return new Date(2020,11,31)}},startColumn:{type:String,default:function(){return"year"}},columnCount:{type:Number,default:3},format:{type:Object,default:function(){return{}}},value:{type:[Date,Array],default:function(){return this.min}},columnOrder:{type:Array,default:function(){return["year","month","date","hour","minute","second"]}}},computed:{formatConfig:function(){var t=(0,p.default)({},g);return(0,o.deepAssign)(t,this.format),t},natureRangeCache:function(){var t=this,e={hour:[],minute:[],second:[]};return(0,v.default)(e).forEach(function(a){e[a]=t._range(a,b[a].natureMin,b[a].natureMax)}),e},startIndex:function(){var t=m.indexOf(this.startColumn);return t<0?0:t},minArray:function(){return this.min instanceof Date?d(this.min).slice(this.startIndex,this.startIndex+this.columnCount):this.min},maxArray:function(){return this.max instanceof Date?d(this.max).slice(this.startIndex,this.startIndex+this.columnCount):this.max},valueArray:function(){return this.value instanceof Date?d(this.value).slice(this.startIndex,this.startIndex+this.columnCount):this.value},data:function(){var t=[];return this._generateData(this.startIndex,0,t),t},selectedIndex:function(){for(var t=this,e=[],a=this.data,i=void 0,n=0;n=3&&a.value;a.children=this._range(m[t],u,o,a.isMin,a.isMax,r)}else a.children=this.natureRangeCache[m[t]];e=this.startIndex+this.columnCount?e[i]=b[m[i]].natureMin:e[i]=t[i-this.startIndex];return e[1]--,new(Function.prototype.bind.apply(Date,[null].concat(e)))},_range:function(t,e,a,i,n){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;this._rangeCache||(this._rangeCache={});var c=t+l+e+a+i+n;if(this._rangeCache[c])return this._rangeCache[c];for(var u=[],o=this.formatConfig[t],r=e;r<=a;r++){var d={text:(0,s.formatType)(t,o,r,"i"),value:r,order:this.columnOrder.indexOf(t)};i&&r===e&&(d.isMin=!0),n&&r===a&&(d.isMax=!0),l&&(d.year=l),u.push(d)}return this._rangeCache[c]=u,u}}},t.exports=e.default})},deRs:function(t,e){},dfWv:function(t,e){},"dkN+":function(t,e){},dq75:function(t,e){},dz6Z:function(t,e){},dz9r:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";function a(t){var e,a=t.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=a;var n=i.getContext("2d");n.drawImage(t,0,0);try{e=n.getImageData(0,0,1,a).data}catch(t){return console.log("Cannot check verticalSquash: CORS?"),1}for(var l=0,c=a,u=a;u>l;){0===e[4*(u-1)+3]?c=u:l=u,u=c+l>>1}var o=u/a;return 0===o?1:o}function i(t){for(var e=atob(t.split(",")[1]),a=new ArrayBuffer(e.length),i=new Uint8Array(a),n=0;n4&&(t.width=n,t.height=i),a){case 2:e.translate(i,0),e.scale(-1,1);break;case 3:e.translate(i,n),e.rotate(Math.PI);break;case 4:e.translate(0,n),e.scale(1,-1);break;case 5:e.rotate(.5*Math.PI),e.scale(1,-1);break;case 6:e.rotate(.5*Math.PI),e.translate(0,-n);break;case 7:e.rotate(.5*Math.PI),e.translate(i,-n),e.scale(-1,1);break;case 8:e.rotate(-.5*Math.PI),e.translate(-i,0)}}function u(t,e,u){var o=new FileReader;o.onload=function(o){if(!1===e.compress)return t.base64=o.target.result,void u(t);var s=new Image;s.onload=function(){var o=a(s),r=l(i(s.src)),d=document.createElement("canvas"),v=d.getContext("2d"),p=e.compress.width,f=e.compress.height,h=s.width,x=s.height,y=void 0;if(hf?(h=parseInt(f*s.width/s.height),x=f):h>=x&&h>p&&(x=parseInt(p*s.height/s.width),h=p),d.width=h,d.height=x,r>0&&c(d,v,r),v.drawImage(s,0,0,h,x/o),y=/image\/jpeg/.test(t.type)||/image\/jpg/.test(t.type)?d.toDataURL("image/jpeg",e.compress.quality):d.toDataURL(t.type),"file"==e.type)if(/;base64,null/.test(y)||/;base64,$/.test(y))console.warn("Compress fail, dataURL is "+y+". Next will use origin file to upload."),u(t);else{var m=n(y);m.id=t.id,m.name=t.name,m.lastModified=t.lastModified,m.lastModifiedDate=t.lastModifiedDate,u(m)}else/;base64,null/.test(y)||/;base64,$/.test(y)?(e.onError(t,new Error("Compress fail, dataURL is "+y+".")),u()):(t.base64=y,u(t))},s.src=o.target.result},o.readAsDataURL(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=u,t.exports=e.default})},"e/d0":function(t,e){},e3O1:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("K5n8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i);e.default={methods:{showPicker:function(){this.picker||(this.picker=this.$createPicker({title:"Picker",data:[n.column1],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.picker.show()},showMutiPicker:function(){this.mutiPicker||(this.mutiPicker=this.$createPicker({title:"Multi-column Picker",data:[n.column1,n.column2,n.column3],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.mutiPicker.show()},showAliasPicker:function(){this.aliasPicker||(this.aliasPicker=this.$createPicker({title:"Use Alias",data:[[{id:1,name:"A"},{id:2,name:"B"},{id:3,name:"C"}]],alias:{value:"id",text:"name"},onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.aliasPicker.show()},showSetDataPicker:function(){this.setDataPicker||(this.setDataPicker=this.$createPicker({title:"Use SetData",onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.setDataPicker.setData([n.column1,n.column2,n.column3],[1,2,3]),this.setDataPicker.show()},showUpdatePropsPicker:function(){var t=this;this.updatePropsPicker||(this.updatePropsPicker=this.$createPicker({title:"Use $updateProps",data:[n.column1],selectedIndex:[0],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.updatePropsPicker.show(),setTimeout(function(){t.updatePropsPicker.$updateProps({title:"Updated",data:[n.column1,n.column2,n.column3],selectedIndex:[1,2,3]})},1e3)},showSubtitlePicker:function(){this.subtitlePicker||(this.subtitlePicker=this.$createPicker({title:"Picker",subtitle:"subtitle",data:[n.column1],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.subtitlePicker.show()},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:c.default,CubeButtonGroup:u.default}},t.exports=e.default})},eAlP:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"input-option",props:{name:{type:String},value:null,minValue:null},data:function(){return{inputValue:this.value}},watch:{inputValue:function(t){this.$emit("update:value",this.minValue?Math.max(t,this.minValue):t)}}},t.exports=e.default})},"eC/x":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("woOf"),a("+rJ6"),a("Z5VE"),a("d64j"),a("wih/"),a("4KJe"),a("VzLe"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r){"use strict";function d(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var v=d(a),p=d(i),f=d(l),h=d(c),x=d(u),y=d(o),m=d(s),b={value:"now"},g={floor:"floor",ceil:"ceil",round:"round"};e.default={name:"cube-time-picker",mixins:[f.default,h.default,x.default,y.default],components:{CubeCascadePicker:m.default},props:{title:{type:String,default:""},delay:{type:Number,default:15},day:{type:Object,default:function(){return{len:3}}},showNow:{type:[Boolean,Object],default:!0},minuteStep:{type:[Number,Object],default:10},format:{type:String,default:"YYYY/M/D hh:mm"},min:{type:[Date,Number],default:null},max:{type:[Date,Number],default:null}},data:function(){return{now:new Date,selectedIndex:[0,0,0],value:0}},computed:{_title:function(){return this.title||this.$t("selectTime")},_day:function(){var t={filter:[this.$t("today")],format:this.$t("formatDate")};return(0,p.default)({},t,this.day)},nowText:function(){var t=this.$t("now");return this.showNow&&this.showNow.text||t},minuteStepRule:function(){var t=this.minuteStep;return"object"===(void 0===t?"undefined":(0,v.default)(t))&&Math[g[t.rule]]||Math[g.floor]},minuteStepNumber:function(){var t=this.minuteStep;return"number"==typeof t?t:t.step||10},minTime:function(){var t=+this.min||+this.now+this.delay*n.MINUTE_TIMESTAMP,e=new Date(t).getMinutes();return t+=(Math.min(this.minuteStepRule(e/this.minuteStepNumber)*this.minuteStepNumber,60)-e)*n.MINUTE_TIMESTAMP,new Date(t)},maxTime:function(){var t=+this.max||(0,n.getZeroStamp)(new Date(+this.minTime+this._day.len*n.DAY_TIMESTAMP))-1,e=new Date(t).getMinutes();return t-=(e-Math.floor(e/this.minuteStepNumber)*this.minuteStepNumber)*n.MINUTE_TIMESTAMP,new Date(t)},days:function(){for(var t=[],e=(0,n.getDayDiff)(this.minTime,this.now),a=this.max?(0,n.getDayDiff)(this.maxTime,this.minTime)+1:this._day.len,i=0;i=this.days.length)return void(0,r.warn)('Use "setTime" to set a time exceeded to the option range do not actually work.',"cube-time-picker");var l=a.getHours(),c=0===i?this.showNow?this.minTime.getHours()-1:this.minTime.getHours():0,u=l-c,o=this.minuteStepRule(a.getMinutes()/this.minuteStepNumber),s=i||(this.showNow?1!==u:u)?0:this.minuteStepRule(this.minTime.getMinutes()/this.minuteStepNumber),d=o-s;this.selectedIndex=[i,u,d]}},_updateNow:function(){this.now=new Date},_pickerChange:function(t,e){this.$emit("change",t,e)},_pickerSelect:function(t,e,a){var i=void 0,l=void 0;t[1]===b.value?(i=+new Date,l=this.nowText):(i=(0,n.getZeroStamp)(new Date(t[0]))+t[1]*n.HOUR_TIMESTAMP+t[2]*n.MINUTE_TIMESTAMP,l=a[0]+" "+a[1]+":"+a[2]),this.value=i;var c=(0,n.formatDate)(new Date(i),this.format);this.$emit("select",i,l,c)},_pickerCancel:function(){this.$emit("cancel")}}},t.exports=e.default})},eClu:function(t,e,a){function i(t){a("OdoB")}var n=a("VU/8")(a("VAT/"),a("WWPg"),i,null,null);t.exports=n.exports},eD0J:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("vJ9C"),a("VKJd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},eE6y:function(t,e,a){function i(t){a("aUGM")}var n=a("VU/8")(a("Gcl4"),a("zQzp"),i,null,null);t.exports=n.exports},eFmn:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("4gT0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-input",mixins:[c.default],props:{value:[String,Number],type:{type:String,default:"text"},disabled:{type:Boolean,default:!1},placeholder:String,readonly:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autocomplete:{type:[Boolean,String],default:!1},name:String,id:String,form:String,minlength:Number,maxlength:Number,resize:String,min:Number,max:Number,step:Number,tabindex:String,clearable:{type:[Boolean,Object],default:!1},eye:{type:[Boolean,Object],default:!1}},data:function(){return{inputValue:this.value,isFocus:!1,formatedClearable:{visible:!1,blurHidden:!0},formatedEye:{open:!1,reverse:!1}}},computed:{_type:function(){var t=this.type;return"password"===t&&this.eye&&this.pwdVisible?"text":t},_showClear:function(){var t=this.formatedClearable.visible&&this.inputValue&&!this.readonly&&!this.disabled;return this.formatedClearable.blurHidden&&!this.isFocus&&(t=!1),t},_showPwdEye:function(){return"password"===this.type&&this.eye&&!this.disabled},pwdVisible:function(){var t=this.formatedEye;return t.reverse?!t.open:t.open},eyeClass:function(){return this.formatedEye.open?"cubeic-eye-visible":"cubeic-eye-invisible"}},watch:{value:function(t){this.inputValue=t},inputValue:function(t){this.$emit("input",t)},clearable:{handler:function(){this.formatClearable()},deep:!0,immediate:!0},eye:{handler:function(){this.formateEye()},deep:!0,immediate:!0}},methods:{formatClearable:function(){"boolean"==typeof this.clearable?this.formatedClearable.visible=this.clearable:(0,l.default)(this.formatedClearable,this.clearable)},formateEye:function(){"boolean"==typeof this.eye?this.formatedEye.open=this.eye:(0,l.default)(this.formatedEye,this.eye)},handleFocus:function(t){this.$emit("focus",t),this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),this.isFocus=!1},handleClear:function(t){this.inputValue="",this.$refs.input.focus()},handlePwdEye:function(){this.formatedEye.open=!this.formatedEye.open}}},t.exports=e.default})},eLAg:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/form/"+t)}}},t.exports=e.default})},eNOl:function(t,e){},eWUu:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showDatePicker:function(){this.datePicker||(this.datePicker=this.$createDatePicker({title:"Date Picker",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,onSelect:this.selectHandle,onCancel:this.cancelHandle,onChange:function(){console.log("change")}})),this.datePicker.show()},showTimePicker:function(){this.timePicker||(this.timePicker=this.$createDatePicker({title:"Time Picker",min:[8,0,0],max:[20,59,59],value:new Date,startColumn:"hour",onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.timePicker.show()},showDateTimePicker:function(){this.dateTimePicker||(this.dateTimePicker=this.$createDatePicker({title:"Date Time Picker",min:new Date(2008,7,8,8,0,0),max:new Date(2020,9,20,20,59,59),value:new Date,columnCount:6,onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.dateTimePicker.show()},showFormatPicker:function(){this.formatPicker||(this.formatPicker=this.$createDatePicker({title:"Use format",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,format:{year:"YY年",month:"MM月",date:"第 D 日"},onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.formatPicker.show()},showUpdatePropsPicker:function(){var t=this;this.updatePropsPicker||(this.updatePropsPicker=this.$createDatePicker({title:"Use $updateProps",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.updatePropsPicker.show(),setTimeout(function(){t.updatePropsPicker.$updateProps({title:"updated",value:new Date(2010,9,1)})},1e3)},showChangeOrderPicker:function(){this.changeOrderPicker||(this.changeOrderPicker=this.$createDatePicker({title:"Date Picker",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,columnOrder:["date","month","year"],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.changeOrderPicker.show()},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- date: "+t+"
- value: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:l.default,CubeButtonGroup:c.default}},t.exports=e.default})},eZWf:function(t,e,a){function i(t){a("XDbB")}var n=a("VU/8")(a("ZDnC"),a("Kprf"),i,null,null);t.exports=n.exports},ea3B:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tab-entry",title:"Tab Entry"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("basic")}}},[t._v("tab-basic")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("composite")}}},[t._v("tab-composite")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},enXm:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-side",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-scroll-nav",{attrs:{side:!0,data:t.data,current:t.current},on:{change:t.changeHandler,"sticky-change":t.stickyChangeHandler}},[a("ul",{staticClass:"prepend-header",attrs:{slot:"prepend"},slot:"prepend"},[a("li",[t._v("11")]),t._v(" "),a("li",[t._v("22")]),t._v(" "),a("li",[t._v("333")])]),t._v(" "),t._l(t.data,function(e){return a("cube-scroll-nav-panel",{key:e.name,attrs:{label:e.name,title:e.name}},[a("ul",t._l(e.foods,function(e){return a("li",[a("div",[a("img",{attrs:{src:e.icon}}),t._v(" "),a("p",[t._v(t._s(e.name))])])])}))])})],2)],1)])])},staticRenderFns:[]}},"f/6s":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("zuie")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-form-group",props:{legend:{type:String,default:""},fields:{type:Array,default:function(){return[]}}},beforeCreate:function(){this.form=this.$parent.form},beforeDestroy:function(){this.form=null},components:{CubeFormItem:i.default}},t.exports=e.default})},fFTD:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yb46"),a("mkLW")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Radio=c.default,e.default=l.default,t.exports=e.default})},fGk3:function(t,e,a){function i(t){a("PzqK")}var n=a("VU/8")(a("HgDQ"),a("wohH"),i,null,null);t.exports=n.exports},fUkQ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tabs-basic-view",title:"tab-basic"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-tab-bar",{attrs:{"show-slider":""},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{label:t.label,icon:t.icon}})})),t._v(" "),a("cube-tab-panels",{model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},t._l(t.tabs,function(e,i){return a("cube-tab-panel",{key:e.label,attrs:{label:e.label}},[a("ul",t._l(e.heroes,function(e,i){return a("li",{key:i,staticClass:"tab-panel-li"},[t._v("\n "+t._s(e)+"\n ")])}))])}))],1)])},staticRenderFns:[]}},fZ0D:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("mvHQ"),a("XPXN"),a("O6S8"),a("9zBd"),a("LeY8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=l.provinceList.slice(),v=JSON.parse((0,o.default)(l.cityList)),p=JSON.parse((0,o.default)(l.areaList)),f=l.provinceList;f.forEach(function(t){t.children=l.cityList[t.value],t.children.forEach(function(t){t.children=l.areaList[t.value]})});var h=d,x=[0,0,0];h[0].children=v[h[0].value],h[0].children[0].children=p[h[0].children[0].value],e.default={mounted:function(){this.cascadePicker=this.$createCascadePicker({title:"Cascade Picker",data:c.cascadeData,selectedIndex:[0,1,0],onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.addressPicker=this.$createCascadePicker({title:"City Picker",data:f,onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.setDataPicker=this.$createCascadePicker({title:"Set Data",onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.asyncPicker=this.$createCascadePicker({title:"Async Load Data",async:!0,data:h,selectedIndex:x.slice(),onSelect:this.selectHandle,onCancel:this.cancelHandle,onChange:this.asyncChangeHandle})},methods:{showCascadePicker:function(){this.cascadePicker.show()},showAddressPicker:function(){this.addressPicker.show()},showSetDataPicker:function(){var t=this;this.setDataPicker.setData(c.cascadeData),this.setDataPicker.show(),setTimeout(function(){t.setDataPicker.setData(f,[1,1,0])},1e3)},showAsyncPicker:function(){this.asyncPicker.show()},asyncChangeHandle:function(t,e){var a=this;e!==x[t]&&(x[t]=e,t<2&&setTimeout(function(){if(0===t){var i=h[e];i.children=i.children||v[i.value],i.children[0].children=i.children[0].children||p[i.children[0].value],x[1]=0,x[2]=0}if(1===t){var n=h[x[0]].children[e];n.children=n.children||p[n.value],x[2]=0}a.asyncPicker.setData(h,x)},500))},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:s.default,CubeButtonGroup:r.default}},t.exports=e.default})},fd7u:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xYoV"),a("j9ag"),a("aDIA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i);c.default.install=function(t){t.component(c.default.name,c.default),u.default.install(t),c.default._base=t},c.default.addRule=n.addRule,c.default.addMessage=n.addMessage,c.default.addType=n.addType,c.default.addHelper=u.default.addHelper,e.default=c.default,t.exports=e.default})},fdUi:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-dialog-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"dialog","z-index":t.zIndex,mask:!0,center:!0},on:{"mask-click":t.maskClick}},[a("div",{staticClass:"cube-dialog-main"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.showClose,expression:"showClose"}],staticClass:"cube-dialog-close",on:{click:t.close}},[a("i",{staticClass:"cubeic-close"})]),t._v(" "),a("div",{class:t.containerClass},[t.icon?a("p",{staticClass:"cube-dialog-icon"},[a("i",{class:t.icon})]):t._e(),t._v(" "),t.title||t.$slots.title?a("h2",{staticClass:"cube-dialog-title"},[t._t("title",[a("p",{staticClass:"cube-dialog-title-def"},[t._v(t._s(t.title))])])],2):t._e(),t._v(" "),a("div",{staticClass:"cube-dialog-content"},[t._t("content",[a("div",{staticClass:"cube-dialog-content-def"},[t.content?a("p",{domProps:{innerHTML:t._s(t.content)}}):t._e(),t._v(" "),t.isPrompt?a("cube-input",t._b({model:{value:t.promptValue,callback:function(e){t.promptValue=e},expression:"promptValue"}},"cube-input",t.prompt,!1)):t._e()],1)])],2),t._v(" "),a("div",{staticClass:"cube-dialog-btns",class:{"border-right-1px":t.isConfirm||t.isPrompt}},[t._t("btns",[t.isConfirm||t.isPrompt?a("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._cancelBtn.active,"cube-dialog-btn_disabled":t._cancelBtn.disabled},attrs:{href:t._cancelBtn.href},on:{click:t.cancel}},[t._v(t._s(t._cancelBtn.text))]):t._e(),t._v(" "),a("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._confirmBtn.active,"cube-dialog-btn_disabled":t._confirmBtn.disabled},attrs:{href:t._confirmBtn.href},on:{click:t.confirm}},[t._v(t._s(t._confirmBtn.text))])])],2)])])])],1)},staticRenderFns:[]}},fidG:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("4gT0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u={negative:!0,remain:!0};e.default={name:"cube-textarea",mixins:[c.default],data:function(){return{textareaValue:this.value,expanded:!!this.autoExpand&&!!this.value,isFocus:!1}},props:{value:{type:String,default:""},cols:Number,rows:Number,readonly:Boolean,wrap:String,required:Boolean,placeholder:{type:String,default:"please type here..."},dirname:String,form:String,name:String,autofocus:Boolean,disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:60},indicator:{type:[Boolean,Object],default:!0},autoExpand:{type:Boolean,default:!1}},computed:{indicatorConf:function(){var t=this.indicator;return"boolean"==typeof t&&(t={}),(0,l.default)({},u,t)},count:function(){return this.textareaValue.length},remain:function(){var t=this.maxlength-this.count;return!this.indicatorConf.negative&&t<0&&(t=0),t}},watch:{value:function(t){this.textareaValue=t},textareaValue:function(t){this.$emit("input",t),!this.isFocus&&this.expanded&&(this.expanded=!1)}},methods:{handleFocus:function(t){this.$emit("focus",t),this.expanded=!0,this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),0===this.textareaValue.length&&(this.expanded=!1),this.isFocus=!1}}},t.exports=e.default})},fuAs:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"loading-view",title:"Loading"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-loading"),t._v(" "),a("cube-loading",{attrs:{size:28}}),t._v(" "),a("cube-loading",{attrs:{size:40}})],1)])},staticRenderFns:[]}},g3dP:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("1BqV")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-scroll-nav-panel",inject:["scrollNav"],props:{label:{type:[String,Number],required:!0},title:{type:[String,Number],default:function(){return this.label}}},mounted:function(){this.scrollNav.addPanel(this)},beforeDestroy:function(){this.scrollNav.removePanel(this)},components:{CubeStickyEle:i.default}},t.exports=e.default})},g7er:function(t,e){},"g9J/":function(t,e,a){function i(t){a("zefs")}var n=a("VU/8")(a("XEOk"),a("/O1a"),i,null,null);t.exports=n.exports},gAqf:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 🙃 ","👈🏻 scroll 👉🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👈🏻 scroll 👉🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","👈🏻 scroll 👉🏻 ","🐣 🐣 🐣 🐣 🐣 🐣 ","👈🏻 scroll 👉🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","👈🏻 scroll 👉🏻 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👈🏻 scroll 👉🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","👈🏻 scroll 👉🏻 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👈🏻 scroll 👉🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","👈🏻 scroll 👉🏻 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items:n}},components:{CubePage:i.default}},t.exports=e.default})},gBDM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN"),a("1Vb/"),a("6SSl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{text:"",disabled:!1,maxlength:60,width:"274px",showIndicator:!0,indicator:{negative:!0,remain:!0}}},methods:{updateDisabled:function(t){this.disabled=t},updateMaxlength:function(t){this.maxlength=t},updateWidth:function(t){this.width=t},updateIndicator:function(t){this.showIndicator=t},updateIndicatorNegative:function(t){this.indicator.negative=t},updateIndicatorRemain:function(t){this.indicator.remain=t}},components:{CubeButtonGroup:u.default,CubePage:o.default,SwitchOption:s.default,InputOption:r.default}},t.exports=e.default})},gCE8:function(t,e,a){function i(t){a("I+KE")}var n=a("VU/8")(a("pjk/"),a("13Xo"),i,null,null);t.exports=n.exports},gHS1:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tab-bar-view",title:"TabBar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{data:t.tabs},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelDefault,callback:function(e){t.selectedLabelDefault=e},expression:"selectedLabelDefault"}})],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{"show-slider":""},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelSlots,callback:function(e){t.selectedLabelSlots=e},expression:"selectedLabelSlots"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{icon:t.icon,label:t.label}})}))],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{"show-slider":"",inline:""},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelInline,callback:function(e){t.selectedLabelInline=e},expression:"selectedLabelInline"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{icon:t.icon,label:t.label}})}))],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{on:{click:t.clickHandler},model:{value:t.selectedLabelSlotsOnly,callback:function(e){t.selectedLabelSlotsOnly=e},expression:"selectedLabelSlotsOnly"}},t._l(t.tabs,function(e,i){return a("cube-tab",{key:e.label,attrs:{label:e.label}},[a("i",{class:e.icon,attrs:{slot:"icon"},slot:"icon"}),t._v(" "),a("span")])}))],1)])])},staticRenderFns:[]}},gLZT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("8j/s")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e,a,i){return t.use(n.default,{componentPrefix:"cube-"}),t.createAPI(e,a,i)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},gTih:function(t,e){},gYth:function(t,e,a){var i=a("VU/8")(a("JOED"),a("KQ/n"),null,null,null);t.exports=i.exports},go4C:function(t,e,a){var i=a("VU/8")(a("g3dP"),a("h3eZ"),null,null,null);t.exports=i.exports},gz49:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-switch",props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{checkboxValue:this.value}},watch:{value:function(t){this.checkboxValue=t},checkboxValue:function(t){this.$emit("input",t)}}},t.exports=e.default})},h1qY:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/index-list/"+t)}}},t.exports=e.default})},h20U:function(t,e){},h3eZ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav-panel"},[a("cube-sticky-ele",{attrs:{"ele-key":t.label}},[a("h2",{staticClass:"cube-scroll-nav-panel-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},h7Gw:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ease={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}}})},h8Kk:function(t,e,a){function i(t){a("axq9")}var n=a("VU/8")(a("1j+8"),a("8Q6G"),i,null,null);t.exports=n.exports},"hC+w":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selected:"",options:["Option1","Option2"],selected2:3,options2:[{label:"Option1",value:1},{label:"Option2",value:2},{label:"Option3",value:3,disabled:!0}],selected3:"3",options3:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3",disabled:!0}],selected4:"1",options4:[{label:"1",value:"1",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg"},{label:"2",value:"2",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg"},{label:"3",value:"3",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg",disabled:!0}],selected5:"6",options5:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3",disabled:!0},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6",disabled:!0},{label:"7",value:"7"},{label:"8",value:"8"}],colNum:3}},components:{CubePage:i.default}},t.exports=e.default})},hNHr:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"page-move"}},[a("router-view",{staticClass:"cube-view"})],1)},staticRenderFns:[]}},hTT9:function(t,e){},hdAL:function(t,e,a){function i(t){a("kL0B")}var n=a("VU/8")(a("eLAg"),a("MKYq"),i,null,null);t.exports=n.exports},iMtA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Segment Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDateSegmentPicker}},[t._v("StartDate - EndDate")]),t._v(" "),a("cube-button",{on:{click:t.showCitySegmentPicker}},[t._v("Express - From - To")])],1)],1)])},staticRenderFns:[]}},"iQ/X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("9zBd"),a("K5n8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=n.provinceList;s.forEach(function(t){t.children=n.cityList[t.value],t.children.forEach(function(t){t.children=n.areaList[t.value]})});var r=[{is:"cube-date-picker",title:"入学时间",min:new Date(2e3,0,1),max:new Date(2030,11,31)},{is:"cube-date-picker",title:"毕业时间",min:new Date(2e3,0,1),max:new Date(2030,11,31)}];e.default={mounted:function(){var t=this;this.dateSegmentPicker=this.$createSegmentPicker({data:r,onSelect:function(e,a,i){t.$createDialog({type:"warn",content:"Selected Items:
- 入学时间: "+i[0].join("")+"
- 毕业时间: "+i[1].join(""),icon:"cubeic-alert"}).show()},onNext:function(e,a,i,n){r[1].min=a,0===e&&t.dateSegmentPicker.$updateProps({data:r})}}),this.citySegmentPicker=this.$createSegmentPicker({data:[{title:"选择快递",data:[l.expressData],selectedIndex:[1]},{is:"cube-cascade-picker",title:"寄件地址",data:s,selectedIndex:[0,0,0],cancelTxt:"返回"},{is:"cube-cascade-picker",title:"收件地址",data:s,selectedIndex:[0,0,0]}],cancelTxt:"Cancel",confirmTxt:"Confirm",nextTxt:"Next",prevTxt:"Prev",onSelect:function(e,a,i){t.$createDialog({type:"warn",content:"Selected Items:
- 所选快递: "+i[0].join("")+"
- 寄件地址: "+i[1].join("")+"
- 收件地址: "+i[2].join(""),icon:"cubeic-alert"}).show()}})},methods:{showDateSegmentPicker:function(){this.dateSegmentPicker.show()},showCitySegmentPicker:function(){this.citySegmentPicker.show()}},components:{CubePage:u.default,CubeButtonGroup:o.default}},t.exports=e.default})},iQe6:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-loading",data:function(){return{balde:12}},props:{size:{type:Number}},computed:{style:function(){if(this.size){var t=this.size+"px";return{width:t,height:t}}}}},t.exports=e.default})},iQwk:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("GQaK")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default=i.default,t.exports=e.default})},iejJ:function(t,e){},ijHb:function(t,e){},inlK:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("DatePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},ivoU:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav-bar",class:"cube-scroll-nav-bar_"+t.direction},[a("cube-scroll",{ref:"scroll",attrs:{nestMode:"none",options:t.options,direction:t.direction}},[a("div",{ref:"items",staticClass:"cube-scroll-nav-bar-items"},t._l(t.usedTxts,function(e,i){return a("div",{key:i,staticClass:"cube-scroll-nav-bar-item",class:{"cube-scroll-nav-bar-item_active":t.active===t.labels[i]},on:{click:function(e){t.clickHandler(t.labels[i])}}},[t._t("default",[a("span",{domProps:{innerHTML:t._s(e)}})],{txt:e,index:i,active:t.active,label:t.labels[i]})],2)}))])],1)},staticRenderFns:[]}},izCJ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Yu0J")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"j/9N":function(t,e){t.exports="data:image/png;base64,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"},"j/Id":function(t,e,a){function i(t){a("LLJH")}var n=a("VU/8")(a("NFzl"),a("Uibt"),i,null,null);t.exports=n.exports},j1CU:function(t,e){},j9ag:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Xnqv"),a("XRNA"),a("UFDc"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=void 0,d={name:"locale",install:function(t){d.installed||(r=t.prototype,t.util.defineReactive(r,"$cubeLang","zh-CN"),r.$cubeMessages=(0,o.default)({},"zh-CN",s.default),d.installed=!0)},use:function(t,e){r.$cubeLang=t;var a=r.$cubeMessages;t in a||(a[[t]]=e)},helpers:{toLocaleDateString:function(t,e){var a=(0,l.isNumber)(t)?t:t.replace(/-/g,"/"),i=new Date(a);return(0,l.isUndef)(e)?i.toDateString():(0,c.formatDate)(i,e)}},addHelper:function(t,e){if(t in d.helpers)return void(0,n.warn)(t+" has already been registered on helpers function, please change another name");d.helpers[t]=e}};e.default=d,t.exports=e.default})},jWO0:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("ZrYO"),a("FmUO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},jjfl:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-checkbox",props:{value:{type:[Boolean,String]},label:{type:[Boolean,String]},disabled:{type:Boolean,default:!1},option:{type:[Boolean,String,Object],default:function(){return{_def_option:!0}}},position:{type:String,default:"left"},shape:{type:String,default:"circle"},hollowStyle:{type:Boolean,default:!1}},data:function(){var t=this.$parent,e=t.$data._checkboxGroup;return{isInGroup:e,isInHorizontalGroup:e&&(t.$props.horizontal||t.$props.colNum>1)}},computed:{computedOption:function(){var t=this.option,e=this.label,a=this.disabled;return!0===t._def_option?t={label:e,value:e,disabled:a}:"string"==typeof t&&(t={label:t,value:t,disabled:!1}),t},checkValue:{get:function(){return this.isInGroup?this.$parent.value.indexOf(this.computedOption.value)>-1:Boolean(this.value)},set:function(t){var e=this.computedOption.value,a=e&&t?e:t,i=t?"checked":"cancel-checked";this.$emit("input",a),this.isInGroup&&this.$parent.$emit(i,e||t)}},_containerClass:function(){return{"cube-checkbox-hollow":this.hollowStyle,"cube-checkbox_checked":this.checkValue,"cube-checkbox_disabled":this.computedOption.disabled,"border-right-1px":this.isInHorizontalGroup}},_wrapClass:function(){if(this.isInGroup&&!this.isInHorizontalGroup)return"border-bottom-1px"},isSquare:function(){return"square"===this.shape||this.hollowStyle},_borderIconClass:function(){return this.isSquare?"cubeic-square-border":"cubeic-round-border"},_rightIconClass:function(){return this.isSquare?"cubeic-square-right":"cubeic-right"}}},t.exports=e.default})},jkRs:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-popup",class:t.rootClass,style:{"z-index":t.zIndex}},[a("div",{staticClass:"cube-popup-mask",on:{touchmove:function(t){t.preventDefault()},click:t.maskClick}},[t._t("mask")],2),t._v(" "),a("div",{staticClass:"cube-popup-container",class:t.containerClass,on:{touchmove:function(t){t.preventDefault()}}},[t.$slots.default?a("div",{staticClass:"cube-popup-content"},[t._t("default")],2):a("div",{staticClass:"cube-popup-content",domProps:{innerHTML:t._s(t.content)}})])])},staticRenderFns:[]}},jlIX:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-recycle-list",{staticClass:"list",attrs:{size:t.size,"on-fetch":t.onFetch,offset:t.offset},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.data;return[a("div",{staticClass:"item",attrs:{id:i.id},on:{click:function(e){t.handleClick(i)}}},[a("div",{staticClass:"avatar",style:{backgroundImage:"url("+(i.avatar||"")+")"}}),t._v(" "),a("div",{staticClass:"bubble"},[a("p",[t._v(t._s(i.msg))]),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"},[t._v(t._s(i.time))])])])])]}}])})],1)])])},staticRenderFns:[]}},jlfN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-bar",title:"ScrollNavBar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-scroll-nav-bar",{attrs:{current:t.current,labels:t.labels},on:{change:t.changeHandler}}),t._v(" "),a("div",{staticClass:"side-container"},[a("cube-scroll-nav-bar",{attrs:{direction:"vertical",current:t.current,labels:t.labels,txts:t.txts},on:{change:t.changeHandler},scopedSlots:t._u([{key:"default",fn:function(e){return a("i",{},[t._v(t._s(e.txt))])}}])})],1)],1)])},staticRenderFns:[]}},jnfQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("//Fk"),a("XPXN"),a("b1gV"),a("nlvd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(c);e.default={data:function(){return{immediate:!1,text1:"",isValid:[void 0,void 0,void 0,void 0,void 0,void 0],rules1:{required:!0,type:"email",pattern:/didi.com$/,custom:function(t){return t.length>=12}},messages1:{pattern:"The E-mail suffix need to be didi.com.",custom:"The E-mail need contain at least 12 characters."},text2:"",rules2:{type:"string",pattern:/^cube-/,min:8,max:10},messages2:{pattern:'Please start with "cube-"'},text3:"100",rules3:{type:"number",odd:!0},checkList:[],rules4:{required:!0},rate:0,rules5:{min:1,max:4},captcha:"",rules6:{type:"number",required:!0,len:6,captchaCheck:function(t){return function(e){setTimeout(function(){e("123456"===t)},1e3)}}},messages6:{captchaCheck:'Please input "123456"'}}},created:function(){l.Locale.use("en-US",d.default),l.Validator.addRule("odd",function(t,e,a){return Number(t)%2==1}),l.Validator.addMessage("odd",function(t){return"Please input odd."}),l.Validator.addType("email",function(t){return"string"==typeof t&&/^[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)$/i.test(t)})},methods:{validatingHandler:function(){console.log("validating")},validatedHandler:function(){console.log("validated")},submit:function(){var t=this;s.default.all((0,o.default)(this.$refs).map(function(e){return t.$refs[e].validate()})).then(function(){t.isValid.every(function(t){return t})&&t.$createToast({type:"correct",txt:"Submited",time:1e3}).show()})}},components:{CubePage:r.default}},t.exports=e.default})},jsiO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"button-view",title:"Select"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-select",{attrs:{title:t.title,options:t.options,placeholder:t.placeholder,"auto-pop":t.autoPop,disabled:t.disabled,cancelTxt:"Cancel",confirmTxt:"Confirm"},on:{change:t.change},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("cube-button-group",[a("cube-button",{on:{click:t.modify}},[t._v("modify")])],1)],1)])},staticRenderFns:[]}},"k+Su":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yjF1"),a("7lCl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);c.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},c.default.Checkbox=l.default,e.default=c.default,t.exports=e.default})},kAHR:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","value-change","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("Picker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},kBQQ:function(t,e,a){function i(t){a("d9ai")}var n=a("VU/8")(a("xH1B"),a("uwC9"),i,null,null);t.exports=n.exports},kL0B:function(t,e){},kLzu:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Gu7T"),a("t7U9"),a("agqa"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(l),v=o(c),p=o(u),f=(0,n.prefixStyle)("transform");e.default={name:"cube-drawer",mixins:[v.default,p.default],props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}}},data:function(){return{index:-1,selectedVal:[],selectedText:[],selected:[].concat((0,r.default)(this.selectedIndex)),slideStyle:(0,s.default)({},f,"translate3d(0, 0, 0)")}},watch:{selectedIndex:function(t){this.selected=[].concat((0,r.default)(t))},index:function(t,e){this.showPanel(),t0){var a=e-1,i=this.selected[a];this.changeHandler(a,this.data[a][i],i)}break}this.computedStyle()}},hide:function(){this.slideStyle[f]="translate3d(0, 0, 0)",this.shouldHide=!0},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);this.panels.splice(e,1)},transitionend:function(){this.shouldHide&&(this.isVisible=!1,this.shouldHide=!1)},refill:function(t,e,a){this.$set(this.data,t,e),this.index=t,this.selected=this.selected.slice(0,t),this.selectedVal=this.selectedVal.slice(0,t),this.selectedText=this.selectedText.slice(0,t),a>=0&&(this.$set(this.selected,t,a),this.changeHandler(t,this.data[t][a],a))},showPanel:function(){for(var t=this.index,e=0;e<=t;)this.panels[e].show(),e++;this.computedStyle()},hidePanel:function(){for(var t=this.data.length,e=this.index+1;e - value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandler:function(){console.log("cancel")}},components:{CubePage:n.default}},t.exports=e.default})},kVGr:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("d7EF"),a("W3Iv"),a("XRNA"),a("LIRj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i);e.default={methods:{_checkDeprecated:function(){var t=this,e=this.$options.props,a=this.$options.name;(0,o.default)(e).forEach(function(e){var i=(0,u.default)(e,2),c=i[0],o=i[1],s=o.deprecated;s&&void 0!==t[c]&&(0,n.tip)('The property "'+(0,l.kebab)(c)+'" is deprecated, please use the recommended property "'+s.replacedBy+'" to replace it. Details could be found in https://didi.github.io/cube-ui/#/en-US/docs/'+a.substr(5)+"#cube-Propsconfiguration-anchor",a)})}},mounted:function(){this._checkDeprecated()}},t.exports=e.default})},kXYV:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-toolbar-item border-right-1px"},[a("cube-button",{attrs:{icon:t.action.icon}},["checkbox"==t.action.type?a("cube-checkbox",{staticClass:"cube-toolbar-chb",attrs:{label:t.action.text},model:{value:t.action.checked,callback:function(e){t.$set(t.action,"checked",e)},expression:"action.checked"}}):a("span",{domProps:{innerHTML:t._s(t.action.text)}})],1),t._v(" "),a("i",{staticClass:"cube-toolbar-down"})],1)},staticRenderFns:[]}},kZI5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollEvents:["scroll"],scrollY:0,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){var e=t.y;this.scrollY=-e}},components:{CubePage:i.default}},t.exports=e.default})},kZnE:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-toolbar-item",components:{CubeButton:l.default,CubeCheckbox:c.default},props:{action:{type:Object,default:function(){return{}}}}},t.exports=e.default})},kgN1:function(t,e,a){function i(t){a("shDe")}var n=a("VU/8")(a("txVD"),a("1ze/"),i,null,null);t.exports=n.exports},kjd8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e){t.type="button",t.props||(t.props={}),t.props.type=e};t.toButtonHandler=e})},"kl+Y":function(t,e){t.exports="data:image/png;base64,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"},kww3:function(t,e,a){function i(t){a("X/Av")}var n=a("VU/8")(a("vpa7"),a("Gn4+"),i,null,null);t.exports=n.exports},"l+e5":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{direction:"",tipStyle:""}},methods:{showTip:function(t){switch(this.direction=t,this.$refs.tip2.show(),t){case"bottom":this.tipStyle="left: 96px; top: -50px;";break;case"top":this.tipStyle="left: 96px; top: 40px;";break;case"right":this.tipStyle="left: -2px; top: -5px;";break;case"left":this.tipStyle="left: 190px; top: -5px;"}},close:function(){console.log("click close button")},clickHandler:function(){console.log("click tip area")}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},l43s:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-rate-item",class:{"cube-rate-item_active":t.index<=t.$parent.tempValue}},[t._t("default",[a("div",{staticClass:"cube-rate-item-def"})])],2)},staticRenderFns:[]}},lGNi:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"cube-tab-panel"},[t._t("default")],2)},staticRenderFns:[]}},lQMO:function(t,e,a){function i(t){a("yu2v")}var n=a("VU/8")(a("uE8O"),a("p8T3"),i,null,null);t.exports=n.exports},lVK7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("b1gV"),a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){n.installed||(n.installed=!0,l.forEach(function(e){e!==a.Radio&&e.install(t)}))}Object.defineProperty(e,"__esModule",{value:!0});var l=[a.Locale,a.Button,a.Loading,a.Tip,a.Toolbar,a.TabBar,a.TabPanels,a.Checkbox,a.CheckboxGroup,a.Checker,a.Radio,a.RadioGroup,a.Input,a.Textarea,a.Select,a.Switch,a.Rate,a.Validator,a.Upload,a.Form,a.Popup,a.Toast,a.Picker,a.CascadePicker,a.DatePicker,a.TimePicker,a.SegmentPicker,a.Dialog,a.ActionSheet,a.Drawer,a.ImagePreview,a.Scroll,a.Slide,a.IndexList,a.Swipe,a.Sticky,a.ScrollNav,a.ScrollNavBar,a.RecycleList],c={version:"1.12.32",install:n,BScroll:a.BetterScroll,createAPI:a.createAPI};l.forEach(function(t){var e=(0,i.processComponentName)(t,{firstUpperCase:!0});c[e]=t}),"undefined"!=typeof window&&window.Vue&&window.Vue.use(n),e.default=c,t.exports=e.default})},lVze:function(t,e,a){function i(t){a("q8rA")}var n=a("VU/8")(a("MNuz"),a("MY9j"),i,null,null);t.exports=n.exports},lWcp:function(t,e){},liwK:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("form",{ref:"form",staticClass:"cube-form",class:t.formClass,attrs:{action:t.action},on:{submit:t.submitHandler,reset:t.resetHandler}},[t._t("default",t._l(t.groups,function(t,e){return a("cube-form-group",{key:e,attrs:{fields:t.fields,legend:t.legend}})}))],2)},staticRenderFns:[]}},"m/LA":function(t,e,a){function i(t){a("CZnn")}var n=a("VU/8")(a("H+BD"),a("ZtZp"),i,null,null);t.exports=n.exports},m4tM:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-select",class:{"cube-select_active":t.active,"cube-select_disabled":t.disabled},on:{click:t.showPicker}},[t.selectedText?a("span",{staticClass:"cube-select-text"},[t._v(t._s(t.selectedText))]):a("span",{staticClass:"cube-select-placeholder"},[t._v(t._s(t._placeholder))]),t._v(" "),a("i",{staticClass:"cube-select-icon"})])},staticRenderFns:[]}},mNkZ:function(t,e){},mS3r:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-sticky"},[t._t("default"),t._v(" "),a("transition",{attrs:{name:t.fixedShowAni}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fixedShow,expression:"fixedShow"}],ref:"fixedEle",staticClass:"cube-sticky-fixed"},[t._t("fixed",null,{current:t.currentKey,index:t.currentIndex})],2)])],2)},staticRenderFns:[]}},"mY+Z":function(t,e){},mkLW:function(t,e,a){function i(t){a("9eEc")}var n=a("VU/8")(a("oVd1"),a("peAO"),i,null,null);t.exports=n.exports},mok4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("3kPI"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);o.default.install=function(t){t.component(u.default.name,u.default),t.component(o.default.name,o.default),r.default.install(t),(0,s.default)(t,u.default)},o.default.Picker=u.default,e.default=o.default,t.exports=e.default})},mvDF:function(t,e,a){function i(t){a("AEue")}var n=a("VU/8")(a("UKcw"),a("jlIX"),i,null,null);t.exports=n.exports},nPBw:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollY:0,checkTop:!1,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){this.scrollY=t.currentTarget.scrollTop}},components:{CubePage:i.default}},t.exports=e.default})},nRLb:function(t,e){},nb3f:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("tx1y"),a("eZWf"),a("6KDq"),a("wIkl"),a("TMiY"),a("JgmB"),a("8jxs"),a("4xIg"),a("yB4N"),a("1H2N"),a("DXQ8"),a("m/LA"),a("hdAL"),a("Bhgd"),a("BH5X"),a("gYth"),a("zZ81"),a("p9oh"),a("ZiC1"),a("pmij"),a("5HTY"),a("YVqS"),a("AnsX"),a("AgjA"),a("W2Hj"),a("c7sT"),a("SW1b"),a("4BmD"),a("BHjP"),a("H61/"),a("UgWs"),a("JKih"),a("DD7W"),a("07pW"),a("Bf/j"),a("1btU"),a("kBQQ"),a("8F4S"),a("A5db"),a("Pe8L"),a("KrQh"),a("eE6y"),a("dTzF"),a("58Ml"),a("qWZY"),a("zI96"),a("VcN6"),a("DIVr"),a("UqhO"),a("eClu"),a("cQz5"),a("kgN1"),a("h8Kk"),a("uGVW"),a("7tZM"),a("QreJ"),a("91me"),a("U4Ng"),a("cSnO"),a("Cfx3"),a("8YJ/"),a("3jWI"),a("wnnB"),a("0MNC"),a("ZXOh"),a("UchT"),a("U8em"),a("6boj"),a("Ojzo"),a("KIfi"),a("YGd9"),a("a0bD"),a("mvDF"),a("UrdA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p,f,h,x,y,m,b,g,_,w,A,k,C,T,P,j,S,M,D,V,I,O,E,U,R,B,H,N,L,F,X,K,z,Y,G,Q,W,q,Z,J,$,tt,et,at,it,nt,lt,ct,ut,ot,st,rt,dt,vt,pt,ft,ht,xt,yt,mt,bt,gt,_t){"use strict";function wt(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var At=wt(a),kt=wt(i),Ct=wt(n),Tt=wt(l),Pt=wt(c),jt=wt(u),St=wt(o),Mt=wt(s),Dt=wt(r),Vt=wt(d),It=wt(v),Ot=wt(p),Et=wt(f),Ut=wt(h),Rt=wt(x),Bt=wt(y),Ht=wt(m),Nt=wt(b),Lt=wt(g),Ft=wt(_),Xt=wt(w),Kt=wt(A),zt=wt(k),Yt=wt(C),Gt=wt(T),Qt=wt(P),Wt=wt(j),qt=wt(S),Zt=wt(M),Jt=wt(D),$t=wt(V),te=wt(I),ee=wt(O),ae=wt(E),ie=wt(U),ne=wt(R),le=wt(B),ce=wt(H),ue=wt(N),oe=wt(L),se=wt(F),re=wt(X),de=wt(K),ve=wt(z),pe=wt(Y),fe=wt(G),he=wt(Q),xe=wt(W),ye=wt(q),me=wt(Z),be=wt(J),ge=wt($),_e=wt(tt),we=wt(et),Ae=wt(at),ke=wt(it),Ce=wt(nt),Te=wt(lt),Pe=wt(ct),je=wt(ut),Se=wt(ot),Me=wt(st),De=wt(rt),Ve=wt(dt),Ie=wt(vt),Oe=wt(pt),Ee=wt(ft),Ue=wt(ht),Re=wt(xt),Be=wt(yt),He=wt(mt),Ne=wt(bt),Le=wt(gt),Fe=wt(_t),Xe=[{path:"/button",component:At.default},{path:"/checkbox",component:kt.default},{path:"/checkbox-group",component:Ct.default},{path:"/checker",component:He.default},{path:"/radio",component:Tt.default},{path:"/input",component:Vt.default},{path:"/textarea",component:It.default},{path:"/switch",component:Pt.default},{path:"/form",component:Et.default,children:[{path:"default",component:Ut.default},{path:"custom",component:Rt.default},{path:"classic",component:Bt.default},{path:"fresh",component:Ht.default}]},{path:"/loading",component:jt.default},{path:"/tip",component:St.default},{path:"/toolbar",component:we.default},{path:"/popup",component:Mt.default},{path:"/toast",component:Dt.default},{path:"/rate",component:Ot.default},{path:"/picker",component:Nt.default},{path:"/cascade-picker",component:Lt.default},{path:"/segment-picker",component:Ft.default},{path:"/date-picker",component:Xt.default},{path:"/time-picker",component:Kt.default},{path:"/select",component:zt.default},{path:"/dialog",component:Yt.default},{path:"/action-sheet",component:Gt.default},{path:"/drawer",component:xe.default,children:[{path:"default",component:ye.default},{path:"custom",component:me.default}]},{path:"/image-preview",component:De.default,children:[{path:"multi-images-preview",component:Ve.default}]},{path:"/scroll",component:Qt.default,children:[{path:"default",component:Wt.default},{path:"config",component:qt.default},{path:"jd",component:Zt.default},{path:"horizontal",component:Jt.default},{path:"toutiao",component:$t.default},{path:"v-scrolls",component:te.default},{path:"h-scrolls",component:ee.default},{path:"textarea",component:ae.default}]},{path:"/index-list",component:ie.default,children:[{path:"default",component:ne.default},{path:"custom",component:le.default},{path:"pull-up-load",component:ce.default},{path:"pull-down-refresh",component:ue.default}]},{path:"/upload",component:oe.default,children:[{path:"default",component:se.default},{path:"compress",component:re.default},{path:"custom",component:de.default}]},{path:"/validator",component:ve.default},{path:"/swipe",component:pe.default,children:[{path:"default",component:fe.default},{path:"custom",component:he.default}]},{path:"/slide",component:be.default,children:[{path:"vertical",component:ge.default},{path:"horizontal",component:_e.default}]},{path:"/toolbar",component:we.default},{path:"/sticky",component:Ae.default,children:[{path:"scroll",component:ke.default},{path:"native",component:Ce.default},{path:"wechat",component:Te.default}]},{path:"/scroll-nav-bar",component:Pe.default},{path:"/scroll-nav",component:je.default,children:[{path:"default",component:Se.default},{path:"side",component:Me.default}]},{path:"/tab-bar",component:Ie.default,children:[{path:"tab-bar",component:Oe.default},{path:"scroll-tab",component:Be.default},{path:"tab",component:Ee.default,children:[{path:"basic",component:Ue.default},{path:"composite",component:Re.default}]}]},{path:"/recycle-list",component:Ne.default,children:[{path:"default",component:Le.default},{path:"tombstone",component:Fe.default}]}];e.default=Xe,t.exports=e.default})},neus:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{attrs:{data:t.cityData,title:t.title},on:{select:t.selectItem,"title-click":t.clickTitle}})],1)])])])},staticRenderFns:[]}},niVN:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["mask-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},nlvd:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancel:"Cancel",confirm:"Confirm",ok:"OK",prev:"Prev",next:"Next",selectText:"Please select",now:"Now",selectTime:"Select time",today:"Today",formatDate:"M-D",hours:"",minutes:"",validator:{required:"Required.",type:{string:"Please input characters.",number:"Please input numbers.",array:"The data type should be array.",date:"Please select a valid date.",email:"Please input a valid E-mail.",tel:"Please input a valid telphone number.",url:"Please input a valid web site."},min:{string:"Please input at least {{config}} characters.",number:"The number could not smaller than {{config}}.",array:"Please select at least {{config}} items.",date:'Please select a date after {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input at least {{config}} characters.",tel:"Please input at least {{config}} characters.",url:"Please input at least {{config}} characters."},max:{string:"Please input no more than {{config}} characters.",number:"The number could not bigger than {{config}}",array:"Please select no more than {{config}} items",date:'Please select a date before {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input no more than {{config}} characters.",tel:"Please input no more than {{config}} characters.",url:"Please input no more than {{config}} characters."},len:{string:"Please input {{config}} characters.",number:"The length should equal {{config}}",array:"Please select {{config}} items",date:'Please select {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input {{config}} characters.",tel:"Please input {{config}} characters.",url:"Please input {{config}} characters."},pattern:'The input don"t match pattern.',custom:"Invalid.",notWhitespace:"Whitespace is invalid."}},t.exports=e.default})},nocm:function(t,e){},nrl6:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("t3q3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);s.default.install=function(t){t.component(o.default.name,o.default),t.component(s.default.name,s.default),v.default.install(t),(0,d.default)(t,o.default),(0,r.default)(t,s.default)},s.default.Picker=o.default,e.default=s.default,t.exports=e.default})},"o/OE":function(t,e){t.exports=[{name:"★ Hot City",shortcut:"★",items:[{name:"BEIJING",value:1},{name:"SHANGHAI",value:2}]},{name:"A",items:[{name:"ANSHAN",value:3},{name:"ANQING",value:4}]},{name:"B",items:[{name:"BEIJING",value:1},{name:"BAYINGUOLENGZHOU",value:5},{name:"BOERTALAZHOU",value:6}]},{name:"C",items:[{name:"CHENGDU",value:7}]},{name:"E",items:[{name:"EERDUOSI",value:8},{name:"EZHOU",value:9},{name:"ENSHIZHOU",value:10}]},{name:"F",items:[{name:"FUZHOU",value:11},{name:"FOSHAN",value:12},{name:"FANGCHENGGANG",value:13}]},{name:"G",items:[{name:"GUANGZHOU",value:14},{name:"GUIYANG",value:15}]},{name:"H",items:[{name:"HANGZHOU",value:16},{name:"HETIANDIQU",value:17}]},{name:"Z",items:[{name:"ZHENGZHOU",value:18},{name:"ZHANGJIAKOU",value:19},{name:"ZHANGJIAJIE",value:20},{name:"ZHUHAI",value:21},{name:"ZHONGSHAN",value:22},{name:"ZIGONG",value:23},{name:"ZIYANG",value:24},{name:"ZHAOZHUANG",value:25},{name:"ZHOUSHAN",value:26},{name:"ZUNYI",value:27},{name:"ZIBO",value:28},{name:"ZHUZHOU",value:29},{name:"ZHONGWEI",value:30}]}]},oLGW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("BD2p"),a("ZhPo"),a("AQXh")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Btn=u.default,c.default.File=o.default,e.default=c.default,t.exports=e.default})},"oU/Y":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-upload-file",class:t.fileCls,on:{click:t.clickHandler}},[t._t("default",[a("div",{staticClass:"cube-upload-file-def",style:t.fileStyle},[a("i",{staticClass:"cubeic-wrong",on:{click:function(e){return e.stopPropagation(),t.removeFile(e)}}}),t._v(" "),a("div",{staticClass:"cube-upload-file-state",class:t.fileStatusCls},[a("i",{staticClass:"cube-upload-file-status",class:t.statusCls}),t._v(" "),a("span",{staticClass:"cube-upload-file-progress"},[t._v(t._s(t.fileProgress))])])])],{imgStyle:t.fileStyle,progress:t.fileProgress})],2)},staticRenderFns:[]}},oVd1:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-radio",inject:{radioGroup:{default:null}},props:{value:[String,Number],option:{type:[String,Object],required:!0},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},created:function(){var t=this,e=this.radioGroup;e&&(this.radioValue=e.radioValue,this._cancelWatchGroup=this.$watch(function(){return e.radioValue},function(e){t.radioValue=e}))},beforeDestroy:function(){this._cancelWatchGroup&&this._cancelWatchGroup(),this._cancelWatchGroup=null},watch:{value:function(t){this.radioValue=t},radioValue:function(t){"number"==typeof this.value&&(t=Number(t)),this.$emit("input",t),this.radioGroup&&(this.radioGroup.radioValue=t)}},computed:{computedOption:function(){var t=this.option;return"string"==typeof t?{value:t,label:t}:t},_containerClass:function(){var t=this.computedOption;return{"cube-radio-hollow":this.hollowStyle,"cube-radio_selected":this.radioValue===t.value,"cube-radio_disabled":t.disabled,"border-right-1px":this.$parent.horizontal}},_wrapClass:function(){var t=this.$parent;if(!(t.horizontal||t.$props.colNum>1))return"border-bottom-1px"}}},t.exports=e.default})},orqC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-drawer-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer-panel"},[a("div",{staticClass:"cube-drawer-scroll-wrapper"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.data}},[a("ul",{staticClass:"cube-drawer-list"},[t._t("default",t._l(t.data,function(t,e){return a("cube-drawer-item",{key:e,attrs:{item:t,index:e}})}))],2)])],1)])])},staticRenderFns:[]}},osO1:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("j9ag"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.localeMixin=c.default,e.default=l.default,t.exports=e.default})},p8T3:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-image-preview-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"image-preview","z-index":t.zIndex,center:!1}},[a("div",{staticClass:"cube-image-preview-container"},[a("div",{staticClass:"cube-image-preview-header"},[t._t("header",null,{current:t.currentPageIndex})],2),t._v(" "),t.isVisible?a("cube-slide",{ref:"slide",attrs:{data:t.imgs,"initial-index":t.currentPageIndex,"auto-play":!1,loop:t.loop,speed:t.speed,options:t.options},on:{change:t.slideChangeHandler}},[t._l(t.imgs,function(e,i){return a("cube-slide-item",{key:i},[a("div",{staticClass:"cube-image-preview-item",on:{click:t.itemClickHandler}},[a("cube-scroll",{ref:"items",refInFor:!0,attrs:{options:t.scrollOptions},nativeOn:{dblclick:function(e){t.dblclickHandler(i,e)}}},[a("img",{staticClass:"cube-image-preview-img",attrs:{src:e},on:{load:function(e){t.imgLoad(i)}}})])],1)])}),t._v(" "),a("template",{slot:"dots"},[a("i")])],2):t._e(),t._v(" "),a("div",{staticClass:"cube-image-preview-footer"},[t._t("footer",[a("span",{staticClass:"cube-image-preview-counter"},[t._v(t._s(t.currentPageIndex+1)+"/"+t._s(t.imgs.length))])],{current:t.currentPageIndex})],2)],1)])],1)},staticRenderFns:[]}},p9oh:function(t,e,a){var i=a("VU/8")(a("e3O1"),a("zFE9"),null,null,null);t.exports=i.exports},pAFF:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-textarea-wrapper",class:{"cube-textarea_expanded":t.expanded,"cube-textarea_active":t.isFocus}},[a("textarea",t._b({directives:[{name:"model",rawName:"v-model",value:t.textareaValue,expression:"textareaValue"}],ref:"input",staticClass:"cube-textarea",attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled},domProps:{value:t.textareaValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:t.changeHander,input:function(e){e.target.composing||(t.textareaValue=e.target.value)}}},"textarea",t.$props,!1)),t._v(" "),t.indicator?a("span",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"cube-textarea-indicator"},[t._v(t._s(t.indicatorConf.remain?t.remain:t.count))]):t._e()])},staticRenderFns:[]}},"pWL+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("YlpP")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=c.default.goods;e.default={components:{CubePage:l.default},data:function(){return{data:u}},methods:{changeHandler:function(t){console.log("changed to:",t)}}},t.exports=e.default})},peAO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-radio",class:t._containerClass,attrs:{"data-pos":t.position}},[a("label",{staticClass:"cube-radio-wrap",class:t._wrapClass},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.radioValue,expression:"radioValue"}],staticClass:"cube-radio-input",attrs:{type:"radio",disabled:t.option.disabled},domProps:{value:t.computedOption.value,checked:t._q(t.radioValue,t.computedOption.value)},on:{change:function(e){t.radioValue=t.computedOption.value}}}),t._v(" "),t._m(0),t._v(" "),t._t("default",[a("span",{staticClass:"cube-radio-label"},[t._v(t._s(t.computedOption.label))])])],2)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"cube-radio-ui cubeic-round-border"},[a("i")])}]}},penI:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-tip-zoom"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-tip",attrs:{"data-dir":t.direction},on:{click:t.handleClick}},[a("i",{ref:"angle",staticClass:"cube-tip-angle"}),t._v(" "),a("button",{staticClass:"cube-tip-close cubeic-close",on:{click:function(e){return e.stopPropagation(),t.close(e)}}}),t._v(" "),a("div",{staticClass:"cube-tip-content"},[t._t("default")],2)])])},staticRenderFns:[]}},piyO:function(t,e,a){function i(t){a("ijHb")}var n=a("VU/8")(a("9O6X"),a("sJPN"),i,null,null);t.exports=n.exports},"pjk/":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("t7U9"),a("cL1+"),a("bh5B"),a("6liq"),a("QMhb"),a("kVGr")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(l),v=s(c),p=s(u),f=s(o),h=n.inBrowser&&window.innerHeight<=480?17:18,x=(0,i.prefixStyle)("transform");e.default={name:"cube-index-list",mixins:[p.default,f.default],props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},speed:{type:Number,default:0},navbar:{type:Boolean,default:!0},pullDownRefresh:{type:[Object,Boolean],default:void 0,deprecated:{replacedBy:"options"}},pullUpLoad:{type:[Object,Boolean],default:void 0,deprecated:{replacedBy:"options"}}},data:function(){return{scrollEvents:["scroll"],currentIndex:0,scrollY:-1,diff:-1,titleHeight:0}},computed:{hasTitle:function(){return this.title||this.$slots.title},fixedTitle:function(){return this.hasTitle&&!this.titleHeight&&this._caculateTitleHeight(),this.scrollY<=-this.titleHeight&&this.data[this.currentIndex]?this.data[this.currentIndex].name:""},shortcutList:function(){return this.data.map(function(t){return t?t.shortcut||t.name.substr(0,1):""})},scrollOptions:function(){return(0,r.default)({},{pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad},this.options)}},created:function(){this.groupList=[],this.listHeight=[],this.touch={},this.subTitleHeight=0},mounted:function(){var t=this;this.$nextTick(function(){t.refresh()})},methods:{refresh:function(){this._caculateTitleHeight(),this._calculateHeight(),this.$refs.scroll&&this.$refs.scroll.refresh()},selectItem:function(t){this.$emit("select",t)},scroll:function(t){this.scrollY=t.y},titleClick:function(){this.$emit("title-click",this.title)},forceUpdate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$refs.scroll.forceUpdate(e,a),e&&this.$nextTick(function(){t._calculateHeight()})},onShortcutTouchStart:function(t){var e=(0,i.getMatchedTarget)(t,"cube-index-list-nav-item");if(e){var a=(0,i.getData)(e,"index"),n=t.touches[0];this.touch.y1=n.pageY,this.touch.anchorIndex=a,this._scrollTo(a)}},onShortcutTouchMove:function(t){var e=t.touches[0];this.touch.y2=e.pageY;var a=(this.touch.y2-this.touch.y1)/h|0,i=parseInt(this.touch.anchorIndex)+a;this._scrollTo(i)},onPullingUp:function(){this.$emit("pulling-up")},onPullingDown:function(){this.$emit("pulling-down")},_caculateTitleHeight:function(){this.titleHeight=this.$refs.title?(0,i.getRect)(this.$refs.title).height:0},_calculateHeight:function(){this.groupList=this.$el.getElementsByClassName("cube-index-list-group");var t=this.$el.getElementsByClassName("cube-index-list-anchor")[0];if(this.subTitleHeight=t?(0,i.getRect)(t).height:0,this.listHeight=[],this.groupList){var e=this.titleHeight;this.listHeight.push(e);for(var a=0;athis.listHeight.length-2&&(t=this.listHeight.length-2),this.$refs.scroll.scrollToElement(this.groupList[t],this.speed),this.scrollY=this.$refs.scroll.scroll.y}},watch:{data:function(){var t=this;this.$nextTick(function(){t._calculateHeight()})},title:function(t){var e=this;this.$nextTick(function(){e.refresh()})},diff:function(t){var e=t>0&&t-this.titleHeight)return void(this.currentIndex=0);for(var a=0;a=i&&-t0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=n&&n.base64||"";return{name:t,size:e,url:c?"":l(n),base64:c,status:a,progress:i,file:n}}function l(t){return t&&u?u.createObjectURL(t):""}function c(t){if("function"==typeof t){for(var e=arguments.length,a=Array(e>1?e-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{},i=a.type,n=void 0===i?"Event":i,l=a.bubbles,c=void 0===l||l,u=a.cancelable,o=void 0===u||u,s=document.createEvent(n);s.initEvent(e,c,o),t.dispatchEvent(s)}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=a,t.addClass=i,t.removeClass=n,t.getData=l,t.getRect=c,t.prefixStyle=u,t.getMatchedTarget=o,t.dispatchEvent=s;var r=function(){if(!e.inBrowser)return!1;var t=document.createElement("div").style,a={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(var i in a)if(void 0!==t[a[i]])return i;return!1}()})},tEcF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("mkLW"),a("0I1X")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-radio-group",mixins:[c.default],provide:function(){return{radioGroup:this}},props:{value:[String,Number],options:{type:Array,default:function(){return[]}},position:{type:String,default:"left"},horizontal:{type:Boolean,default:!1},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},watch:{value:function(t){this.radioValue=t},radioValue:function(t){this.$emit("input",t)}},computed:{_groupClass:function(){if(!this.horizontal)return"border-top-1px border-bottom-1px"}},components:{CubeRadio:l.default}},t.exports=e.default})},tJl4:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={STANDARD:"standard",CLASSIC:"classic",FRESH:"fresh"};e.default=a,t.exports=e.default})},tNeh:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("JBFj"),a("kAHR"),a("t3q3"),a("C2tW"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o);v.default.install=function(t){t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(v.default.name,v.default),x.default.install(t),(0,p.default)(t,r.default),(0,f.default)(t,d.default),(0,h.default)(t,v.default)},v.default.Picker=r.default,d.default.Picker=r.default,v.default.CascadePicker=d.default,e.default=v.default,t.exports=e.default})},tYAf:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-index-list-group"},[a("h2",{staticClass:"cube-index-list-anchor",domProps:{innerHTML:t._s(t.group.name)}}),t._v(" "),a("ul",[t._t("default",t._l(t.group.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e},on:{select:t.selectItem}})}))],2)])},staticRenderFns:[]}},tspx:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9"),a("4BV0"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=(0,a.prefixStyle)("transform"),c=(0,a.prefixStyle)("transitionProperty"),u=(0,a.prefixStyle)("transitionDuration"),o=(0,a.prefixStyle)("transitionTimingFunction");e.default={name:"cube-swipe-item",inject:["swipe"],props:{item:{type:Object,default:function(){return{}}},btns:{type:Array,default:function(){return[]}},index:{type:Number,index:-1},autoShrink:{type:Boolean,default:!1}},watch:{btns:function(){var t=this;this.$nextTick(function(){t.refresh()})}},created:function(){this.x=0,this.state=0,this.swipe.addItem(this)},mounted:function(){var t=this;this.scrollerStyle=this.$refs.swipeItem.style,this.$nextTick(function(){t.refresh()}),this.$on("scroll",this._handleBtns)},methods:{_initCachedBtns:function(){this.cachedBtns=[];for(var t=this.$refs.btns.length,e=0;e=0){a=!0;break}e=e.parentNode}return a},_calculateBtnsWidth:function(){for(var t=0,e=this.cachedBtns.length,a=0;a0&&void 0!==arguments[0]?arguments[0]:"transform";this.scrollerStyle[c]=t},_transitionTimingFunction:function(t){this.scrollerStyle[o]=t},_transitionTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.scrollerStyle[u]=t+"ms"},_getComputedPositionX:function(){var t=window.getComputedStyle(this.$refs.swipeItem,null);return t=t[l].split(")")[0].split(", "),+(t[12]||t[4])},_translateBtns:function(t,e,a){if(0!==this.btns.length)for(var i=this.$refs.btns.length,n=0,s=0,r=0;r0&&(this._initCachedBtns(),this._calculateBtnsWidth()),this.endTime=0},shrink:function(){var t=this;this.stop(),this.state=0,this.$nextTick(function(){t.scrollTo(0,600,i.easeOutQuart),t._translateBtns(600,i.easeOutQuart)})},grow:function(){this.state=1;var t=this.x300&&l<15)){this.movingDirectionX=a>0?-1:a<0?1:0;var u=this.x+a;u>0&&(u=0),u300&&(this.startTime=c,this.startX=this.x),this.$emit("scroll",this.x)}}}},onTouchEnd:function(){if(this.moved){if(-1===this.movingDirectionX)return void this.shrink();this.endTime=(0,n.getNow)();var t=this.endTime-this.startTime,e=Math.abs(this.x-this.startX);t<300&&e>15||this.x=0&&this.currentPageIndex!==t){var e=this.$refs.items[this.currentPageIndex];if(e){var a=e.scroll;1!==a.scale&&(a.scale=1,a.lastcale=1,a.refresh())}}this.currentPageIndex=t},slideChangeHandler:function(t){this.setPageIndex(t),this.slideScrollEndHandler(),this.$emit("change",t)},slideScrollStartHandler:function(){var t=this.$refs.slide.slide;this._scrolling&&!this._hasEnableSlide?t.disable():t.enable()},slideScrollEndHandler:function(){var t=this;this.$refs.items.forEach(function(e){t.scrollEndHandler(e.scroll)})},_scroll:function(t){var e=this.$refs.slide.slide;e.disable(),e.refresh(),t.enable()},_slide:function(t){this.$refs.slide.slide.enable(),t.disable()},beforeScrollHandler:function(){clearTimeout(this.enableSlideTid)},scrollEndHandler:function(t){var e=this;clearTimeout(this.enableSlideTid),this.dblZooming&&(this.dblZooming=!1,clearTimeout(this.clickTid)),this._hasEnableSlide=!1,this._scrolling=!1,t.enable(),this.enableSlideTid=setTimeout(function(){e.$refs.slide.slide.enable()})},checkBoundary:function(t,e){if(t.distX&&Math.abs(t.distX)>Math.abs(t.distY)){this._scrolling=!0;(t.distX>0?e.x>=t.minScrollX:e.x<=t.maxScrollX)?(this._hasEnableSlide=!0,this._slide(t)):this._hasEnableSlide||this._scroll(t)}else t.distY&&(this._scrolling=!0,this._scroll(t))},zoomStartHandler:function(t){this._scroll(t)},dblclickHandler:function(t,e){var a=this.$refs.items[t].scroll;this.dblZooming=!0,this.zoomTo(a,a.scale>1?1:2,e),a.disable()},itemClickHandler:function(){var t=this;clearTimeout(this.clickTid),this.clickTid=setTimeout(function(){!t.dblZooming&&t.hide()},this.scrollOptions.bounceTime)},zoomTo:function(t,e,a){t.zoomTo(e,a.pageX,a.pageY)}},components:{CubePopup:r.default,CubeSlide:d.default,CubeSlideItem:v.default,CubeScroll:p.default}},t.exports=e.default})},uGVW:function(t,e,a){function i(t){a("deRs")}var n=a("VU/8")(a("C/e8"),a("yADO"),i,null,null);t.exports=n.exports},uN5Q:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-custom",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Use slots: ")]),t._v(" "),a("div",{staticClass:"upload-view-custom-main"},[a("cube-upload",{ref:"upload",attrs:{action:t.action},on:{"files-added":t.addedHandler,"file-error":t.errHandler},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}},[a("div",{staticClass:"clear-fix"},[t._l(t.files,function(t,e){return a("cube-upload-file",{key:e,attrs:{file:t}})}),t._v(" "),a("cube-upload-btn",{attrs:{multiple:!1}},[a("div",[a("i",[t._v("+")]),t._v(" "),a("p",[t._v("Please click to upload ID card")])])])],2)])],1)])],2)},staticRenderFns:[]}},uYby:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={},t.exports=e.default})},ulou:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("o/OE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default},data:function(){return{title:"Current City: BEIJING",cityData:c.default}},methods:{selectItem:function(t){console.log(t.name)},clickTitle:function(t){console.log(t)}}},t.exports=e.default})},umxa:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/swipe/"+t)}}},t.exports=e.default})},uqUP:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-slide-item"},[t._t("default",[a("a",{attrs:{href:t.item.url}},[a("img",{attrs:{src:t.item.image}})])])],2)},staticRenderFns:[]}},uwC9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper custom"},[a("cube-index-list",{attrs:{data:t.singerData},scopedSlots:t._u([{key:"nav-item",fn:function(e){return a("span",{staticClass:"custom-nav-item"},[t._v(t._s(e.item))])}}])},t._l(t.singerData,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e}},t._l(e.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e},on:{select:t.selectItem}},[a("div",{staticClass:"custom-item"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"item.avatar"}],staticClass:"avatar"}),t._v(" "),a("span",{staticClass:"name"},[t._v(t._s(e.name))])])])}))}))],1)])])])},staticRenderFns:[]}},uzcz:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"swipeItem",staticClass:"cube-swipe-item",on:{transitionend:t.onTransitionEnd,touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd}},[t._t("default",[a("div",{staticClass:"cube-swipe-item-inner border-bottom-1px",on:{click:t.clickItem}},[a("span",[t._v(t._s(t.item.text))])])]),t._v(" "),a("ul",{staticClass:"cube-swipe-btns"},t._l(t.btns,function(e){return a("li",{ref:"btns",refInFor:!0,staticClass:"cube-swipe-btn",style:t.genBtnStyl(e),on:{click:function(a){a.preventDefault(),t.clickBtn(e)}}},[a("span",{staticClass:"text"},[t._v(t._s(e.text))])])}))],2)},staticRenderFns:[]}},v4hj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("suVo"),a("4Kqh")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);u.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),(0,o.default)(t,u.default)},u.default.Loading=c.default,e.default=u.default,t.exports=e.default})},v4qp:function(t,e){},vEm4:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("div",{staticClass:"title"},[t._v("horizontal Demo")]),t._v(" "),a("cube-scroll",{ref:"scroll",staticClass:"horizontal-scroll-list-wrap",attrs:{data:t.items,direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},t._l(t.items,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}))])],1)])])},staticRenderFns:[]}},vJ9C:function(t,e,a){function i(t){a("IuA7")}var n=a("VU/8")(a("wLKS"),a("FK47"),i,null,null);t.exports=n.exports},vLxS:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/tab-bar/tab/"+t)}}},t.exports=e.default})},vfhA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},vhte:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["select","cancel"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},vpa7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Gu7T"),a("GQaK"),a("PzHl"),a("Z5VE"),a("d64j"),a("yIJW"),a("wih/"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var d=r(a),v=r(i),p=r(n),f=r(l),h=r(c),x=r(u),y=r(o),m=r(s);e.default={name:"cube-picker",mixins:[f.default,h.default,x.default,y.default,m.default],props:{pending:{type:Boolean,default:!1}},data:function(){return{finalData:this.data.slice()}},created:function(){this._values=[],this._indexes=this.selectedIndex},methods:{confirm:function(){if(this._canConfirm()){this.hide();var t=!1,e=[],a=this.finalData.length,i=this._values.length;i!==a&&(t=!0,i>a&&(this._values.length=this._indexes.length=a));for(var n=0;nt){this.wheels.splice(t).forEach(function(t){t.destroy()})}},_canConfirm:function(){return!this.pending&&this.wheels.every(function(t){return!t.isInTransition})},_getFlexOrder:function(t){return t[0]?t[0][this.orderKey]:0}},beforeDestroy:function(){this.wheels&&this.wheels.forEach(function(t){t.destroy()}),this.wheels=null},components:{CubePopup:p.default}},t.exports=e.default})},w3NF:function(t,e){},wIkl:function(t,e,a){function i(t){a("EKZ3")}var n=a("VU/8")(a("hC+w"),a("0XpD"),i,null,null);t.exports=n.exports},wKxo:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("cube-scroll",{ref:"scroll",staticClass:"outer-horizontal-scroll",attrs:{data:t.items1,direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},[t._l(t.items1,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}),t._v(" "),a("li",{staticClass:"list-item inner-horizontal-scroll"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.items2,nestMode:"free",direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},t._l(t.items2,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}))])],1),t._v(" "),t._l(t.items1,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])})],2)])],1)])])},staticRenderFns:[]}},wLKS:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("VKJd"),a("GQaK"),a("QMhb"),a("kVGr")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c),p={momentum:!1,click:!0,observeDOM:!1,bounce:!1};e.default={name:"cube-slide",mixins:[d.default,v.default],props:{data:{type:Array,default:function(){return[]}},initialIndex:{type:Number,default:0},loop:{type:Boolean,default:!0},threshold:{type:Number,default:.3},speed:{type:Number,default:400},autoPlay:{type:Boolean,default:!0},interval:{type:Number,default:4e3},showDots:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"},allowVertical:{type:Boolean,default:void 0,deprecated:{replacedBy:"options"}},stopPropagation:{type:Boolean,default:void 0,deprecated:{replacedBy:"options"}},refreshResetCurrent:{type:Boolean,default:!0}},data:function(){return{dots:0,currentPageIndex:this.initialIndex||0}},created:function(){var t=this;this._dataWatchers=[],["data","loop","autoPlay","options.eventPassthrough","threshold","speed","allowVertical"].forEach(function(e){t._dataWatchers.push(t.$watch(e,function(){"data"===e&&t._destroy(),t.$nextTick(function(){t.refresh()})}))})},watch:{initialIndex:function(t){t!==this.currentPageIndex&&this._goToPage(t)}},methods:{clickItem:function(t,e){this.$emit("click",t,e)},refresh:function(){null!==this.slide&&(this._destroy(),clearTimeout(this._timer),this.slide&&this.refreshResetCurrent&&(this.currentPageIndex=0),this._updateSlideDom(),this.showDots&&this._initDots(),this.currentPageIndex>=this.dots.length&&(this.currentPageIndex=this.dots.length-1),this._initSlide(),this.autoPlay&&this._play())},_destroy:function(){this.slide&&this.slide.destroy()},_refresh:function(){this._updateSlideDom(!0),this.slide.refresh()},_updateSlideDom:function(t){this._setSlideStyle(t)},_setSlideStyle:function(t){this.children=this.$refs.slideGroup.children;for(var e="horizontal"===this.direction?"width":"height",a=0,i=this.$refs.slide["client"+(e[0].toUpperCase()+e.slice(1))],n=this.children.length,l=0;l1&&(a+=2*i),this.$refs.slideGroup.style[e]=a+"px"},_initSlide:function(){var t=this,e="horizontal"===this.direction&&this.allowVertical?"vertical":"",a=(0,o.default)({},p,{scrollX:"horizontal"===this.direction,scrollY:"vertical"===this.direction,eventPassthrough:e,snap:{loop:this.loop,threshold:this.threshold,speed:this.speed},stopPropagation:this.stopPropagation},this.options);this.slide=new r.default(this.$refs.slide,a),this.slide.on("scrollEnd",this._onScrollEnd),this._goToPage(this.currentPageIndex,0),this.options.listenScroll&&3===this.options.probeType&&this.slide.on("scroll",this._onScroll);var i=this.$refs.slide;i.removeEventListener("touchend",this._touchEndEvent,!1),this._touchEndEvent=function(){t.autoPlay&&t._play()},i.addEventListener("touchend",this._touchEndEvent,!1),this.slide.on("beforeScrollStart",function(){t.autoPlay&&clearTimeout(t._timer)})},_onScrollEnd:function(){var t=this.slide.getCurrentPage(),e=t.pageX,a=t.pageY,i="horizontal"===this.direction?e:a;this.currentPageIndex!==i&&(this.currentPageIndex=i,this.$emit("change",i)),this.$emit("scroll-end",i),this.autoPlay&&this._play()},_onScroll:function(t){this.$emit("scroll",t)},_initDots:function(){this.dots=new Array(this.children.length)},_play:function(){var t=this;clearTimeout(this._timer),this._timer=setTimeout(function(){t.slide.next()},this.interval)},_deactivated:function(){clearTimeout(this._timer),clearTimeout(this._resizeTimer),window.removeEventListener("resize",this._resizeHandler);var t=this.$refs.slide;t&&t.removeEventListener("touchend",this._touchEndEvent,!1)},_resizeHandler:function(){var t=this;this.slide&&(clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(function(){t.slide.isInTransition?t._onScrollEnd():t.autoPlay&&t._play(),t._refresh()},60))},_goToPage:function(t,e){"horizontal"===this.direction?this.slide&&this.slide.goToPage(t,0,e):"vertical"===this.direction&&this.slide&&this.slide.goToPage(0,t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.refresh()}),window.addEventListener("resize",this._resizeHandler)},activated:function(){this.autoPlay&&this._play(),window.addEventListener("resize",this._resizeHandler)},deactivated:function(){this._deactivated()},destroyed:function(){this._deactivated(),this._destroy(),this.slide=null,this._dataWatchers.forEach(function(t){t()}),this._dataWatchers=null},components:{CubeSlideItem:s.default}},t.exports=e.default})},wOxr:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("TimePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},wT65:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bh5B")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},wYaX:function(t,e){},waH8:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("Z5VE"),a("d64j"),a("yIJW"),a("wih/"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c),f=o(u);e.default={name:"cube-cascade-picker",mixins:[r.default,d.default,v.default,p.default,f.default],props:{async:{type:Boolean,default:!1}},data:function(){return{cascadeData:this.data.slice(),pickerSelectedIndex:this.selectedIndex.slice(),pickerData:[],pending:!1}},created:function(){this._updatePickerData()},methods:{setData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.pending=!1,this.cascadeData=t.slice(),this.pickerSelectedIndex=e.slice(),this._updatePickerData()},_pickerSelect:function(t,e,a){this.$emit("select",t,e,a)},_pickerCancel:function(){this.$emit("cancel")},_pickerChange:function(t,e){e!==this.pickerSelectedIndex[t]&&(this.pickerSelectedIndex.splice(t,1,e),this.async?this.pending=t!==this.pickerData.length-1:this._updatePickerData(t+1)),this.$emit("change",t,e)},_updatePickerData:function(){for(var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=this.cascadeData,i=0;a;)i>=e&&function(){var n=[];a.forEach(function(e){n.push({value:e[t.valueKey],text:e[t.textKey],order:e[t.orderKey]})}),t.pickerData[i]=n,t.pickerSelectedIndex[i]=0===e?t.pickerSelectedIndex[i].5?t.items.unshift(h[1]):t.$refs.scroll.forceUpdate()},1e3)},onPullingUp:function(){var t=this;setTimeout(function(){if(Math.random()>.5){var e=h.slice(0,5);t.items=t.items.concat(e)}else t.$refs.scroll.forceUpdate()},1e3)},updatePullDownRefresh:function(t){this.pullDownRefresh=t},updatePullDownRefreshThreshold:function(t){this.pullDownRefreshThreshold=t},updatePullDownRefreshTxt:function(t){this.pullDownRefreshTxt=t},updatePullUpLoad:function(t){this.pullUpLoad=t},updatePullUpLoadThreshold:function(t){this.pullUpLoadThreshold=t},updatePullUpLoadMoreTxt:function(t){this.pullUpLoadMoreTxt=t},updatePullUpLoadNoMoreTxt:function(t){this.pullUpLoadNoMoreTxt=t},updateCustomPullDown:function(t){this.customPullDown=t},rebuildScroll:function(){var t=this;s.default.nextTick(function(){t.$refs.scroll.destroy(),t.$refs.scroll.initScroll()})}}},t.exports=e.default})},xUY6:function(t,e,a){function i(t){a("Bd0C")}var n=a("VU/8")(a("EF6b"),a("l43s"),i,null,null);t.exports=n.exports},"xV+0":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FOLLOWERS_DATA=[{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:1,question:"你可以左右滑动内容区域",answers:445,followers:1366},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:2,question:"你可以左右滑动内容区域",answers:67,followers:18},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:110,followers:1827},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:8,followers:200},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:7,followers:29}],t.RECOMMEND_DATA=[{question:"你可以左右滑动内容区域。",content:"你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域",answers:21,followers:2910},{question:"男生如何看待胖胖的女孩子?",content:"你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。然后出现如下对话: 他这么认真但是我真的严肃不起来,甚至有点想笑,莫名戳中萌点 (๑^o^๑) ———————————————————跑题啦,跑题啦,但是忍不住想说一下",answers:398,followers:10009},{question:"你最喜欢的句子是?",content:"1.无论走到哪儿,都没有必要那么着急,这条路很长,你不用这么快走完,你也不用担心,害怕,不要被眼前暂时的幻想迷住了眼睛,只管放心下来,踏踏实实地大胆迈步走,心立得住,身体才不会倾倒。我告诉你我喜欢你,并不是一定要和你在一起,只是希望今后的你。",answers:88,followers:1726},{question:"如何看待《权力的游戏》中的「泰温·兰尼斯特」?",content:"让楼上那些吹捧泰温的去维斯特洛种几天地,就知道泰温大人有多伟大了。“俺开了……以前俺开了……以前俺开了家酒馆,大人,在榭尔,就在石桥旁边。大家都说俺酿的麦酒是颈泽以南最好的,大人,请您见谅。可是大人,现在全都没了。他们进来喝饱以后又把剩下…",answers:62,followers:3940}],t.HOT_DATA=[{sequence:"01",label:"置顶",question:"了不起的新时代:世界竞争中的中国奇迹"},{sequence:"02",label:"4017万热度",question:"男性怎样不算「幼稚」?"},{sequence:"03",label:"587万热度",question:"有哪些视频让你突然感到恋爱了?"},{sequence:"04",label:"530万热度",question:"相亲见到前女友是一种怎样的体验?"},{sequence:"05",label:"536万热度",question:"哪个瞬间你觉得你的宠物爱上了你?"},{sequence:"06",label:"380万热度",question:"如果把四大名著的故事连成一串,会怎么样?"},{sequence:"07",label:"317万热度",question:"唱歌跑调的原因到底是什么?"},{sequence:"08",label:"280万热度",question:"高考之后,人生转弯"}],t.ALL_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"}],t.MELEE_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"大地之灵",avatar:"http://dota2dbpic.uuu9.com/e037c631-cddd-41e1-899d-36db1a7d3df5legion_commander_full.png"},{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"巨牙海民",avatar:"http://dota2dbpic.uuu9.com/970edd19-f2bb-40b5-b9d9-8b2d31a3cf03Tusk.gif"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"虚空假面",avatar:"http://dota2dbpic.uuu9.com/6add3463-d86a-43d8-ab96-b4211dcc3cacfv.jpg"},{name:"鱼人夜行者",avatar:"http://dota2dbpic.uuu9.com/739da86d-40e9-4e07-b48f-1a03a8a8a3e0sg.jpg"},{name:"地卜师",avatar:"http://dota2dbpic.uuu9.com/c86c22f9-5f71-4e2f-be85-591a685ec500meepo.jpg"},{name:"幽鬼",avatar:"http://dota2dbpic.uuu9.com/56d8d3f3-9c6b-429a-aace-226d5e7bd524tb.jpg"},{name:"幻影刺客",avatar:"http://dota2dbpic.uuu9.com/3fa185dd-95f5-4f9c-85aa-36b42b80e8bapa.jpg"},{name:"半人猛犸",avatar:"http://dota2dbpic.uuu9.com/3dcc13b7-cd12-46bc-8884-693aaa6ddc12123456.jpg"},{name:"司夜刺客",avatar:"http://dota2dbpic.uuu9.com/536d63ab-25a6-4b88-b052-2f20add0b32dNA.jpg"},{name:"不朽尸王",avatar:"http://dota2dbpic.uuu9.com/2946d072-dde3-4791-9385-d06f8bbd2d5aUndying.jpg"},{name:"育母蜘蛛",avatar:"http://dota2dbpic.uuu9.com/aeaa2836-ef80-4ec2-b3e0-a52a318887c1br.jpg"},{name:"混沌骑士",avatar:"http://dota2dbpic.uuu9.com/032f1369-e1cd-4279-8412-89666c21e1941234567.jpg"},{name:"血魔",avatar:"http://dota2dbpic.uuu9.com/530e6ca3-d04f-41b8-891d-b3ac021c9ee2bs.jpg"},{name:"狼人",avatar:"http://dota2dbpic.uuu9.com/9d8d4257-9f31-4bac-8054-e05e4ba573291234.jpg"},{name:"裂魂人",avatar:"http://dota2dbpic.uuu9.com/71821a46-b435-4845-8226-2f66853c5370123.png"},{name:"末日使者",avatar:"http://dota2dbpic.uuu9.com/28ecc276-5596-4fd6-ab3f-0a265afd8e77123456.png"},{name:"暗夜魔王",avatar:"http://dota2dbpic.uuu9.com/23f78a12-62cd-4b0a-9757-1be4fa94f9c5123456.png"},{name:"噬魂鬼",avatar:"http://dota2dbpic.uuu9.com/aa4f2d3d-c660-48b3-b931-74ce10fdfc721.jpg"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"兽王",avatar:"http://dota2dbpic.uuu9.com/523a7780-04aa-4b55-bc69-f46d4f37fff900.jpg"},{name:"骷髅王",avatar:"http://dota2dbpic.uuu9.com/bd925caa-6b96-4a08-9748-a19e8fe7c927wraith_king_hphover.png"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"鱼人守卫",avatar:"http://dota2dbpic.uuu9.com/d1e5938a-b248-45f0-9123-d6cf0be97c6bslardar_full.png"},{name:"流浪剑客",avatar:"http://dota2dbpic.uuu9.com/2bb589ad-9fa2-4093-8ec9-c2fcd12d14dc00.jpg"},{name:"沙王",avatar:"http://dota2dbpic.uuu9.com/0ae7f51a-4cca-43cb-9a7f-5d6b5ba5401612345.png"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"},{name:"敌法师",avatar:"http://dota2dbpic.uuu9.com/310d3227-3e5f-4132-bc93-8afac9d0d123am.gif"},{name:"斧王",avatar:"http://dota2dbpic.uuu9.com/09e8f2f6-4fa7-4870-ac05-7fb7f44510fafuwang.png"}],t.REMOTE_HEROES=[{name:"神谕者",avatar:"http://dota2dbpic.uuu9.com/2b1dc7ac-2c86-43f2-b743-61f53421bef814111513531135518.jpg"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"凤凰",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"炸弹人",avatar:"http://dota2dbpic.uuu9.com/255d33dc-f4ff-4ba3-87c9-0da0318676c82.png"},{name:"天怒法师",avatar:"http://dota2dbpic.uuu9.com/bc683519-2524-4323-b275-b11218259ae1Skywrath_Mage.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"沉默术士",avatar:"http://dota2dbpic.uuu9.com/255b198c-2a79-4376-b08f-b3a1783604ae00.jpg"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"光之守卫",avatar:"http://dota2dbpic.uuu9.com/bd53f004-dcc9-4110-88e8-01736209f2b6kotl.gif"},{name:"大魔导师",avatar:"http://dota2dbpic.uuu9.com/383f337c-3370-4d28-8443-081f5e95ce24gm.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"}],t.SUPPORT_HEROES=[{name:"地狱领主",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"凤凰",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"食人魔魔法师",avatar:"http://dota2dbpic.uuu9.com/7e5bbdf7-5b84-4822-90a9-8af67e46ad1c00.jpg"},{name:"沉默术士",avatar:"http://dota2dbpic.uuu9.com/255b198c-2a79-4376-b08f-b3a1783604ae00.jpg"},{name:"圣骑士",avatar:"http://dota2dbpic.uuu9.com/ff1c3144-67cc-40e0-a08c-e86111eaca4000.jpg"},{name:"光之守卫",avatar:"http://dota2dbpic.uuu9.com/bd53f004-dcc9-4110-88e8-01736209f2b6kotl.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"极寒幽魂",avatar:"http://dota2dbpic.uuu9.com/90fc8779-b850-47b4-8339-c76be659c645aa.jpg"},{name:"暗影牧师",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"水晶室女",avatar:"http://dota2dbpic.uuu9.com/0e06d8cf-5e9a-4c9c-b137-15fc301bee4ccm.gif"},{name:"术士",avatar:"http://dota2dbpic.uuu9.com/fbd48581-1c31-4077-8959-1ec0aae04eebwl.gif"},{name:"谜团",avatar:"http://dota2dbpic.uuu9.com/8761a23f-3238-43bf-bb03-5ecb892a4139Enigma.gif"},{name:"巫医",avatar:"http://dota2dbpic.uuu9.com/793a1a57-0fea-4395-aa86-5add327b337fwd.gif"}],t.MAGIC_HEROES=[{name:"神谕者",avatar:"http://dota2dbpic.uuu9.com/2b1dc7ac-2c86-43f2-b743-61f53421bef814111513531135518.jpg"},{name:"炸弹人",avatar:"http://dota2dbpic.uuu9.com/255d33dc-f4ff-4ba3-87c9-0da0318676c82.png"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"极寒幽魂",avatar:"http://dota2dbpic.uuu9.com/90fc8779-b850-47b4-8339-c76be659c645aa.jpg"},{name:"暗影牧师",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"风行者",avatar:"http://dota2dbpic.uuu9.com/8fe40b5e-58d2-491c-847d-6564e6a0a9b2WR.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"},{name:"仙女龙",avatar:"http://dota2dbpic.uuu9.com/3271d9a8-de10-4c25-9dff-52ca243c3654puck.gif"},{name:"遗忘法师",avatar:"http://dota2dbpic.uuu9.com/58a4b73c-882e-4e4d-9d5c-9499733f360dpugna.gif"},{name:"水晶室女",avatar:"http://dota2dbpic.uuu9.com/0e06d8cf-5e9a-4c9c-b137-15fc301bee4ccm.gif"}],t.JUNGLE_HEROES=[{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"圣骑士",avatar:"http://dota2dbpic.uuu9.com/ff1c3144-67cc-40e0-a08c-e86111eaca4000.jpg"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"狼人",avatar:"http://dota2dbpic.uuu9.com/9d8d4257-9f31-4bac-8054-e05e4ba573291234.jpg"},{name:"斧王",avatar:"http://dota2dbpic.uuu9.com/09e8f2f6-4fa7-4870-ac05-7fb7f44510fafuwang.png"}],t.GANK_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"}],t.TANK_HEROES=[{name:"孽主",avatar:"http://dota2dbpic.uuu9.com/279b4723-3701-4b2f-96e2-d755935777b6abyssal_underlord_hphover.png"},{name:"地狱领主",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"树精卫士",avatar:"http://dota2dbpic.uuu9.com/7f9a431a-5edc-470a-b4a3-370f89e51a8a00.jpg"},{name:"酒仙",avatar:"http://dota2dbpic.uuu9.com/72c84158-dfc3-4ee4-8dff-eaf9f8707b850.jpg"},{name:"炼金术士",avatar:"http://dota2dbpic.uuu9.com/531e12b3-0677-4739-b505-f6143fba7b6c00.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"龙骑士",avatar:"http://dota2dbpic.uuu9.com/4b7d218a-36e0-4ec6-8200-a6f5e5aad704000.jpg"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"山岭巨人",avatar:"http://dota2dbpic.uuu9.com/7da65f49-9894-4c0b-888b-00ce495cc909000.jpg"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"}],t.INVISIBLE_HEROES=[{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"月之公主",avatar:"http://dota2dbpic.uuu9.com/012f6fd5-6264-4a75-a7b5-087d04da9a57pom.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"鱼人夜行者",avatar:"http://dota2dbpic.uuu9.com/739da86d-40e9-4e07-b48f-1a03a8a8a3e0sg.jpg"},{name:"编织者",avatar:"http://dota2dbpic.uuu9.com/e8c69923-7795-4b67-b473-608b501423abNW.jpg"},{name:"司夜刺客",avatar:"http://dota2dbpic.uuu9.com/536d63ab-25a6-4b88-b052-2f20add0b32dNA.jpg"},{name:"育母蜘蛛",avatar:"http://dota2dbpic.uuu9.com/aeaa2836-ef80-4ec2-b3e0-a52a318887c1br.jpg"},{name:"骷髅弓箭手",avatar:"http://dota2dbpic.uuu9.com/1579d1ab-1dd1-4d64-ac88-26e821e4f209bone.jpg"},{name:"沙王",avatar:"http://dota2dbpic.uuu9.com/0ae7f51a-4cca-43cb-9a7f-5d6b5ba5401612345.png"}],t.CARRY_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"卓尔游侠",avatar:"http://dota2dbpic.uuu9.com/8317769a-4246-4a30-9404-3aacc87117dedr.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"},{name:"死亡先知",avatar:"http://dota2dbpic.uuu9.com/bfa5a815-e503-4c31-9027-0e21fab493f0qop.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"瘟疫法师",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"}],t.BLINK_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"},{name:"死亡先知",avatar:"http://dota2dbpic.uuu9.com/bfa5a815-e503-4c31-9027-0e21fab493f0qop.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"瘟疫法师",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"}],t.HIGH_DAMAGE_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"}],t.INVOKE_HEROES=[{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"卓尔游侠",avatar:"http://dota2dbpic.uuu9.com/8317769a-4246-4a30-9404-3aacc87117dedr.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"}],t.DIZZY_HEROES=[{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"树精卫士",avatar:"http://dota2dbpic.uuu9.com/7f9a431a-5edc-470a-b4a3-370f89e51a8a00.jpg"},{name:"酒仙",avatar:"http://dota2dbpic.uuu9.com/72c84158-dfc3-4ee4-8dff-eaf9f8707b850.jpg"},{name:"炼金术士",avatar:"http://dota2dbpic.uuu9.com/531e12b3-0677-4739-b505-f6143fba7b6c00.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"龙骑士",avatar:"http://dota2dbpic.uuu9.com/4b7d218a-36e0-4ec6-8200-a6f5e5aad704000.jpg"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"山岭巨人",avatar:"http://dota2dbpic.uuu9.com/7da65f49-9894-4c0b-888b-00ce495cc909000.jpg"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"}],t.HEALER_HEROES=[{name:"↵地狱领主↵",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"↵凤凰↵",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"↵魅惑魔女↵",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"↵暗影牧师↵",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"↵术士↵",avatar:"http://dota2dbpic.uuu9.com/fbd48581-1c31-4077-8959-1ec0aae04eebwl.gif"},{name:"↵主宰↵",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"↵瘟疫法师↵",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"},{name:"↵巫医↵",avatar:"http://dota2dbpic.uuu9.com/793a1a57-0fea-4395-aa86-5add327b337fwd.gif"},{name:"↵神灵武士↵",avatar:"http://dota2dbpic.uuu9.com/8aea3dbb-d148-4ce2-93dc-06c4aeef331800.jpg"},{name:"↵全能骑士↵",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"}]})},xYoV:function(t,e,a){function i(t){a("7t+P")}var n=a("VU/8")(a("1peF"),a("sZn4"),i,null,null);t.exports=n.exports},xomh:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={name:"cube-popup",mixins:[u.default,o.default],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},position:{type:String,default:""}},computed:{rootClass:function(){var t={"cube-popup_mask":this.mask};return this.type&&(t["cube-"+this.type]=!0),t},containerClass:function(){var t=this.center,e=this.position;return e?(0,c.default)({},"cube-popup-"+e,!0):t?{"cube-popup-center":!0}:void 0}},methods:{maskClick:function(t){this.$emit("mask-click",t),this.maskClosable&&this.hide()}}},t.exports=e.default})},xpS3:function(t,e){},xru3:function(t,e,a){function i(t){a("hTT9")}var n=a("VU/8")(a("7brH"),a("Y/GG"),i,null,null);t.exports=n.exports},"y7n+":function(t,e){},yADO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"toolbar",title:"Toolbar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"More Actions",value:t.more},on:{"update:value":t.updateMore}})],1)])]),t._v(" "),a("cube-toolbar",{attrs:{actions:t.actions,"more-actions":t.more?t.moreActions:void 0},on:{click:t.clickHandler}})],1)])},staticRenderFns:[]}},yB4N:function(t,e,a){var i=a("VU/8")(a("RO5T"),a("Y/JC"),null,null,null);t.exports=i.exports},yD4L:function(t,e){},yE9A:function(t,e,a){function i(t){a("JG9D")}var n=a("VU/8")(a("XJZo"),a("T+4J"),i,null,null);t.exports=n.exports},yIJW:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={value:"value",text:"text",order:"order"};e.default={props:{data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}},alias:{type:Object,default:function(){return{}}}},computed:{valueKey:function(){return this.alias.value||a.value},textKey:function(){return this.alias.text||a.text},orderKey:function(){return a.order},merge:function(){return[this.data,this.selectedIndex]}},watch:{merge:function(t){this.setData(t[0],t[1])}}},t.exports=e.default})},yb46:function(t,e,a){function i(t){a("O19e")}var n=a("VU/8")(a("tEcF"),a("Idn0"),i,null,null);t.exports=n.exports},yfBG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"textarea-view",title:"Textarea"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"textarea-wrapper"},[a("cube-textarea",{attrs:{disabled:t.disabled,maxlength:+t.maxlength||60,indicator:t.showIndicator?t.indicator:t.showIndicator,width:t.width||"300px"},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}}),t._v(" "),a("input-option",{staticClass:"item sub",attrs:{name:"maxlength",value:t.maxlength},on:{"update:value":t.updateMaxlength}}),t._v(" "),a("input-option",{staticClass:"item sub",attrs:{name:"width",value:t.width},on:{"update:value":t.updateWidth}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"indicator",value:t.showIndicator},on:{"update:value":t.updateIndicator}}),t._v(" "),t.showIndicator?a("switch-option",{staticClass:"item",attrs:{name:"negative",value:t.indicator.negative},on:{"update:value":t.updateIndicatorNegative}}):t._e(),t._v(" "),t.showIndicator?a("switch-option",{staticClass:"item",attrs:{name:"remain",value:t.indicator.remain},on:{"update:value":t.updateIndicatorRemain}}):t._e()],1)])])])])},staticRenderFns:[]}},yjF1:function(t,e,a){function i(t){a("lWcp")}var n=a("VU/8")(a("jjfl"),a("TLh3"),i,null,null);t.exports=n.exports},ymMH:function(t,e){},yu2v:function(t,e){},z16Y:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/ocq"),a("nb3f")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=new l.default({routes:c.default});e.default=u,t.exports=e.default})},zFE9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showPicker}},[t._v("Picker")]),t._v(" "),a("cube-button",{on:{click:t.showMutiPicker}},[t._v("Multi-column Picker")]),t._v(" "),a("cube-button",{on:{click:t.showAliasPicker}},[t._v("Use alias")]),t._v(" "),a("cube-button",{on:{click:t.showUpdatePropsPicker}},[t._v("Use $updateProps")]),t._v(" "),a("cube-button",{on:{click:t.showSubtitlePicker}},[t._v("Use subtitle")])],1)],1)])},staticRenderFns:[]}},zI96:function(t,e,a){function i(t){a("h20U")}var n=a("VU/8")(a("EzL5"),a("SWc7"),i,null,null);t.exports=n.exports},zQyI:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1"),a("yE9A")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);o.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},o.default.Button=c.default,o.default.Checkbox=u.default,e.default=o.default,t.exports=e.default})},zQzp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-compress",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Compress&Base64 upload: ")]),t._v(" "),a("div",[a("cube-upload",{ref:"upload",attrs:{action:t.action,"simultaneous-uploads":1,"process-file":t.processFile},on:{"file-submitted":t.fileSubmitted}})],1)])],2)},staticRenderFns:[]}},zZ81:function(t,e,a){var i=a("VU/8")(a("LXLj"),a("vfhA"),null,null,null);t.exports=i.exports},zbfp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"image-preview-def",title:"ImagePreview"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button-group",[a("cube-button",{on:{click:t.showImagePreview}},[t._v("Show ImagePreview")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("multi-images-preview")}}},[t._v("Show MultiImagePreview")]),t._v(" "),a("cube-button",{on:{click:t.showCustomImagePreview}},[t._v("Show Custom ImagePreview")])],1)],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},zefs:function(t,e){},zf5d:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Pull Down Refresh",value:t.pullDownRefresh},on:{"update:value":t.updatePullDownRefresh}}),t._v(" "),t.pullDownRefresh?a("input-option",{staticClass:"item sub first",attrs:{name:"threshold (≥ 40)",value:t.pullDownRefreshThreshold,"min-value":"40"},on:{"update:value":t.updatePullDownRefreshThreshold}}):t._e(),t._v(" "),t.pullDownRefresh?a("input-option",{staticClass:"item sub",attrs:{name:"txt",value:t.pullDownRefreshTxt},on:{"update:value":t.updatePullDownRefreshTxt}}):t._e(),t._v(" "),t.pullDownRefresh?a("switch-option",{staticClass:"item sub last",attrs:{name:"Custom Animation",value:t.customPullDown},on:{"update:value":t.updateCustomPullDown}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Pull Up Load",value:t.pullUpLoad},on:{"update:value":t.updatePullUpLoad}}),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub first",attrs:{name:"threshold",value:t.pullUpLoadThreshold},on:{"update:value":t.updatePullUpLoadThreshold}}):t._e(),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub",attrs:{name:"moreTxt",value:t.pullUpLoadMoreTxt},on:{"update:value":t.updatePullUpLoadMoreTxt}}):t._e(),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub last",attrs:{name:"noMoreTxt",value:t.pullUpLoadNoMoreTxt},on:{"update:value":t.updatePullUpLoadNoMoreTxt}}):t._e()],1)])]),t._v(" "),a("div",{staticClass:"demo"},[a("div",{staticClass:"title"},[t._v("Demo")]),t._v(" "),a("div",{staticClass:"scroll-list-wrap"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.items,options:t.options},on:{"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pulldown",fn:function(e){return t.customPullDown?[e.pullDownRefresh?a("div",{staticClass:"cube-pulldown-wrapper",style:e.pullDownStyle},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.beforePullDown,expression:"props.beforePullDown"}],staticClass:"before-trigger",style:{paddingTop:e.bubbleY+"px"}},[a("span",{class:{rotate:e.bubbleY>t.pullDownRefreshThreshold-40}},[t._v("↓")])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.beforePullDown,expression:"!props.beforePullDown"}],staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isPullingDown,expression:"props.isPullingDown"}],staticClass:"loading"},[a("cube-loading")],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isPullingDown,expression:"!props.isPullingDown"}],staticClass:"text"},[a("span",{staticClass:"refresh-text"},[t._v("Refresh success")])])])]):t._e()]:void 0}}])},[a("ul",{staticClass:"foods-wrapper"},t._l(t.items,function(e){return a("li",{staticClass:"food-item border-1px"},[a("div",{staticClass:"icon"},[a("img",{attrs:{width:"57",height:"57",src:e.icon}})]),t._v(" "),a("div",{staticClass:"food-content"},[a("h2",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("p",{staticClass:"description"},[t._v(t._s(e.description))]),t._v(" "),a("div",{staticClass:"extra"},[a("span",{staticClass:"count"},[t._v("月售"+t._s(e.sellCount)+"份")]),a("span",[t._v("好评率"+t._s(e.rating)+"%")])]),t._v(" "),a("div",{staticClass:"price"},[a("span",{staticClass:"now"},[t._v("¥"+t._s(e.price))]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.oldPrice,expression:"food.oldPrice"}],staticClass:"old"},[t._v("¥"+t._s(e.oldPrice))])])])])}))])],1)])])])},staticRenderFns:[]}},"zi/F":function(t,e){},ziJF:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"group",staticClass:"cube-checkbox-group",class:t.groupClass,attrs:{"data-horz":t.horizontal,"data-col":t.colNum>1}},[t._t("default",t._l(t.options,function(e,i){return a("cube-checkbox",{key:i,attrs:{option:e,shape:t.shape,position:t.position,"hollow-style":t.hollowStyle}})}))],2)},staticRenderFns:[]}},zuie:function(t,e,a){function i(t){a("OCZZ")}var n=a("VU/8")(a("QNIf"),a("3Xsx"),i,null,null);t.exports=n.exports}},["SrUm"]); \ No newline at end of file diff --git a/docs/example/js/app.4a7497145dcaa9509a7d.js b/docs/example/js/app.4a7497145dcaa9509a7d.js deleted file mode 100644 index 41dc434c8..000000000 --- a/docs/example/js/app.4a7497145dcaa9509a7d.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([0],{"+//L":function(t,e,a){function i(t){a("AM6A")}var n=a("VU/8")(a("BQwy"),a("lGNi"),i,null,null);t.exports=n.exports},"+8WV":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default,CubeButtonGroup:c.default},methods:{showTimePicker:function(){this.timePicker||(this.timePicker=this.$createTimePicker({onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.timePicker.show()},showConfigDayPicker:function(){this.configDayPicker||(this.configDayPicker=this.$createTimePicker({minuteStep:5,delay:10,day:{len:5,filter:["今天","明天"],format:"M月D日"},onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.configDayPicker.show()},showFormatPicker:function(){this.formatPicker||(this.formatPicker=this.$createTimePicker({format:"hh:mm",onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.formatPicker.show()},showMinuteStepPicker:function(){this.minuteStepPicker||(this.minuteStepPicker=this.$createTimePicker({minuteStep:{rule:"ceil",step:15},onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.minuteStepPicker.show()},showMinPicker:function(){this.minPicker||(this.minPicker=this.$createTimePicker({min:+new Date-84e5,onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.minPicker.show()},showMaxPicker:function(){this.maxPicker||(this.maxPicker=this.$createTimePicker({delay:0,max:+new Date+1812e5,onSelect:this.selectHandler,onCancel:this.cancelHandler})),this.maxPicker.show()},showSetTimePiker:function(){this.setTimePiker||(this.setTimePiker=this.$createTimePicker({onSelect:this.selectHandler,onCancel:this.cancelHandler}));var t=(new Date).valueOf()+864e5;this.setTimePiker.setTime(t),this.setTimePiker.show()},selectHandler:function(t,e,a){this.$createDialog({type:"warn",title:"selected time: "+t,content:"selected text: "+e+"
format time: "+a,icon:"cubeic-alert"}).show()},cancelHandler:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}}},t.exports=e.default})},"+Ghj":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addType=t.types=void 0;var a=/^(1|2)\d{3}[.\-\/]\d{1,2}[.\-\/]\d{1,2}$/,i={string:function(t){return"string"==typeof t},number:function(t){return!isNaN(Number(t))},array:function(t){return Array.isArray(t)},date:function(t){return!isNaN(Number(t))||a.test(t)},email:function(t){return"string"==typeof t&&/^[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)+$/i.test(t)},tel:function(t){return"string"==typeof t&&/^(11|13|14|15|17|18|19)[0-9]{9}$/.test(t)},url:function(t){return"string"==typeof t&&/(https?|ftp|file):\/\/[-A-Za-z0-9+&@#\/%?=~_|!:,.;]+[-A-Za-z0-9+&@#\/%=~_|]/.test(t)}},n=(0,e.createAddAPI)(i);t.types=i,t.addType=n})},"+HHY":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("2DUa")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-index-list-group",props:{group:{type:Object,default:function(){return{}}}},methods:{selectItem:function(t){this.$emit("select",t)}},components:{CubeIndexListItem:i.default}},t.exports=e.default})},"+HVL":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-drawer-item",props:{item:{type:[String,Object],default:""},index:{type:Number,default:-1}},computed:{itemClass:function(){return this.$parent.$parent.selectedIndex===this.index?"cube-drawer-item_active":""}},methods:{clickItem:function(t){this.$parent.$parent.itemClickHandler(t,this.index)}}},t.exports=e.default})},"+hyH":function(t,e,a){function i(t){a("OnXQ")}var n=a("VU/8")(a("fidG"),a("pAFF"),i,null,null);t.exports=n.exports},"+iBg":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={data:function(){return{customIndex:1,imgs:["https://dpubstatic.udache.com/static/dpubimg/XsZT-Ium9K/686d7361ly1fpha0mpd5uj21hc0tyws2.jpg","https://dpubstatic.udache.com/static/dpubimg/jM0pARr01R/686d7361ly1fpha0ncnnej21hc0zetxo.jpg","https://dpubstatic.udache.com/static/dpubimg/uesDMLn8ho/686d7361ly1fpha0mqvu5j21hc0zkgzz.jpg","https://dpubstatic.udache.com/static/dpubimg/yGntxcSqhM/686d7361ly1fpha0m3ufuj21hc0zkqbj.jpg"]}},methods:{showImagePreview:function(){this.$createImagePreview({imgs:this.imgs}).show()},showCustomImagePreview:function(){var t=this;this.$createImagePreview({imgs:this.imgs,initialIndex:this.customIndex,loop:!1,speed:500,onChange:function(e){t.customIndex=e},onHide:function(){console.log("hide")}},function(e){return e("div",{class:{"image-preview-custom-header":!0},slot:"header"},t.customIndex+1)}).show()},goTo:function(t){this.$router.push("/image-preview/"+t)}},components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default}},t.exports=e.default})},"+rJ6":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t,e,i,n){var l={year:"(Y+)",month:"(M+)",date:"(D+)",hour:"(h+)",minute:"(m+)",second:"(s+)",quarter:"(q+)",millisecond:"(S)"};if(new RegExp(l[t],n).test(e)){var c="year"===t?i.toString().substr(4-RegExp.$1.length):1===RegExp.$1.length?i:a(i);e=e.replace(RegExp.$1,c)}return e}function a(t){return("00"+t).substr((""+t).length)}function i(t,a){var i={year:{value:t.getFullYear(),regExpAttributes:"i"},month:{value:t.getMonth()+1},date:{value:t.getDate(),regExpAttributes:"i"},hour:{value:t.getHours(),regExpAttributes:"i"},minute:{value:t.getMinutes()},second:{value:t.getSeconds()},quarter:{value:Math.floor((t.getMonth()+3)/3),regExpAttributes:"i"},millisecond:{value:t.getMilliseconds()}};for(var n in i)a=e(n,a,i[n].value,i[n].regExpAttributes);return a}function n(t){var e=t.getFullYear(),a=t.getMonth()+1,i=t.getDate();return+new Date(e+"/"+a+"/"+i+" 00:00:00")}function l(t,e){return Math.floor((n(t)-n(e))/o)}function c(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function u(t,e){var a=30;return[1,3,5,7,8,10,12].indexOf(t)>-1?a=31:2===t&&(a=e&&e%400&&(e%4||!(e%100))?28:29),a}Object.defineProperty(t,"__esModule",{value:!0});var o=864e5;t.DAY_TIMESTAMP=o,t.HOUR_TIMESTAMP=36e5,t.MINUTE_TIMESTAMP=6e4,t.pad=a,t.formatType=e,t.formatDate=i,t.getZeroStamp=n,t.getDayDiff=l,t.getNow=c,t.computeNatureMaxDay=u})},"+vzD":function(t,e,a){var i=a("VU/8")(a("eC/x"),a("/7Xe"),null,null,null);t.exports=i.exports},"/5me":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("s0qb")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e,a){function n(e){clearTimeout(k),k=0,t.progress=1,t.status=e,a&&a(t)}function c(){var e=A.responseText||A.response;try{e=JSON.parse(e)}catch(t){}t.response=e,t.responseHeaders=A.getAllResponseHeaders()}var u=e.target,o=e.headers,s=void 0===o?{}:o,r=e.data,d=void 0===r?{}:r,v=e.fileName,p=void 0===v?"file":v,f=e.withCredentials,h=e.timeout,x=e.prop,y=void 0===x?"file":x,m=e.progressInterval,b=void 0===m?100:m,g=e.checkSuccess,_=void 0===g?function(){return!0}:g,w=(0,i.evalOpts)(u,t);t.progress=0,t.status=i.STATUS_UPLOADING;var A=new window.XMLHttpRequest;t._xhr=A;var k=0;if(A.upload){var C=Date.now();A.upload.onprogress=function(e){function a(){t.progress=e.loaded/e.total,C=Date.now()}if(e.total>0)if(k){clearTimeout(k);var i=Date.now(),n=i-C;n>=b?a():k=setTimeout(a,n)}else a(),k=1}}var T=new window.FormData,P=(0,i.evalOpts)(d,t);(0,l.default)(P).forEach(function(t){T.append(t,P[t])}),T.append(p,t[y]),A.onload=function(){if(A.status<200||A.status>=300)return void n(i.STATUS_ERROR);c();var e=t.response;if(_.length<=2){n(_(e,t)?i.STATUS_SUCCESS:i.STATUS_ERROR)}else _(e,t,function(t){n(t?i.STATUS_SUCCESS:i.STATUS_ERROR)})},A.onerror=function(){c(),n(i.STATUS_ERROR)},A.ontimeout=function(){c(),n(i.STATUS_ERROR)},A.open("POST",w,!0),f&&(A.withCredentials=!0);var j=(0,i.evalOpts)(s,t);(0,l.default)(j).forEach(function(t){A.setRequestHeader(t,j[t])}),h>0&&(A.timeout=h),A.send(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"/7Xe":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"picker",attrs:{data:t.cascadeData,"selected-index":t.selectedIndex,title:t._title,subtitle:t.subtitle,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},"/Ca3":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("t7U9"),a("UFDc"),a("4Gmg"),a("tJl4"),a("M7O5")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(l),d=o(c),v=o(u);e.default={name:"cube-form",mixins:[v.default],props:{action:String,model:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{scrollToInvalidField:!1,layout:d.default.STANDARD}}},immediateValidate:{type:Boolean,default:!1}},data:function(){return{validatedCount:0,dirty:!1,firstInvalidField:null,firstInvalidFieldIndex:-1}},computed:{fieldsModel:function(){var t={};return this.fields.forEach(function(e){e.isBtnField||(t[e.fieldValue.modelKey]=e.modelValue)}),t},groups:function(){var t=this.schema,e=t.groups||[];return t.fields&&e.unshift({fields:t.fields}),e},layout:function(){var t=this.options;return t&&t.layout||d.default.STANDARD},formClass:function(){var t=this.invalid,e=this.valid,a=this.layout;return{"cube-form_standard":a===d.default.STANDARD,"cube-form_groups":this.groups.length>1,"cube-form_validating":this.validating,"cube-form_pending":this.pending,"cube-form_valid":e,"cube-form_invalid":t,"cube-form_classic":a===d.default.CLASSIC,"cube-form_fresh":a===d.default.FRESH}}},watch:{validatedCount:function(){this.$emit("validate",{validity:this.validity,valid:this.valid,invalid:this.invalid,dirty:this.dirty,firstInvalidFieldIndex:this.firstInvalidFieldIndex})}},beforeCreate:function(){this.form=this,this.fields=[],this.validity={}},mounted:function(){this.immediateValidate&&this.validate()},methods:{submit:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.skipValidate=t,(0,i.dispatchEvent)(this.$refs.form,"submit"),this.skipValidate=!1},reset:function(){(0,i.dispatchEvent)(this.$refs.form,"reset")},submitHandler:function(t){var e=this;if(this.syncValidatorValues(),this.skipValidate)return void this.$emit("submit",t,this.model,this.fieldsModel);var a=function(a){a?(e.$emit("valid",e.validity),e.$emit("submit",t,e.model,e.fieldsModel)):(t.preventDefault(),e.$emit("invalid",e.validity))};void 0===this.valid?(this._submit(a),(this.validating||this.pending)&&t.preventDefault()):a(this.valid)},resetHandler:function(t){this._reset(),this.$emit("reset",t)},_submit:function(t){var e=this;this.validate(function(){e.invalid&&e.options.scrollToInvalidField&&e.firstInvalidField&&e.firstInvalidField.$el.scrollIntoView(),t&&t(e.valid)})},_reset:function(){this.fields.forEach(function(t){t.reset()}),this.setValidity(),this.setValidating(),this.setPending()},syncValidatorValues:function(){this.fields.forEach(function(t){t.syncValidatorValue()})},validate:function(t){var e=this,a=(0,n.cb2PromiseWithResolve)(t);a&&(t=a.resolve);var i=0,l=this.fields.length;return this.originValid=void 0,this.fields.forEach(function(a){a.validate(function(){++i===l&&t&&t(e.valid)})}),a},updateValidating:function(){var t=this.fields.some(function(t){return t.validating});this.setValidating(t)},updatePending:function(){var t=this.fields.some(function(t){return t.pending});this.setPending(t)},setValidating:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.validating=t},setPending:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pending=t},updateValidity:function(t,e,a,i){var n=this.validity[t];n&&n.valid===e&&n.result===a&&n.dirty===i||this.setValidity(t,{valid:e,result:a,dirty:i})},setValidity:function(t,e){var a={};t&&((0,s.default)(a,this.validity),void 0===e?delete a[t]:a[t]=e);var i=!1,n=!1,l=!0,c="";this.fields.forEach(function(t){var e=t.fieldValue.modelKey;if(e){var u=a[e];u?(u.dirty&&(i=!0),!1===u.valid?l=!1:l&&!u.valid&&(l=u.valid),n||!1!==u.valid||(n=!0,c=e)):t.hasRules&&(l&&(l=void 0),a[e]={valid:void 0,result:{},dirty:!1})}}),this.validity=a,this.dirty=i,this.originValid=l,this.setFirstInvalid(c),this.validatedCount++},setFirstInvalid:function(t){var e=this;if(!t)return this.firstInvalidField=null,void(this.firstInvalidFieldIndex=-1);this.fields.some(function(a,i){if(a.fieldValue.modelKey===t)return e.firstInvalidField=a,e.firstInvalidFieldIndex=i,!0})},addField:function(t){this.fields.push(t),this.setValidity(t.fieldValue.modelKey)},destroyField:function(t){var e=this.fields.indexOf(t);this.fields.splice(e,1),this.setValidity(t.fieldValue.modelKey)}},beforeDestroy:function(){this.form=null,this.firstInvalidField=null},components:{CubeFormGroup:r.default}},t.exports=e.default})},"/O1a":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{ref:"rateContainer",staticClass:"cube-rate",class:t.rateClass,on:{touchstart:function(e){return e.stopPropagation(),t.handleStart(e)},touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.handleMove(e)},touchend:function(e){return e.stopPropagation(),t.handleEnd(e)},mousedown:function(e){return e.stopPropagation(),t.handleStart(e)},mousemove:function(e){return e.stopPropagation(),t.handleMove(e)},mouseup:function(e){return e.stopPropagation(),t.handleEnd(e)}}},[t._t("default",t._l(t.max,function(t){return a("cube-rate-item",{key:t,attrs:{index:t}})}))],2)},staticRenderFns:[]}},"/Pfp":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("N/gd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"/QTU":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"button-view",title:"Button"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("form",{attrs:{action:"/"}},[a("cube-button-group",[a("cube-button",[t._v("Button")]),t._v(" "),a("cube-button",{attrs:{type:"submit"}},[t._v("Submit Button")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{active:!0}},[t._v("Active Button")]),t._v(" "),a("cube-button",{attrs:{disabled:!0}},[t._v("Disabled Button")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{icon:"cubeic-right"}},[t._v("Button With Icon")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{light:!0}},[t._v("Light Button")]),t._v(" "),a("cube-button",{attrs:{inline:!0}},[t._v("Inline Button")]),t._v(" "),a("cube-button",{attrs:{outline:!0}},[t._v("Outline Button")]),t._v(" "),a("cube-button",{attrs:{primary:!0}},[t._v("Primary Button")])],1),t._v(" "),a("div",[a("cube-checkbox-group",{attrs:{horizontal:!0},model:{value:t.buttonStyle,callback:function(e){t.buttonStyle=e},expression:"buttonStyle"}},[a("cube-checkbox",{attrs:{label:"inline"}},[t._v("Inline")]),t._v(" "),a("cube-checkbox",{attrs:{label:"outline"}},[t._v("Outline")]),t._v(" "),a("cube-checkbox",{attrs:{label:"primary"}},[t._v("Primary")])],1),t._v(" "),a("cube-button-group",[a("cube-button",{attrs:{inline:t.inlineStyle,outline:t.outlineStyle,primary:t.primaryStyle}},[t._v("Demo Button")])],1)],1)],1)])])},staticRenderFns:[]}},"/Yrh":function(t,e,a){function i(t){a("2wFx")}var n=a("VU/8")(a("0+e1"),a("1IbW"),i,null,null);t.exports=n.exports},"/kdh":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("+//L"),a("UFDc"),a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a),c=(0,n.prefixStyle)("transform");e.default={name:"cube-tab-panels",props:{value:{type:[String,Number]},data:{type:Array,default:function(){return[]}}},created:function(){this.panels=[]},mounted:function(){this._move(this.value)},methods:{_move:function(t){var e=(0,i.findIndex)(this.panels,function(e){return e.value===t});if(-1!==e){var a=this.$refs.panelsGroup,n=-100*e;a.style[c]="translateX("+n+"%)"}},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);e>-1&&this.panels.splice(e,1)}},watch:{value:function(t){this._move(t)}},components:{TabPanel:l.default}},t.exports=e.default})},"0+e1":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9"),a("UFDc"),a("Ct0e")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(n),c=(0,a.prefixStyle)("transform"),u=(0,a.prefixStyle)("transition");e.default={name:"cube-tab-bar",components:{CubeTab:l.default},props:{value:{type:[String,Number],required:!0},data:{type:Array,default:function(){return[]}},inline:{type:Boolean,default:!1},showSlider:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0}},watch:{value:function(){this._updateSliderStyle()}},created:function(){this.tabs=[]},mounted:function(){this._updateSliderStyle(),window.addEventListener("resize",this._resizeHandler)},activated:function(){window.addEventListener("resize",this._resizeHandler)},deactivated:function(){this._cleanUp()},beforeDestroy:function(){this._cleanUp()},methods:{addTab:function(t){this.tabs.push(t)},removeTab:function(t){var e=this.tabs.indexOf(t);e>-1&&this.tabs.splice(e,1)},trigger:function(t){var e=this;if(this.$emit("click",t),t!==this.value){["input","change"].forEach(function(a){e.$emit(a,t)})}},_updateSliderStyle:function(){var t=this;if(this.showSlider){var e=this.$refs.slider;this.$nextTick(function(){var a=t._getSliderWidthAndIndex(),i=a.width,n=a.index;e.style.width=i+"px",t.setSliderTransform(t._getOffsetLeft(n))})}},setSliderTransform:function(t){var e=this.$refs.slider;"number"==typeof t&&(t+="px"),e&&(this.useTransition&&(e.style[u]=c+" 0.2s linear"),e.style[c]="translateX("+t+") translateZ(0)")},_getSliderWidthAndIndex:function(){var t=this,e=0,a=0;return this.tabs.length>0&&(a=(0,i.findIndex)(this.tabs,function(e){return e.value===t.value}),e=this.tabs[a].$el.clientWidth),{width:e,index:a}},_getOffsetLeft:function(t){return this.tabs[t].$el.offsetLeft||0},_resizeHandler:function(){var t=this;clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(function(){t._updateSliderStyle()},60)},_cleanUp:function(){clearTimeout(this._resizeTimer),window.removeEventListener("resize",this._resizeHandler)}}},t.exports=e.default})},"07pW":function(t,e,a){function i(t){a("BPg9")}var n=a("VU/8")(a("0ht6"),a("9y2D"),i,"data-v-65e7f3ef",null);t.exports=n.exports},"0Fj/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-native",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY,"check-top":t.checkTop}},[a("div",{staticClass:"scroll-ele",on:{scroll:t.scrollHandler}},[a("ul",[a("li",[t._v("title")])]),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("222")]),t._v(" "),a("li",[t._v("222")])])]),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("333")])])]),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1)])],1)])],2)},staticRenderFns:[]}},"0I1X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=(0,a.prefixStyle)("flexBasis");e.default={props:{colNum:{type:Number,default:1}},watch:{colNum:{immediate:!0,handler:function(t){var e=this;if(t<=1)return"";this.$nextTick(function(){var a=100/t+"%";Array.prototype.forEach.call(e.$refs.group.children,function(t){t.style[i]=a})})}}}},t.exports=e.default})},"0MDc":function(t,e){},"0MNC":function(t,e,a){function i(t){a("QIDF")}var n=a("VU/8")(a("CIqy"),a("L+7R"),i,null,null);t.exports=n.exports},"0NVV":function(t,e){t.exports=[{name:"热门",items:[{value:"002J4UUk29y8BY",name:"薛之谦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002J4UUk29y8BY.jpg?max_age=2592000"},{value:"0025NhlN2yWrP4",name:"周杰伦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000025NhlN2yWrP4.jpg?max_age=2592000"},{value:"004AlfUb0cVkN1",name:"BIGBANG (빅뱅)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004AlfUb0cVkN1.jpg?max_age=2592000"},{value:"003Nz2So3XXYek",name:"陈奕迅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Nz2So3XXYek.jpg?max_age=2592000"},{value:"001BLpXF2DyJe2",name:"林俊杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001BLpXF2DyJe2.jpg?max_age=2592000"},{value:"0020PeOh4ZaCw1",name:"Alan Walker (艾伦·沃克)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020PeOh4ZaCw1.jpg?max_age=2592000"},{value:"000aHmbL2aPXWH",name:"李荣浩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aHmbL2aPXWH.jpg?max_age=2592000"},{value:"000zmpju02bEBm",name:"TFBOYS",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000zmpju02bEBm.jpg?max_age=2592000"},{value:"001JuGrt372YIQ",name:"Maroon 5 (魔力红乐团)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JuGrt372YIQ.jpg?max_age=2592000"},{value:"000CK5xN3yZDJt",name:"许嵩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CK5xN3yZDJt.jpg?max_age=2592000"}]},{name:"A",items:[{value:"0020PeOh4ZaCw1",name:"Alan Walker (艾伦·沃克)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020PeOh4ZaCw1.jpg?max_age=2592000"},{value:"003ArN8Z0WpjTz",name:"A-Lin",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003ArN8Z0WpjTz.jpg?max_age=2592000"},{value:"003CoxJh1zFPpx",name:"Adele (阿黛尔)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003CoxJh1zFPpx.jpg?max_age=2592000"}]},{name:"B",items:[{value:"004AlfUb0cVkN1",name:"BIGBANG (빅뱅)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004AlfUb0cVkN1.jpg?max_age=2592000"},{value:"002pUZT93gF4Cu",name:"BEYOND",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002pUZT93gF4Cu.jpg?max_age=2592000"},{value:"003LaMHm42u7qS",name:"本兮",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003LaMHm42u7qS.jpg?max_age=2592000"},{value:"003DBAjk2MMfhR",name:"BLACKPINK",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003DBAjk2MMfhR.jpg?max_age=2592000"}]},{name:"C",items:[{value:"003Nz2So3XXYek",name:"陈奕迅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Nz2So3XXYek.jpg?max_age=2592000"},{value:"004DFS271osAwp",name:"陈小春",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004DFS271osAwp.jpg?max_age=2592000"},{value:"000jnR7q3pCzYG",name:"Charlie Puth (查理·普斯)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000jnR7q3pCzYG.jpg?max_age=2592000"},{value:"004EyqQS2hMS6V",name:"陈翔",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004EyqQS2hMS6V.jpg?max_age=2592000"},{value:"000hNnWC3kko2c",name:"蔡健雅",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000hNnWC3kko2c.jpg?max_age=2592000"}]},{name:"E",items:[{value:"000yDAjj2TE9j8",name:"Eminem (艾米纳姆)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000yDAjj2TE9j8.jpg?max_age=2592000"}]},{name:"F",items:[{value:"003CKb192ggBqi",name:"Fall Out Boy (打倒男孩)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003CKb192ggBqi.jpg?max_age=2592000"},{value:"003vyG9q2klWs4",name:"范玮琪",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003vyG9q2klWs4.jpg?max_age=2592000"}]},{name:"G",items:[{value:"001fNHEf1SFEFN",name:"G.E.M. 邓紫棋",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001fNHEf1SFEFN.jpg?max_age=2592000"},{value:"000t2qd13dLpae",name:"G-DRAGON (权志龙)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000t2qd13dLpae.jpg?max_age=2592000"},{value:"002OfR3n1vx75j",name:"葛林",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002OfR3n1vx75j.jpg?max_age=2592000"},{value:"0043Zxw10txf5O",name:"郭静",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000043Zxw10txf5O.jpg?max_age=2592000"}]},{name:"H",items:[{value:"002Vcz8F2hpBQj",name:"华晨宇",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002Vcz8F2hpBQj.jpg?max_age=2592000"},{value:"002mze3U0NYXOM",name:"胡夏",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002mze3U0NYXOM.jpg?max_age=2592000"},{value:"004QoDUs3jfOC6",name:"韩安旭",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004QoDUs3jfOC6.jpg?max_age=2592000"}]},{name:"J",items:[{value:"002DYpxl3hW3EP",name:"Justin Bieber (贾斯汀·比伯)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002DYpxl3hW3EP.jpg?max_age=2592000"},{value:"004YXxql1sSr2o",name:"金志文",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004YXxql1sSr2o.jpg?max_age=2592000"},{value:"0023ni2j3F9CpN",name:"Jam",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000023ni2j3F9CpN.jpg?max_age=2592000"},{value:"001m7JoC1IVL44",name:"金南玲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001m7JoC1IVL44.jpg?max_age=2592000"}]},{name:"K",items:[{value:"002Sm9iK4RIsCr",name:"筷子兄弟",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002Sm9iK4RIsCr.jpg?max_age=2592000"}]},{name:"L",items:[{value:"001BLpXF2DyJe2",name:"林俊杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001BLpXF2DyJe2.jpg?max_age=2592000"},{value:"000aHmbL2aPXWH",name:"李荣浩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aHmbL2aPXWH.jpg?max_age=2592000"},{value:"001SqkF53OEhdO",name:"鹿晗",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001SqkF53OEhdO.jpg?max_age=2592000"},{value:"001f0VyZ1hmWZ1",name:"林宥嘉",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001f0VyZ1hmWZ1.jpg?max_age=2592000"},{value:"002xpOdd4Dh6pu",name:"李易峰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002xpOdd4Dh6pu.jpg?max_age=2592000"},{value:"002ZOuVm3Qn20Y",name:"李宇春",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002ZOuVm3Qn20Y.jpg?max_age=2592000"},{value:"002seUhN1Akj7J",name:"李圣杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002seUhN1Akj7J.jpg?max_age=2592000"},{value:"003bQEFA3KrvLI",name:"刘瑞琦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003bQEFA3KrvLI.jpg?max_age=2592000"},{value:"003aQYLo2x8izP",name:"刘德华",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003aQYLo2x8izP.jpg?max_age=2592000"},{value:"003nS2v740Lxcw",name:"李克勤",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003nS2v740Lxcw.jpg?max_age=2592000"}]},{name:"M",items:[{value:"001JuGrt372YIQ",name:"Maroon 5 (魔力红乐团)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JuGrt372YIQ.jpg?max_age=2592000"},{value:"0035kILA0ydw3j",name:"MC天佑",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000035kILA0ydw3j.jpg?max_age=2592000"},{value:"000WbpKa3WokLD",name:"MC魏小然",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000WbpKa3WokLD.jpg?max_age=2592000"},{value:"000cISVf2QqLc6",name:"莫文蔚",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000cISVf2QqLc6.jpg?max_age=2592000"},{value:"003wWQBU0fHBcj",name:"马旭东",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003wWQBU0fHBcj.jpg?max_age=2592000"},{value:"003rJfMG3PPqWd",name:"萌萌哒天团",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003rJfMG3PPqWd.jpg?max_age=2592000"}]},{name:"N",items:[{value:"003LCFXH0eodXv",name:"那英",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003LCFXH0eodXv.jpg?max_age=2592000"},{value:"003ZQQb64D5317",name:"南征北战",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003ZQQb64D5317.jpg?max_age=2592000"},{value:"0012bj8d36Xkw1",name:"牛奶咖啡",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000012bj8d36Xkw1.jpg?max_age=2592000"}]},{name:"O",items:[{value:"002a1DuK4evNsR",name:"Owl City (猫头鹰之城)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002a1DuK4evNsR.jpg?max_age=2592000"},{value:"001FXn5P0kkWfV",name:"One Direction (单向组合)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001FXn5P0kkWfV.jpg?max_age=2592000"}]},{name:"P",items:[{value:"000mLAT42CFWNa",name:"朴树",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000mLAT42CFWNa.jpg?max_age=2592000"},{value:"003vSrlp0ujV6o",name:"鹏泊",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003vSrlp0ujV6o.jpg?max_age=2592000"}]},{name:"Q",items:[{value:"0030RkE50nmpWC",name:"曲婉婷",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000030RkE50nmpWC.jpg?max_age=2592000"},{value:"0020IaUo4Vgsjk",name:"齐一",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000020IaUo4Vgsjk.jpg?max_age=2592000"},{value:"000H4xDG3heHtr",name:"齐晨",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000H4xDG3heHtr.jpg?max_age=2592000"}]},{name:"R",items:[{value:"000f1b6W1wzyRN",name:"RADWIMPS (ラッドウィンプス)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000f1b6W1wzyRN.jpg?max_age=2592000"},{value:"002MiBdR19HQWx",name:"Rihanna (蕾哈娜)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002MiBdR19HQWx.jpg?max_age=2592000"}]},{name:"S",items:[{value:"000Q4W691sMvLG",name:"苏打绿",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000Q4W691sMvLG.jpg?max_age=2592000"},{value:"001oXbjs29oPul",name:"孙子涵",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001oXbjs29oPul.jpg?max_age=2592000"},{value:"004KKLWZ4320g1",name:"宋冬野",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004KKLWZ4320g1.jpg?max_age=2592000"},{value:"001pWERg3vFgg8",name:"孙燕姿",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001pWERg3vFgg8.jpg?max_age=2592000"},{value:"001t94rh4OpQn0",name:"双笙",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001t94rh4OpQn0.jpg?max_age=2592000"}]},{name:"T",items:[{value:"000zmpju02bEBm",name:"TFBOYS",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000zmpju02bEBm.jpg?max_age=2592000"},{value:"001ByAsv3XCdgm",name:"田馥甄",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001ByAsv3XCdgm.jpg?max_age=2592000"},{value:"004ABIFV1EZUAj",name:"The Chainsmokers (烟民二人组)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004ABIFV1EZUAj.jpg?max_age=2592000"},{value:"000ndQx82fsq8Z",name:"Tez Cadey",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000ndQx82fsq8Z.jpg?max_age=2592000"},{value:"001Yxpxc0OaUUX",name:"逃跑计划",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001Yxpxc0OaUUX.jpg?max_age=2592000"},{value:"000QG95i2rHlOf",name:"谭晶",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000QG95i2rHlOf.jpg?max_age=2592000"}]},{name:"W",items:[{value:"001JDzPT3JdvqK",name:"王力宏",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001JDzPT3JdvqK.jpg?max_age=2592000"},{value:"002yeznU3VAVEV",name:"吴亦凡",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002yeznU3VAVEV.jpg?max_age=2592000"},{value:"001z2JmX09LLgL",name:"汪苏泷",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001z2JmX09LLgL.jpg?max_age=2592000"},{value:"000GDDuQ3sGQiT",name:"王菲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000GDDuQ3sGQiT.jpg?max_age=2592000"},{value:"000CQ06r24Naco",name:"Wiz Khalifa (维兹·卡利法)",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CQ06r24Naco.jpg?max_age=2592000"},{value:"001adLDR1SS40P",name:"汪峰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001adLDR1SS40P.jpg?max_age=2592000"},{value:"001WcO2V0TLCv3",name:"威仔",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001WcO2V0TLCv3.jpg?max_age=2592000"}]},{name:"X",items:[{value:"002J4UUk29y8BY",name:"薛之谦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002J4UUk29y8BY.jpg?max_age=2592000"},{value:"000CK5xN3yZDJt",name:"许嵩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000CK5xN3yZDJt.jpg?max_age=2592000"},{value:"004bsIDK0awMOv",name:"萧敬腾",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004bsIDK0awMOv.jpg?max_age=2592000"},{value:"00235pCx2tYjlq",name:"许巍",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M00000235pCx2tYjlq.jpg?max_age=2592000"},{value:"004aRKga0CXIPm",name:"徐良",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004aRKga0CXIPm.jpg?max_age=2592000"},{value:"001oNMzI3WznzG",name:"夏婉安",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001oNMzI3WznzG.jpg?max_age=2592000"},{value:"002LZVMH0zc8F4",name:"徐佳莹",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002LZVMH0zc8F4.jpg?max_age=2592000"}]},{name:"Y",items:[{value:"003tMm0y0TuewY",name:"杨宗纬",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003tMm0y0TuewY.jpg?max_age=2592000"},{value:"004coWV04C5FCV",name:"杨洋",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004coWV04C5FCV.jpg?max_age=2592000"},{value:"004FtTNW2b0tJi",name:"雨宗林",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004FtTNW2b0tJi.jpg?max_age=2592000"},{value:"001IoTZp19YMDG",name:"易烊千玺",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000001IoTZp19YMDG.jpg?max_age=2592000"}]},{name:"Z",items:[{value:"0025NhlN2yWrP4",name:"周杰伦",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000025NhlN2yWrP4.jpg?max_age=2592000"},{value:"002azErJ0UcDN6",name:"张杰",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002azErJ0UcDN6.jpg?max_age=2592000"},{value:"003Cn3Yh16q1MO",name:"庄心妍",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003Cn3Yh16q1MO.jpg?max_age=2592000"},{value:"0003ZpE43ypssl",name:"张碧晨",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000003ZpE43ypssl.jpg?max_age=2592000"},{value:"004Be55m1SJaLk",name:"张学友",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004Be55m1SJaLk.jpg?max_age=2592000"},{value:"000aw4WC2EQYTv",name:"张靓颖",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000aw4WC2EQYTv.jpg?max_age=2592000"},{value:"003JGrNQ3RjelA",name:"张惠妹",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003JGrNQ3RjelA.jpg?max_age=2592000"},{value:"004NMZuf2BLjg8",name:"周传雄",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004NMZuf2BLjg8.jpg?max_age=2592000"},{value:"0000mFvh1jtLcz",name:"张信哲",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000000mFvh1jtLcz.jpg?max_age=2592000"},{value:"0044wQXL0ElWF1",name:"张宇",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000044wQXL0ElWF1.jpg?max_age=2592000"},{value:"004eaDNU1nfRO0",name:"张磊",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000004eaDNU1nfRO0.jpg?max_age=2592000"},{value:"002raUWw3PXdkT",name:"张韶涵",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000002raUWw3PXdkT.jpg?max_age=2592000"},{value:"0042kZuh1dgLre",name:"周二珂",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M0000042kZuh1dgLre.jpg?max_age=2592000"},{value:"003AfDK34H82GU",name:"张敬轩",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000003AfDK34H82GU.jpg?max_age=2592000"},{value:"000SJp6n49rDgl",name:"张赫宣",avatar:"https://y.gtimg.cn/music/photo_new/T001R300x300M000000SJp6n49rDgl.jpg?max_age=2592000"}]}]},"0PCq":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("Dd8w"),a("Kjwe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t){var e=(0,l.default)({},t);return(0,c.default)(e),e}Object.defineProperty(t,"__esModule",{value:!0}),t.processField=void 0;var l=i(e),c=i(a);t.processField=n})},"0Rlg":function(t,e){},"0XpD":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"radio-view",title:"Radio"}},[a("template",{slot:"content"},[a("cube-radio-group",{attrs:{options:t.options},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected))]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options2,position:"right","hollow-style":!0},model:{value:t.selected2,callback:function(e){t.selected2=e},expression:"selected2"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected2))]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options3,horizontal:!0},model:{value:t.selected3,callback:function(e){t.selected3=e},expression:"selected3"}}),t._v(" "),a("p",[t._v("selected value: "+t._s(t.selected3))]),t._v(" "),a("cube-radio-group",{model:{value:t.selected4,callback:function(e){t.selected4=e},expression:"selected4"}},t._l(t.options4,function(t,e){return a("cube-radio",{key:e,attrs:{option:t}},[a("img",{attrs:{src:t.src}})])})),t._v(" "),a("p",[t._v("selected img: "+t._s(t.selected4))]),t._v(" "),a("hr"),t._v(" "),a("cube-input",{attrs:{placeholder:"Input column number"},model:{value:t.colNum,callback:function(e){t.colNum=e},expression:"colNum"}},[a("div",{staticStyle:{paddingLeft:"10px"},attrs:{slot:"prepend"},slot:"prepend"},[t._v(" Column number:")])]),t._v(" "),a("cube-radio-group",{attrs:{options:t.options5,"col-num":Math.floor(t.colNum)},model:{value:t.selected5,callback:function(e){t.selected5=e},expression:"selected5"}})],1)],2)},staticRenderFns:[]}},"0ht6":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"HelloWorld",data:function(){return{msg:"scroll - textarea demo",options:{scrollbar:!0,preventDefaultException:{className:/(^|\s)(editable-div|textarea-native)(\s|$)/,tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/}},optionsOuter:{preventDefaultException:{className:/(^|\s)(editable-div|textarea-native)(\s|$)/,tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|P)$/}},placeholder:"Please type here...",divValue:"",textareaValue:"",isFocusNative:!1,isFocusDiv:!1}},computed:{textareaValueCount:function(){return this.textareaValue.length},divValueCount:function(){return this.divValue.length}},mounted:function(){this.textareaInitHeight=window.getComputedStyle(this.$refs.textarea).height,console.log("textareaInitHeight: ",this.textareaInitHeight)},methods:{onInputDiv:function(t){this.divValue=t.target.innerText;var e=this.$refs.divWrapScroll;this.oldHeightDiv!==e.$el.scrollHeight&&this.goToRightPositon(e,e.$el)},onInputNative:function(){var t=this.$refs.textarea,e=this.$refs.nativeWrapScroll;t.style.height=this.textareaInitHeight,t.style.height=t.scrollHeight+"px",this.oldHeightNative!==t.scrollHeight&&this.goToRightPositon(e,t)},goToRightPositon:function(t,e){var a=this;this.$nextTick(function(){var i=a.oldHeightDiv?e.scrollHeight-a.oldHeightDiv:0;a.oldHeightDiv=e.scrollHeight,t.refresh(),t.$el.scrollTop=0;var n=t.scroll.y,l=t.scroll.maxScrollY,c=n!==l?Math.max(Math.min(n-i,0),l):n;t.scrollTo(0,c,100)})},onFocusNative:function(){this.isFocusNative=!0},onBlurNative:function(){this.isFocusNative=!1},onFocusDiv:function(){this.isFocusDiv=!0},onBlurDiv:function(){this.isFocusDiv=!1}},components:{CubePage:i.default}},t.exports=e.default})},"0l/c":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showDefault:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",data:[{content:"align - center",class:"cube-foo"},{content:"align - left",align:"left"},{content:"align - right",align:"right"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()}}),this.actionSheet.show()},showActive:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",active:0,data:[{content:"舒适型"},{content:"七座商务"},{content:"豪华型"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()},onCancel:function(){t.$createToast({txt:"Clicked canceled",type:"warn",time:1e3}).show()}}),this.actionSheet.show()},showPickerStyle:function(){var t=this;this.actionSheet=this.$createActionSheet({title:"我是标题~~~",pickerStyle:!0,data:[{content:"舒适型"},{content:"七座商务"},{content:"豪华型"}],onSelect:function(e,a){t.$createToast({txt:"Clicked "+e.content,type:"correct",time:1e3}).show()},onCancel:function(){t.$createToast({txt:"Clicked canceled",type:"warn",time:1e3}).show()}}),this.actionSheet.show()}},components:{CubePage:l.default,CubeButtonGroup:c.default}},t.exports=e.default})},"0wrK":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/Yrh"),a("Ct0e")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Tab=c.default,e.default=l.default,t.exports=e.default})},"13Xo":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-index-list"},[a("cube-scroll",{ref:"scroll",attrs:{"scroll-events":t.scrollEvents,options:t.scrollOptions,data:t.data},on:{scroll:t.scroll,"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pullup",fn:function(e){return t.$slots.pullup||t.$scopedSlots.pullup?[t._t("pullup",null,{pullUpLoad:e.pullUpLoad,isPullUpLoad:e.isPullUpLoad})]:void 0}},{key:"pulldown",fn:function(e){return t.$slots.pulldown||t.$scopedSlots.pulldown?[t._t("pulldown",null,{pullDownRefresh:e.pullDownRefresh,pullDownStyle:e.pullDownStyle,beforePullDown:e.beforePullDown,isPullingDown:e.isPullingDown,bubbleY:e.bubbleY})]:void 0}}])},[a("div",{ref:"content",staticClass:"cube-index-list-content"},[t.hasTitle?a("h1",{ref:"title",staticClass:"cube-index-list-title",on:{click:t.titleClick}},[t._t("title",[t._v(t._s(t.title))])],2):t._e(),t._v(" "),a("ul",[t._t("default",t._l(t.data,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e},on:{select:t.selectItem}})}))],2)])]),t._v(" "),t.navbar?a("div",{staticClass:"cube-index-list-nav",on:{touchstart:t.onShortcutTouchStart,touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.onShortcutTouchMove(e)}}},[a("ul",{staticClass:"cube-index-list-nav-list"},t._l(t.shortcutList,function(e,i){return a("li",{key:i,staticClass:"cube-index-list-nav-item",class:{active:t.currentIndex===i},attrs:{"data-index":i}},[t._t("nav-item",[t._v(t._s(e))],{item:e})],2)}))]):t._e(),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.fixedTitle,expression:"fixedTitle"}],ref:"fixed",staticClass:"cube-index-list-fixed cube-index-list-anchor",domProps:{innerHTML:t._s(t.fixedTitle)}})],1)},staticRenderFns:[]}},"1BqV":function(t,e,a){function i(t){a("XD3M")}var n=a("VU/8")(a("qgol"),a("W61h"),i,null,null);t.exports=n.exports},"1H2N":function(t,e,a){function i(t){a("g7er")}var n=a("VU/8")(a("5D5k"),a("FTiD"),i,null,null);t.exports=n.exports},"1IbW":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-tab-bar",class:{"cube-tab-bar_inline":t.inline}},[t._t("default",t._l(t.data,function(t,e){return a("cube-tab",{key:t.value||t.label,attrs:{label:t.label,value:t.value,icon:t.icon}})})),t._v(" "),t.showSlider?a("div",{ref:"slider",staticClass:"cube-tab-bar-slider"}):t._e()],2)},staticRenderFns:[]}},"1KaO":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-loading"},[a("span",{staticClass:"cube-loading-spinners",style:t.style},t._l(t.balde,function(t){return a("i",{staticClass:"cube-loading-spinner"})}))])},staticRenderFns:[]}},"1Ty8":function(t,e){},"1Vb/":function(t,e,a){function i(t){a("P5JG")}var n=a("VU/8")(a("RkVv"),a("LdqJ"),i,"data-v-73578a67",null);t.exports=n.exports},"1Zrt":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e,a){var i=t.rules&&t.rules[e];"custom"!==e&&i&&"function"!=typeof i&&(t.rules[e]=a)},a=function(t){return function(a,i){return e(a,t,i)}}("required"),i=function(t){return a(t,function(t){return!1!==t})},n=function(t){return a(t,function(t){return t>0})};t.boolRequiredHandler=i,t.numberGT0RequiredHandler=n})},"1btU":function(t,e,a){function i(t){a("K9Wg")}var n=a("VU/8")(a("ulou"),a("neus"),i,null,null);t.exports=n.exports},"1j+8":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("1Vb/"),a("6SSl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n),s={url:"http://www.didichuxing.com/",image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide03.png"};e.default={data:function(){return{items:[{image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide01.png"},{image:"//webapp.didistatic.com/static/webapp/shield/cube-ui-examples-slide02.png"}],loop:!0,autoPlay:!0,interval:4e3,threshold:.3,speed:400,allowVertical:!1,initialIndex:1,dotsSlot:!1,addItem3:!1}},computed:{options:function(){return{eventPassthrough:this.allowVertical?"vertical":""}}},watch:{addItem3:function(t){t?this.items.push(s):this.items.pop()}},methods:{changePage:function(t){console.log("当前轮播图序号为:"+t)},clickPage:function(t,e){console.log(t,e)},updateItem3:function(t){this.addItem3=t},updateLoop:function(t){this.loop=t},updateDotsSlot:function(t){this.dotsSlot=t},updateAutoPlay:function(t){this.autoPlay=t},updateInterval:function(t){(t=+t)&&(this.interval=t)},updateThreshold:function(t){(t=+t)&&(this.threshold=t)},updateSpeed:function(t){(t=+t)&&(this.speed=t)},updateAllowVertical:function(t){this.allowVertical=t},updateInitialIndex:function(t){t&&(this.initialIndex=+t)}},components:{CubePage:c.default,SwitchOption:u.default,InputOption:o.default}},t.exports=e.default})},"1peF":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("fZjL"),a("UFDc"),a("aDIA"),a("4KJe"),a("E61+")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(c),v=o(u);e.default={name:"cube-validator",mixins:[d.default],props:{model:{required:!0},modelKey:{type:String,default:""},rules:{type:Object,default:function(){return{}}},messages:{type:[Object,String],default:function(){return{}}},value:{},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!1}},data:function(){return{valid:this.value,validated:!1,msg:"",dirty:!1,validating:!1,result:{}}},computed:{targetModel:function(){var t=this.modelKey,e=this.model;return t?e[t]:e},invalid:function(){var t=this.valid;return(0,n.isUndef)(t)?void 0:!t},isDisabled:function(){var t=this.disabled,e=(0,r.default)(this.rules).length<=0;return t||e},dirtyOrValidated:function(){return(this.dirty||this.validated)&&!this.validating},containerClass:function(){if(!this.isDisabled)return{"cube-validator_invalid":this.invalid,"cube-validator_valid":this.valid,"cube-validator_validating":this.validating}}},watch:{value:function(t){this.valid=t},targetModel:{handler:function(){this.isDisabled||(this.dirty||(this.dirty=!0),this.validate())},sync:!0},rules:function(){this.validate()},isDisabled:function(t){t||!this.trigger||this.validated||this.validate()}},created:function(){this._validateCount=0,!this.isDisabled&&this.immediate&&this.validate()},methods:{validate:function(t){var e=(0,n.cb2PromiseWithResolve)(t);if(e&&(t=e.resolve),this.isDisabled)return t&&t(this.valid),e;this._validateCount++;var a=this._validateCount,i=this.targetModel,c=this.rules,u=c.type,o=[],r=!0;if(c.required||(r=l.rules.required(i,!0,u)),r){for(var d in c)!function(t){var e=c[t],a=void 0;a=(0,n.isFunc)(e)?e(i,c[t],u):!l.rules[t]||l.rules[t](i,c[t],u),o.push(function(e){var i=function(a){e({key:t,valid:!0===a,ret:a})},l=function(a){e({key:t,valid:!1,ret:a})};"object"===(void 0===a?"undefined":(0,s.default)(a))&&(0,n.isFunc)(a.then)?a.then(i).catch(l):(0,n.isFunc)(a)?a(i,l):e({key:t,valid:!0===a,ret:a})})}(d)}return this._checkTasks(o,a,t),e},_checkTasks:function(t,e,a){var i=this,l=this.rules,c=!0,u={},o=!0;this.validating=!0;var s=this.targetModel;(0,n.parallel)(t,function(t){i._validateCount===e&&(i.validating=!1,t.forEach(function(t){var e=t.key,a=t.valid,o=t.ret,r=i.messages[e]?(0,n.isFunc)(i.messages[e])?i.messages[e](o,a):i.messages[e]:i.findMessage(e,l[e],l.type,s);c&&!a&&(c=!1,i.msg=r),u[e]={valid:a,invalid:!a,message:r}}),o||i.$emit("validated",c),i._updateModel(c,u),a&&a(i.valid))}),this.validating&&(o=!1,this.$emit("validating"),this.valid=void 0,this.$emit("input",this.valid))},_updateModel:function(t,e){this.validated=!0,this.result=e,e.required&&e.required.invalid&&(this.msg=e.required.message),t&&(this.msg=""),this.valid=t,this.$emit("input",this.valid)},reset:function(){this._validateCount++,this.validating=!1,this.dirty=!1,this.result={},this.msg="",this.validated=!1,this.valid=void 0,this.$emit("input",this.valid)},msgClickHandler:function(){this.$emit("msg-click")},findMessage:function(t,e,a,i){var l=this.$cubeMessages,c=this.$cubeLang,u=l[c].validator[t];return u?(0,n.isString)(u)?u:(0,n.isFunc)(u)?u(e):(u[a]||(a=(0,n.isArray)(i)?"array":void 0===i?"undefined":(0,s.default)(i)),"function"==typeof u[a]?u[a](e):(0,v.default)(u[a],e)):""}}},t.exports=e.default})},"1y26":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-input",class:{"cube-input_active":t.isFocus}},[t.$slots.prepend?a("div",{staticClass:"cube-input-prepend"},[t._t("prepend")],2):t._e(),t._v(" "),"checkbox"===t._type?a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:[function(e){var a=t.inputValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.inputValue=a.concat([null])):l>-1&&(t.inputValue=a.slice(0,l).concat(a.slice(l+1)))}else t.inputValue=n},t.changeHander]}},"input",t.$props,!1)):"radio"===t._type?a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t.handleFocus,blur:t.handleBlur,change:[function(e){t.inputValue=null},t.changeHander]}},"input",t.$props,!1)):a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:t._type},domProps:{value:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:t.changeHander,input:function(e){e.target.composing||(t.inputValue=e.target.value)}}},"input",t.$props,!1)),t._v(" "),t.$slots.append||t._showClear||t._showPwdEye?a("div",{staticClass:"cube-input-append"},[t._showClear?a("div",{staticClass:"cube-input-clear",on:{touchend:t.handleClear}},[a("i",{staticClass:"cubeic-wrong"})]):t._e(),t._v(" "),t._showPwdEye?a("div",{staticClass:"cube-input-eye",on:{click:t.handlePwdEye}},[a("i",{class:t.eyeClass})]):t._e(),t._v(" "),t._t("append")],2):t._e()])},staticRenderFns:[]}},"1ze/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"slide-view",title:"Slide"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"slide-container-v"},[a("cube-slide",{attrs:{data:t.items,loop:t.loop,showDots:!1,direction:"vertical"},on:{change:t.change}})],1)])])},staticRenderFns:[]}},"2DUa":function(t,e,a){function i(t){a("D11v")}var n=a("VU/8")(a("3SPU"),a("FzF9"),i,null,null);t.exports=n.exports},"2iSa":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showAlert:function(){this.dialog=this.$createDialog({type:"alert",title:"我是标题",content:"我是内容",icon:"cubeic-alert"}),this.dialog.show()},showPrompt:function(){var t=this;this.dialog=this.$createDialog({type:"prompt",title:"我是标题",prompt:{placeholder:"请输入"},onConfirm:function(e,a){t.$createToast({type:"warn",time:1e3,txt:"Prompt value: "+(a||"")}).show()}}),this.dialog.show()},showBtn:function(){var t=this;this.dialog=this.$createDialog({type:"confirm",icon:"cubeic-alert",title:"我是标题",content:"我是内容",confirmBtn:{text:"确定按钮",active:!0,disabled:!1,href:"javascript:;"},cancelBtn:{text:"取消按钮",active:!1,disabled:!1,href:"javascript:;"},onConfirm:function(){t.$createToast({type:"warn",time:1e3,txt:"点击确认按钮"}).show()},onCancel:function(){t.$createToast({type:"warn",time:1e3,txt:"点击取消按钮"}).show()}}),this.dialog.show()},showClose:function(){var t=this;this.dialog=this.$createDialog({type:"alert",icon:"cubeic-alert",showClose:!0,title:"标题",onClose:function(){t.$createToast({type:"warn",time:1e3,txt:"点击关闭按钮"}).show()}}),this.dialog.show()},showSlot:function(){this.dialog=this.$createDialog({type:"alert",confirmBtn:{text:"我知道了",active:!0}},function(t){return[t("div",{class:{"my-title":!0},slot:"title"},[t("div",{class:{"my-title-img":!0}}),t("p","附近车少,优选出租车将来接您")]),t("p",{class:{"my-content":!0},slot:"content"},"价格仍按快车计算")]}),this.dialog.show()}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},"2ql2":function(t,e){},"2wFx":function(t,e){},"34KM":function(t,e){},"3BKo":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{multiple:{type:Boolean,default:!0},accept:{type:String,default:"image/*"}}},t.exports=e.default})},"3SPU":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="cube-index-list-item_active";e.default={name:"cube-index-list-item",props:{item:{type:Object,default:function(){return{}}}},computed:{itemClass:function(){return this.item.active?i:""}},methods:{addActiveCls:function(t){(0,a.addClass)(t.currentTarget,i)},removeActiveCls:function(t){(0,a.removeClass)(t.currentTarget,i)},selectItem:function(){this.$emit("select",this.item)}}},t.exports=e.default})},"3Xsx":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"formItem",staticClass:"cube-form-item border-bottom-1px",class:t.itemClass},[t.isBtnField?a("cube-button",t._g(t._b({},"cube-button",t.fieldValue.props,!1),t.fieldValue.events),[t._v(t._s(t.fieldValue.label))]):[t._t("label",[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fieldValue.label,expression:"fieldValue.label"}],staticClass:"cube-form-label"},[a("span",[t._v(t._s(t.fieldValue.label))])])]),t._v(" "),t.hasRules?a("cube-validator",{ref:"validator",staticClass:"cube-form-field",attrs:{disabled:t.validatorDisabled,model:t.validatorModel,"model-key":t.validatorModelKey,rules:t.fieldValue.rules,messages:t.fieldValue.messages},on:{input:t.validatorChangeHandler,validating:t.validatingHandler,validated:t.validatedHandler,"msg-click":t.msgClick},model:{value:t.originValid,callback:function(e){t.originValid=e},expression:"originValid"}},[t._t("default",[a(t.componentName,t._g(t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1),t.fieldValue.events))])],2):a("div",{staticClass:"cube-form-field"},[t._t("default",[a(t.componentName,t._g(t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1),t.fieldValue.events))])],2)]],2)},staticRenderFns:[]}},"3Yuc":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-page",class:t.type},[a("header",{staticClass:"header"},[a("h1",[t._v(t._s(t.title))]),t._v(" "),a("i",{staticClass:"cubeic-back",on:{click:t.back}})]),t._v(" "),a("div",{staticClass:"wrapper"},[a("section",{directives:[{name:"show",rawName:"v-show",value:t.desc,expression:"desc"}],staticClass:"desc"},[t._t("desc",[t._v(t._s(t.desc))])],2),t._v(" "),a("main",{staticClass:"content"},[t._t("content",[t._v(t._s(t.content))])],2)])])},staticRenderFns:[]}},"3jWI":function(t,e,a){function i(t){a("3uWI")}var n=a("VU/8")(a("X4T+"),a("enXm"),i,null,null);t.exports=n.exports},"3kPI":function(t,e,a){function i(t){a("nocm")}var n=a("VU/8")(a("Lg4b"),a("m4tM"),i,null,null);t.exports=n.exports},"3uWI":function(t,e){},"3ubT":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("5/tf"),a("agqa"),a("5KkG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Panel=u.default,c.default.Item=o.default,e.default=c.default,t.exports=e.default})},"41pN":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yjF1"),a("0I1X")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-checkbox-group",mixins:[c.default],props:{value:{type:Array},horizontal:{type:Boolean,default:!1},shape:{type:String,default:"circle"},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}},min:{type:Number,default:0},max:{type:Number,default:1/0}},data:function(){return{_value:[],_checkboxGroup:!0}},computed:{groupClass:function(){if(!this.horizontal||this.colNum>1)return"border-top-1px border-bottom-1px"}},watch:{value:{immediate:!0,handler:function(t,e){this._value=this.value.concat()}}},mounted:function(){var t=this;this.$on("checked",function(e){t._value.lengtht.min){var a=t._value.indexOf(e);t._value.splice(a,1)}t.$emit("input",t._value)})},components:{CubeCheckbox:l.default}},t.exports=e.default})},"4BV0":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.easeOutBack="cubic-bezier(0.18, 0.89, 0.32, 1.28)",t.easeOutQuart="cubic-bezier(0.165, 0.84, 0.44, 1)",t.easeOutCubic="cubic-bezier(0.22, 0.61, 0.36, 1)"})},"4BmD":function(t,e,a){function i(t){a("V8x2")}var n=a("VU/8")(a("xIPZ"),a("zf5d"),i,null,null);t.exports=n.exports},"4CSM":function(t,e){},"4Gmg":function(t,e,a){function i(t){a("6SD/")}var n=a("VU/8")(a("f/6s"),a("A/pu"),i,null,null);t.exports=n.exports},"4KJe":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("j9ag"),a("UFDc"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={computed:{$t:function(){var t=this.$cubeLang,e=this.$cubeMessages[t];return(0,i.isUndef)(e)?((0,n.warn)("Translation is not registered correctly, you can call Locale.use() to install it."),""):function(t){return(0,i.parsePath)(e,t)}}},beforeCreate:function(){l.default.install(this.$root.constructor)}},t.exports=e.default})},"4Kqh":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["timeout"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"4OFj":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll",title:"Scroll"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[a("span",{staticClass:"scroll-example"},[t._v("1. Default")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("horizontal")}}},[a("span",{staticClass:"scroll-example"},[t._v("2. Horizontal")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("config")}}},[a("span",{staticClass:"scroll-example"},[t._v("3. Customized")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("jd")}}},[a("span",{staticClass:"scroll-example"},[t._v("4. JD")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("toutiao")}}},[a("span",{staticClass:"scroll-example"},[t._v("5. Toutiao")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("v-scrolls")}}},[a("span",{staticClass:"scroll-example"},[t._v("6. Vertical scrolls")])]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("h-scrolls")}}},[a("span",{staticClass:"scroll-example"},[t._v("7. Horizontal scrolls")])])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"4eWE":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe",title:"Swipe"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"4g/6":function(t,e){},"4gT0":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={methods:{changeHander:function(t){this.$emit("change",t)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()}}},t.exports=e.default})},"4sRm":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("3BKo")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-upload-btn",mixins:[i.default],methods:{changeHandler:function(t){var e=t.currentTarget,a=e.files;a&&(this.$parent.addFiles(a),e.value=null)}}},t.exports=e.default})},"4xIg":function(t,e,a){function i(t){a("MFKK")}var n=a("VU/8")(a("XlLO"),a("ZCFR"),i,null,null);t.exports=n.exports},"5/tf":function(t,e,a){function i(t){a("N3Wc")}var n=a("VU/8")(a("kLzu"),a("HgRm"),i,null,null);t.exports=n.exports},"57KX":function(t,e){},"58Ml":function(t,e,a){function i(t){a("wYaX")}var n=a("VU/8")(a("jnfQ"),a("br84"),i,null,null);t.exports=n.exports},"5BnR":function(t,e){},"5D5k":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("1Vb/")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{type:"password",value:"",disabled:!1,useClear:!0,maxlength10:!1,clearBlurHidden:!0,readonly:!1,isPwd:!0,showEye:!0,pwdVisible:!0,reverse:!1}},computed:{clearable:function(){return{visible:this.useClear,blurHidden:this.clearBlurHidden}},eye:function(){return!(!this.isPwd||!this.showEye)&&{open:this.reverse?!this.pwdVisible:this.pwdVisible,reverse:this.reverse}}},watch:{value:function(t){var e=this;this.maxlength10&&t.length>10&&(t=t.slice(0,10),this.$nextTick(function(){e.value=t}))}},methods:{updateDisabled:function(t){this.disabled=t},updateReadonly:function(t){this.readonly=t},updateUseClear:function(t){this.useClear=t},updateBlurHidden:function(t){this.clearBlurHidden=t},updateMaxLength:function(t){this.maxlength10=t},updatePwd:function(t){this.isPwd=t,this.type=this.isPwd?"password":"text"},updateShowEye:function(t){this.showEye=t},updatePwdVisible:function(t){this.pwdVisible=t},updateReverse:function(t){this.reverse=t}},components:{CubePage:l.default,SwitchOption:c.default}},t.exports=e.default})},"5Fev":function(t,e,a){function i(t){a("I6++")}var n=a("VU/8")(a("Dw/u"),a("Szk3"),i,"data-v-7605c0c2",null);t.exports=n.exports},"5HTY":function(t,e,a){var i=a("VU/8")(a("eWUu"),a("C/x+"),null,null,null);t.exports=i.exports},"5KkG":function(t,e,a){function i(t){a("mNkZ")}var n=a("VU/8")(a("+HVL"),a("FccO"),i,null,null);t.exports=n.exports},"5MeU":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checkbox-group-view",title:"CheckboxGroup"}},[a("template",{slot:"content"},[a("cube-checkbox-group",{attrs:{options:t.options},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}}),t._v(" "),a("p",[t._v("checkList value : "+t._s(t.checkList))]),t._v(" "),a("br"),t._v(" "),a("cube-checkbox-group",{attrs:{options:t.options,horizontal:!0,position:"right",shape:"square","hollow-style":!0},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}}),t._v(" "),a("br"),t._v(" "),a("cube-checkbox-group",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("cube-checkbox",{attrs:{option:"1"}},[a("i",[t._v("Checkbox 1")])]),t._v(" "),a("cube-checkbox",{attrs:{option:"2"}},[a("i",[t._v("Checkbox 2")])]),t._v(" "),a("cube-checkbox",{attrs:{option:{value:"3",disabled:!0}}},[a("i",[t._v("Disabled Checkbox")])]),t._v(" "),a("cube-checkbox",{attrs:{option:{value:"4",disabled:!0}}},[a("i",[t._v("Disabled & Checked Checkbox")])])],1),t._v(" "),a("br"),t._v(" "),a("cube-input",{attrs:{placeholder:"Input column number"},model:{value:t.colNum,callback:function(e){t.colNum=e},expression:"colNum"}},[a("div",{staticStyle:{paddingLeft:"10px"},attrs:{slot:"prepend"},slot:"prepend"},[t._v(" Column number:")])]),t._v(" "),a("cube-checkbox-group",{attrs:{options:t.colOptions,"col-num":Math.floor(t.colNum)},model:{value:t.colCheckList,callback:function(e){t.colCheckList=e},expression:"colCheckList"}}),t._v(" "),a("br")],1)],2)},staticRenderFns:[]}},"5Raf":function(t,e){},"5VLA":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/scroll-nav/"+t)}}},t.exports=e.default})},"5WX7":function(t,e){},"5e0o":function(t,e,a){function i(t){a("R1uw")}var n=a("VU/8")(a("DLo4"),a("mS3r"),i,null,null);t.exports=n.exports},"5qoB":function(t,e,a){var i,n,l;!function(c,u){n=[e,a("fZjL"),a("pFYg"),a("UFDc"),a("+Ghj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.addRule=t.rules=void 0;var c=l(e),u=l(a),o={required:function(t,e,a){return a=a||(Array.isArray(t)?"array":void 0===t?"undefined":(0,u.default)(t)),"array"===a&&Array.isArray(t)?t.length>0:""!==t&&void 0!==t&&null!==t},type:function(t,e){return!n.types[e]||n.types[e](t)},min:function(t,e,a){return a=a||(void 0===t?"undefined":(0,u.default)(t)),"number"===a||"date"===a?Number(t)>=e:t.length>=e},max:function(t,e,a){return a=a||(void 0===t?"undefined":(0,u.default)(t)),"number"===a||"date"===a?Number(t)<=e:t.length<=e},len:function(t,e,a){a=a||(void 0===t?"undefined":(0,u.default)(t));var i=t;return void 0===i.length&&(i="object"===a?(0,c.default)(i):String(i)),i.length===e},notWhitespace:function(t,e,a){return!/^\s+$/.test(t)},pattern:function(t,e,a){return e.test(t)},custom:function(t,e,a){return e(t)}},s=(0,i.createAddAPI)(o);t.rules=o,t.addRule=s})},"5ri1":function(t,e){},"64cm":function(t,e){},"6BWR":function(t,e){},"6G1g":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("piyO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"6KDq":function(t,e,a){function i(t){a("A794")}var n=a("VU/8")(a("I7KL"),a("5MeU"),i,null,null);t.exports=n.exports},"6SD/":function(t,e){},"6SSl":function(t,e,a){function i(t){a("Z7ln")}var n=a("VU/8")(a("eAlP"),a("IWr1"),i,"data-v-2295ccaf",null);t.exports=n.exports},"6WIs":function(t,e,a){function i(t){return a(n(t))}function n(t){var e=l[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var l={"./avatar0.png":"Uz7t","./avatar1.png":"bJvT","./avatar2.png":"j/9N","./avatar3.png":"kl+Y","./avatar4.png":"E37f","./avatar5.png":"F7um"};i.keys=function(){return Object.keys(l)},i.resolve=n,t.exports=i,i.id="6WIs"},"6boj":function(t,e,a){function i(t){a("rR3D")}var n=a("VU/8")(a("TdZF"),a("fUkQ"),i,null,null);t.exports=n.exports},"6liq":function(t,e,a){var i=a("VU/8")(a("+HHY"),a("tYAf"),null,null,null);t.exports=i.exports},"77Ud":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"time-picker-view",title:"TimePicker(时间选择器)"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showTimePicker}},[t._v("TimePicker")]),t._v(" "),a("cube-button",{on:{click:t.showConfigDayPicker}},[t._v("Config day options")]),t._v(" "),a("cube-button",{on:{click:t.showFormatPicker}},[t._v("Config format")]),t._v(" "),a("cube-button",{on:{click:t.showMinuteStepPicker}},[t._v("Config minute step")]),t._v(" "),a("cube-button",{on:{click:t.showMinPicker}},[t._v("Config min")]),t._v(" "),a("cube-button",{on:{click:t.showMaxPicker}},[t._v("Config max")]),t._v(" "),a("cube-button",{on:{click:t.showSetTimePiker}},[t._v("Use setTime")])],1)],1)])},staticRenderFns:[]}},"794M":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"action-sheet-view",title:"ActionSheet(操作列表)"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDefault}},[t._v("ActionSheet")]),t._v(" "),a("cube-button",{on:{click:t.showActive}},[t._v("ActionSheet - active")]),t._v(" "),a("cube-button",{on:{click:t.showPickerStyle}},[t._v("ActionSheet - picker style")])],1)],1)])},staticRenderFns:[]}},"7ErG":function(t,e,a){function i(t){a("5ri1")}var n=a("VU/8")(a("kZnE"),a("kXYV"),i,null,null);t.exports=n.exports},"7Sku":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("+hyH")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"7brH":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("QMhb"),a("5e0o"),a("1BqV"),a("bh5B"),a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);e.default={name:"cube-scroll-nav",provide:function(){return{scrollNav:this}},mixins:[o.default],props:{data:{type:Array},speed:{type:Number,default:300},side:{type:Boolean,default:!1},current:{type:[String,Number],default:""}},data:function(){return{scrollEvents:["scroll","scroll-end"],scrollY:0,panels:[],active:this.current,pageStickyOffset:0}},computed:{labels:function(){return this.panels.map(function(t){return t.label})},barTxts:function(){return this.panels.map(function(t){return t.title})},barDirection:function(){return this.side?"vertical":"horizontal"}},watch:{current:function(t){this.stickyCurrent=t,this.active=t,this.jumpTo(t)},active:function(t){this.$emit("change",t)}},created:function(){this.navBar=null,this.stickyCurrent=this.current},mounted:function(){var t=this;this.$nextTick(function(){if(t.side){var e=t.$refs.pageSticky.$refs.fixedEle;t.$refs.scroll.$el.appendChild(e)}t.current||(t.active=t.stickyCurrent=t.labels[0]),t.refresh(),t.jumpTo(t.current)})},methods:{scrollTo:function(){this.$refs.scroll&&this.$refs.scroll.scrollTo.apply(this.$refs.scroll,arguments)},refresh:function(){this.navBar&&this.navBar.refresh(),this.$refs.sticky.refresh(),this.$refs.pageSticky.refresh(),this.pageStickyOffset=this.side?0:this.$refs.navBarEle.$el.offsetHeight,this.$refs.scroll.refresh()},setBar:function(t){this.navBar=t},barChange:function(t){var e=this;this.active=t,setTimeout(function(){e.jumpTo(t)})},jumpTo:function(t){if(t){var e=this.getPanel(t);if(e){this._jumping=!0;var a=this.pageStickyOffset;this.$refs.scroll.scrollToElement(e.$el,this.speed,0,this.side?a:-a)}}},getPanel:function(t){var e=null;return this.panels.some(function(a){if(a.label===t)return e=a,!0}),e},pageStickyChangeHandler:function(t){""===t&&(t=this.labels[0]),this.stickyCurrent=t,this._jumping||(this.active=t)},stickyChangeHandler:function(t){var e=this;this.$nextTick(function(){e.navBar&&e.navBar.refresh()}),this.$emit("sticky-change",t)},scrollHandler:function(t){this.scrollY=-t.y,this._jumping||(this.active=this.stickyCurrent)},scrollEndHandler:function(){this._jumping=!1},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);this.panels.splice(e,1)}},components:{CubeSticky:s.default,CubeStickyEle:r.default,CubeScroll:d.default,CubeScrollNavBar:v.default}},t.exports=e.default})},"7lCl":function(t,e,a){function i(t){a("1Ty8")}var n=a("VU/8")(a("41pN"),a("ziJF"),i,null,null);t.exports=n.exports},"7t+P":function(t,e){},"7tZM":function(t,e,a){function i(t){a("v4qp")}var n=a("VU/8")(a("Fth0"),a("NOHr"),i,null,null);t.exports=n.exports},"85uG":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload",title:"Upload"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("compress")}}},[t._v("Compress")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},"8F4S":function(t,e,a){function i(t){a("IBoP")}var n=a("VU/8")(a("Uo7j"),a("VOiB"),i,null,null);t.exports=n.exports},"8JgO":function(t,e){},"8Q6G":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"slide-view",title:"Slide"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{ref:"slideWrapper",staticClass:"slide-container"},[a("cube-slide",{ref:"slide",attrs:{data:t.items,"initial-index":t.initialIndex,loop:t.loop,"auto-play":t.autoPlay,interval:t.interval,threshold:t.threshold,speed:t.speed,options:t.options},on:{change:t.changePage,click:t.clickPage},scopedSlots:t._u([{key:"dots",fn:function(e){return t.dotsSlot?t._l(e.dots,function(i,n){return a("span",{staticClass:"my-dot",class:{active:e.current===n}},[t._v(t._s(n+1))])}):void 0}}])})],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"InitialIndex",value:t.initialIndex},on:{"update:value":t.updateInitialIndex}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Loop",value:t.loop},on:{"update:value":t.updateLoop}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Auto Play",value:t.autoPlay},on:{"update:value":t.updateAutoPlay}}),t._v(" "),t.autoPlay?a("input-option",{staticClass:"item sub first last",attrs:{name:"interval",value:t.interval},on:{"update:value":t.updateInterval}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"Threshold",value:t.threshold},on:{"update:value":t.updateThreshold}})],1),t._v(" "),a("div",{staticClass:"group"},[a("input-option",{staticClass:"item",attrs:{name:"Speed",value:t.speed},on:{"update:value":t.updateSpeed}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Allow Vertical",value:t.allowVertical},on:{"update:value":t.updateAllowVertical}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Add Slide Item3",value:t.addItem3},on:{"update:value":t.updateItem3}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Dots Slot",value:t.dotsSlot},on:{"update:value":t.updateDotsSlot}})],1)])])])])},staticRenderFns:[]}},"8T9y":function(t,e){},"8YJ/":function(t,e,a){function i(t){a("2ql2")}var n=a("VU/8")(a("pWL+"),a("Ycrx"),i,null,null);t.exports=n.exports},"8cOd":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("NTtZ"),a("4Gmg"),a("zuie"),a("j9ag"),a("xYoV"),a("aDIA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(p.default.name,p.default),v.default.install(t),p.default._base=t},s.default.Group=r.default,s.default.Item=d.default,s.default.Validator=p.default,p.default.addRule=u.addRule,p.default.addMessage=u.addMessage,p.default.addType=u.addType,p.default.addHelper=v.default.addHelper,e.default=s.default,t.exports=e.default})},"8jxs":function(t,e,a){function i(t){a("Ngbz")}var n=a("VU/8")(a("l+e5"),a("HT+y"),i,null,null);t.exports=n.exports},"8nmV":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("R4Zp")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"91me":function(t,e,a){function i(t){a("QwXM")}var n=a("VU/8")(a("nPBw"),a("0Fj/"),i,null,null);t.exports=n.exports},"99oh":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"wrapper",staticClass:"cube-scroll-wrapper"},[a("div",{staticClass:"cube-scroll-content"},[a("div",{ref:"listWrapper",staticClass:"cube-scroll-list-wrapper"},[t._t("default",[a("ul",{staticClass:"cube-scroll-list"},t._l(t.data,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px",on:{click:function(a){t.clickItem(e)}}},[t._v(t._s(e))])}))])],2),t._v(" "),t._t("pullup",[t.pullUpLoad?a("div",{staticClass:"cube-pullup-wrapper"},[t.isPullUpLoad?a("div",{staticClass:"after-trigger"},[a("loading")],1):a("div",{staticClass:"before-trigger"},[a("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad})],2),t._v(" "),t.pullDownRefresh?a("div",{ref:"pulldown",staticClass:"cube-pulldown"},[t._t("pulldown",[a("div",{staticClass:"cube-pulldown-wrapper",style:t.pullDownStyle},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.beforePullDown,expression:"beforePullDown"}],staticClass:"before-trigger"},[a("bubble",{staticClass:"bubble",attrs:{y:t.bubbleY}})],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.beforePullDown,expression:"!beforePullDown"}],staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isPullingDown,expression:"isPullingDown"}],staticClass:"loading"},[a("loading")],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.isPullingDown,expression:"!isPullingDown"}],staticClass:"cube-pulldown-loaded"},[a("span",[t._v(t._s(t.refreshTxt))])])])])],{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY})],2):t._e()])},staticRenderFns:[]}},"9IQh":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{direction:{type:String,default:"column"}}},t.exports=e.default})},"9O6X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("XRNA"),a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-recycle-list",data:function(){return{items:[],heights:0,startIndex:0,loadings:[],noMore:!1}},props:{infinite:{type:Boolean,default:!1},size:{type:Number,default:20},offset:{type:Number,default:100},onFetch:{type:Function,required:!0}},computed:{visibleItems:function(){return this.items.slice(Math.max(0,this.startIndex-this.size),Math.min(this.items.length,this.startIndex+this.size))},tombHeight:function(){return this.infinite?this.$refs.tomb&&this.$refs.tomb.offsetHeight:0},loading:function(){return this.loadings.length}},created:function(){this.list=[],this.promiseStack=[]},mounted:function(){this.checkPromiseCompatibility(),this.$el.addEventListener("scroll",this._onScroll),window.addEventListener("resize",this._onResize),this.load()},beforeDestroy:function(){this.$el.removeEventListener("scroll",this._onScroll),window.removeEventListener("resize",this._onResize)},methods:{checkPromiseCompatibility:function(){(0,n.isUndef)(window.Promise)&&(0,i.warn)("requires a Promise polyfill in this browser.")},load:function(){if(this.infinite){var t=this.items,e=t.length;t.length+=this.size;var a=t.length;this.loadItems(e,a),this.getItems()}else this.loading||this.getItems()},getItems:function(){var t=this,e=this.promiseStack.length,a=this.onFetch();this.loadings.push("pending"),this.promiseStack.push(a),a.then(function(a){t.loadings.pop(),a?(t.setList(e,a),t.loadItemsByIndex(e),a.lengtht){this.startIndex=Math.max(0,i-1);break}},reset:function(){var t=this;[{key:"items",value:[]},{key:"heights",value:0},{key:"startIndex",value:0},{key:"loadings",value:[]},{key:"noMore",value:!1},{key:"list",value:[]},{key:"promiseStack",value:[]}].forEach(function(e){var a=e.key,i=e.value;t[a]=i}),this.$el.scrollTop=0,this.load()},_onScroll:function(){!this.noMore&&this.$el.scrollTop+this.$el.offsetHeight>this.heights-this.offset&&this.load(),this.updateStartIndex()},_onResize:function(){var t=this.items;t.forEach(function(t){t.loaded=!1}),this.loadItems(0,t.length)}},components:{CubeLoading:l.default}},t.exports=e.default})},"9Vqu":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-tab-view",title:"ScrollTab"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"left-panel"},[a("cube-scroll",[a("cube-tab-bar",{attrs:{data:t.tabs},on:{change:t.changeHandler},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}})],1)],1),t._v(" "),a("div",{staticClass:"right-panel"},[a("cube-scroll",{ref:"scroll"},[a("ul",t._l(t.scrollData,function(e,i){return a("li",[a("img",{attrs:{src:e.avatar,alt:""}}),t._v(" "),a("span",[t._v(t._s(e.name))])])}))])],1)])])},staticRenderFns:[]}},"9ZU5":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{options:{pullDownRefresh:{threshold:60,stop:40,txt:"更新成功"}},pullDownY:0,pullDownStyle:"",opacityStyle:"",triggerSurpriseFlag:!1,triggerSurprise:!1}},components:{CubePage:i.default},computed:{pullDownTip:function(){return this.pullDownY<=60?"下拉刷新...":this.pullDownY<=90?"继续下拉有惊喜...":"松手得惊喜!"},headerStyle:function(){return Math.min(1,Math.max(0,1-this.pullDownY/40))}},methods:{onScrollHandle:function(t){this.pullDownY=t.y,t.y>0&&(this.pullDownStyle="top:"+t.y+"px",this.triggerSurpriseFlag=!1,this.pullDownY>90&&(this.triggerSurpriseFlag=!0)),this.$refs.topHeader.style.opacity=this.headerStyle},onPullingDown:function(){var t=this;if(this.triggerSurpriseFlag)return this.triggerSurprise=!0,void this.$refs.scroll.forceUpdate();setTimeout(function(){t.$refs.scroll.forceUpdate()},1e3)},surpriseHandle:function(){this.triggerSurpriseFlag=!1,this.triggerSurprise=!1,this.$refs.topHeader.style.opacity=1},onImgLoad:function(){this.$refs.scroll.refresh()}}},t.exports=e.default})},"9dOh":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-def",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Normal upload(File max size 1MB): ")]),t._v(" "),a("div",[a("cube-upload",{ref:"upload",attrs:{action:t.action,"simultaneous-uploads":1},on:{"files-added":t.filesAdded}}),t._v(" "),t.isUploading?a("cube-button",{on:{click:t.pause}},[t._v("Pause")]):a("cube-button",{on:{click:t.upload}},[t._v("Upload")]),t._v(" "),a("cube-button",{on:{click:t.retry}},[t._v("Retry")])],1)])],2)},staticRenderFns:[]}},"9eEc":function(t,e){},"9gYT":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer-def",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button",{on:{click:t.showDrawer}},[t._v("Show Drawer")]),t._v(" "),a("cube-drawer",{ref:"drawer",attrs:{title:"请选择",data:t.data,"selected-index":t.selectedIndex},on:{change:t.changeHandler,select:t.selectHandler,cancel:t.cancelHandler}})],1)])])},staticRenderFns:[]}},"9xqn":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1"),a("7lCl"),a("ZrYO"),a("N/gd"),a("mkLW"),a("yb46"),a("g9J/"),a("3kPI"),a("R4Zp"),a("+hyH"),a("BD2p")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p){"use strict";function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var h=f(a),x=f(i),y=f(n),m=f(l),b=f(c),g=f(u),_=f(o),w=f(s),A=f(r),k=f(d),C=f(v),T=f(p),P=[h.default,x.default,y.default,m.default,b.default,g.default,_.default,w.default,A.default,k.default,C.default,T.default],j={};P.forEach(function(t){j[t.name]=t}),e.default=j,t.exports=e.default})},"9y2D":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-textarea",title:"Scroll"}},[a("template",{slot:"content"},[a("div",{staticClass:"scroll-wrap",on:{touchstart:function(t){t.stopPropagation()}}},[a("cube-scroll",{ref:"scrollOuter",staticClass:"scroll-outer",attrs:{options:t.optionsOuter}},[a("p",[t._v("Sometimes we need a teatarea in cube-scroll component. However the problem is, we can not use the native scroll in teatarea when we need to scroll, due to we prevent the default broswer behavior of 'scroll' event in Cube-scroll.")]),t._v(" "),a("p",[t._v("Now, we give this example, introducing two ways how to solve this trouble.")]),t._v(" "),a("p",[t._v("Both approach takes advantage of the cube-scroll support for nesting. We wrap the internal input box with cube-scroll and simulate the scrolling behavior by cube-scroll.")]),t._v(" "),a("div",{staticClass:"editable-div-wrapper",class:{"editable-div_active":t.isFocusDiv}},[a("cube-scroll",{ref:"divWrapScroll",attrs:{options:t.options}},[a("div",{ref:"editablediv",staticClass:"editable-div",attrs:{contenteditable:"true"},on:{focus:t.onFocusDiv,blur:t.onBlurDiv,input:t.onInputDiv}})]),t._v(" "),a("span",{staticClass:"editable-div-indicator"},[t._v(t._s(t.divValueCount))])],1),t._v(" "),a("div",{staticClass:"cube-textarea-wrapper",class:{"cube-textarea_active":t.isFocusNative}},[a("cube-scroll",{ref:"nativeWrapScroll",attrs:{options:t.options}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textareaValue,expression:"textareaValue"}],ref:"textarea",staticClass:"cube-textarea",attrs:{placeholder:t.placeholder},domProps:{value:t.textareaValue},on:{input:[function(e){e.target.composing||(t.textareaValue=e.target.value)},t.onInputNative],focus:t.onFocusNative,blur:t.onBlurNative}})]),t._v(" "),a("span",{staticClass:"cube-textarea-indicator"},[t._v(t._s(t.textareaValueCount))])],1),t._v(" "),a("p",[t._v("有时候我们需要在 cube-scroll 组件中包含 teatarea 输入框。然而由于我们在使用 cube-scroll 时禁用了浏览器 'scroll' 事件的默认行为,因此我们无法在 textarea 输入框中使用浏览器的原生滚动。")]),t._v(" "),a("p",[t._v("现在我们希望通过这个例子,介绍两种解决这个问题的方法。")]),t._v(" "),a("p",[t._v("核心都是利用了 cube-scroll 支持嵌套的能力,我们将内部的输入框用 cube-scroll 进行包装,通过 cube-scroll 去模拟滚动行为。但是有一个要求是,内容区域必须是高度自适应,即高度随内容多少增加或减少。")]),t._v(" "),a("p",[t._v("1. 利用 div 标签模拟 textarea,实现内容区域高度自适应。"),a("br"),t._v(" 2. 利用 textarea 配合 js,实现高度自适应。")]),t._v(" "),a("p",[t._v("最后,我们还需要一些额外的工作保证输入过程中,光标能始终在视线内,保持与原生输入框的行为一致。")])])],1),t._v(" "),a("h1",[t._v(t._s(t.msg))])])],2)},staticRenderFns:[]}},"9zBd":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.provinceList=[{text:"北京市",value:"110000"},{text:"天津市",value:"120000"},{text:"河北省",value:"130000"},{text:"山西省",value:"140000"},{text:"内蒙古自治区",value:"150000"},{text:"辽宁省",value:"210000"},{text:"吉林省",value:"220000"},{text:"黑龙江省",value:"230000"},{text:"上海市",value:"310000"},{text:"江苏省",value:"320000"},{text:"浙江省",value:"330000"},{text:"安徽省",value:"340000"},{text:"福建省",value:"350000"},{text:"江西省",value:"360000"},{text:"山东省",value:"370000"},{text:"河南省",value:"410000"},{text:"湖北省",value:"420000"},{text:"湖南省",value:"430000"},{text:"广东省",value:"440000"},{text:"广西壮族自治区",value:"450000"},{text:"海南省",value:"460000"},{text:"重庆市",value:"500000"},{text:"四川省",value:"510000"},{text:"贵州省",value:"520000"},{text:"云南省",value:"530000"},{text:"西藏自治区",value:"540000"},{text:"陕西省",value:"610000"},{text:"甘肃省",value:"620000"},{text:"青海省",value:"630000"},{text:"宁夏回族自治区",value:"640000"},{text:"新疆维吾尔自治区",value:"650000"}],t.cityList={110000:[{province:"北京市",text:"北京市",value:"110100"}],120000:[{province:"天津市",text:"天津市",value:"120100"}],130000:[{province:"河北省",text:"石家庄市",value:"130100"},{province:"河北省",text:"唐山市",value:"130200"},{province:"河北省",text:"秦皇岛市",value:"130300"},{province:"河北省",text:"邯郸市",value:"130400"},{province:"河北省",text:"邢台市",value:"130500"},{province:"河北省",text:"保定市",value:"130600"},{province:"河北省",text:"张家口市",value:"130700"},{province:"河北省",text:"承德市",value:"130800"},{province:"河北省",text:"沧州市",value:"130900"},{province:"河北省",text:"廊坊市",value:"131000"},{province:"河北省",text:"衡水市",value:"131100"},{province:"河北省",text:"省直辖县级行政区划",value:"139000"}],140000:[{province:"山西省",text:"太原市",value:"140100"},{province:"山西省",text:"大同市",value:"140200"},{province:"山西省",text:"阳泉市",value:"140300"},{province:"山西省",text:"长治市",value:"140400"},{province:"山西省",text:"晋城市",value:"140500"},{province:"山西省",text:"朔州市",value:"140600"},{province:"山西省",text:"晋中市",value:"140700"},{province:"山西省",text:"运城市",value:"140800"},{province:"山西省",text:"忻州市",value:"140900"},{province:"山西省",text:"临汾市",value:"141000"},{province:"山西省",text:"吕梁市",value:"141100"}],150000:[{province:"内蒙古自治区",text:"呼和浩特市",value:"150100"},{province:"内蒙古自治区",text:"包头市",value:"150200"},{province:"内蒙古自治区",text:"乌海市",value:"150300"},{province:"内蒙古自治区",text:"赤峰市",value:"150400"},{province:"内蒙古自治区",text:"通辽市",value:"150500"},{province:"内蒙古自治区",text:"鄂尔多斯市",value:"150600"},{province:"内蒙古自治区",text:"呼伦贝尔市",value:"150700"},{province:"内蒙古自治区",text:"巴彦淖尔市",value:"150800"},{province:"内蒙古自治区",text:"乌兰察布市",value:"150900"},{province:"内蒙古自治区",text:"兴安盟",value:"152200"},{province:"内蒙古自治区",text:"锡林郭勒盟",value:"152500"},{province:"内蒙古自治区",text:"阿拉善盟",value:"152900"}],210000:[{province:"辽宁省",text:"沈阳市",value:"210100"},{province:"辽宁省",text:"大连市",value:"210200"},{province:"辽宁省",text:"鞍山市",value:"210300"},{province:"辽宁省",text:"抚顺市",value:"210400"},{province:"辽宁省",text:"本溪市",value:"210500"},{province:"辽宁省",text:"丹东市",value:"210600"},{province:"辽宁省",text:"锦州市",value:"210700"},{province:"辽宁省",text:"营口市",value:"210800"},{province:"辽宁省",text:"阜新市",value:"210900"},{province:"辽宁省",text:"辽阳市",value:"211000"},{province:"辽宁省",text:"盘锦市",value:"211100"},{province:"辽宁省",text:"铁岭市",value:"211200"},{province:"辽宁省",text:"朝阳市",value:"211300"},{province:"辽宁省",text:"葫芦岛市",value:"211400"}],220000:[{province:"吉林省",text:"长春市",value:"220100"},{province:"吉林省",text:"吉林市",value:"220200"},{province:"吉林省",text:"四平市",value:"220300"},{province:"吉林省",text:"辽源市",value:"220400"},{province:"吉林省",text:"通化市",value:"220500"},{province:"吉林省",text:"白山市",value:"220600"},{province:"吉林省",text:"松原市",value:"220700"},{province:"吉林省",text:"白城市",value:"220800"},{province:"吉林省",text:"延边朝鲜族自治州",value:"222400"}],230000:[{province:"黑龙江省",text:"哈尔滨市",value:"230100"},{province:"黑龙江省",text:"齐齐哈尔市",value:"230200"},{province:"黑龙江省",text:"鸡西市",value:"230300"},{province:"黑龙江省",text:"鹤岗市",value:"230400"},{province:"黑龙江省",text:"双鸭山市",value:"230500"},{province:"黑龙江省",text:"大庆市",value:"230600"},{province:"黑龙江省",text:"伊春市",value:"230700"},{province:"黑龙江省",text:"佳木斯市",value:"230800"},{province:"黑龙江省",text:"七台河市",value:"230900"},{province:"黑龙江省",text:"牡丹江市",value:"231000"},{province:"黑龙江省",text:"黑河市",value:"231100"},{province:"黑龙江省",text:"绥化市",value:"231200"},{province:"黑龙江省",text:"大兴安岭地区",value:"232700"}],310000:[{province:"上海市",text:"上海市",value:"310100"}],320000:[{province:"江苏省",text:"南京市",value:"320100"},{province:"江苏省",text:"无锡市",value:"320200"},{province:"江苏省",text:"徐州市",value:"320300"},{province:"江苏省",text:"常州市",value:"320400"},{province:"江苏省",text:"苏州市",value:"320500"},{province:"江苏省",text:"南通市",value:"320600"},{province:"江苏省",text:"连云港市",value:"320700"},{province:"江苏省",text:"淮安市",value:"320800"},{province:"江苏省",text:"盐城市",value:"320900"},{province:"江苏省",text:"扬州市",value:"321000"},{province:"江苏省",text:"镇江市",value:"321100"},{province:"江苏省",text:"泰州市",value:"321200"},{province:"江苏省",text:"宿迁市",value:"321300"}],330000:[{province:"浙江省",text:"杭州市",value:"330100"},{province:"浙江省",text:"宁波市",value:"330200"},{province:"浙江省",text:"温州市",value:"330300"},{province:"浙江省",text:"嘉兴市",value:"330400"},{province:"浙江省",text:"湖州市",value:"330500"},{province:"浙江省",text:"绍兴市",value:"330600"},{province:"浙江省",text:"金华市",value:"330700"},{province:"浙江省",text:"衢州市",value:"330800"},{province:"浙江省",text:"舟山市",value:"330900"},{province:"浙江省",text:"台州市",value:"331000"},{province:"浙江省",text:"丽水市",value:"331100"}],340000:[{province:"安徽省",text:"合肥市",value:"340100"},{province:"安徽省",text:"芜湖市",value:"340200"},{province:"安徽省",text:"蚌埠市",value:"340300"},{province:"安徽省",text:"淮南市",value:"340400"},{province:"安徽省",text:"马鞍山市",value:"340500"},{province:"安徽省",text:"淮北市",value:"340600"},{province:"安徽省",text:"铜陵市",value:"340700"},{province:"安徽省",text:"安庆市",value:"340800"},{province:"安徽省",text:"黄山市",value:"341000"},{province:"安徽省",text:"滁州市",value:"341100"},{province:"安徽省",text:"阜阳市",value:"341200"},{province:"安徽省",text:"宿州市",value:"341300"},{province:"安徽省",text:"六安市",value:"341500"},{province:"安徽省",text:"亳州市",value:"341600"},{province:"安徽省",text:"池州市",value:"341700"},{province:"安徽省",text:"宣城市",value:"341800"}],350000:[{province:"福建省",text:"福州市",value:"350100"},{province:"福建省",text:"厦门市",value:"350200"},{province:"福建省",text:"莆田市",value:"350300"},{province:"福建省",text:"三明市",value:"350400"},{province:"福建省",text:"泉州市",value:"350500"},{province:"福建省",text:"漳州市",value:"350600"},{province:"福建省",text:"南平市",value:"350700"},{province:"福建省",text:"龙岩市",value:"350800"},{province:"福建省",text:"宁德市",value:"350900"}],360000:[{province:"江西省",text:"南昌市",value:"360100"},{province:"江西省",text:"景德镇市",value:"360200"},{province:"江西省",text:"萍乡市",value:"360300"},{province:"江西省",text:"九江市",value:"360400"},{province:"江西省",text:"新余市",value:"360500"},{province:"江西省",text:"鹰潭市",value:"360600"},{province:"江西省",text:"赣州市",value:"360700"},{province:"江西省",text:"吉安市",value:"360800"},{province:"江西省",text:"宜春市",value:"360900"},{province:"江西省",text:"抚州市",value:"361000"},{province:"江西省",text:"上饶市",value:"361100"}],370000:[{province:"山东省",text:"济南市",value:"370100"},{province:"山东省",text:"青岛市",value:"370200"},{province:"山东省",text:"淄博市",value:"370300"},{province:"山东省",text:"枣庄市",value:"370400"},{province:"山东省",text:"东营市",value:"370500"},{province:"山东省",text:"烟台市",value:"370600"},{province:"山东省",text:"潍坊市",value:"370700"},{province:"山东省",text:"济宁市",value:"370800"},{province:"山东省",text:"泰安市",value:"370900"},{province:"山东省",text:"威海市",value:"371000"},{province:"山东省",text:"日照市",value:"371100"},{province:"山东省",text:"莱芜市",value:"371200"},{province:"山东省",text:"临沂市",value:"371300"},{province:"山东省",text:"德州市",value:"371400"},{province:"山东省",text:"聊城市",value:"371500"},{province:"山东省",text:"滨州市",value:"371600"},{province:"山东省",text:"菏泽市",value:"371700"}],410000:[{province:"河南省",text:"郑州市",value:"410100"},{province:"河南省",text:"开封市",value:"410200"},{province:"河南省",text:"洛阳市",value:"410300"},{province:"河南省",text:"平顶山市",value:"410400"},{province:"河南省",text:"安阳市",value:"410500"},{province:"河南省",text:"鹤壁市",value:"410600"},{province:"河南省",text:"新乡市",value:"410700"},{province:"河南省",text:"焦作市",value:"410800"},{province:"河南省",text:"濮阳市",value:"410900"},{province:"河南省",text:"许昌市",value:"411000"},{province:"河南省",text:"漯河市",value:"411100"},{province:"河南省",text:"三门峡市",value:"411200"},{province:"河南省",text:"南阳市",value:"411300"},{province:"河南省",text:"商丘市",value:"411400"},{province:"河南省",text:"信阳市",value:"411500"},{province:"河南省",text:"周口市",value:"411600"},{province:"河南省",text:"驻马店市",value:"411700"},{province:"河南省",text:"省直辖县级行政区划",value:"419000"}],420000:[{province:"湖北省",text:"武汉市",value:"420100"},{province:"湖北省",text:"黄石市",value:"420200"},{province:"湖北省",text:"十堰市",value:"420300"},{province:"湖北省",text:"宜昌市",value:"420500"},{province:"湖北省",text:"襄阳市",value:"420600"},{province:"湖北省",text:"鄂州市",value:"420700"},{province:"湖北省",text:"荆门市",value:"420800"},{province:"湖北省",text:"孝感市",value:"420900"},{province:"湖北省",text:"荆州市",value:"421000"},{province:"湖北省",text:"黄冈市",value:"421100"},{province:"湖北省",text:"咸宁市",value:"421200"},{province:"湖北省",text:"随州市",value:"421300"},{province:"湖北省",text:"恩施土家族苗族自治州",value:"422800"},{province:"湖北省",text:"省直辖县级行政区划",value:"429000"}],430000:[{province:"湖南省",text:"长沙市",value:"430100"},{province:"湖南省",text:"株洲市",value:"430200"},{province:"湖南省",text:"湘潭市",value:"430300"},{province:"湖南省",text:"衡阳市",value:"430400"},{province:"湖南省",text:"邵阳市",value:"430500"},{province:"湖南省",text:"岳阳市",value:"430600"},{province:"湖南省",text:"常德市",value:"430700"},{province:"湖南省",text:"张家界市",value:"430800"},{province:"湖南省",text:"益阳市",value:"430900"},{province:"湖南省",text:"郴州市",value:"431000"},{province:"湖南省",text:"永州市",value:"431100"},{province:"湖南省",text:"怀化市",value:"431200"},{province:"湖南省",text:"娄底市",value:"431300"},{province:"湖南省",text:"湘西土家族苗族自治州",value:"433100"}],440000:[{province:"广东省",text:"广州市",value:"440100"},{province:"广东省",text:"韶关市",value:"440200"},{province:"广东省",text:"深圳市",value:"440300"},{province:"广东省",text:"珠海市",value:"440400"},{province:"广东省",text:"汕头市",value:"440500"},{province:"广东省",text:"佛山市",value:"440600"},{province:"广东省",text:"江门市",value:"440700"},{province:"广东省",text:"湛江市",value:"440800"},{province:"广东省",text:"茂名市",value:"440900"},{province:"广东省",text:"肇庆市",value:"441200"},{province:"广东省",text:"惠州市",value:"441300"},{province:"广东省",text:"梅州市",value:"441400"},{province:"广东省",text:"汕尾市",value:"441500"},{province:"广东省",text:"河源市",value:"441600"},{province:"广东省",text:"阳江市",value:"441700"},{province:"广东省",text:"清远市",value:"441800"},{province:"广东省",text:"东莞市",value:"441900"},{province:"广东省",text:"中山市",value:"442000"},{province:"广东省",text:"潮州市",value:"445100"},{province:"广东省",text:"揭阳市",value:"445200"},{province:"广东省",text:"云浮市",value:"445300"}],450000:[{province:"广西壮族自治区",text:"南宁市",value:"450100"},{province:"广西壮族自治区",text:"柳州市",value:"450200"},{province:"广西壮族自治区",text:"桂林市",value:"450300"},{province:"广西壮族自治区",text:"梧州市",value:"450400"},{province:"广西壮族自治区",text:"北海市",value:"450500"},{province:"广西壮族自治区",text:"防城港市",value:"450600"},{province:"广西壮族自治区",text:"钦州市",value:"450700"},{province:"广西壮族自治区",text:"贵港市",value:"450800"},{province:"广西壮族自治区",text:"玉林市",value:"450900"},{province:"广西壮族自治区",text:"百色市",value:"451000"},{province:"广西壮族自治区",text:"贺州市",value:"451100"},{province:"广西壮族自治区",text:"河池市",value:"451200"},{province:"广西壮族自治区",text:"来宾市",value:"451300"},{province:"广西壮族自治区",text:"崇左市",value:"451400"}],460000:[{province:"海南省",text:"海口市",value:"460100"},{province:"海南省",text:"三亚市",value:"460200"},{province:"海南省",text:"三沙市",value:"460300"},{province:"海南省",text:"儋州市",value:"460400"},{province:"海南省",text:"省直辖县级行政区划",value:"469000"}],500000:[{province:"重庆市",text:"重庆市",value:"500100"},{province:"重庆市",text:"县",value:"500200"}],510000:[{province:"四川省",text:"成都市",value:"510100"},{province:"四川省",text:"自贡市",value:"510300"},{province:"四川省",text:"攀枝花市",value:"510400"},{province:"四川省",text:"泸州市",value:"510500"},{province:"四川省",text:"德阳市",value:"510600"},{province:"四川省",text:"绵阳市",value:"510700"},{province:"四川省",text:"广元市",value:"510800"},{province:"四川省",text:"遂宁市",value:"510900"},{province:"四川省",text:"内江市",value:"511000"},{province:"四川省",text:"乐山市",value:"511100"},{province:"四川省",text:"南充市",value:"511300"},{province:"四川省",text:"眉山市",value:"511400"},{province:"四川省",text:"宜宾市",value:"511500"},{province:"四川省",text:"广安市",value:"511600"},{province:"四川省",text:"达州市",value:"511700"},{province:"四川省",text:"雅安市",value:"511800"},{province:"四川省",text:"巴中市",value:"511900"},{province:"四川省",text:"资阳市",value:"512000"},{province:"四川省",text:"阿坝藏族羌族自治州",value:"513200"},{province:"四川省",text:"甘孜藏族自治州",value:"513300"},{province:"四川省",text:"凉山彝族自治州",value:"513400"}],520000:[{province:"贵州省",text:"贵阳市",value:"520100"},{province:"贵州省",text:"六盘水市",value:"520200"},{province:"贵州省",text:"遵义市",value:"520300"},{province:"贵州省",text:"安顺市",value:"520400"},{province:"贵州省",text:"毕节市",value:"520500"},{province:"贵州省",text:"铜仁市",value:"520600"},{province:"贵州省",text:"黔西南布依族苗族自治州",value:"522300"},{province:"贵州省",text:"黔东南苗族侗族自治州",value:"522600"},{province:"贵州省",text:"黔南布依族苗族自治州",value:"522700"}],530000:[{province:"云南省",text:"昆明市",value:"530100"},{province:"云南省",text:"曲靖市",value:"530300"},{province:"云南省",text:"玉溪市",value:"530400"},{province:"云南省",text:"保山市",value:"530500"},{province:"云南省",text:"昭通市",value:"530600"},{province:"云南省",text:"丽江市",value:"530700"},{province:"云南省",text:"普洱市",value:"530800"},{province:"云南省",text:"临沧市",value:"530900"},{province:"云南省",text:"楚雄彝族自治州",value:"532300"},{province:"云南省",text:"红河哈尼族彝族自治州",value:"532500"},{province:"云南省",text:"文山壮族苗族自治州",value:"532600"},{province:"云南省",text:"西双版纳傣族自治州",value:"532800"},{province:"云南省",text:"大理白族自治州",value:"532900"},{province:"云南省",text:"德宏傣族景颇族自治州",value:"533100"},{province:"云南省",text:"怒江傈僳族自治州",value:"533300"},{province:"云南省",text:"迪庆藏族自治州",value:"533400"}],540000:[{province:"西藏自治区",text:"拉萨市",value:"540100"},{province:"西藏自治区",text:"日喀则市",value:"540200"},{province:"西藏自治区",text:"昌都市",value:"540300"},{province:"西藏自治区",text:"林芝市",value:"540400"},{province:"西藏自治区",text:"山南市",value:"540500"},{province:"西藏自治区",text:"那曲地区",value:"542400"},{province:"西藏自治区",text:"阿里地区",value:"542500"}],610000:[{province:"陕西省",text:"西安市",value:"610100"},{province:"陕西省",text:"铜川市",value:"610200"},{province:"陕西省",text:"宝鸡市",value:"610300"},{province:"陕西省",text:"咸阳市",value:"610400"},{province:"陕西省",text:"渭南市",value:"610500"},{province:"陕西省",text:"延安市",value:"610600"},{province:"陕西省",text:"汉中市",value:"610700"},{province:"陕西省",text:"榆林市",value:"610800"},{province:"陕西省",text:"安康市",value:"610900"},{province:"陕西省",text:"商洛市",value:"611000"}],620000:[{province:"甘肃省",text:"兰州市",value:"620100"},{province:"甘肃省",text:"嘉峪关市",value:"620200"},{province:"甘肃省",text:"金昌市",value:"620300"},{province:"甘肃省",text:"白银市",value:"620400"},{province:"甘肃省",text:"天水市",value:"620500"},{province:"甘肃省",text:"武威市",value:"620600"},{province:"甘肃省",text:"张掖市",value:"620700"},{province:"甘肃省",text:"平凉市",value:"620800"},{province:"甘肃省",text:"酒泉市",value:"620900"},{province:"甘肃省",text:"庆阳市",value:"621000"},{province:"甘肃省",text:"定西市",value:"621100"},{province:"甘肃省",text:"陇南市",value:"621200"},{province:"甘肃省",text:"临夏回族自治州",value:"622900"},{province:"甘肃省",text:"甘南藏族自治州",value:"623000"}],630000:[{province:"青海省",text:"西宁市",value:"630100"},{province:"青海省",text:"海东市",value:"630200"},{province:"青海省",text:"海北藏族自治州",value:"632200"},{province:"青海省",text:"黄南藏族自治州",value:"632300"},{province:"青海省",text:"海南藏族自治州",value:"632500"},{province:"青海省",text:"果洛藏族自治州",value:"632600"},{province:"青海省",text:"玉树藏族自治州",value:"632700"},{province:"青海省",text:"海西蒙古族藏族自治州",value:"632800"}],640000:[{province:"宁夏回族自治区",text:"银川市",value:"640100"},{province:"宁夏回族自治区",text:"石嘴山市",value:"640200"},{province:"宁夏回族自治区",text:"吴忠市",value:"640300"},{province:"宁夏回族自治区",text:"固原市",value:"640400"},{province:"宁夏回族自治区",text:"中卫市",value:"640500"}],650000:[{province:"新疆维吾尔自治区",text:"乌鲁木齐市",value:"650100"},{province:"新疆维吾尔自治区",text:"克拉玛依市",value:"650200"},{province:"新疆维吾尔自治区",text:"吐鲁番市",value:"650400"},{province:"新疆维吾尔自治区",text:"哈密市",value:"650500"},{province:"新疆维吾尔自治区",text:"昌吉回族自治州",value:"652300"},{province:"新疆维吾尔自治区",text:"博尔塔拉蒙古自治州",value:"652700"},{province:"新疆维吾尔自治区",text:"巴音郭楞蒙古自治州",value:"652800"},{province:"新疆维吾尔自治区",text:"阿克苏地区",value:"652900"},{province:"新疆维吾尔自治区",text:"克孜勒苏柯尔克孜自治州",value:"653000"},{province:"新疆维吾尔自治区",text:"喀什地区",value:"653100"},{province:"新疆维吾尔自治区",text:"和田地区",value:"653200"},{province:"新疆维吾尔自治区",text:"伊犁哈萨克自治州",value:"654000"},{province:"新疆维吾尔自治区",text:"塔城地区",value:"654200"},{province:"新疆维吾尔自治区",text:"阿勒泰地区",value:"654300"},{province:"新疆维吾尔自治区",text:"自治区直辖县级行政区划",value:"659000"}]},t.areaList={110100:[{city:"市辖区",text:"东城区",value:"110101"},{city:"市辖区",text:"西城区",value:"110102"},{city:"市辖区",text:"朝阳区",value:"110105"},{city:"市辖区",text:"丰台区",value:"110106"},{city:"市辖区",text:"石景山区",value:"110107"},{city:"市辖区",text:"海淀区",value:"110108"},{city:"市辖区",text:"门头沟区",value:"110109"},{city:"市辖区",text:"房山区",value:"110111"},{city:"市辖区",text:"通州区",value:"110112"},{city:"市辖区",text:"顺义区",value:"110113"},{city:"市辖区",text:"昌平区",value:"110114"},{city:"市辖区",text:"大兴区",value:"110115"},{city:"市辖区",text:"怀柔区",value:"110116"},{city:"市辖区",text:"平谷区",value:"110117"},{city:"市辖区",text:"密云区",value:"110118"},{city:"市辖区",text:"延庆区",value:"110119"}],120100:[{city:"市辖区",text:"和平区",value:"120101"},{city:"市辖区",text:"河东区",value:"120102"},{city:"市辖区",text:"河西区",value:"120103"},{city:"市辖区",text:"南开区",value:"120104"},{city:"市辖区",text:"河北区",value:"120105"},{city:"市辖区",text:"红桥区",value:"120106"},{city:"市辖区",text:"东丽区",value:"120110"},{city:"市辖区",text:"西青区",value:"120111"},{city:"市辖区",text:"津南区",value:"120112"},{city:"市辖区",text:"北辰区",value:"120113"},{city:"市辖区",text:"武清区",value:"120114"},{city:"市辖区",text:"宝坻区",value:"120115"},{city:"市辖区",text:"滨海新区",value:"120116"},{city:"市辖区",text:"宁河区",value:"120117"},{city:"市辖区",text:"静海区",value:"120118"},{city:"市辖区",text:"蓟州区",value:"120119"}],130100:[{city:"石家庄市",text:"市辖区",value:"130101"},{city:"石家庄市",text:"长安区",value:"130102"},{city:"石家庄市",text:"桥西区",value:"130104"},{city:"石家庄市",text:"新华区",value:"130105"},{city:"石家庄市",text:"井陉矿区",value:"130107"},{city:"石家庄市",text:"裕华区",value:"130108"},{city:"石家庄市",text:"藁城区",value:"130109"},{city:"石家庄市",text:"鹿泉区",value:"130110"},{city:"石家庄市",text:"栾城区",value:"130111"},{city:"石家庄市",text:"井陉县",value:"130121"},{city:"石家庄市",text:"正定县",value:"130123"},{city:"石家庄市",text:"行唐县",value:"130125"},{city:"石家庄市",text:"灵寿县",value:"130126"},{city:"石家庄市",text:"高邑县",value:"130127"},{city:"石家庄市",text:"深泽县",value:"130128"},{city:"石家庄市",text:"赞皇县",value:"130129"},{city:"石家庄市",text:"无极县",value:"130130"},{city:"石家庄市",text:"平山县",value:"130131"},{city:"石家庄市",text:"元氏县",value:"130132"},{city:"石家庄市",text:"赵县",value:"130133"},{city:"石家庄市",text:"晋州市",value:"130183"},{city:"石家庄市",text:"新乐市",value:"130184"}],130200:[{city:"唐山市",text:"市辖区",value:"130201"},{city:"唐山市",text:"路南区",value:"130202"},{city:"唐山市",text:"路北区",value:"130203"},{city:"唐山市",text:"古冶区",value:"130204"},{city:"唐山市",text:"开平区",value:"130205"},{city:"唐山市",text:"丰南区",value:"130207"},{city:"唐山市",text:"丰润区",value:"130208"},{city:"唐山市",text:"曹妃甸区",value:"130209"},{city:"唐山市",text:"滦县",value:"130223"},{city:"唐山市",text:"滦南县",value:"130224"},{city:"唐山市",text:"乐亭县",value:"130225"},{city:"唐山市",text:"迁西县",value:"130227"},{city:"唐山市",text:"玉田县",value:"130229"},{city:"唐山市",text:"遵化市",value:"130281"},{city:"唐山市",text:"迁安市",value:"130283"}],130300:[{city:"秦皇岛市",text:"市辖区",value:"130301"},{city:"秦皇岛市",text:"海港区",value:"130302"},{city:"秦皇岛市",text:"山海关区",value:"130303"},{city:"秦皇岛市",text:"北戴河区",value:"130304"},{city:"秦皇岛市",text:"抚宁区",value:"130306"},{city:"秦皇岛市",text:"青龙满族自治县",value:"130321"},{city:"秦皇岛市",text:"昌黎县",value:"130322"},{city:"秦皇岛市",text:"卢龙县",value:"130324"}],130400:[{city:"邯郸市",text:"市辖区",value:"130401"},{city:"邯郸市",text:"邯山区",value:"130402"},{city:"邯郸市",text:"丛台区",value:"130403"},{city:"邯郸市",text:"复兴区",value:"130404"},{city:"邯郸市",text:"峰峰矿区",value:"130406"},{city:"邯郸市",text:"邯郸县",value:"130421"},{city:"邯郸市",text:"临漳县",value:"130423"},{city:"邯郸市",text:"成安县",value:"130424"},{city:"邯郸市",text:"大名县",value:"130425"},{city:"邯郸市",text:"涉县",value:"130426"},{city:"邯郸市",text:"磁县",value:"130427"},{city:"邯郸市",text:"肥乡县",value:"130428"},{city:"邯郸市",text:"永年县",value:"130429"},{city:"邯郸市",text:"邱县",value:"130430"},{city:"邯郸市",text:"鸡泽县",value:"130431"},{city:"邯郸市",text:"广平县",value:"130432"},{city:"邯郸市",text:"馆陶县",value:"130433"},{city:"邯郸市",text:"魏县",value:"130434"},{city:"邯郸市",text:"曲周县",value:"130435"},{city:"邯郸市",text:"武安市",value:"130481"}],130500:[{city:"邢台市",text:"市辖区",value:"130501"},{city:"邢台市",text:"桥东区",value:"130502"},{city:"邢台市",text:"桥西区",value:"130503"},{city:"邢台市",text:"邢台县",value:"130521"},{city:"邢台市",text:"临城县",value:"130522"},{city:"邢台市",text:"内丘县",value:"130523"},{city:"邢台市",text:"柏乡县",value:"130524"},{city:"邢台市",text:"隆尧县",value:"130525"},{city:"邢台市",text:"任县",value:"130526"},{city:"邢台市",text:"南和县",value:"130527"},{city:"邢台市",text:"宁晋县",value:"130528"},{city:"邢台市",text:"巨鹿县",value:"130529"},{city:"邢台市",text:"新河县",value:"130530"},{city:"邢台市",text:"广宗县",value:"130531"},{city:"邢台市",text:"平乡县",value:"130532"},{city:"邢台市",text:"威县",value:"130533"},{city:"邢台市",text:"清河县",value:"130534"},{city:"邢台市",text:"临西县",value:"130535"},{city:"邢台市",text:"南宫市",value:"130581"},{city:"邢台市",text:"沙河市",value:"130582"}],130600:[{city:"保定市",text:"市辖区",value:"130601"},{city:"保定市",text:"竞秀区",value:"130602"},{city:"保定市",text:"莲池区",value:"130606"},{city:"保定市",text:"满城区",value:"130607"},{city:"保定市",text:"清苑区",value:"130608"},{city:"保定市",text:"徐水区",value:"130609"},{city:"保定市",text:"涞水县",value:"130623"},{city:"保定市",text:"阜平县",value:"130624"},{city:"保定市",text:"定兴县",value:"130626"},{city:"保定市",text:"唐县",value:"130627"},{city:"保定市",text:"高阳县",value:"130628"},{city:"保定市",text:"容城县",value:"130629"},{city:"保定市",text:"涞源县",value:"130630"},{city:"保定市",text:"望都县",value:"130631"},{city:"保定市",text:"安新县",value:"130632"},{city:"保定市",text:"易县",value:"130633"},{city:"保定市",text:"曲阳县",value:"130634"},{city:"保定市",text:"蠡县",value:"130635"},{city:"保定市",text:"顺平县",value:"130636"},{city:"保定市",text:"博野县",value:"130637"},{city:"保定市",text:"雄县",value:"130638"},{city:"保定市",text:"涿州市",value:"130681"},{city:"保定市",text:"安国市",value:"130683"},{city:"保定市",text:"高碑店市",value:"130684"}],130700:[{city:"张家口市",text:"市辖区",value:"130701"},{city:"张家口市",text:"桥东区",value:"130702"},{city:"张家口市",text:"桥西区",value:"130703"},{city:"张家口市",text:"宣化区",value:"130705"},{city:"张家口市",text:"下花园区",value:"130706"},{city:"张家口市",text:"万全区",value:"130708"},{city:"张家口市",text:"崇礼区",value:"130709"},{city:"张家口市",text:"张北县",value:"130722"},{city:"张家口市",text:"康保县",value:"130723"},{city:"张家口市",text:"沽源县",value:"130724"},{city:"张家口市",text:"尚义县",value:"130725"},{city:"张家口市",text:"蔚县",value:"130726"},{city:"张家口市",text:"阳原县",value:"130727"},{city:"张家口市",text:"怀安县",value:"130728"},{city:"张家口市",text:"怀来县",value:"130730"},{city:"张家口市",text:"涿鹿县",value:"130731"},{city:"张家口市",text:"赤城县",value:"130732"}],130800:[{city:"承德市",text:"市辖区",value:"130801"},{city:"承德市",text:"双桥区",value:"130802"},{city:"承德市",text:"双滦区",value:"130803"},{city:"承德市",text:"鹰手营子矿区",value:"130804"},{city:"承德市",text:"承德县",value:"130821"},{city:"承德市",text:"兴隆县",value:"130822"},{city:"承德市",text:"平泉县",value:"130823"},{city:"承德市",text:"滦平县",value:"130824"},{city:"承德市",text:"隆化县",value:"130825"},{city:"承德市",text:"丰宁满族自治县",value:"130826"},{city:"承德市",text:"宽城满族自治县",value:"130827"},{city:"承德市",text:"围场满族蒙古族自治县",value:"130828"}],130900:[{city:"沧州市",text:"市辖区",value:"130901"},{city:"沧州市",text:"新华区",value:"130902"},{city:"沧州市",text:"运河区",value:"130903"},{city:"沧州市",text:"沧县",value:"130921"},{city:"沧州市",text:"青县",value:"130922"},{city:"沧州市",text:"东光县",value:"130923"},{city:"沧州市",text:"海兴县",value:"130924"},{city:"沧州市",text:"盐山县",value:"130925"},{city:"沧州市",text:"肃宁县",value:"130926"},{city:"沧州市",text:"南皮县",value:"130927"},{city:"沧州市",text:"吴桥县",value:"130928"},{city:"沧州市",text:"献县",value:"130929"},{city:"沧州市",text:"孟村回族自治县",value:"130930"},{city:"沧州市",text:"泊头市",value:"130981"},{city:"沧州市",text:"任丘市",value:"130982"},{city:"沧州市",text:"黄骅市",value:"130983"},{city:"沧州市",text:"河间市",value:"130984"}],131000:[{city:"廊坊市",text:"市辖区",value:"131001"},{city:"廊坊市",text:"安次区",value:"131002"},{city:"廊坊市",text:"广阳区",value:"131003"},{city:"廊坊市",text:"固安县",value:"131022"},{city:"廊坊市",text:"永清县",value:"131023"},{city:"廊坊市",text:"香河县",value:"131024"},{city:"廊坊市",text:"大城县",value:"131025"},{city:"廊坊市",text:"文安县",value:"131026"},{city:"廊坊市",text:"大厂回族自治县",value:"131028"},{city:"廊坊市",text:"霸州市",value:"131081"},{city:"廊坊市",text:"三河市",value:"131082"}],131100:[{city:"衡水市",text:"市辖区",value:"131101"},{city:"衡水市",text:"桃城区",value:"131102"},{city:"衡水市",text:"冀州区",value:"131103"},{city:"衡水市",text:"枣强县",value:"131121"},{city:"衡水市",text:"武邑县",value:"131122"},{city:"衡水市",text:"武强县",value:"131123"},{city:"衡水市",text:"饶阳县",value:"131124"},{city:"衡水市",text:"安平县",value:"131125"},{city:"衡水市",text:"故城县",value:"131126"},{city:"衡水市",text:"景县",value:"131127"},{city:"衡水市",text:"阜城县",value:"131128"},{city:"衡水市",text:"深州市",value:"131182"}],139000:[{city:"省直辖县级行政区划",text:"定州市",value:"139001"},{city:"省直辖县级行政区划",text:"辛集市",value:"139002"}],140100:[{city:"太原市",text:"市辖区",value:"140101"},{city:"太原市",text:"小店区",value:"140105"},{city:"太原市",text:"迎泽区",value:"140106"},{city:"太原市",text:"杏花岭区",value:"140107"},{city:"太原市",text:"尖草坪区",value:"140108"},{city:"太原市",text:"万柏林区",value:"140109"},{city:"太原市",text:"晋源区",value:"140110"},{city:"太原市",text:"清徐县",value:"140121"},{city:"太原市",text:"阳曲县",value:"140122"},{city:"太原市",text:"娄烦县",value:"140123"},{city:"太原市",text:"古交市",value:"140181"}],140200:[{city:"大同市",text:"市辖区",value:"140201"},{city:"大同市",text:"城区",value:"140202"},{city:"大同市",text:"矿区",value:"140203"},{city:"大同市",text:"南郊区",value:"140211"},{city:"大同市",text:"新荣区",value:"140212"},{city:"大同市",text:"阳高县",value:"140221"},{city:"大同市",text:"天镇县",value:"140222"},{city:"大同市",text:"广灵县",value:"140223"},{city:"大同市",text:"灵丘县",value:"140224"},{city:"大同市",text:"浑源县",value:"140225"},{city:"大同市",text:"左云县",value:"140226"},{city:"大同市",text:"大同县",value:"140227"}],140300:[{city:"阳泉市",text:"市辖区",value:"140301"},{city:"阳泉市",text:"城区",value:"140302"},{city:"阳泉市",text:"矿区",value:"140303"},{city:"阳泉市",text:"郊区",value:"140311"},{city:"阳泉市",text:"平定县",value:"140321"},{city:"阳泉市",text:"盂县",value:"140322"}],140400:[{city:"长治市",text:"市辖区",value:"140401"},{city:"长治市",text:"城区",value:"140402"},{city:"长治市",text:"郊区",value:"140411"},{city:"长治市",text:"长治县",value:"140421"},{city:"长治市",text:"襄垣县",value:"140423"},{city:"长治市",text:"屯留县",value:"140424"},{city:"长治市",text:"平顺县",value:"140425"},{city:"长治市",text:"黎城县",value:"140426"},{city:"长治市",text:"壶关县",value:"140427"},{city:"长治市",text:"长子县",value:"140428"},{city:"长治市",text:"武乡县",value:"140429"},{city:"长治市",text:"沁县",value:"140430"},{city:"长治市",text:"沁源县",value:"140431"},{city:"长治市",text:"潞城市",value:"140481"}],140500:[{city:"晋城市",text:"市辖区",value:"140501"},{city:"晋城市",text:"城区",value:"140502"},{city:"晋城市",text:"沁水县",value:"140521"},{city:"晋城市",text:"阳城县",value:"140522"},{city:"晋城市",text:"陵川县",value:"140524"},{city:"晋城市",text:"泽州县",value:"140525"},{city:"晋城市",text:"高平市",value:"140581"}],140600:[{city:"朔州市",text:"市辖区",value:"140601"},{city:"朔州市",text:"朔城区",value:"140602"},{city:"朔州市",text:"平鲁区",value:"140603"},{city:"朔州市",text:"山阴县",value:"140621"},{city:"朔州市",text:"应县",value:"140622"},{city:"朔州市",text:"右玉县",value:"140623"},{city:"朔州市",text:"怀仁县",value:"140624"}],140700:[{city:"晋中市",text:"市辖区",value:"140701"},{city:"晋中市",text:"榆次区",value:"140702"},{city:"晋中市",text:"榆社县",value:"140721"},{city:"晋中市",text:"左权县",value:"140722"},{city:"晋中市",text:"和顺县",value:"140723"},{city:"晋中市",text:"昔阳县",value:"140724"},{city:"晋中市",text:"寿阳县",value:"140725"},{city:"晋中市",text:"太谷县",value:"140726"},{city:"晋中市",text:"祁县",value:"140727"},{city:"晋中市",text:"平遥县",value:"140728"},{city:"晋中市",text:"灵石县",value:"140729"},{city:"晋中市",text:"介休市",value:"140781"}],140800:[{city:"运城市",text:"市辖区",value:"140801"},{city:"运城市",text:"盐湖区",value:"140802"},{city:"运城市",text:"临猗县",value:"140821"},{city:"运城市",text:"万荣县",value:"140822"},{city:"运城市",text:"闻喜县",value:"140823"},{city:"运城市",text:"稷山县",value:"140824"},{city:"运城市",text:"新绛县",value:"140825"},{city:"运城市",text:"绛县",value:"140826"},{city:"运城市",text:"垣曲县",value:"140827"},{city:"运城市",text:"夏县",value:"140828"},{city:"运城市",text:"平陆县",value:"140829"},{city:"运城市",text:"芮城县",value:"140830"},{city:"运城市",text:"永济市",value:"140881"},{city:"运城市",text:"河津市",value:"140882"}],140900:[{city:"忻州市",text:"市辖区",value:"140901"},{city:"忻州市",text:"忻府区",value:"140902"},{city:"忻州市",text:"定襄县",value:"140921"},{city:"忻州市",text:"五台县",value:"140922"},{city:"忻州市",text:"代县",value:"140923"},{city:"忻州市",text:"繁峙县",value:"140924"},{city:"忻州市",text:"宁武县",value:"140925"},{city:"忻州市",text:"静乐县",value:"140926"},{city:"忻州市",text:"神池县",value:"140927"},{city:"忻州市",text:"五寨县",value:"140928"},{city:"忻州市",text:"岢岚县",value:"140929"},{city:"忻州市",text:"河曲县",value:"140930"},{city:"忻州市",text:"保德县",value:"140931"},{city:"忻州市",text:"偏关县",value:"140932"},{city:"忻州市",text:"原平市",value:"140981"}],141000:[{city:"临汾市",text:"市辖区",value:"141001"},{city:"临汾市",text:"尧都区",value:"141002"},{city:"临汾市",text:"曲沃县",value:"141021"},{city:"临汾市",text:"翼城县",value:"141022"},{city:"临汾市",text:"襄汾县",value:"141023"},{city:"临汾市",text:"洪洞县",value:"141024"},{city:"临汾市",text:"古县",value:"141025"},{city:"临汾市",text:"安泽县",value:"141026"},{city:"临汾市",text:"浮山县",value:"141027"},{city:"临汾市",text:"吉县",value:"141028"},{city:"临汾市",text:"乡宁县",value:"141029"},{city:"临汾市",text:"大宁县",value:"141030"},{city:"临汾市",text:"隰县",value:"141031"},{city:"临汾市",text:"永和县",value:"141032"},{city:"临汾市",text:"蒲县",value:"141033"},{city:"临汾市",text:"汾西县",value:"141034"},{city:"临汾市",text:"侯马市",value:"141081"},{city:"临汾市",text:"霍州市",value:"141082"}],141100:[{city:"吕梁市",text:"市辖区",value:"141101"},{city:"吕梁市",text:"离石区",value:"141102"},{city:"吕梁市",text:"文水县",value:"141121"},{city:"吕梁市",text:"交城县",value:"141122"},{city:"吕梁市",text:"兴县",value:"141123"},{city:"吕梁市",text:"临县",value:"141124"},{city:"吕梁市",text:"柳林县",value:"141125"},{city:"吕梁市",text:"石楼县",value:"141126"},{city:"吕梁市",text:"岚县",value:"141127"},{city:"吕梁市",text:"方山县",value:"141128"},{city:"吕梁市",text:"中阳县",value:"141129"},{city:"吕梁市",text:"交口县",value:"141130"},{city:"吕梁市",text:"孝义市",value:"141181"},{city:"吕梁市",text:"汾阳市",value:"141182"}],150100:[{city:"呼和浩特市",text:"市辖区",value:"150101"},{city:"呼和浩特市",text:"新城区",value:"150102"},{city:"呼和浩特市",text:"回民区",value:"150103"},{city:"呼和浩特市",text:"玉泉区",value:"150104"},{city:"呼和浩特市",text:"赛罕区",value:"150105"},{city:"呼和浩特市",text:"土默特左旗",value:"150121"},{city:"呼和浩特市",text:"托克托县",value:"150122"},{city:"呼和浩特市",text:"和林格尔县",value:"150123"},{city:"呼和浩特市",text:"清水河县",value:"150124"},{city:"呼和浩特市",text:"武川县",value:"150125"}],150200:[{city:"包头市",text:"市辖区",value:"150201"},{city:"包头市",text:"东河区",value:"150202"},{city:"包头市",text:"昆都仑区",value:"150203"},{city:"包头市",text:"青山区",value:"150204"},{city:"包头市",text:"石拐区",value:"150205"},{city:"包头市",text:"白云鄂博矿区",value:"150206"},{city:"包头市",text:"九原区",value:"150207"},{city:"包头市",text:"土默特右旗",value:"150221"},{city:"包头市",text:"固阳县",value:"150222"},{city:"包头市",text:"达尔罕茂明安联合旗",value:"150223"}],150300:[{city:"乌海市",text:"市辖区",value:"150301"},{city:"乌海市",text:"海勃湾区",value:"150302"},{city:"乌海市",text:"海南区",value:"150303"},{city:"乌海市",text:"乌达区",value:"150304"}],150400:[{city:"赤峰市",text:"市辖区",value:"150401"},{city:"赤峰市",text:"红山区",value:"150402"},{city:"赤峰市",text:"元宝山区",value:"150403"},{city:"赤峰市",text:"松山区",value:"150404"},{city:"赤峰市",text:"阿鲁科尔沁旗",value:"150421"},{city:"赤峰市",text:"巴林左旗",value:"150422"},{city:"赤峰市",text:"巴林右旗",value:"150423"},{city:"赤峰市",text:"林西县",value:"150424"},{city:"赤峰市",text:"克什克腾旗",value:"150425"},{city:"赤峰市",text:"翁牛特旗",value:"150426"},{city:"赤峰市",text:"喀喇沁旗",value:"150428"},{city:"赤峰市",text:"宁城县",value:"150429"},{city:"赤峰市",text:"敖汉旗",value:"150430"}],150500:[{city:"通辽市",text:"市辖区",value:"150501"},{city:"通辽市",text:"科尔沁区",value:"150502"},{city:"通辽市",text:"科尔沁左翼中旗",value:"150521"},{city:"通辽市",text:"科尔沁左翼后旗",value:"150522"},{city:"通辽市",text:"开鲁县",value:"150523"},{city:"通辽市",text:"库伦旗",value:"150524"},{city:"通辽市",text:"奈曼旗",value:"150525"},{city:"通辽市",text:"扎鲁特旗",value:"150526"},{city:"通辽市",text:"霍林郭勒市",value:"150581"}],150600:[{city:"鄂尔多斯市",text:"市辖区",value:"150601"},{city:"鄂尔多斯市",text:"东胜区",value:"150602"},{city:"鄂尔多斯市",text:"康巴什区",value:"150603"},{city:"鄂尔多斯市",text:"达拉特旗",value:"150621"},{city:"鄂尔多斯市",text:"准格尔旗",value:"150622"},{city:"鄂尔多斯市",text:"鄂托克前旗",value:"150623"},{city:"鄂尔多斯市",text:"鄂托克旗",value:"150624"},{city:"鄂尔多斯市",text:"杭锦旗",value:"150625"},{city:"鄂尔多斯市",text:"乌审旗",value:"150626"},{city:"鄂尔多斯市",text:"伊金霍洛旗",value:"150627"}],150700:[{city:"呼伦贝尔市",text:"市辖区",value:"150701"},{city:"呼伦贝尔市",text:"海拉尔区",value:"150702"},{city:"呼伦贝尔市",text:"扎赉诺尔区",value:"150703"},{city:"呼伦贝尔市",text:"阿荣旗",value:"150721"},{city:"呼伦贝尔市",text:"莫力达瓦达斡尔族自治旗",value:"150722"},{city:"呼伦贝尔市",text:"鄂伦春自治旗",value:"150723"},{city:"呼伦贝尔市",text:"鄂温克族自治旗",value:"150724"},{city:"呼伦贝尔市",text:"陈巴尔虎旗",value:"150725"},{city:"呼伦贝尔市",text:"新巴尔虎左旗",value:"150726"},{city:"呼伦贝尔市",text:"新巴尔虎右旗",value:"150727"},{city:"呼伦贝尔市",text:"满洲里市",value:"150781"},{city:"呼伦贝尔市",text:"牙克石市",value:"150782"},{city:"呼伦贝尔市",text:"扎兰屯市",value:"150783"},{city:"呼伦贝尔市",text:"额尔古纳市",value:"150784"},{city:"呼伦贝尔市",text:"根河市",value:"150785"}],150800:[{city:"巴彦淖尔市",text:"市辖区",value:"150801"},{city:"巴彦淖尔市",text:"临河区",value:"150802"},{city:"巴彦淖尔市",text:"五原县",value:"150821"},{city:"巴彦淖尔市",text:"磴口县",value:"150822"},{city:"巴彦淖尔市",text:"乌拉特前旗",value:"150823"},{city:"巴彦淖尔市",text:"乌拉特中旗",value:"150824"},{city:"巴彦淖尔市",text:"乌拉特后旗",value:"150825"},{city:"巴彦淖尔市",text:"杭锦后旗",value:"150826"}],150900:[{city:"乌兰察布市",text:"市辖区",value:"150901"},{city:"乌兰察布市",text:"集宁区",value:"150902"},{city:"乌兰察布市",text:"卓资县",value:"150921"},{city:"乌兰察布市",text:"化德县",value:"150922"},{city:"乌兰察布市",text:"商都县",value:"150923"},{city:"乌兰察布市",text:"兴和县",value:"150924"},{city:"乌兰察布市",text:"凉城县",value:"150925"},{city:"乌兰察布市",text:"察哈尔右翼前旗",value:"150926"},{city:"乌兰察布市",text:"察哈尔右翼中旗",value:"150927"},{city:"乌兰察布市",text:"察哈尔右翼后旗",value:"150928"},{city:"乌兰察布市",text:"四子王旗",value:"150929"},{city:"乌兰察布市",text:"丰镇市",value:"150981"}],152200:[{city:"兴安盟",text:"乌兰浩特市",value:"152201"},{city:"兴安盟",text:"阿尔山市",value:"152202"},{city:"兴安盟",text:"科尔沁右翼前旗",value:"152221"},{city:"兴安盟",text:"科尔沁右翼中旗",value:"152222"},{city:"兴安盟",text:"扎赉特旗",value:"152223"},{city:"兴安盟",text:"突泉县",value:"152224"}],152500:[{city:"锡林郭勒盟",text:"二连浩特市",value:"152501"},{city:"锡林郭勒盟",text:"锡林浩特市",value:"152502"},{city:"锡林郭勒盟",text:"阿巴嘎旗",value:"152522"},{city:"锡林郭勒盟",text:"苏尼特左旗",value:"152523"},{city:"锡林郭勒盟",text:"苏尼特右旗",value:"152524"},{city:"锡林郭勒盟",text:"东乌珠穆沁旗",value:"152525"},{city:"锡林郭勒盟",text:"西乌珠穆沁旗",value:"152526"},{city:"锡林郭勒盟",text:"太仆寺旗",value:"152527"},{city:"锡林郭勒盟",text:"镶黄旗",value:"152528"},{city:"锡林郭勒盟",text:"正镶白旗",value:"152529"},{city:"锡林郭勒盟",text:"正蓝旗",value:"152530"},{city:"锡林郭勒盟",text:"多伦县",value:"152531"}],152900:[{city:"阿拉善盟",text:"阿拉善左旗",value:"152921"},{city:"阿拉善盟",text:"阿拉善右旗",value:"152922"},{city:"阿拉善盟",text:"额济纳旗",value:"152923"}],210100:[{city:"沈阳市",text:"市辖区",value:"210101"},{city:"沈阳市",text:"和平区",value:"210102"},{city:"沈阳市",text:"沈河区",value:"210103"},{city:"沈阳市",text:"大东区",value:"210104"},{city:"沈阳市",text:"皇姑区",value:"210105"},{city:"沈阳市",text:"铁西区",value:"210106"},{city:"沈阳市",text:"苏家屯区",value:"210111"},{city:"沈阳市",text:"浑南区",value:"210112"},{city:"沈阳市",text:"沈北新区",value:"210113"},{city:"沈阳市",text:"于洪区",value:"210114"},{city:"沈阳市",text:"辽中区",value:"210115"},{city:"沈阳市",text:"康平县",value:"210123"},{city:"沈阳市",text:"法库县",value:"210124"},{city:"沈阳市",text:"新民市",value:"210181"}],210200:[{city:"大连市",text:"市辖区",value:"210201"},{city:"大连市",text:"中山区",value:"210202"},{city:"大连市",text:"西岗区",value:"210203"},{city:"大连市",text:"沙河口区",value:"210204"},{city:"大连市",text:"甘井子区",value:"210211"},{city:"大连市",text:"旅顺口区",value:"210212"},{city:"大连市",text:"金州区",value:"210213"},{city:"大连市",text:"普兰店区",value:"210214"},{city:"大连市",text:"长海县",value:"210224"},{city:"大连市",text:"瓦房店市",value:"210281"},{city:"大连市",text:"庄河市",value:"210283"}],210300:[{city:"鞍山市",text:"市辖区",value:"210301"},{city:"鞍山市",text:"铁东区",value:"210302"},{city:"鞍山市",text:"铁西区",value:"210303"},{city:"鞍山市",text:"立山区",value:"210304"},{city:"鞍山市",text:"千山区",value:"210311"},{city:"鞍山市",text:"台安县",value:"210321"},{city:"鞍山市",text:"岫岩满族自治县",value:"210323"},{city:"鞍山市",text:"海城市",value:"210381"}],210400:[{city:"抚顺市",text:"市辖区",value:"210401"},{city:"抚顺市",text:"新抚区",value:"210402"},{city:"抚顺市",text:"东洲区",value:"210403"},{city:"抚顺市",text:"望花区",value:"210404"},{city:"抚顺市",text:"顺城区",value:"210411"},{city:"抚顺市",text:"抚顺县",value:"210421"},{city:"抚顺市",text:"新宾满族自治县",value:"210422"},{city:"抚顺市",text:"清原满族自治县",value:"210423"}],210500:[{city:"本溪市",text:"市辖区",value:"210501"},{city:"本溪市",text:"平山区",value:"210502"},{city:"本溪市",text:"溪湖区",value:"210503"},{city:"本溪市",text:"明山区",value:"210504"},{city:"本溪市",text:"南芬区",value:"210505"},{city:"本溪市",text:"本溪满族自治县",value:"210521"},{city:"本溪市",text:"桓仁满族自治县",value:"210522"}],210600:[{city:"丹东市",text:"市辖区",value:"210601"},{city:"丹东市",text:"元宝区",value:"210602"},{city:"丹东市",text:"振兴区",value:"210603"},{city:"丹东市",text:"振安区",value:"210604"},{city:"丹东市",text:"宽甸满族自治县",value:"210624"},{city:"丹东市",text:"东港市",value:"210681"},{city:"丹东市",text:"凤城市",value:"210682"}],210700:[{city:"锦州市",text:"市辖区",value:"210701"},{city:"锦州市",text:"古塔区",value:"210702"},{city:"锦州市",text:"凌河区",value:"210703"},{city:"锦州市",text:"太和区",value:"210711"},{city:"锦州市",text:"黑山县",value:"210726"},{city:"锦州市",text:"义县",value:"210727"},{city:"锦州市",text:"凌海市",value:"210781"},{city:"锦州市",text:"北镇市",value:"210782"}],210800:[{city:"营口市",text:"市辖区",value:"210801"},{city:"营口市",text:"站前区",value:"210802"},{city:"营口市",text:"西市区",value:"210803"},{city:"营口市",text:"鲅鱼圈区",value:"210804"},{city:"营口市",text:"老边区",value:"210811"},{city:"营口市",text:"盖州市",value:"210881"},{city:"营口市",text:"大石桥市",value:"210882"}],210900:[{city:"阜新市",text:"市辖区",value:"210901"},{city:"阜新市",text:"海州区",value:"210902"},{city:"阜新市",text:"新邱区",value:"210903"},{city:"阜新市",text:"太平区",value:"210904"},{city:"阜新市",text:"清河门区",value:"210905"},{city:"阜新市",text:"细河区",value:"210911"},{city:"阜新市",text:"阜新蒙古族自治县",value:"210921"},{city:"阜新市",text:"彰武县",value:"210922"}],211000:[{city:"辽阳市",text:"市辖区",value:"211001"},{city:"辽阳市",text:"白塔区",value:"211002"},{city:"辽阳市",text:"文圣区",value:"211003"},{city:"辽阳市",text:"宏伟区",value:"211004"},{city:"辽阳市",text:"弓长岭区",value:"211005"},{city:"辽阳市",text:"太子河区",value:"211011"},{city:"辽阳市",text:"辽阳县",value:"211021"},{city:"辽阳市",text:"灯塔市",value:"211081"}],211100:[{city:"盘锦市",text:"市辖区",value:"211101"},{city:"盘锦市",text:"双台子区",value:"211102"},{city:"盘锦市",text:"兴隆台区",value:"211103"},{city:"盘锦市",text:"大洼区",value:"211104"},{city:"盘锦市",text:"盘山县",value:"211122"}],211200:[{city:"铁岭市",text:"市辖区",value:"211201"},{city:"铁岭市",text:"银州区",value:"211202"},{city:"铁岭市",text:"清河区",value:"211204"},{city:"铁岭市",text:"铁岭县",value:"211221"},{city:"铁岭市",text:"西丰县",value:"211223"},{city:"铁岭市",text:"昌图县",value:"211224"},{city:"铁岭市",text:"调兵山市",value:"211281"},{city:"铁岭市",text:"开原市",value:"211282"}],211300:[{city:"朝阳市",text:"市辖区",value:"211301"},{city:"朝阳市",text:"双塔区",value:"211302"},{city:"朝阳市",text:"龙城区",value:"211303"},{city:"朝阳市",text:"朝阳县",value:"211321"},{city:"朝阳市",text:"建平县",value:"211322"},{city:"朝阳市",text:"喀喇沁左翼蒙古族自治县",value:"211324"},{city:"朝阳市",text:"北票市",value:"211381"},{city:"朝阳市",text:"凌源市",value:"211382"}],211400:[{city:"葫芦岛市",text:"市辖区",value:"211401"},{city:"葫芦岛市",text:"连山区",value:"211402"},{city:"葫芦岛市",text:"龙港区",value:"211403"},{city:"葫芦岛市",text:"南票区",value:"211404"},{city:"葫芦岛市",text:"绥中县",value:"211421"},{city:"葫芦岛市",text:"建昌县",value:"211422"},{city:"葫芦岛市",text:"兴城市",value:"211481"}],220100:[{city:"长春市",text:"市辖区",value:"220101"},{city:"长春市",text:"南关区",value:"220102"},{city:"长春市",text:"宽城区",value:"220103"},{city:"长春市",text:"朝阳区",value:"220104"},{city:"长春市",text:"二道区",value:"220105"},{city:"长春市",text:"绿园区",value:"220106"},{city:"长春市",text:"双阳区",value:"220112"},{city:"长春市",text:"九台区",value:"220113"},{city:"长春市",text:"农安县",value:"220122"},{city:"长春市",text:"榆树市",value:"220182"},{city:"长春市",text:"德惠市",value:"220183"}],220200:[{city:"吉林市",text:"市辖区",value:"220201"},{city:"吉林市",text:"昌邑区",value:"220202"},{city:"吉林市",text:"龙潭区",value:"220203"},{city:"吉林市",text:"船营区",value:"220204"},{city:"吉林市",text:"丰满区",value:"220211"},{city:"吉林市",text:"永吉县",value:"220221"},{city:"吉林市",text:"蛟河市",value:"220281"},{city:"吉林市",text:"桦甸市",value:"220282"},{city:"吉林市",text:"舒兰市",value:"220283"},{city:"吉林市",text:"磐石市",value:"220284"}],220300:[{city:"四平市",text:"市辖区",value:"220301"},{city:"四平市",text:"铁西区",value:"220302"},{city:"四平市",text:"铁东区",value:"220303"},{city:"四平市",text:"梨树县",value:"220322"},{city:"四平市",text:"伊通满族自治县",value:"220323"},{city:"四平市",text:"公主岭市",value:"220381"},{city:"四平市",text:"双辽市",value:"220382"}],220400:[{city:"辽源市",text:"市辖区",value:"220401"},{city:"辽源市",text:"龙山区",value:"220402"},{city:"辽源市",text:"西安区",value:"220403"},{city:"辽源市",text:"东丰县",value:"220421"},{city:"辽源市",text:"东辽县",value:"220422"}],220500:[{city:"通化市",text:"市辖区",value:"220501"},{city:"通化市",text:"东昌区",value:"220502"},{city:"通化市",text:"二道江区",value:"220503"},{city:"通化市",text:"通化县",value:"220521"},{city:"通化市",text:"辉南县",value:"220523"},{city:"通化市",text:"柳河县",value:"220524"},{city:"通化市",text:"梅河口市",value:"220581"},{city:"通化市",text:"集安市",value:"220582"}],220600:[{city:"白山市",text:"市辖区",value:"220601"},{city:"白山市",text:"浑江区",value:"220602"},{city:"白山市",text:"江源区",value:"220605"},{city:"白山市",text:"抚松县",value:"220621"},{city:"白山市",text:"靖宇县",value:"220622"},{city:"白山市",text:"长白朝鲜族自治县",value:"220623"},{city:"白山市",text:"临江市",value:"220681"}],220700:[{city:"松原市",text:"市辖区",value:"220701"},{city:"松原市",text:"宁江区",value:"220702"},{city:"松原市",text:"前郭尔罗斯蒙古族自治县",value:"220721"},{city:"松原市",text:"长岭县",value:"220722"},{city:"松原市",text:"乾安县",value:"220723"},{city:"松原市",text:"扶余市",value:"220781"}],220800:[{city:"白城市",text:"市辖区",value:"220801"},{city:"白城市",text:"洮北区",value:"220802"},{city:"白城市",text:"镇赉县",value:"220821"},{city:"白城市",text:"通榆县",value:"220822"},{city:"白城市",text:"洮南市",value:"220881"},{city:"白城市",text:"大安市",value:"220882"}],222400:[{city:"延边朝鲜族自治州",text:"延吉市",value:"222401"},{city:"延边朝鲜族自治州",text:"图们市",value:"222402"},{city:"延边朝鲜族自治州",text:"敦化市",value:"222403"},{city:"延边朝鲜族自治州",text:"珲春市",value:"222404"},{city:"延边朝鲜族自治州",text:"龙井市",value:"222405"},{city:"延边朝鲜族自治州",text:"和龙市",value:"222406"},{city:"延边朝鲜族自治州",text:"汪清县",value:"222424"},{city:"延边朝鲜族自治州",text:"安图县",value:"222426"}],230100:[{city:"哈尔滨市",text:"市辖区",value:"230101"},{city:"哈尔滨市",text:"道里区",value:"230102"},{city:"哈尔滨市",text:"南岗区",value:"230103"},{city:"哈尔滨市",text:"道外区",value:"230104"},{city:"哈尔滨市",text:"平房区",value:"230108"},{city:"哈尔滨市",text:"松北区",value:"230109"},{city:"哈尔滨市",text:"香坊区",value:"230110"},{city:"哈尔滨市",text:"呼兰区",value:"230111"},{city:"哈尔滨市",text:"阿城区",value:"230112"},{city:"哈尔滨市",text:"双城区",value:"230113"},{city:"哈尔滨市",text:"依兰县",value:"230123"},{city:"哈尔滨市",text:"方正县",value:"230124"},{city:"哈尔滨市",text:"宾县",value:"230125"},{city:"哈尔滨市",text:"巴彦县",value:"230126"},{city:"哈尔滨市",text:"木兰县",value:"230127"},{city:"哈尔滨市",text:"通河县",value:"230128"},{city:"哈尔滨市",text:"延寿县",value:"230129"},{city:"哈尔滨市",text:"尚志市",value:"230183"},{city:"哈尔滨市",text:"五常市",value:"230184"}],230200:[{city:"齐齐哈尔市",text:"市辖区",value:"230201"},{city:"齐齐哈尔市",text:"龙沙区",value:"230202"},{city:"齐齐哈尔市",text:"建华区",value:"230203"},{city:"齐齐哈尔市",text:"铁锋区",value:"230204"},{city:"齐齐哈尔市",text:"昂昂溪区",value:"230205"},{city:"齐齐哈尔市",text:"富拉尔基区",value:"230206"},{city:"齐齐哈尔市",text:"碾子山区",value:"230207"},{city:"齐齐哈尔市",text:"梅里斯达斡尔族区",value:"230208"},{city:"齐齐哈尔市",text:"龙江县",value:"230221"},{city:"齐齐哈尔市",text:"依安县",value:"230223"},{city:"齐齐哈尔市",text:"泰来县",value:"230224"},{city:"齐齐哈尔市",text:"甘南县",value:"230225"},{city:"齐齐哈尔市",text:"富裕县",value:"230227"},{city:"齐齐哈尔市",text:"克山县",value:"230229"},{city:"齐齐哈尔市",text:"克东县",value:"230230"},{city:"齐齐哈尔市",text:"拜泉县",value:"230231"},{city:"齐齐哈尔市",text:"讷河市",value:"230281"}],230300:[{city:"鸡西市",text:"市辖区",value:"230301"},{city:"鸡西市",text:"鸡冠区",value:"230302"},{city:"鸡西市",text:"恒山区",value:"230303"},{city:"鸡西市",text:"滴道区",value:"230304"},{city:"鸡西市",text:"梨树区",value:"230305"},{city:"鸡西市",text:"城子河区",value:"230306"},{city:"鸡西市",text:"麻山区",value:"230307"},{city:"鸡西市",text:"鸡东县",value:"230321"},{city:"鸡西市",text:"虎林市",value:"230381"},{city:"鸡西市",text:"密山市",value:"230382"}],230400:[{city:"鹤岗市",text:"市辖区",value:"230401"},{city:"鹤岗市",text:"向阳区",value:"230402"},{city:"鹤岗市",text:"工农区",value:"230403"},{city:"鹤岗市",text:"南山区",value:"230404"},{city:"鹤岗市",text:"兴安区",value:"230405"},{city:"鹤岗市",text:"东山区",value:"230406"},{city:"鹤岗市",text:"兴山区",value:"230407"},{city:"鹤岗市",text:"萝北县",value:"230421"},{city:"鹤岗市",text:"绥滨县",value:"230422"}],230500:[{city:"双鸭山市",text:"市辖区",value:"230501"},{city:"双鸭山市",text:"尖山区",value:"230502"},{city:"双鸭山市",text:"岭东区",value:"230503"},{city:"双鸭山市",text:"四方台区",value:"230505"},{city:"双鸭山市",text:"宝山区",value:"230506"},{city:"双鸭山市",text:"集贤县",value:"230521"},{city:"双鸭山市",text:"友谊县",value:"230522"},{city:"双鸭山市",text:"宝清县",value:"230523"},{city:"双鸭山市",text:"饶河县",value:"230524"}],230600:[{city:"大庆市",text:"市辖区",value:"230601"},{city:"大庆市",text:"萨尔图区",value:"230602"},{city:"大庆市",text:"龙凤区",value:"230603"},{city:"大庆市",text:"让胡路区",value:"230604"},{city:"大庆市",text:"红岗区",value:"230605"},{city:"大庆市",text:"大同区",value:"230606"},{city:"大庆市",text:"肇州县",value:"230621"},{city:"大庆市",text:"肇源县",value:"230622"},{city:"大庆市",text:"林甸县",value:"230623"},{city:"大庆市",text:"杜尔伯特蒙古族自治县",value:"230624"}],230700:[{city:"伊春市",text:"市辖区",value:"230701"},{city:"伊春市",text:"伊春区",value:"230702"},{city:"伊春市",text:"南岔区",value:"230703"},{city:"伊春市",text:"友好区",value:"230704"},{city:"伊春市",text:"西林区",value:"230705"},{city:"伊春市",text:"翠峦区",value:"230706"},{city:"伊春市",text:"新青区",value:"230707"},{city:"伊春市",text:"美溪区",value:"230708"},{city:"伊春市",text:"金山屯区",value:"230709"},{city:"伊春市",text:"五营区",value:"230710"},{city:"伊春市",text:"乌马河区",value:"230711"},{city:"伊春市",text:"汤旺河区",value:"230712"},{city:"伊春市",text:"带岭区",value:"230713"},{city:"伊春市",text:"乌伊岭区",value:"230714"},{city:"伊春市",text:"红星区",value:"230715"},{city:"伊春市",text:"上甘岭区",value:"230716"},{city:"伊春市",text:"嘉荫县",value:"230722"},{city:"伊春市",text:"铁力市",value:"230781"}],230800:[{city:"佳木斯市",text:"市辖区",value:"230801"},{city:"佳木斯市",text:"向阳区",value:"230803"},{city:"佳木斯市",text:"前进区",value:"230804"},{city:"佳木斯市",text:"东风区",value:"230805"},{city:"佳木斯市",text:"郊区",value:"230811"},{city:"佳木斯市",text:"桦南县",value:"230822"},{city:"佳木斯市",text:"桦川县",value:"230826"},{city:"佳木斯市",text:"汤原县",value:"230828"},{city:"佳木斯市",text:"同江市",value:"230881"},{city:"佳木斯市",text:"富锦市",value:"230882"},{city:"佳木斯市",text:"抚远市",value:"230883"}],230900:[{city:"七台河市",text:"市辖区",value:"230901"},{city:"七台河市",text:"新兴区",value:"230902"},{city:"七台河市",text:"桃山区",value:"230903"},{city:"七台河市",text:"茄子河区",value:"230904"},{city:"七台河市",text:"勃利县",value:"230921"}],231000:[{city:"牡丹江市",text:"市辖区",value:"231001"},{city:"牡丹江市",text:"东安区",value:"231002"},{city:"牡丹江市",text:"阳明区",value:"231003"},{city:"牡丹江市",text:"爱民区",value:"231004"},{city:"牡丹江市",text:"西安区",value:"231005"},{city:"牡丹江市",text:"林口县",value:"231025"},{city:"牡丹江市",text:"绥芬河市",value:"231081"},{city:"牡丹江市",text:"海林市",value:"231083"},{city:"牡丹江市",text:"宁安市",value:"231084"},{city:"牡丹江市",text:"穆棱市",value:"231085"},{city:"牡丹江市",text:"东宁市",value:"231086"}],231100:[{city:"黑河市",text:"市辖区",value:"231101"},{city:"黑河市",text:"爱辉区",value:"231102"},{city:"黑河市",text:"嫩江县",value:"231121"},{city:"黑河市",text:"逊克县",value:"231123"},{city:"黑河市",text:"孙吴县",value:"231124"},{city:"黑河市",text:"北安市",value:"231181"},{city:"黑河市",text:"五大连池市",value:"231182"}],231200:[{city:"绥化市",text:"市辖区",value:"231201"},{city:"绥化市",text:"北林区",value:"231202"},{city:"绥化市",text:"望奎县",value:"231221"},{city:"绥化市",text:"兰西县",value:"231222"},{city:"绥化市",text:"青冈县",value:"231223"},{city:"绥化市",text:"庆安县",value:"231224"},{city:"绥化市",text:"明水县",value:"231225"},{city:"绥化市",text:"绥棱县",value:"231226"},{city:"绥化市",text:"安达市",value:"231281"},{city:"绥化市",text:"肇东市",value:"231282"},{city:"绥化市",text:"海伦市",value:"231283"}],232700:[{city:"大兴安岭地区",text:"呼玛县",value:"232721"},{city:"大兴安岭地区",text:"塔河县",value:"232722"},{city:"大兴安岭地区",text:"漠河县",value:"232723"}],310100:[{city:"市辖区",text:"黄浦区",value:"310101"},{city:"市辖区",text:"徐汇区",value:"310104"},{city:"市辖区",text:"长宁区",value:"310105"},{city:"市辖区",text:"静安区",value:"310106"},{city:"市辖区",text:"普陀区",value:"310107"},{city:"市辖区",text:"虹口区",value:"310109"},{city:"市辖区",text:"杨浦区",value:"310110"},{city:"市辖区",text:"闵行区",value:"310112"},{city:"市辖区",text:"宝山区",value:"310113"},{city:"市辖区",text:"嘉定区",value:"310114"},{city:"市辖区",text:"浦东新区",value:"310115"},{city:"市辖区",text:"金山区",value:"310116"},{city:"市辖区",text:"松江区",value:"310117"},{city:"市辖区",text:"青浦区",value:"310118"},{city:"市辖区",text:"奉贤区",value:"310120"},{city:"市辖区",text:"崇明区",value:"310151"}],320100:[{city:"南京市",text:"市辖区",value:"320101"},{city:"南京市",text:"玄武区",value:"320102"},{city:"南京市",text:"秦淮区",value:"320104"},{city:"南京市",text:"建邺区",value:"320105"},{city:"南京市",text:"鼓楼区",value:"320106"},{city:"南京市",text:"浦口区",value:"320111"},{city:"南京市",text:"栖霞区",value:"320113"},{city:"南京市",text:"雨花台区",value:"320114"},{city:"南京市",text:"江宁区",value:"320115"},{city:"南京市",text:"六合区",value:"320116"},{city:"南京市",text:"溧水区",value:"320117"},{city:"南京市",text:"高淳区",value:"320118"}],320200:[{city:"无锡市",text:"市辖区",value:"320201"},{city:"无锡市",text:"锡山区",value:"320205"},{city:"无锡市",text:"惠山区",value:"320206"},{city:"无锡市",text:"滨湖区",value:"320211"},{city:"无锡市",text:"梁溪区",value:"320213"},{city:"无锡市",text:"新吴区",value:"320214"},{city:"无锡市",text:"江阴市",value:"320281"},{city:"无锡市",text:"宜兴市",value:"320282"}],320300:[{city:"徐州市",text:"市辖区",value:"320301"},{city:"徐州市",text:"鼓楼区",value:"320302"},{city:"徐州市",text:"云龙区",value:"320303"},{city:"徐州市",text:"贾汪区",value:"320305"},{city:"徐州市",text:"泉山区",value:"320311"},{city:"徐州市",text:"铜山区",value:"320312"},{city:"徐州市",text:"丰县",value:"320321"},{city:"徐州市",text:"沛县",value:"320322"},{city:"徐州市",text:"睢宁县",value:"320324"},{city:"徐州市",text:"新沂市",value:"320381"},{city:"徐州市",text:"邳州市",value:"320382"}],320400:[{city:"常州市",text:"市辖区",value:"320401"},{city:"常州市",text:"天宁区",value:"320402"},{city:"常州市",text:"钟楼区",value:"320404"},{city:"常州市",text:"新北区",value:"320411"},{city:"常州市",text:"武进区",value:"320412"},{city:"常州市",text:"金坛区",value:"320413"},{city:"常州市",text:"溧阳市",value:"320481"}],320500:[{city:"苏州市",text:"市辖区",value:"320501"},{city:"苏州市",text:"虎丘区",value:"320505"},{city:"苏州市",text:"吴中区",value:"320506"},{city:"苏州市",text:"相城区",value:"320507"},{city:"苏州市",text:"姑苏区",value:"320508"},{city:"苏州市",text:"吴江区",value:"320509"},{city:"苏州市",text:"常熟市",value:"320581"},{city:"苏州市",text:"张家港市",value:"320582"},{city:"苏州市",text:"昆山市",value:"320583"},{city:"苏州市",text:"太仓市",value:"320585"}],320600:[{city:"南通市",text:"市辖区",value:"320601"},{city:"南通市",text:"崇川区",value:"320602"},{city:"南通市",text:"港闸区",value:"320611"},{city:"南通市",text:"通州区",value:"320612"},{city:"南通市",text:"海安县",value:"320621"},{city:"南通市",text:"如东县",value:"320623"},{city:"南通市",text:"启东市",value:"320681"},{city:"南通市",text:"如皋市",value:"320682"},{city:"南通市",text:"海门市",value:"320684"}],320700:[{city:"连云港市",text:"市辖区",value:"320701"},{city:"连云港市",text:"连云区",value:"320703"},{city:"连云港市",text:"海州区",value:"320706"},{city:"连云港市",text:"赣榆区",value:"320707"},{city:"连云港市",text:"东海县",value:"320722"},{city:"连云港市",text:"灌云县",value:"320723"},{city:"连云港市",text:"灌南县",value:"320724"}],320800:[{city:"淮安市",text:"市辖区",value:"320801"},{city:"淮安市",text:"淮安区",value:"320803"},{city:"淮安市",text:"淮阴区",value:"320804"},{city:"淮安市",text:"清江浦区",value:"320812"},{city:"淮安市",text:"洪泽区",value:"320813"},{city:"淮安市",text:"涟水县",value:"320826"},{city:"淮安市",text:"盱眙县",value:"320830"},{city:"淮安市",text:"金湖县",value:"320831"}],320900:[{city:"盐城市",text:"市辖区",value:"320901"},{city:"盐城市",text:"亭湖区",value:"320902"},{city:"盐城市",text:"盐都区",value:"320903"},{city:"盐城市",text:"大丰区",value:"320904"},{city:"盐城市",text:"响水县",value:"320921"},{city:"盐城市",text:"滨海县",value:"320922"},{city:"盐城市",text:"阜宁县",value:"320923"},{city:"盐城市",text:"射阳县",value:"320924"},{city:"盐城市",text:"建湖县",value:"320925"},{city:"盐城市",text:"东台市",value:"320981"}],321000:[{city:"扬州市",text:"市辖区",value:"321001"},{city:"扬州市",text:"广陵区",value:"321002"},{city:"扬州市",text:"邗江区",value:"321003"},{city:"扬州市",text:"江都区",value:"321012"},{city:"扬州市",text:"宝应县",value:"321023"},{city:"扬州市",text:"仪征市",value:"321081"},{city:"扬州市",text:"高邮市",value:"321084"}],321100:[{city:"镇江市",text:"市辖区",value:"321101"},{city:"镇江市",text:"京口区",value:"321102"},{city:"镇江市",text:"润州区",value:"321111"},{city:"镇江市",text:"丹徒区",value:"321112"},{city:"镇江市",text:"丹阳市",value:"321181"},{city:"镇江市",text:"扬中市",value:"321182"},{city:"镇江市",text:"句容市",value:"321183"}],321200:[{city:"泰州市",text:"市辖区",value:"321201"},{city:"泰州市",text:"海陵区",value:"321202"},{city:"泰州市",text:"高港区",value:"321203"},{city:"泰州市",text:"姜堰区",value:"321204"},{city:"泰州市",text:"兴化市",value:"321281"},{city:"泰州市",text:"靖江市",value:"321282"},{city:"泰州市",text:"泰兴市",value:"321283"}],321300:[{city:"宿迁市",text:"市辖区",value:"321301"},{city:"宿迁市",text:"宿城区",value:"321302"},{city:"宿迁市",text:"宿豫区",value:"321311"},{city:"宿迁市",text:"沭阳县",value:"321322"},{city:"宿迁市",text:"泗阳县",value:"321323"},{city:"宿迁市",text:"泗洪县",value:"321324"}],330100:[{city:"杭州市",text:"市辖区",value:"330101"},{city:"杭州市",text:"上城区",value:"330102"},{city:"杭州市",text:"下城区",value:"330103"},{city:"杭州市",text:"江干区",value:"330104"},{city:"杭州市",text:"拱墅区",value:"330105"},{city:"杭州市",text:"西湖区",value:"330106"},{city:"杭州市",text:"滨江区",value:"330108"},{city:"杭州市",text:"萧山区",value:"330109"},{city:"杭州市",text:"余杭区",value:"330110"},{city:"杭州市",text:"富阳区",value:"330111"},{city:"杭州市",text:"桐庐县",value:"330122"},{city:"杭州市",text:"淳安县",value:"330127"},{city:"杭州市",text:"建德市",value:"330182"},{city:"杭州市",text:"临安市",value:"330185"}],330200:[{city:"宁波市",text:"市辖区",value:"330201"},{city:"宁波市",text:"海曙区",value:"330203"},{city:"宁波市",text:"江东区",value:"330204"},{city:"宁波市",text:"江北区",value:"330205"},{city:"宁波市",text:"北仑区",value:"330206"},{city:"宁波市",text:"镇海区",value:"330211"},{city:"宁波市",text:"鄞州区",value:"330212"},{city:"宁波市",text:"象山县",value:"330225"},{city:"宁波市",text:"宁海县",value:"330226"},{city:"宁波市",text:"余姚市",value:"330281"},{city:"宁波市",text:"慈溪市",value:"330282"},{city:"宁波市",text:"奉化市",value:"330283"}],330300:[{city:"温州市",text:"市辖区",value:"330301"},{city:"温州市",text:"鹿城区",value:"330302"},{city:"温州市",text:"龙湾区",value:"330303"},{city:"温州市",text:"瓯海区",value:"330304"},{city:"温州市",text:"洞头区",value:"330305"},{city:"温州市",text:"永嘉县",value:"330324"},{city:"温州市",text:"平阳县",value:"330326"},{city:"温州市",text:"苍南县",value:"330327"},{city:"温州市",text:"文成县",value:"330328"},{city:"温州市",text:"泰顺县",value:"330329"},{city:"温州市",text:"瑞安市",value:"330381"},{city:"温州市",text:"乐清市",value:"330382"}],330400:[{city:"嘉兴市",text:"市辖区",value:"330401"},{city:"嘉兴市",text:"南湖区",value:"330402"},{city:"嘉兴市",text:"秀洲区",value:"330411"},{city:"嘉兴市",text:"嘉善县",value:"330421"},{city:"嘉兴市",text:"海盐县",value:"330424"},{city:"嘉兴市",text:"海宁市",value:"330481"},{city:"嘉兴市",text:"平湖市",value:"330482"},{city:"嘉兴市",text:"桐乡市",value:"330483"}],330500:[{city:"湖州市",text:"市辖区",value:"330501"},{city:"湖州市",text:"吴兴区",value:"330502"},{city:"湖州市",text:"南浔区",value:"330503"},{city:"湖州市",text:"德清县",value:"330521"},{city:"湖州市",text:"长兴县",value:"330522"},{city:"湖州市",text:"安吉县",value:"330523"}],330600:[{city:"绍兴市",text:"市辖区",value:"330601"},{city:"绍兴市",text:"越城区",value:"330602"},{city:"绍兴市",text:"柯桥区",value:"330603"},{city:"绍兴市",text:"上虞区",value:"330604"},{city:"绍兴市",text:"新昌县",value:"330624"},{city:"绍兴市",text:"诸暨市",value:"330681"},{city:"绍兴市",text:"嵊州市",value:"330683"}],330700:[{city:"金华市",text:"市辖区",value:"330701"},{city:"金华市",text:"婺城区",value:"330702"},{city:"金华市",text:"金东区",value:"330703"},{city:"金华市",text:"武义县",value:"330723"},{city:"金华市",text:"浦江县",value:"330726"},{city:"金华市",text:"磐安县",value:"330727"},{city:"金华市",text:"兰溪市",value:"330781"},{city:"金华市",text:"义乌市",value:"330782"},{city:"金华市",text:"东阳市",value:"330783"},{city:"金华市",text:"永康市",value:"330784"}],330800:[{city:"衢州市",text:"市辖区",value:"330801"},{city:"衢州市",text:"柯城区",value:"330802"},{city:"衢州市",text:"衢江区",value:"330803"},{city:"衢州市",text:"常山县",value:"330822"},{city:"衢州市",text:"开化县",value:"330824"},{city:"衢州市",text:"龙游县",value:"330825"},{city:"衢州市",text:"江山市",value:"330881"}],330900:[{city:"舟山市",text:"市辖区",value:"330901"},{city:"舟山市",text:"定海区",value:"330902"},{city:"舟山市",text:"普陀区",value:"330903"},{city:"舟山市",text:"岱山县",value:"330921"},{city:"舟山市",text:"嵊泗县",value:"330922"}],331000:[{city:"台州市",text:"市辖区",value:"331001"},{city:"台州市",text:"椒江区",value:"331002"},{city:"台州市",text:"黄岩区",value:"331003"},{city:"台州市",text:"路桥区",value:"331004"},{city:"台州市",text:"玉环县",value:"331021"},{city:"台州市",text:"三门县",value:"331022"},{city:"台州市",text:"天台县",value:"331023"},{city:"台州市",text:"仙居县",value:"331024"},{city:"台州市",text:"温岭市",value:"331081"},{city:"台州市",text:"临海市",value:"331082"}],331100:[{city:"丽水市",text:"市辖区",value:"331101"},{city:"丽水市",text:"莲都区",value:"331102"},{city:"丽水市",text:"青田县",value:"331121"},{city:"丽水市",text:"缙云县",value:"331122"},{city:"丽水市",text:"遂昌县",value:"331123"},{city:"丽水市",text:"松阳县",value:"331124"},{city:"丽水市",text:"云和县",value:"331125"},{city:"丽水市",text:"庆元县",value:"331126"},{city:"丽水市",text:"景宁畲族自治县",value:"331127"},{city:"丽水市",text:"龙泉市",value:"331181"}],340100:[{city:"合肥市",text:"市辖区",value:"340101"},{city:"合肥市",text:"瑶海区",value:"340102"},{city:"合肥市",text:"庐阳区",value:"340103"},{city:"合肥市",text:"蜀山区",value:"340104"},{city:"合肥市",text:"包河区",value:"340111"},{city:"合肥市",text:"长丰县",value:"340121"},{city:"合肥市",text:"肥东县",value:"340122"},{city:"合肥市",text:"肥西县",value:"340123"},{city:"合肥市",text:"庐江县",value:"340124"},{city:"合肥市",text:"巢湖市",value:"340181"}],340200:[{city:"芜湖市",text:"市辖区",value:"340201"},{city:"芜湖市",text:"镜湖区",value:"340202"},{city:"芜湖市",text:"弋江区",value:"340203"},{city:"芜湖市",text:"鸠江区",value:"340207"},{city:"芜湖市",text:"三山区",value:"340208"},{city:"芜湖市",text:"芜湖县",value:"340221"},{city:"芜湖市",text:"繁昌县",value:"340222"},{city:"芜湖市",text:"南陵县",value:"340223"},{city:"芜湖市",text:"无为县",value:"340225"}],340300:[{city:"蚌埠市",text:"市辖区",value:"340301"},{city:"蚌埠市",text:"龙子湖区",value:"340302"},{city:"蚌埠市",text:"蚌山区",value:"340303"},{city:"蚌埠市",text:"禹会区",value:"340304"},{city:"蚌埠市",text:"淮上区",value:"340311"},{city:"蚌埠市",text:"怀远县",value:"340321"},{city:"蚌埠市",text:"五河县",value:"340322"},{city:"蚌埠市",text:"固镇县",value:"340323"}],340400:[{city:"淮南市",text:"市辖区",value:"340401"},{city:"淮南市",text:"大通区",value:"340402"},{city:"淮南市",text:"田家庵区",value:"340403"},{city:"淮南市",text:"谢家集区",value:"340404"},{city:"淮南市",text:"八公山区",value:"340405"},{city:"淮南市",text:"潘集区",value:"340406"},{city:"淮南市",text:"凤台县",value:"340421"},{city:"淮南市",text:"寿县",value:"340422"}],340500:[{city:"马鞍山市",text:"市辖区",value:"340501"},{city:"马鞍山市",text:"花山区",value:"340503"},{city:"马鞍山市",text:"雨山区",value:"340504"},{city:"马鞍山市",text:"博望区",value:"340506"},{city:"马鞍山市",text:"当涂县",value:"340521"},{city:"马鞍山市",text:"含山县",value:"340522"},{city:"马鞍山市",text:"和县",value:"340523"}],340600:[{city:"淮北市",text:"市辖区",value:"340601"},{city:"淮北市",text:"杜集区",value:"340602"},{city:"淮北市",text:"相山区",value:"340603"},{city:"淮北市",text:"烈山区",value:"340604"},{city:"淮北市",text:"濉溪县",value:"340621"}],340700:[{city:"铜陵市",text:"市辖区",value:"340701"},{city:"铜陵市",text:"铜官区",value:"340705"},{city:"铜陵市",text:"义安区",value:"340706"},{city:"铜陵市",text:"郊区",value:"340711"},{city:"铜陵市",text:"枞阳县",value:"340722"}],340800:[{city:"安庆市",text:"市辖区",value:"340801"},{city:"安庆市",text:"迎江区",value:"340802"},{city:"安庆市",text:"大观区",value:"340803"},{city:"安庆市",text:"宜秀区",value:"340811"},{city:"安庆市",text:"怀宁县",value:"340822"},{city:"安庆市",text:"潜山县",value:"340824"},{city:"安庆市",text:"太湖县",value:"340825"},{city:"安庆市",text:"宿松县",value:"340826"},{city:"安庆市",text:"望江县",value:"340827"},{city:"安庆市",text:"岳西县",value:"340828"},{city:"安庆市",text:"桐城市",value:"340881"}],341000:[{city:"黄山市",text:"市辖区",value:"341001"},{city:"黄山市",text:"屯溪区",value:"341002"},{city:"黄山市",text:"黄山区",value:"341003"},{city:"黄山市",text:"徽州区",value:"341004"},{city:"黄山市",text:"歙县",value:"341021"},{city:"黄山市",text:"休宁县",value:"341022"},{city:"黄山市",text:"黟县",value:"341023"},{city:"黄山市",text:"祁门县",value:"341024"}],341100:[{city:"滁州市",text:"市辖区",value:"341101"},{city:"滁州市",text:"琅琊区",value:"341102"},{city:"滁州市",text:"南谯区",value:"341103"},{city:"滁州市",text:"来安县",value:"341122"},{city:"滁州市",text:"全椒县",value:"341124"},{city:"滁州市",text:"定远县",value:"341125"},{city:"滁州市",text:"凤阳县",value:"341126"},{city:"滁州市",text:"天长市",value:"341181"},{city:"滁州市",text:"明光市",value:"341182"}],341200:[{city:"阜阳市",text:"市辖区",value:"341201"},{city:"阜阳市",text:"颍州区",value:"341202"},{city:"阜阳市",text:"颍东区",value:"341203"},{city:"阜阳市",text:"颍泉区",value:"341204"},{city:"阜阳市",text:"临泉县",value:"341221"},{city:"阜阳市",text:"太和县",value:"341222"},{city:"阜阳市",text:"阜南县",value:"341225"},{city:"阜阳市",text:"颍上县",value:"341226"},{city:"阜阳市",text:"界首市",value:"341282"}],341300:[{city:"宿州市",text:"市辖区",value:"341301"},{city:"宿州市",text:"埇桥区",value:"341302"},{city:"宿州市",text:"砀山县",value:"341321"},{city:"宿州市",text:"萧县",value:"341322"},{city:"宿州市",text:"灵璧县",value:"341323"},{city:"宿州市",text:"泗县",value:"341324"}],341500:[{city:"六安市",text:"市辖区",value:"341501"},{city:"六安市",text:"金安区",value:"341502"},{city:"六安市",text:"裕安区",value:"341503"},{city:"六安市",text:"叶集区",value:"341504"},{city:"六安市",text:"霍邱县",value:"341522"},{city:"六安市",text:"舒城县",value:"341523"},{city:"六安市",text:"金寨县",value:"341524"},{city:"六安市",text:"霍山县",value:"341525"}],341600:[{city:"亳州市",text:"市辖区",value:"341601"},{city:"亳州市",text:"谯城区",value:"341602"},{city:"亳州市",text:"涡阳县",value:"341621"},{city:"亳州市",text:"蒙城县",value:"341622"},{city:"亳州市",text:"利辛县",value:"341623"}],341700:[{city:"池州市",text:"市辖区",value:"341701"},{city:"池州市",text:"贵池区",value:"341702"},{city:"池州市",text:"东至县",value:"341721"},{city:"池州市",text:"石台县",value:"341722"},{city:"池州市",text:"青阳县",value:"341723"}],341800:[{city:"宣城市",text:"市辖区",value:"341801"},{city:"宣城市",text:"宣州区",value:"341802"},{city:"宣城市",text:"郎溪县",value:"341821"},{city:"宣城市",text:"广德县",value:"341822"},{city:"宣城市",text:"泾县",value:"341823"},{city:"宣城市",text:"绩溪县",value:"341824"},{city:"宣城市",text:"旌德县",value:"341825"},{city:"宣城市",text:"宁国市",value:"341881"}],350100:[{city:"福州市",text:"市辖区",value:"350101"},{city:"福州市",text:"鼓楼区",value:"350102"},{city:"福州市",text:"台江区",value:"350103"},{city:"福州市",text:"仓山区",value:"350104"},{city:"福州市",text:"马尾区",value:"350105"},{city:"福州市",text:"晋安区",value:"350111"},{city:"福州市",text:"闽侯县",value:"350121"},{city:"福州市",text:"连江县",value:"350122"},{city:"福州市",text:"罗源县",value:"350123"},{city:"福州市",text:"闽清县",value:"350124"},{city:"福州市",text:"永泰县",value:"350125"},{city:"福州市",text:"平潭县",value:"350128"},{city:"福州市",text:"福清市",value:"350181"},{city:"福州市",text:"长乐市",value:"350182"}],350200:[{city:"厦门市",text:"市辖区",value:"350201"},{city:"厦门市",text:"思明区",value:"350203"},{city:"厦门市",text:"海沧区",value:"350205"},{city:"厦门市",text:"湖里区",value:"350206"},{city:"厦门市",text:"集美区",value:"350211"},{city:"厦门市",text:"同安区",value:"350212"},{city:"厦门市",text:"翔安区",value:"350213"}],350300:[{city:"莆田市",text:"市辖区",value:"350301"},{city:"莆田市",text:"城厢区",value:"350302"},{city:"莆田市",text:"涵江区",value:"350303"},{city:"莆田市",text:"荔城区",value:"350304"},{city:"莆田市",text:"秀屿区",value:"350305"},{city:"莆田市",text:"仙游县",value:"350322"}],350400:[{city:"三明市",text:"市辖区",value:"350401"},{city:"三明市",text:"梅列区",value:"350402"},{city:"三明市",text:"三元区",value:"350403"},{city:"三明市",text:"明溪县",value:"350421"},{city:"三明市",text:"清流县",value:"350423"},{city:"三明市",text:"宁化县",value:"350424"},{city:"三明市",text:"大田县",value:"350425"},{city:"三明市",text:"尤溪县",value:"350426"},{city:"三明市",text:"沙县",value:"350427"},{city:"三明市",text:"将乐县",value:"350428"},{city:"三明市",text:"泰宁县",value:"350429"},{city:"三明市",text:"建宁县",value:"350430"},{city:"三明市",text:"永安市",value:"350481"}],350500:[{city:"泉州市",text:"市辖区",value:"350501"},{city:"泉州市",text:"鲤城区",value:"350502"},{city:"泉州市",text:"丰泽区",value:"350503"},{city:"泉州市",text:"洛江区",value:"350504"},{city:"泉州市",text:"泉港区",value:"350505"},{city:"泉州市",text:"惠安县",value:"350521"},{city:"泉州市",text:"安溪县",value:"350524"},{city:"泉州市",text:"永春县",value:"350525"},{city:"泉州市",text:"德化县",value:"350526"},{city:"泉州市",text:"金门县",value:"350527"},{city:"泉州市",text:"石狮市",value:"350581"},{city:"泉州市",text:"晋江市",value:"350582"},{city:"泉州市",text:"南安市",value:"350583"}],350600:[{city:"漳州市",text:"市辖区",value:"350601"},{city:"漳州市",text:"芗城区",value:"350602"},{city:"漳州市",text:"龙文区",value:"350603"},{city:"漳州市",text:"云霄县",value:"350622"},{city:"漳州市",text:"漳浦县",value:"350623"},{city:"漳州市",text:"诏安县",value:"350624"},{city:"漳州市",text:"长泰县",value:"350625"},{city:"漳州市",text:"东山县",value:"350626"},{city:"漳州市",text:"南靖县",value:"350627"},{city:"漳州市",text:"平和县",value:"350628"},{city:"漳州市",text:"华安县",value:"350629"},{city:"漳州市",text:"龙海市",value:"350681"}],350700:[{city:"南平市",text:"市辖区",value:"350701"},{city:"南平市",text:"延平区",value:"350702"},{city:"南平市",text:"建阳区",value:"350703"},{city:"南平市",text:"顺昌县",value:"350721"},{city:"南平市",text:"浦城县",value:"350722"},{city:"南平市",text:"光泽县",value:"350723"},{city:"南平市",text:"松溪县",value:"350724"},{city:"南平市",text:"政和县",value:"350725"},{city:"南平市",text:"邵武市",value:"350781"},{city:"南平市",text:"武夷山市",value:"350782"},{city:"南平市",text:"建瓯市",value:"350783"}],350800:[{city:"龙岩市",text:"市辖区",value:"350801"},{city:"龙岩市",text:"新罗区",value:"350802"},{city:"龙岩市",text:"永定区",value:"350803"},{city:"龙岩市",text:"长汀县",value:"350821"},{city:"龙岩市",text:"上杭县",value:"350823"},{city:"龙岩市",text:"武平县",value:"350824"},{city:"龙岩市",text:"连城县",value:"350825"},{city:"龙岩市",text:"漳平市",value:"350881"}],350900:[{city:"宁德市",text:"市辖区",value:"350901"},{city:"宁德市",text:"蕉城区",value:"350902"},{city:"宁德市",text:"霞浦县",value:"350921"},{city:"宁德市",text:"古田县",value:"350922"},{city:"宁德市",text:"屏南县",value:"350923"},{city:"宁德市",text:"寿宁县",value:"350924"},{city:"宁德市",text:"周宁县",value:"350925"},{city:"宁德市",text:"柘荣县",value:"350926"},{city:"宁德市",text:"福安市",value:"350981"},{city:"宁德市",text:"福鼎市",value:"350982"}],360100:[{city:"南昌市",text:"市辖区",value:"360101"},{city:"南昌市",text:"东湖区",value:"360102"},{city:"南昌市",text:"西湖区",value:"360103"},{city:"南昌市",text:"青云谱区",value:"360104"},{city:"南昌市",text:"湾里区",value:"360105"},{city:"南昌市",text:"青山湖区",value:"360111"},{city:"南昌市",text:"新建区",value:"360112"},{city:"南昌市",text:"南昌县",value:"360121"},{city:"南昌市",text:"安义县",value:"360123"},{city:"南昌市",text:"进贤县",value:"360124"}],360200:[{city:"景德镇市",text:"市辖区",value:"360201"},{city:"景德镇市",text:"昌江区",value:"360202"},{city:"景德镇市",text:"珠山区",value:"360203"},{city:"景德镇市",text:"浮梁县",value:"360222"},{city:"景德镇市",text:"乐平市",value:"360281"}],360300:[{city:"萍乡市",text:"市辖区",value:"360301"},{city:"萍乡市",text:"安源区",value:"360302"},{city:"萍乡市",text:"湘东区",value:"360313"},{city:"萍乡市",text:"莲花县",value:"360321"},{city:"萍乡市",text:"上栗县",value:"360322"},{city:"萍乡市",text:"芦溪县",value:"360323"}],360400:[{city:"九江市",text:"市辖区",value:"360401"},{city:"九江市",text:"濂溪区",value:"360402"},{city:"九江市",text:"浔阳区",value:"360403"},{city:"九江市",text:"九江县",value:"360421"},{city:"九江市",text:"武宁县",value:"360423"},{city:"九江市",text:"修水县",value:"360424"},{city:"九江市",text:"永修县",value:"360425"},{city:"九江市",text:"德安县",value:"360426"},{city:"九江市",text:"都昌县",value:"360428"},{city:"九江市",text:"湖口县",value:"360429"},{city:"九江市",text:"彭泽县",value:"360430"},{city:"九江市",text:"瑞昌市",value:"360481"},{city:"九江市",text:"共青城市",value:"360482"},{city:"九江市",text:"庐山市",value:"360483"}],360500:[{city:"新余市",text:"市辖区",value:"360501"},{city:"新余市",text:"渝水区",value:"360502"},{city:"新余市",text:"分宜县",value:"360521"}],360600:[{city:"鹰潭市",text:"市辖区",value:"360601"},{city:"鹰潭市",text:"月湖区",value:"360602"},{city:"鹰潭市",text:"余江县",value:"360622"},{city:"鹰潭市",text:"贵溪市",value:"360681"}],360700:[{city:"赣州市",text:"市辖区",value:"360701"},{city:"赣州市",text:"章贡区",value:"360702"},{city:"赣州市",text:"南康区",value:"360703"},{city:"赣州市",text:"赣县",value:"360721"},{city:"赣州市",text:"信丰县",value:"360722"},{city:"赣州市",text:"大余县",value:"360723"},{city:"赣州市",text:"上犹县",value:"360724"},{city:"赣州市",text:"崇义县",value:"360725"},{city:"赣州市",text:"安远县",value:"360726"},{city:"赣州市",text:"龙南县",value:"360727"},{city:"赣州市",text:"定南县",value:"360728"},{city:"赣州市",text:"全南县",value:"360729"},{city:"赣州市",text:"宁都县",value:"360730"},{city:"赣州市",text:"于都县",value:"360731"},{city:"赣州市",text:"兴国县",value:"360732"},{city:"赣州市",text:"会昌县",value:"360733"},{city:"赣州市",text:"寻乌县",value:"360734"},{city:"赣州市",text:"石城县",value:"360735"},{city:"赣州市",text:"瑞金市",value:"360781"}],360800:[{city:"吉安市",text:"市辖区",value:"360801"},{city:"吉安市",text:"吉州区",value:"360802"},{city:"吉安市",text:"青原区",value:"360803"},{city:"吉安市",text:"吉安县",value:"360821"},{city:"吉安市",text:"吉水县",value:"360822"},{city:"吉安市",text:"峡江县",value:"360823"},{city:"吉安市",text:"新干县",value:"360824"},{city:"吉安市",text:"永丰县",value:"360825"},{city:"吉安市",text:"泰和县",value:"360826"},{city:"吉安市",text:"遂川县",value:"360827"},{city:"吉安市",text:"万安县",value:"360828"},{city:"吉安市",text:"安福县",value:"360829"},{city:"吉安市",text:"永新县",value:"360830"},{city:"吉安市",text:"井冈山市",value:"360881"}],360900:[{city:"宜春市",text:"市辖区",value:"360901"},{city:"宜春市",text:"袁州区",value:"360902"},{city:"宜春市",text:"奉新县",value:"360921"},{city:"宜春市",text:"万载县",value:"360922"},{city:"宜春市",text:"上高县",value:"360923"},{city:"宜春市",text:"宜丰县",value:"360924"},{city:"宜春市",text:"靖安县",value:"360925"},{city:"宜春市",text:"铜鼓县",value:"360926"},{city:"宜春市",text:"丰城市",value:"360981"},{city:"宜春市",text:"樟树市",value:"360982"},{city:"宜春市",text:"高安市",value:"360983"}],361000:[{city:"抚州市",text:"市辖区",value:"361001"},{city:"抚州市",text:"临川区",value:"361002"},{city:"抚州市",text:"南城县",value:"361021"},{city:"抚州市",text:"黎川县",value:"361022"},{city:"抚州市",text:"南丰县",value:"361023"},{city:"抚州市",text:"崇仁县",value:"361024"},{city:"抚州市",text:"乐安县",value:"361025"},{city:"抚州市",text:"宜黄县",value:"361026"},{city:"抚州市",text:"金溪县",value:"361027"},{city:"抚州市",text:"资溪县",value:"361028"},{city:"抚州市",text:"东乡县",value:"361029"},{city:"抚州市",text:"广昌县",value:"361030"}],361100:[{city:"上饶市",text:"市辖区",value:"361101"},{city:"上饶市",text:"信州区",value:"361102"},{city:"上饶市",text:"广丰区",value:"361103"},{city:"上饶市",text:"上饶县",value:"361121"},{city:"上饶市",text:"玉山县",value:"361123"},{city:"上饶市",text:"铅山县",value:"361124"},{city:"上饶市",text:"横峰县",value:"361125"},{city:"上饶市",text:"弋阳县",value:"361126"},{city:"上饶市",text:"余干县",value:"361127"},{city:"上饶市",text:"鄱阳县",value:"361128"},{city:"上饶市",text:"万年县",value:"361129"},{city:"上饶市",text:"婺源县",value:"361130"},{city:"上饶市",text:"德兴市",value:"361181"}],370100:[{city:"济南市",text:"市辖区",value:"370101"},{city:"济南市",text:"历下区",value:"370102"},{city:"济南市",text:"市中区",value:"370103"},{city:"济南市",text:"槐荫区",value:"370104"},{city:"济南市",text:"天桥区",value:"370105"},{city:"济南市",text:"历城区",value:"370112"},{city:"济南市",text:"长清区",value:"370113"},{city:"济南市",text:"平阴县",value:"370124"},{city:"济南市",text:"济阳县",value:"370125"},{city:"济南市",text:"商河县",value:"370126"},{city:"济南市",text:"章丘市",value:"370181"}],370200:[{city:"青岛市",text:"市辖区",value:"370201"},{city:"青岛市",text:"市南区",value:"370202"},{city:"青岛市",text:"市北区",value:"370203"},{city:"青岛市",text:"黄岛区",value:"370211"},{city:"青岛市",text:"崂山区",value:"370212"},{city:"青岛市",text:"李沧区",value:"370213"},{city:"青岛市",text:"城阳区",value:"370214"},{city:"青岛市",text:"胶州市",value:"370281"},{city:"青岛市",text:"即墨市",value:"370282"},{city:"青岛市",text:"平度市",value:"370283"},{city:"青岛市",text:"莱西市",value:"370285"}],370300:[{city:"淄博市",text:"市辖区",value:"370301"},{city:"淄博市",text:"淄川区",value:"370302"},{city:"淄博市",text:"张店区",value:"370303"},{city:"淄博市",text:"博山区",value:"370304"},{city:"淄博市",text:"临淄区",value:"370305"},{city:"淄博市",text:"周村区",value:"370306"},{city:"淄博市",text:"桓台县",value:"370321"},{city:"淄博市",text:"高青县",value:"370322"},{city:"淄博市",text:"沂源县",value:"370323"}],370400:[{city:"枣庄市",text:"市辖区",value:"370401"},{city:"枣庄市",text:"市中区",value:"370402"},{city:"枣庄市",text:"薛城区",value:"370403"},{city:"枣庄市",text:"峄城区",value:"370404"},{city:"枣庄市",text:"台儿庄区",value:"370405"},{city:"枣庄市",text:"山亭区",value:"370406"},{city:"枣庄市",text:"滕州市",value:"370481"}],370500:[{city:"东营市",text:"市辖区",value:"370501"},{city:"东营市",text:"东营区",value:"370502"},{city:"东营市",text:"河口区",value:"370503"},{city:"东营市",text:"垦利区",value:"370505"},{city:"东营市",text:"利津县",value:"370522"},{city:"东营市",text:"广饶县",value:"370523"}],370600:[{city:"烟台市",text:"市辖区",value:"370601"},{city:"烟台市",text:"芝罘区",value:"370602"},{city:"烟台市",text:"福山区",value:"370611"},{city:"烟台市",text:"牟平区",value:"370612"},{city:"烟台市",text:"莱山区",value:"370613"},{city:"烟台市",text:"长岛县",value:"370634"},{city:"烟台市",text:"龙口市",value:"370681"},{city:"烟台市",text:"莱阳市",value:"370682"},{city:"烟台市",text:"莱州市",value:"370683"},{city:"烟台市",text:"蓬莱市",value:"370684"},{city:"烟台市",text:"招远市",value:"370685"},{city:"烟台市",text:"栖霞市",value:"370686"},{city:"烟台市",text:"海阳市",value:"370687"}],370700:[{city:"潍坊市",text:"市辖区",value:"370701"},{city:"潍坊市",text:"潍城区",value:"370702"},{city:"潍坊市",text:"寒亭区",value:"370703"},{city:"潍坊市",text:"坊子区",value:"370704"},{city:"潍坊市",text:"奎文区",value:"370705"},{city:"潍坊市",text:"临朐县",value:"370724"},{city:"潍坊市",text:"昌乐县",value:"370725"},{city:"潍坊市",text:"青州市",value:"370781"},{city:"潍坊市",text:"诸城市",value:"370782"},{city:"潍坊市",text:"寿光市",value:"370783"},{city:"潍坊市",text:"安丘市",value:"370784"},{city:"潍坊市",text:"高密市",value:"370785"},{city:"潍坊市",text:"昌邑市",value:"370786"}],370800:[{city:"济宁市",text:"市辖区",value:"370801"},{city:"济宁市",text:"任城区",value:"370811"},{city:"济宁市",text:"兖州区",value:"370812"},{city:"济宁市",text:"微山县",value:"370826"},{city:"济宁市",text:"鱼台县",value:"370827"},{city:"济宁市",text:"金乡县",value:"370828"},{city:"济宁市",text:"嘉祥县",value:"370829"},{city:"济宁市",text:"汶上县",value:"370830"},{city:"济宁市",text:"泗水县",value:"370831"},{city:"济宁市",text:"梁山县",value:"370832"},{city:"济宁市",text:"曲阜市",value:"370881"},{city:"济宁市",text:"邹城市",value:"370883"}],370900:[{city:"泰安市",text:"市辖区",value:"370901"},{city:"泰安市",text:"泰山区",value:"370902"},{city:"泰安市",text:"岱岳区",value:"370911"},{city:"泰安市",text:"宁阳县",value:"370921"},{city:"泰安市",text:"东平县",value:"370923"},{city:"泰安市",text:"新泰市",value:"370982"},{city:"泰安市",text:"肥城市",value:"370983"}],371000:[{city:"威海市",text:"市辖区",value:"371001"},{city:"威海市",text:"环翠区",value:"371002"},{city:"威海市",text:"文登区",value:"371003"},{city:"威海市",text:"荣成市",value:"371082"},{city:"威海市",text:"乳山市",value:"371083"}],371100:[{city:"日照市",text:"市辖区",value:"371101"},{city:"日照市",text:"东港区",value:"371102"},{city:"日照市",text:"岚山区",value:"371103"},{city:"日照市",text:"五莲县",value:"371121"},{city:"日照市",text:"莒县",value:"371122"}],371200:[{city:"莱芜市",text:"市辖区",value:"371201"},{city:"莱芜市",text:"莱城区",value:"371202"},{city:"莱芜市",text:"钢城区",value:"371203"}],371300:[{city:"临沂市",text:"市辖区",value:"371301"},{city:"临沂市",text:"兰山区",value:"371302"},{city:"临沂市",text:"罗庄区",value:"371311"},{city:"临沂市",text:"河东区",value:"371312"},{city:"临沂市",text:"沂南县",value:"371321"},{city:"临沂市",text:"郯城县",value:"371322"},{city:"临沂市",text:"沂水县",value:"371323"},{city:"临沂市",text:"兰陵县",value:"371324"},{city:"临沂市",text:"费县",value:"371325"},{city:"临沂市",text:"平邑县",value:"371326"},{city:"临沂市",text:"莒南县",value:"371327"},{city:"临沂市",text:"蒙阴县",value:"371328"},{city:"临沂市",text:"临沭县",value:"371329"}],371400:[{city:"德州市",text:"市辖区",value:"371401"},{city:"德州市",text:"德城区",value:"371402"},{city:"德州市",text:"陵城区",value:"371403"},{city:"德州市",text:"宁津县",value:"371422"},{city:"德州市",text:"庆云县",value:"371423"},{city:"德州市",text:"临邑县",value:"371424"},{city:"德州市",text:"齐河县",value:"371425"},{city:"德州市",text:"平原县",value:"371426"},{city:"德州市",text:"夏津县",value:"371427"},{city:"德州市",text:"武城县",value:"371428"},{city:"德州市",text:"乐陵市",value:"371481"},{city:"德州市",text:"禹城市",value:"371482"}],371500:[{city:"聊城市",text:"市辖区",value:"371501"},{city:"聊城市",text:"东昌府区",value:"371502"},{city:"聊城市",text:"阳谷县",value:"371521"},{city:"聊城市",text:"莘县",value:"371522"},{city:"聊城市",text:"茌平县",value:"371523"},{city:"聊城市",text:"东阿县",value:"371524"},{city:"聊城市",text:"冠县",value:"371525"},{city:"聊城市",text:"高唐县",value:"371526"},{city:"聊城市",text:"临清市",value:"371581"}],371600:[{city:"滨州市",text:"市辖区",value:"371601"},{city:"滨州市",text:"滨城区",value:"371602"},{city:"滨州市",text:"沾化区",value:"371603"},{city:"滨州市",text:"惠民县",value:"371621"},{city:"滨州市",text:"阳信县",value:"371622"},{city:"滨州市",text:"无棣县",value:"371623"},{city:"滨州市",text:"博兴县",value:"371625"},{city:"滨州市",text:"邹平县",value:"371626"}],371700:[{city:"菏泽市",text:"市辖区",value:"371701"},{city:"菏泽市",text:"牡丹区",value:"371702"},{city:"菏泽市",text:"定陶区",value:"371703"},{city:"菏泽市",text:"曹县",value:"371721"},{city:"菏泽市",text:"单县",value:"371722"},{city:"菏泽市",text:"成武县",value:"371723"},{city:"菏泽市",text:"巨野县",value:"371724"},{city:"菏泽市",text:"郓城县",value:"371725"},{city:"菏泽市",text:"鄄城县",value:"371726"},{city:"菏泽市",text:"东明县",value:"371728"}],410100:[{city:"郑州市",text:"市辖区",value:"410101"},{city:"郑州市",text:"中原区",value:"410102"},{city:"郑州市",text:"二七区",value:"410103"},{city:"郑州市",text:"管城回族区",value:"410104"},{city:"郑州市",text:"金水区",value:"410105"},{city:"郑州市",text:"上街区",value:"410106"},{city:"郑州市",text:"惠济区",value:"410108"},{city:"郑州市",text:"中牟县",value:"410122"},{city:"郑州市",text:"巩义市",value:"410181"},{city:"郑州市",text:"荥阳市",value:"410182"},{city:"郑州市",text:"新密市",value:"410183"},{city:"郑州市",text:"新郑市",value:"410184"},{city:"郑州市",text:"登封市",value:"410185"}],410200:[{city:"开封市",text:"市辖区",value:"410201"},{city:"开封市",text:"龙亭区",value:"410202"},{city:"开封市",text:"顺河回族区",value:"410203"},{city:"开封市",text:"鼓楼区",value:"410204"},{city:"开封市",text:"禹王台区",value:"410205"},{city:"开封市",text:"金明区",value:"410211"},{city:"开封市",text:"祥符区",value:"410212"},{city:"开封市",text:"杞县",value:"410221"},{city:"开封市",text:"通许县",value:"410222"},{city:"开封市",text:"尉氏县",value:"410223"},{city:"开封市",text:"兰考县",value:"410225"}],410300:[{city:"洛阳市",text:"市辖区",value:"410301"},{city:"洛阳市",text:"老城区",value:"410302"},{city:"洛阳市",text:"西工区",value:"410303"},{city:"洛阳市",text:"瀍河回族区",value:"410304"},{city:"洛阳市",text:"涧西区",value:"410305"},{city:"洛阳市",text:"吉利区",value:"410306"},{city:"洛阳市",text:"洛龙区",value:"410311"},{city:"洛阳市",text:"孟津县",value:"410322"},{city:"洛阳市",text:"新安县",value:"410323"},{city:"洛阳市",text:"栾川县",value:"410324"},{city:"洛阳市",text:"嵩县",value:"410325"},{city:"洛阳市",text:"汝阳县",value:"410326"},{city:"洛阳市",text:"宜阳县",value:"410327"},{city:"洛阳市",text:"洛宁县",value:"410328"},{city:"洛阳市",text:"伊川县",value:"410329"},{city:"洛阳市",text:"偃师市",value:"410381"}],410400:[{city:"平顶山市",text:"市辖区",value:"410401"},{city:"平顶山市",text:"新华区",value:"410402"},{city:"平顶山市",text:"卫东区",value:"410403"},{city:"平顶山市",text:"石龙区",value:"410404"},{city:"平顶山市",text:"湛河区",value:"410411"},{city:"平顶山市",text:"宝丰县",value:"410421"},{city:"平顶山市",text:"叶县",value:"410422"},{city:"平顶山市",text:"鲁山县",value:"410423"},{city:"平顶山市",text:"郏县",value:"410425"},{city:"平顶山市",text:"舞钢市",value:"410481"},{city:"平顶山市",text:"汝州市",value:"410482"}],410500:[{city:"安阳市",text:"市辖区",value:"410501"},{city:"安阳市",text:"文峰区",value:"410502"},{city:"安阳市",text:"北关区",value:"410503"},{city:"安阳市",text:"殷都区",value:"410505"},{city:"安阳市",text:"龙安区",value:"410506"},{city:"安阳市",text:"安阳县",value:"410522"},{city:"安阳市",text:"汤阴县",value:"410523"},{city:"安阳市",text:"滑县",value:"410526"},{city:"安阳市",text:"内黄县",value:"410527"},{city:"安阳市",text:"林州市",value:"410581"}],410600:[{city:"鹤壁市",text:"市辖区",value:"410601"},{city:"鹤壁市",text:"鹤山区",value:"410602"},{city:"鹤壁市",text:"山城区",value:"410603"},{city:"鹤壁市",text:"淇滨区",value:"410611"},{city:"鹤壁市",text:"浚县",value:"410621"},{city:"鹤壁市",text:"淇县",value:"410622"}],410700:[{city:"新乡市",text:"市辖区",value:"410701"},{city:"新乡市",text:"红旗区",value:"410702"},{city:"新乡市",text:"卫滨区",value:"410703"},{city:"新乡市",text:"凤泉区",value:"410704"},{city:"新乡市",text:"牧野区",value:"410711"},{city:"新乡市",text:"新乡县",value:"410721"},{city:"新乡市",text:"获嘉县",value:"410724"},{city:"新乡市",text:"原阳县",value:"410725"},{city:"新乡市",text:"延津县",value:"410726"},{city:"新乡市",text:"封丘县",value:"410727"},{city:"新乡市",text:"长垣县",value:"410728"},{city:"新乡市",text:"卫辉市",value:"410781"},{city:"新乡市",text:"辉县市",value:"410782"}],410800:[{city:"焦作市",text:"市辖区",value:"410801"},{city:"焦作市",text:"解放区",value:"410802"},{city:"焦作市",text:"中站区",value:"410803"},{city:"焦作市",text:"马村区",value:"410804"},{city:"焦作市",text:"山阳区",value:"410811"},{city:"焦作市",text:"修武县",value:"410821"},{city:"焦作市",text:"博爱县",value:"410822"},{city:"焦作市",text:"武陟县",value:"410823"},{city:"焦作市",text:"温县",value:"410825"},{city:"焦作市",text:"沁阳市",value:"410882"},{city:"焦作市",text:"孟州市",value:"410883"}],410900:[{city:"濮阳市",text:"市辖区",value:"410901"},{city:"濮阳市",text:"华龙区",value:"410902"},{city:"濮阳市",text:"清丰县",value:"410922"},{city:"濮阳市",text:"南乐县",value:"410923"},{city:"濮阳市",text:"范县",value:"410926"},{city:"濮阳市",text:"台前县",value:"410927"},{city:"濮阳市",text:"濮阳县",value:"410928"}],411000:[{city:"许昌市",text:"市辖区",value:"411001"},{city:"许昌市",text:"魏都区",value:"411002"},{city:"许昌市",text:"许昌县",value:"411023"},{city:"许昌市",text:"鄢陵县",value:"411024"},{city:"许昌市",text:"襄城县",value:"411025"},{city:"许昌市",text:"禹州市",value:"411081"},{city:"许昌市",text:"长葛市",value:"411082"}],411100:[{city:"漯河市",text:"市辖区",value:"411101"},{city:"漯河市",text:"源汇区",value:"411102"},{city:"漯河市",text:"郾城区",value:"411103"},{city:"漯河市",text:"召陵区",value:"411104"},{city:"漯河市",text:"舞阳县",value:"411121"},{city:"漯河市",text:"临颍县",value:"411122"}],411200:[{city:"三门峡市",text:"市辖区",value:"411201"},{city:"三门峡市",text:"湖滨区",value:"411202"},{city:"三门峡市",text:"陕州区",value:"411203"},{city:"三门峡市",text:"渑池县",value:"411221"},{city:"三门峡市",text:"卢氏县",value:"411224"},{city:"三门峡市",text:"义马市",value:"411281"},{city:"三门峡市",text:"灵宝市",value:"411282"}],411300:[{city:"南阳市",text:"市辖区",value:"411301"},{city:"南阳市",text:"宛城区",value:"411302"},{city:"南阳市",text:"卧龙区",value:"411303"},{city:"南阳市",text:"南召县",value:"411321"},{city:"南阳市",text:"方城县",value:"411322"},{city:"南阳市",text:"西峡县",value:"411323"},{city:"南阳市",text:"镇平县",value:"411324"},{city:"南阳市",text:"内乡县",value:"411325"},{city:"南阳市",text:"淅川县",value:"411326"},{city:"南阳市",text:"社旗县",value:"411327"},{city:"南阳市",text:"唐河县",value:"411328"},{city:"南阳市",text:"新野县",value:"411329"},{city:"南阳市",text:"桐柏县",value:"411330"},{city:"南阳市",text:"邓州市",value:"411381"}],411400:[{city:"商丘市",text:"市辖区",value:"411401"},{city:"商丘市",text:"梁园区",value:"411402"},{city:"商丘市",text:"睢阳区",value:"411403"},{city:"商丘市",text:"民权县",value:"411421"},{city:"商丘市",text:"睢县",value:"411422"},{city:"商丘市",text:"宁陵县",value:"411423"},{city:"商丘市",text:"柘城县",value:"411424"},{city:"商丘市",text:"虞城县",value:"411425"},{city:"商丘市",text:"夏邑县",value:"411426"},{city:"商丘市",text:"永城市",value:"411481"}],411500:[{city:"信阳市",text:"市辖区",value:"411501"},{city:"信阳市",text:"浉河区",value:"411502"},{city:"信阳市",text:"平桥区",value:"411503"},{city:"信阳市",text:"罗山县",value:"411521"},{city:"信阳市",text:"光山县",value:"411522"},{city:"信阳市",text:"新县",value:"411523"},{city:"信阳市",text:"商城县",value:"411524"},{city:"信阳市",text:"固始县",value:"411525"},{city:"信阳市",text:"潢川县",value:"411526"},{city:"信阳市",text:"淮滨县",value:"411527"},{city:"信阳市",text:"息县",value:"411528"}],411600:[{city:"周口市",text:"市辖区",value:"411601"},{city:"周口市",text:"川汇区",value:"411602"},{city:"周口市",text:"扶沟县",value:"411621"},{city:"周口市",text:"西华县",value:"411622"},{city:"周口市",text:"商水县",value:"411623"},{city:"周口市",text:"沈丘县",value:"411624"},{city:"周口市",text:"郸城县",value:"411625"},{city:"周口市",text:"淮阳县",value:"411626"},{city:"周口市",text:"太康县",value:"411627"},{city:"周口市",text:"鹿邑县",value:"411628"},{city:"周口市",text:"项城市",value:"411681"}],411700:[{city:"驻马店市",text:"市辖区",value:"411701"},{city:"驻马店市",text:"驿城区",value:"411702"},{city:"驻马店市",text:"西平县",value:"411721"},{city:"驻马店市",text:"上蔡县",value:"411722"},{city:"驻马店市",text:"平舆县",value:"411723"},{city:"驻马店市",text:"正阳县",value:"411724"},{city:"驻马店市",text:"确山县",value:"411725"},{city:"驻马店市",text:"泌阳县",value:"411726"},{city:"驻马店市",text:"汝南县",value:"411727"},{city:"驻马店市",text:"遂平县",value:"411728"},{city:"驻马店市",text:"新蔡县",value:"411729"}],419000:[{city:"省直辖县级行政区划",text:"济源市",value:"419001"}],420100:[{city:"武汉市",text:"市辖区",value:"420101"},{city:"武汉市",text:"江岸区",value:"420102"},{city:"武汉市",text:"江汉区",value:"420103"},{city:"武汉市",text:"硚口区",value:"420104"},{city:"武汉市",text:"汉阳区",value:"420105"},{city:"武汉市",text:"武昌区",value:"420106"},{city:"武汉市",text:"青山区",value:"420107"},{city:"武汉市",text:"洪山区",value:"420111"},{city:"武汉市",text:"东西湖区",value:"420112"},{city:"武汉市",text:"汉南区",value:"420113"},{city:"武汉市",text:"蔡甸区",value:"420114"},{city:"武汉市",text:"江夏区",value:"420115"},{city:"武汉市",text:"黄陂区",value:"420116"},{city:"武汉市",text:"新洲区",value:"420117"}],420200:[{city:"黄石市",text:"市辖区",value:"420201"},{city:"黄石市",text:"黄石港区",value:"420202"},{city:"黄石市",text:"西塞山区",value:"420203"},{city:"黄石市",text:"下陆区",value:"420204"},{city:"黄石市",text:"铁山区",value:"420205"},{city:"黄石市",text:"阳新县",value:"420222"},{city:"黄石市",text:"大冶市",value:"420281"}],420300:[{city:"十堰市",text:"市辖区",value:"420301"},{city:"十堰市",text:"茅箭区",value:"420302"},{city:"十堰市",text:"张湾区",value:"420303"},{city:"十堰市",text:"郧阳区",value:"420304"},{city:"十堰市",text:"郧西县",value:"420322"},{city:"十堰市",text:"竹山县",value:"420323"},{city:"十堰市",text:"竹溪县",value:"420324"},{city:"十堰市",text:"房县",value:"420325"},{city:"十堰市",text:"丹江口市",value:"420381"}],420500:[{city:"宜昌市",text:"市辖区",value:"420501"},{city:"宜昌市",text:"西陵区",value:"420502"},{city:"宜昌市",text:"伍家岗区",value:"420503"},{city:"宜昌市",text:"点军区",value:"420504"},{city:"宜昌市",text:"猇亭区",value:"420505"},{city:"宜昌市",text:"夷陵区",value:"420506"},{city:"宜昌市",text:"远安县",value:"420525"},{city:"宜昌市",text:"兴山县",value:"420526"},{city:"宜昌市",text:"秭归县",value:"420527"},{city:"宜昌市",text:"长阳土家族自治县",value:"420528"},{city:"宜昌市",text:"五峰土家族自治县",value:"420529"},{city:"宜昌市",text:"宜都市",value:"420581"},{city:"宜昌市",text:"当阳市",value:"420582"},{city:"宜昌市",text:"枝江市",value:"420583"}],420600:[{city:"襄阳市",text:"市辖区",value:"420601"},{city:"襄阳市",text:"襄城区",value:"420602"},{city:"襄阳市",text:"樊城区",value:"420606"},{city:"襄阳市",text:"襄州区",value:"420607"},{city:"襄阳市",text:"南漳县",value:"420624"},{city:"襄阳市",text:"谷城县",value:"420625"},{city:"襄阳市",text:"保康县",value:"420626"},{city:"襄阳市",text:"老河口市",value:"420682"},{city:"襄阳市",text:"枣阳市",value:"420683"},{city:"襄阳市",text:"宜城市",value:"420684"}],420700:[{city:"鄂州市",text:"市辖区",value:"420701"},{city:"鄂州市",text:"梁子湖区",value:"420702"},{city:"鄂州市",text:"华容区",value:"420703"},{city:"鄂州市",text:"鄂城区",value:"420704"}],420800:[{city:"荆门市",text:"市辖区",value:"420801"},{city:"荆门市",text:"东宝区",value:"420802"},{city:"荆门市",text:"掇刀区",value:"420804"},{city:"荆门市",text:"京山县",value:"420821"},{city:"荆门市",text:"沙洋县",value:"420822"},{city:"荆门市",text:"钟祥市",value:"420881"}],420900:[{city:"孝感市",text:"市辖区",value:"420901"},{city:"孝感市",text:"孝南区",value:"420902"},{city:"孝感市",text:"孝昌县",value:"420921"},{city:"孝感市",text:"大悟县",value:"420922"},{city:"孝感市",text:"云梦县",value:"420923"},{city:"孝感市",text:"应城市",value:"420981"},{city:"孝感市",text:"安陆市",value:"420982"},{city:"孝感市",text:"汉川市",value:"420984"}],421000:[{city:"荆州市",text:"市辖区",value:"421001"},{city:"荆州市",text:"沙市区",value:"421002"},{city:"荆州市",text:"荆州区",value:"421003"},{city:"荆州市",text:"公安县",value:"421022"},{city:"荆州市",text:"监利县",value:"421023"},{city:"荆州市",text:"江陵县",value:"421024"},{city:"荆州市",text:"石首市",value:"421081"},{city:"荆州市",text:"洪湖市",value:"421083"},{city:"荆州市",text:"松滋市",value:"421087"}],421100:[{city:"黄冈市",text:"市辖区",value:"421101"},{city:"黄冈市",text:"黄州区",value:"421102"},{city:"黄冈市",text:"团风县",value:"421121"},{city:"黄冈市",text:"红安县",value:"421122"},{city:"黄冈市",text:"罗田县",value:"421123"},{city:"黄冈市",text:"英山县",value:"421124"},{city:"黄冈市",text:"浠水县",value:"421125"},{city:"黄冈市",text:"蕲春县",value:"421126"},{city:"黄冈市",text:"黄梅县",value:"421127"},{city:"黄冈市",text:"麻城市",value:"421181"},{city:"黄冈市",text:"武穴市",value:"421182"}],421200:[{city:"咸宁市",text:"市辖区",value:"421201"},{city:"咸宁市",text:"咸安区",value:"421202"},{city:"咸宁市",text:"嘉鱼县",value:"421221"},{city:"咸宁市",text:"通城县",value:"421222"},{city:"咸宁市",text:"崇阳县",value:"421223"},{city:"咸宁市",text:"通山县",value:"421224"},{city:"咸宁市",text:"赤壁市",value:"421281"}],421300:[{city:"随州市",text:"市辖区",value:"421301"},{city:"随州市",text:"曾都区",value:"421303"},{city:"随州市",text:"随县",value:"421321"},{city:"随州市",text:"广水市",value:"421381"}],422800:[{city:"恩施土家族苗族自治州",text:"恩施市",value:"422801"},{city:"恩施土家族苗族自治州",text:"利川市",value:"422802"},{city:"恩施土家族苗族自治州",text:"建始县",value:"422822"},{city:"恩施土家族苗族自治州",text:"巴东县",value:"422823"},{city:"恩施土家族苗族自治州",text:"宣恩县",value:"422825"},{city:"恩施土家族苗族自治州",text:"咸丰县",value:"422826"},{city:"恩施土家族苗族自治州",text:"来凤县",value:"422827"},{city:"恩施土家族苗族自治州",text:"鹤峰县",value:"422828"}],429000:[{city:"省直辖县级行政区划",text:"仙桃市",value:"429004"},{city:"省直辖县级行政区划",text:"潜江市",value:"429005"},{city:"省直辖县级行政区划",text:"天门市",value:"429006"},{city:"省直辖县级行政区划",text:"神农架林区",value:"429021"}],430100:[{city:"长沙市",text:"市辖区",value:"430101"},{city:"长沙市",text:"芙蓉区",value:"430102"},{city:"长沙市",text:"天心区",value:"430103"},{city:"长沙市",text:"岳麓区",value:"430104"},{city:"长沙市",text:"开福区",value:"430105"},{city:"长沙市",text:"雨花区",value:"430111"},{city:"长沙市",text:"望城区",value:"430112"},{city:"长沙市",text:"长沙县",value:"430121"},{city:"长沙市",text:"宁乡县",value:"430124"},{city:"长沙市",text:"浏阳市",value:"430181"}],430200:[{city:"株洲市",text:"市辖区",value:"430201"},{city:"株洲市",text:"荷塘区",value:"430202"},{city:"株洲市",text:"芦淞区",value:"430203"},{city:"株洲市",text:"石峰区",value:"430204"},{city:"株洲市",text:"天元区",value:"430211"},{city:"株洲市",text:"株洲县",value:"430221"},{city:"株洲市",text:"攸县",value:"430223"},{city:"株洲市",text:"茶陵县",value:"430224"},{city:"株洲市",text:"炎陵县",value:"430225"},{city:"株洲市",text:"醴陵市",value:"430281"}],430300:[{city:"湘潭市",text:"市辖区",value:"430301"},{city:"湘潭市",text:"雨湖区",value:"430302"},{city:"湘潭市",text:"岳塘区",value:"430304"},{city:"湘潭市",text:"湘潭县",value:"430321"},{city:"湘潭市",text:"湘乡市",value:"430381"},{city:"湘潭市",text:"韶山市",value:"430382"}],430400:[{city:"衡阳市",text:"市辖区",value:"430401"},{city:"衡阳市",text:"珠晖区",value:"430405"},{city:"衡阳市",text:"雁峰区",value:"430406"},{city:"衡阳市",text:"石鼓区",value:"430407"},{city:"衡阳市",text:"蒸湘区",value:"430408"},{city:"衡阳市",text:"南岳区",value:"430412"},{city:"衡阳市",text:"衡阳县",value:"430421"},{city:"衡阳市",text:"衡南县",value:"430422"},{city:"衡阳市",text:"衡山县",value:"430423"},{city:"衡阳市",text:"衡东县",value:"430424"},{city:"衡阳市",text:"祁东县",value:"430426"},{city:"衡阳市",text:"耒阳市",value:"430481"},{city:"衡阳市",text:"常宁市",value:"430482"}],430500:[{city:"邵阳市",text:"市辖区",value:"430501"},{city:"邵阳市",text:"双清区",value:"430502"},{city:"邵阳市",text:"大祥区",value:"430503"},{city:"邵阳市",text:"北塔区",value:"430511"},{city:"邵阳市",text:"邵东县",value:"430521"},{city:"邵阳市",text:"新邵县",value:"430522"},{city:"邵阳市",text:"邵阳县",value:"430523"},{city:"邵阳市",text:"隆回县",value:"430524"},{city:"邵阳市",text:"洞口县",value:"430525"},{city:"邵阳市",text:"绥宁县",value:"430527"},{city:"邵阳市",text:"新宁县",value:"430528"},{city:"邵阳市",text:"城步苗族自治县",value:"430529"},{city:"邵阳市",text:"武冈市",value:"430581"}],430600:[{city:"岳阳市",text:"市辖区",value:"430601"},{city:"岳阳市",text:"岳阳楼区",value:"430602"},{city:"岳阳市",text:"云溪区",value:"430603"},{city:"岳阳市",text:"君山区",value:"430611"},{city:"岳阳市",text:"岳阳县",value:"430621"},{city:"岳阳市",text:"华容县",value:"430623"},{city:"岳阳市",text:"湘阴县",value:"430624"},{city:"岳阳市",text:"平江县",value:"430626"},{city:"岳阳市",text:"汨罗市",value:"430681"},{city:"岳阳市",text:"临湘市",value:"430682"}],430700:[{city:"常德市",text:"市辖区",value:"430701"},{city:"常德市",text:"武陵区",value:"430702"},{city:"常德市",text:"鼎城区",value:"430703"},{city:"常德市",text:"安乡县",value:"430721"},{city:"常德市",text:"汉寿县",value:"430722"},{city:"常德市",text:"澧县",value:"430723"},{city:"常德市",text:"临澧县",value:"430724"},{city:"常德市",text:"桃源县",value:"430725"},{city:"常德市",text:"石门县",value:"430726"},{city:"常德市",text:"津市市",value:"430781"}],430800:[{city:"张家界市",text:"市辖区",value:"430801"},{city:"张家界市",text:"永定区",value:"430802"},{city:"张家界市",text:"武陵源区",value:"430811"},{city:"张家界市",text:"慈利县",value:"430821"},{city:"张家界市",text:"桑植县",value:"430822"}],430900:[{city:"益阳市",text:"市辖区",value:"430901"},{city:"益阳市",text:"资阳区",value:"430902"},{city:"益阳市",text:"赫山区",value:"430903"},{city:"益阳市",text:"南县",value:"430921"},{city:"益阳市",text:"桃江县",value:"430922"},{city:"益阳市",text:"安化县",value:"430923"},{city:"益阳市",text:"沅江市",value:"430981"}],431000:[{city:"郴州市",text:"市辖区",value:"431001"},{city:"郴州市",text:"北湖区",value:"431002"},{city:"郴州市",text:"苏仙区",value:"431003"},{city:"郴州市",text:"桂阳县",value:"431021"},{city:"郴州市",text:"宜章县",value:"431022"},{city:"郴州市",text:"永兴县",value:"431023"},{city:"郴州市",text:"嘉禾县",value:"431024"},{city:"郴州市",text:"临武县",value:"431025"},{city:"郴州市",text:"汝城县",value:"431026"},{city:"郴州市",text:"桂东县",value:"431027"},{city:"郴州市",text:"安仁县",value:"431028"},{city:"郴州市",text:"资兴市",value:"431081"}],431100:[{city:"永州市",text:"市辖区",value:"431101"},{city:"永州市",text:"零陵区",value:"431102"},{city:"永州市",text:"冷水滩区",value:"431103"},{city:"永州市",text:"祁阳县",value:"431121"},{city:"永州市",text:"东安县",value:"431122"},{city:"永州市",text:"双牌县",value:"431123"},{city:"永州市",text:"道县",value:"431124"},{city:"永州市",text:"江永县",value:"431125"},{city:"永州市",text:"宁远县",value:"431126"},{city:"永州市",text:"蓝山县",value:"431127"},{city:"永州市",text:"新田县",value:"431128"},{city:"永州市",text:"江华瑶族自治县",value:"431129"}],431200:[{city:"怀化市",text:"市辖区",value:"431201"},{city:"怀化市",text:"鹤城区",value:"431202"},{city:"怀化市",text:"中方县",value:"431221"},{city:"怀化市",text:"沅陵县",value:"431222"},{city:"怀化市",text:"辰溪县",value:"431223"},{city:"怀化市",text:"溆浦县",value:"431224"},{city:"怀化市",text:"会同县",value:"431225"},{city:"怀化市",text:"麻阳苗族自治县",value:"431226"},{city:"怀化市",text:"新晃侗族自治县",value:"431227"},{city:"怀化市",text:"芷江侗族自治县",value:"431228"},{city:"怀化市",text:"靖州苗族侗族自治县",value:"431229"},{city:"怀化市",text:"通道侗族自治县",value:"431230"},{city:"怀化市",text:"洪江市",value:"431281"}],431300:[{city:"娄底市",text:"市辖区",value:"431301"},{city:"娄底市",text:"娄星区",value:"431302"},{city:"娄底市",text:"双峰县",value:"431321"},{city:"娄底市",text:"新化县",value:"431322"},{city:"娄底市",text:"冷水江市",value:"431381"},{city:"娄底市",text:"涟源市",value:"431382"}],433100:[{city:"湘西土家族苗族自治州",text:"吉首市",value:"433101"},{city:"湘西土家族苗族自治州",text:"泸溪县",value:"433122"},{city:"湘西土家族苗族自治州",text:"凤凰县",value:"433123"},{city:"湘西土家族苗族自治州",text:"花垣县",value:"433124"},{city:"湘西土家族苗族自治州",text:"保靖县",value:"433125"},{city:"湘西土家族苗族自治州",text:"古丈县",value:"433126"},{city:"湘西土家族苗族自治州",text:"永顺县",value:"433127"},{city:"湘西土家族苗族自治州",text:"龙山县",value:"433130"}],440100:[{city:"广州市",text:"市辖区",value:"440101"},{city:"广州市",text:"荔湾区",value:"440103"},{city:"广州市",text:"越秀区",value:"440104"},{city:"广州市",text:"海珠区",value:"440105"},{city:"广州市",text:"天河区",value:"440106"},{city:"广州市",text:"白云区",value:"440111"},{city:"广州市",text:"黄埔区",value:"440112"},{city:"广州市",text:"番禺区",value:"440113"},{city:"广州市",text:"花都区",value:"440114"},{city:"广州市",text:"南沙区",value:"440115"},{city:"广州市",text:"从化区",value:"440117"},{city:"广州市",text:"增城区",value:"440118"}],440200:[{city:"韶关市",text:"市辖区",value:"440201"},{city:"韶关市",text:"武江区",value:"440203"},{city:"韶关市",text:"浈江区",value:"440204"},{city:"韶关市",text:"曲江区",value:"440205"},{city:"韶关市",text:"始兴县",value:"440222"},{city:"韶关市",text:"仁化县",value:"440224"},{city:"韶关市",text:"翁源县",value:"440229"},{city:"韶关市",text:"乳源瑶族自治县",value:"440232"},{city:"韶关市",text:"新丰县",value:"440233"},{city:"韶关市",text:"乐昌市",value:"440281"},{city:"韶关市",text:"南雄市",value:"440282"}],440300:[{city:"深圳市",text:"市辖区",value:"440301"},{city:"深圳市",text:"罗湖区",value:"440303"},{city:"深圳市",text:"福田区",value:"440304"},{city:"深圳市",text:"南山区",value:"440305"},{city:"深圳市",text:"宝安区",value:"440306"},{city:"深圳市",text:"龙岗区",value:"440307"},{city:"深圳市",text:"盐田区",value:"440308"}],440400:[{city:"珠海市",text:"市辖区",value:"440401"},{city:"珠海市",text:"香洲区",value:"440402"},{city:"珠海市",text:"斗门区",value:"440403"},{city:"珠海市",text:"金湾区",value:"440404"}],440500:[{city:"汕头市",text:"市辖区",value:"440501"},{city:"汕头市",text:"龙湖区",value:"440507"},{city:"汕头市",text:"金平区",value:"440511"},{city:"汕头市",text:"濠江区",value:"440512"},{city:"汕头市",text:"潮阳区",value:"440513"},{city:"汕头市",text:"潮南区",value:"440514"},{city:"汕头市",text:"澄海区",value:"440515"},{city:"汕头市",text:"南澳县",value:"440523"}],440600:[{city:"佛山市",text:"市辖区",value:"440601"},{city:"佛山市",text:"禅城区",value:"440604"},{city:"佛山市",text:"南海区",value:"440605"},{city:"佛山市",text:"顺德区",value:"440606"},{city:"佛山市",text:"三水区",value:"440607"},{city:"佛山市",text:"高明区",value:"440608"}],440700:[{city:"江门市",text:"市辖区",value:"440701"},{city:"江门市",text:"蓬江区",value:"440703"},{city:"江门市",text:"江海区",value:"440704"},{city:"江门市",text:"新会区",value:"440705"},{city:"江门市",text:"台山市",value:"440781"},{city:"江门市",text:"开平市",value:"440783"},{city:"江门市",text:"鹤山市",value:"440784"},{city:"江门市",text:"恩平市",value:"440785"}],440800:[{city:"湛江市",text:"市辖区",value:"440801"},{city:"湛江市",text:"赤坎区",value:"440802"},{city:"湛江市",text:"霞山区",value:"440803"},{city:"湛江市",text:"坡头区",value:"440804"},{city:"湛江市",text:"麻章区",value:"440811"},{city:"湛江市",text:"遂溪县",value:"440823"},{city:"湛江市",text:"徐闻县",value:"440825"},{city:"湛江市",text:"廉江市",value:"440881"},{city:"湛江市",text:"雷州市",value:"440882"},{city:"湛江市",text:"吴川市",value:"440883"}],440900:[{city:"茂名市",text:"市辖区",value:"440901"},{city:"茂名市",text:"茂南区",value:"440902"},{city:"茂名市",text:"电白区",value:"440904"},{city:"茂名市",text:"高州市",value:"440981"},{city:"茂名市",text:"化州市",value:"440982"},{city:"茂名市",text:"信宜市",value:"440983"}],441200:[{city:"肇庆市",text:"市辖区",value:"441201"},{city:"肇庆市",text:"端州区",value:"441202"},{city:"肇庆市",text:"鼎湖区",value:"441203"},{city:"肇庆市",text:"高要区",value:"441204"},{city:"肇庆市",text:"广宁县",value:"441223"},{city:"肇庆市",text:"怀集县",value:"441224"},{city:"肇庆市",text:"封开县",value:"441225"},{city:"肇庆市",text:"德庆县",value:"441226"},{city:"肇庆市",text:"四会市",value:"441284"}],441300:[{city:"惠州市",text:"市辖区",value:"441301"},{city:"惠州市",text:"惠城区",value:"441302"},{city:"惠州市",text:"惠阳区",value:"441303"},{city:"惠州市",text:"博罗县",value:"441322"},{city:"惠州市",text:"惠东县",value:"441323"},{city:"惠州市",text:"龙门县",value:"441324"}],441400:[{city:"梅州市",text:"市辖区",value:"441401"},{city:"梅州市",text:"梅江区",value:"441402"},{city:"梅州市",text:"梅县区",value:"441403"},{city:"梅州市",text:"大埔县",value:"441422"},{city:"梅州市",text:"丰顺县",value:"441423"},{city:"梅州市",text:"五华县",value:"441424"},{city:"梅州市",text:"平远县",value:"441426"},{city:"梅州市",text:"蕉岭县",value:"441427"},{city:"梅州市",text:"兴宁市",value:"441481"}],441500:[{city:"汕尾市",text:"市辖区",value:"441501"},{city:"汕尾市",text:"城区",value:"441502"},{city:"汕尾市",text:"海丰县",value:"441521"},{city:"汕尾市",text:"陆河县",value:"441523"},{city:"汕尾市",text:"陆丰市",value:"441581"}],441600:[{city:"河源市",text:"市辖区",value:"441601"},{city:"河源市",text:"源城区",value:"441602"},{city:"河源市",text:"紫金县",value:"441621"},{city:"河源市",text:"龙川县",value:"441622"},{city:"河源市",text:"连平县",value:"441623"},{city:"河源市",text:"和平县",value:"441624"},{city:"河源市",text:"东源县",value:"441625"}],441700:[{city:"阳江市",text:"市辖区",value:"441701"},{city:"阳江市",text:"江城区",value:"441702"},{city:"阳江市",text:"阳东区",value:"441704"},{city:"阳江市",text:"阳西县",value:"441721"},{city:"阳江市",text:"阳春市",value:"441781"}],441800:[{city:"清远市",text:"市辖区",value:"441801"},{city:"清远市",text:"清城区",value:"441802"},{city:"清远市",text:"清新区",value:"441803"},{city:"清远市",text:"佛冈县",value:"441821"},{city:"清远市",text:"阳山县",value:"441823"},{city:"清远市",text:"连山壮族瑶族自治县",value:"441825"},{city:"清远市",text:"连南瑶族自治县",value:"441826"},{city:"清远市",text:"英德市",value:"441881"},{city:"清远市",text:"连州市",value:"441882"}],441900:[],442000:[],445100:[{city:"潮州市",text:"市辖区",value:"445101"},{city:"潮州市",text:"湘桥区",value:"445102"},{city:"潮州市",text:"潮安区",value:"445103"},{city:"潮州市",text:"饶平县",value:"445122"}],445200:[{city:"揭阳市",text:"市辖区",value:"445201"},{city:"揭阳市",text:"榕城区",value:"445202"},{city:"揭阳市",text:"揭东区",value:"445203"},{city:"揭阳市",text:"揭西县",value:"445222"},{city:"揭阳市",text:"惠来县",value:"445224"},{city:"揭阳市",text:"普宁市",value:"445281"}],445300:[{city:"云浮市",text:"市辖区",value:"445301"},{city:"云浮市",text:"云城区",value:"445302"},{city:"云浮市",text:"云安区",value:"445303"},{city:"云浮市",text:"新兴县",value:"445321"},{city:"云浮市",text:"郁南县",value:"445322"},{city:"云浮市",text:"罗定市",value:"445381"}],450100:[{city:"南宁市",text:"市辖区",value:"450101"},{city:"南宁市",text:"兴宁区",value:"450102"},{city:"南宁市",text:"青秀区",value:"450103"},{city:"南宁市",text:"江南区",value:"450105"},{city:"南宁市",text:"西乡塘区",value:"450107"},{city:"南宁市",text:"良庆区",value:"450108"},{city:"南宁市",text:"邕宁区",value:"450109"},{city:"南宁市",text:"武鸣区",value:"450110"},{city:"南宁市",text:"隆安县",value:"450123"},{city:"南宁市",text:"马山县",value:"450124"},{city:"南宁市",text:"上林县",value:"450125"},{city:"南宁市",text:"宾阳县",value:"450126"},{city:"南宁市",text:"横县",value:"450127"}],450200:[{city:"柳州市",text:"市辖区",value:"450201"},{city:"柳州市",text:"城中区",value:"450202"},{city:"柳州市",text:"鱼峰区",value:"450203"},{city:"柳州市",text:"柳南区",value:"450204"},{city:"柳州市",text:"柳北区",value:"450205"},{city:"柳州市",text:"柳江区",value:"450206"},{city:"柳州市",text:"柳城县",value:"450222"},{city:"柳州市",text:"鹿寨县",value:"450223"},{city:"柳州市",text:"融安县",value:"450224"},{city:"柳州市",text:"融水苗族自治县",value:"450225"},{city:"柳州市",text:"三江侗族自治县",value:"450226"}],450300:[{city:"桂林市",text:"市辖区",value:"450301"},{city:"桂林市",text:"秀峰区",value:"450302"},{city:"桂林市",text:"叠彩区",value:"450303"},{city:"桂林市",text:"象山区",value:"450304"},{city:"桂林市",text:"七星区",value:"450305"},{city:"桂林市",text:"雁山区",value:"450311"},{city:"桂林市",text:"临桂区",value:"450312"},{city:"桂林市",text:"阳朔县",value:"450321"},{city:"桂林市",text:"灵川县",value:"450323"},{city:"桂林市",text:"全州县",value:"450324"},{city:"桂林市",text:"兴安县",value:"450325"},{city:"桂林市",text:"永福县",value:"450326"},{city:"桂林市",text:"灌阳县",value:"450327"},{city:"桂林市",text:"龙胜各族自治县",value:"450328"},{city:"桂林市",text:"资源县",value:"450329"},{city:"桂林市",text:"平乐县",value:"450330"},{city:"桂林市",text:"荔浦县",value:"450331"},{city:"桂林市",text:"恭城瑶族自治县",value:"450332"}],450400:[{city:"梧州市",text:"市辖区",value:"450401"},{city:"梧州市",text:"万秀区",value:"450403"},{city:"梧州市",text:"长洲区",value:"450405"},{city:"梧州市",text:"龙圩区",value:"450406"},{city:"梧州市",text:"苍梧县",value:"450421"},{city:"梧州市",text:"藤县",value:"450422"},{city:"梧州市",text:"蒙山县",value:"450423"},{city:"梧州市",text:"岑溪市",value:"450481"}],450500:[{city:"北海市",text:"市辖区",value:"450501"},{city:"北海市",text:"海城区",value:"450502"},{city:"北海市",text:"银海区",value:"450503"},{city:"北海市",text:"铁山港区",value:"450512"},{city:"北海市",text:"合浦县",value:"450521"}],450600:[{city:"防城港市",text:"市辖区",value:"450601"},{city:"防城港市",text:"港口区",value:"450602"},{city:"防城港市",text:"防城区",value:"450603"},{city:"防城港市",text:"上思县",value:"450621"},{city:"防城港市",text:"东兴市",value:"450681"}],450700:[{city:"钦州市",text:"市辖区",value:"450701"},{city:"钦州市",text:"钦南区",value:"450702"},{city:"钦州市",text:"钦北区",value:"450703"},{city:"钦州市",text:"灵山县",value:"450721"},{city:"钦州市",text:"浦北县",value:"450722"}],450800:[{city:"贵港市",text:"市辖区",value:"450801"},{city:"贵港市",text:"港北区",value:"450802"},{city:"贵港市",text:"港南区",value:"450803"},{city:"贵港市",text:"覃塘区",value:"450804"},{city:"贵港市",text:"平南县",value:"450821"},{city:"贵港市",text:"桂平市",value:"450881"}],450900:[{city:"玉林市",text:"市辖区",value:"450901"},{city:"玉林市",text:"玉州区",value:"450902"},{city:"玉林市",text:"福绵区",value:"450903"},{city:"玉林市",text:"容县",value:"450921"},{city:"玉林市",text:"陆川县",value:"450922"},{city:"玉林市",text:"博白县",value:"450923"},{city:"玉林市",text:"兴业县",value:"450924"},{city:"玉林市",text:"北流市",value:"450981"}],451000:[{city:"百色市",text:"市辖区",value:"451001"},{city:"百色市",text:"右江区",value:"451002"},{city:"百色市",text:"田阳县",value:"451021"},{city:"百色市",text:"田东县",value:"451022"},{city:"百色市",text:"平果县",value:"451023"},{city:"百色市",text:"德保县",value:"451024"},{city:"百色市",text:"那坡县",value:"451026"},{city:"百色市",text:"凌云县",value:"451027"},{city:"百色市",text:"乐业县",value:"451028"},{city:"百色市",text:"田林县",value:"451029"},{city:"百色市",text:"西林县",value:"451030"},{city:"百色市",text:"隆林各族自治县",value:"451031"},{city:"百色市",text:"靖西市",value:"451081"}],451100:[{city:"贺州市",text:"市辖区",value:"451101"},{city:"贺州市",text:"八步区",value:"451102"},{city:"贺州市",text:"平桂区",value:"451103"},{city:"贺州市",text:"昭平县",value:"451121"},{city:"贺州市",text:"钟山县",value:"451122"},{city:"贺州市",text:"富川瑶族自治县",value:"451123"}],451200:[{city:"河池市",text:"市辖区",value:"451201"},{city:"河池市",text:"金城江区",value:"451202"},{city:"河池市",text:"南丹县",value:"451221"},{city:"河池市",text:"天峨县",value:"451222"},{city:"河池市",text:"凤山县",value:"451223"},{city:"河池市",text:"东兰县",value:"451224"},{city:"河池市",text:"罗城仫佬族自治县",value:"451225"},{city:"河池市",text:"环江毛南族自治县",value:"451226"},{city:"河池市",text:"巴马瑶族自治县",value:"451227"},{city:"河池市",text:"都安瑶族自治县",value:"451228"},{city:"河池市",text:"大化瑶族自治县",value:"451229"},{city:"河池市",text:"宜州市",value:"451281"}],451300:[{city:"来宾市",text:"市辖区",value:"451301"},{city:"来宾市",text:"兴宾区",value:"451302"},{city:"来宾市",text:"忻城县",value:"451321"},{city:"来宾市",text:"象州县",value:"451322"},{city:"来宾市",text:"武宣县",value:"451323"},{city:"来宾市",text:"金秀瑶族自治县",value:"451324"},{city:"来宾市",text:"合山市",value:"451381"}],451400:[{city:"崇左市",text:"市辖区",value:"451401"},{city:"崇左市",text:"江州区",value:"451402"},{city:"崇左市",text:"扶绥县",value:"451421"},{city:"崇左市",text:"宁明县",value:"451422"},{city:"崇左市",text:"龙州县",value:"451423"},{city:"崇左市",text:"大新县",value:"451424"},{city:"崇左市",text:"天等县",value:"451425"},{city:"崇左市",text:"凭祥市",value:"451481"}],460100:[{city:"海口市",text:"市辖区",value:"460101"},{city:"海口市",text:"秀英区",value:"460105"},{city:"海口市",text:"龙华区",value:"460106"},{city:"海口市",text:"琼山区",value:"460107"},{city:"海口市",text:"美兰区",value:"460108"}],460200:[{city:"三亚市",text:"市辖区",value:"460201"},{city:"三亚市",text:"海棠区",value:"460202"},{city:"三亚市",text:"吉阳区",value:"460203"},{city:"三亚市",text:"天涯区",value:"460204"},{city:"三亚市",text:"崖州区",value:"460205"}],460300:[],460400:[],469000:[{city:"省直辖县级行政区划",text:"五指山市",value:"469001"},{city:"省直辖县级行政区划",text:"琼海市",value:"469002"},{city:"省直辖县级行政区划",text:"文昌市",value:"469005"},{city:"省直辖县级行政区划",text:"万宁市",value:"469006"},{city:"省直辖县级行政区划",text:"东方市",value:"469007"},{city:"省直辖县级行政区划",text:"定安县",value:"469021"},{city:"省直辖县级行政区划",text:"屯昌县",value:"469022"},{city:"省直辖县级行政区划",text:"澄迈县",value:"469023"},{city:"省直辖县级行政区划",text:"临高县",value:"469024"},{city:"省直辖县级行政区划",text:"白沙黎族自治县",value:"469025"},{city:"省直辖县级行政区划",text:"昌江黎族自治县",value:"469026"},{city:"省直辖县级行政区划",text:"乐东黎族自治县",value:"469027"},{city:"省直辖县级行政区划",text:"陵水黎族自治县",value:"469028"},{city:"省直辖县级行政区划",text:"保亭黎族苗族自治县",value:"469029"},{city:"省直辖县级行政区划",text:"琼中黎族苗族自治县",value:"469030"}],500100:[{city:"市辖区",text:"万州区",value:"500101"},{city:"市辖区",text:"涪陵区",value:"500102"},{city:"市辖区",text:"渝中区",value:"500103"},{city:"市辖区",text:"大渡口区",value:"500104"},{city:"市辖区",text:"江北区",value:"500105"},{city:"市辖区",text:"沙坪坝区",value:"500106"},{city:"市辖区",text:"九龙坡区",value:"500107"},{city:"市辖区",text:"南岸区",value:"500108"},{city:"市辖区",text:"北碚区",value:"500109"},{city:"市辖区",text:"綦江区",value:"500110"},{city:"市辖区",text:"大足区",value:"500111"},{city:"市辖区",text:"渝北区",value:"500112"},{city:"市辖区",text:"巴南区",value:"500113"},{city:"市辖区",text:"黔江区",value:"500114"},{city:"市辖区",text:"长寿区",value:"500115"},{city:"市辖区",text:"江津区",value:"500116"},{city:"市辖区",text:"合川区",value:"500117"},{city:"市辖区",text:"永川区",value:"500118"},{city:"市辖区",text:"南川区",value:"500119"},{city:"市辖区",text:"璧山区",value:"500120"},{city:"市辖区",text:"铜梁区",value:"500151"},{city:"市辖区",text:"潼南区",value:"500152"},{city:"市辖区",text:"荣昌区",value:"500153"},{city:"市辖区",text:"开州区",value:"500154"}],500200:[{city:"县",text:"梁平县",value:"500228"},{city:"县",text:"城口县",value:"500229"},{city:"县",text:"丰都县",value:"500230"},{city:"县",text:"垫江县",value:"500231"},{city:"县",text:"武隆县",value:"500232"},{city:"县",text:"忠县",value:"500233"},{city:"县",text:"云阳县",value:"500235"},{city:"县",text:"奉节县",value:"500236"},{city:"县",text:"巫山县",value:"500237"},{city:"县",text:"巫溪县",value:"500238"},{city:"县",text:"石柱土家族自治县",value:"500240"},{city:"县",text:"秀山土家族苗族自治县",value:"500241"},{city:"县",text:"酉阳土家族苗族自治县",value:"500242"},{city:"县",text:"彭水苗族土家族自治县",value:"500243"}],510100:[{city:"成都市",text:"市辖区",value:"510101"},{city:"成都市",text:"锦江区",value:"510104"},{city:"成都市",text:"青羊区",value:"510105"},{city:"成都市",text:"金牛区",value:"510106"},{city:"成都市",text:"武侯区",value:"510107"},{city:"成都市",text:"成华区",value:"510108"},{city:"成都市",text:"龙泉驿区",value:"510112"},{city:"成都市",text:"青白江区",value:"510113"},{city:"成都市",text:"新都区",value:"510114"},{city:"成都市",text:"温江区",value:"510115"},{city:"成都市",text:"双流区",value:"510116"},{city:"成都市",text:"金堂县",value:"510121"},{city:"成都市",text:"郫县",value:"510124"},{city:"成都市",text:"大邑县",value:"510129"},{city:"成都市",text:"蒲江县",value:"510131"},{city:"成都市",text:"新津县",value:"510132"},{city:"成都市",text:"都江堰市",value:"510181"},{city:"成都市",text:"彭州市",value:"510182"},{city:"成都市",text:"邛崃市",value:"510183"},{city:"成都市",text:"崇州市",value:"510184"},{city:"成都市",text:"简阳市",value:"510185"}],510300:[{city:"自贡市",text:"市辖区",value:"510301"},{city:"自贡市",text:"自流井区",value:"510302"},{city:"自贡市",text:"贡井区",value:"510303"},{city:"自贡市",text:"大安区",value:"510304"},{city:"自贡市",text:"沿滩区",value:"510311"},{city:"自贡市",text:"荣县",value:"510321"},{city:"自贡市",text:"富顺县",value:"510322"}],510400:[{city:"攀枝花市",text:"市辖区",value:"510401"},{city:"攀枝花市",text:"东区",value:"510402"},{city:"攀枝花市",text:"西区",value:"510403"},{city:"攀枝花市",text:"仁和区",value:"510411"},{city:"攀枝花市",text:"米易县",value:"510421"},{city:"攀枝花市",text:"盐边县",value:"510422"}],510500:[{city:"泸州市",text:"市辖区",value:"510501"},{city:"泸州市",text:"江阳区",value:"510502"},{city:"泸州市",text:"纳溪区",value:"510503"},{city:"泸州市",text:"龙马潭区",value:"510504"},{city:"泸州市",text:"泸县",value:"510521"},{city:"泸州市",text:"合江县",value:"510522"},{city:"泸州市",text:"叙永县",value:"510524"},{city:"泸州市",text:"古蔺县",value:"510525"}],510600:[{city:"德阳市",text:"市辖区",value:"510601"},{city:"德阳市",text:"旌阳区",value:"510603"},{city:"德阳市",text:"中江县",value:"510623"},{city:"德阳市",text:"罗江县",value:"510626"},{city:"德阳市",text:"广汉市",value:"510681"},{city:"德阳市",text:"什邡市",value:"510682"},{city:"德阳市",text:"绵竹市",value:"510683"}],510700:[{city:"绵阳市",text:"市辖区",value:"510701"},{city:"绵阳市",text:"涪城区",value:"510703"},{city:"绵阳市",text:"游仙区",value:"510704"},{city:"绵阳市",text:"安州区",value:"510705"},{city:"绵阳市",text:"三台县",value:"510722"},{city:"绵阳市",text:"盐亭县",value:"510723"},{city:"绵阳市",text:"梓潼县",value:"510725"},{city:"绵阳市",text:"北川羌族自治县",value:"510726"},{city:"绵阳市",text:"平武县",value:"510727"},{city:"绵阳市",text:"江油市",value:"510781"}],510800:[{city:"广元市",text:"市辖区",value:"510801"},{city:"广元市",text:"利州区",value:"510802"},{city:"广元市",text:"昭化区",value:"510811"},{city:"广元市",text:"朝天区",value:"510812"},{city:"广元市",text:"旺苍县",value:"510821"},{city:"广元市",text:"青川县",value:"510822"},{city:"广元市",text:"剑阁县",value:"510823"},{city:"广元市",text:"苍溪县",value:"510824"}],510900:[{city:"遂宁市",text:"市辖区",value:"510901"},{city:"遂宁市",text:"船山区",value:"510903"},{city:"遂宁市",text:"安居区",value:"510904"},{city:"遂宁市",text:"蓬溪县",value:"510921"},{city:"遂宁市",text:"射洪县",value:"510922"},{city:"遂宁市",text:"大英县",value:"510923"}],511000:[{city:"内江市",text:"市辖区",value:"511001"},{city:"内江市",text:"市中区",value:"511002"},{city:"内江市",text:"东兴区",value:"511011"},{city:"内江市",text:"威远县",value:"511024"},{city:"内江市",text:"资中县",value:"511025"},{city:"内江市",text:"隆昌县",value:"511028"}],511100:[{city:"乐山市",text:"市辖区",value:"511101"},{city:"乐山市",text:"市中区",value:"511102"},{city:"乐山市",text:"沙湾区",value:"511111"},{city:"乐山市",text:"五通桥区",value:"511112"},{city:"乐山市",text:"金口河区",value:"511113"},{city:"乐山市",text:"犍为县",value:"511123"},{city:"乐山市",text:"井研县",value:"511124"},{city:"乐山市",text:"夹江县",value:"511126"},{city:"乐山市",text:"沐川县",value:"511129"},{city:"乐山市",text:"峨边彝族自治县",value:"511132"},{city:"乐山市",text:"马边彝族自治县",value:"511133"},{city:"乐山市",text:"峨眉山市",value:"511181"}],511300:[{city:"南充市",text:"市辖区",value:"511301"},{city:"南充市",text:"顺庆区",value:"511302"},{city:"南充市",text:"高坪区",value:"511303"},{city:"南充市",text:"嘉陵区",value:"511304"},{city:"南充市",text:"南部县",value:"511321"},{city:"南充市",text:"营山县",value:"511322"},{city:"南充市",text:"蓬安县",value:"511323"},{city:"南充市",text:"仪陇县",value:"511324"},{city:"南充市",text:"西充县",value:"511325"},{city:"南充市",text:"阆中市",value:"511381"}],511400:[{city:"眉山市",text:"市辖区",value:"511401"},{city:"眉山市",text:"东坡区",value:"511402"},{city:"眉山市",text:"彭山区",value:"511403"},{city:"眉山市",text:"仁寿县",value:"511421"},{city:"眉山市",text:"洪雅县",value:"511423"},{city:"眉山市",text:"丹棱县",value:"511424"},{city:"眉山市",text:"青神县",value:"511425"}],511500:[{city:"宜宾市",text:"市辖区",value:"511501"},{city:"宜宾市",text:"翠屏区",value:"511502"},{city:"宜宾市",text:"南溪区",value:"511503"},{city:"宜宾市",text:"宜宾县",value:"511521"},{city:"宜宾市",text:"江安县",value:"511523"},{city:"宜宾市",text:"长宁县",value:"511524"},{city:"宜宾市",text:"高县",value:"511525"},{city:"宜宾市",text:"珙县",value:"511526"},{city:"宜宾市",text:"筠连县",value:"511527"},{city:"宜宾市",text:"兴文县",value:"511528"},{city:"宜宾市",text:"屏山县",value:"511529"}],511600:[{city:"广安市",text:"市辖区",value:"511601"},{city:"广安市",text:"广安区",value:"511602"},{city:"广安市",text:"前锋区",value:"511603"},{city:"广安市",text:"岳池县",value:"511621"},{city:"广安市",text:"武胜县",value:"511622"},{city:"广安市",text:"邻水县",value:"511623"},{city:"广安市",text:"华蓥市",value:"511681"}],511700:[{city:"达州市",text:"市辖区",value:"511701"},{city:"达州市",text:"通川区",value:"511702"},{city:"达州市",text:"达川区",value:"511703"},{city:"达州市",text:"宣汉县",value:"511722"},{city:"达州市",text:"开江县",value:"511723"},{city:"达州市",text:"大竹县",value:"511724"},{city:"达州市",text:"渠县",value:"511725"},{city:"达州市",text:"万源市",value:"511781"}],511800:[{city:"雅安市",text:"市辖区",value:"511801"},{city:"雅安市",text:"雨城区",value:"511802"},{city:"雅安市",text:"名山区",value:"511803"},{city:"雅安市",text:"荥经县",value:"511822"},{city:"雅安市",text:"汉源县",value:"511823"},{city:"雅安市",text:"石棉县",value:"511824"},{city:"雅安市",text:"天全县",value:"511825"},{city:"雅安市",text:"芦山县",value:"511826"},{city:"雅安市",text:"宝兴县",value:"511827"}],511900:[{city:"巴中市",text:"市辖区",value:"511901"},{city:"巴中市",text:"巴州区",value:"511902"},{city:"巴中市",text:"恩阳区",value:"511903"},{city:"巴中市",text:"通江县",value:"511921"},{city:"巴中市",text:"南江县",value:"511922"},{city:"巴中市",text:"平昌县",value:"511923"}],512000:[{city:"资阳市",text:"市辖区",value:"512001"},{city:"资阳市",text:"雁江区",value:"512002"},{city:"资阳市",text:"安岳县",value:"512021"},{city:"资阳市",text:"乐至县",value:"512022"}],513200:[{city:"阿坝藏族羌族自治州",text:"马尔康市",value:"513201"},{city:"阿坝藏族羌族自治州",text:"汶川县",value:"513221"},{city:"阿坝藏族羌族自治州",text:"理县",value:"513222"},{city:"阿坝藏族羌族自治州",text:"茂县",value:"513223"},{city:"阿坝藏族羌族自治州",text:"松潘县",value:"513224"},{city:"阿坝藏族羌族自治州",text:"九寨沟县",value:"513225"},{city:"阿坝藏族羌族自治州",text:"金川县",value:"513226"},{city:"阿坝藏族羌族自治州",text:"小金县",value:"513227"},{city:"阿坝藏族羌族自治州",text:"黑水县",value:"513228"},{city:"阿坝藏族羌族自治州",text:"壤塘县",value:"513230"},{city:"阿坝藏族羌族自治州",text:"阿坝县",value:"513231"},{city:"阿坝藏族羌族自治州",text:"若尔盖县",value:"513232"},{city:"阿坝藏族羌族自治州",text:"红原县",value:"513233"}],513300:[{city:"甘孜藏族自治州",text:"康定市",value:"513301"},{city:"甘孜藏族自治州",text:"泸定县",value:"513322"},{city:"甘孜藏族自治州",text:"丹巴县",value:"513323"},{city:"甘孜藏族自治州",text:"九龙县",value:"513324"},{city:"甘孜藏族自治州",text:"雅江县",value:"513325"},{city:"甘孜藏族自治州",text:"道孚县",value:"513326"},{city:"甘孜藏族自治州",text:"炉霍县",value:"513327"},{city:"甘孜藏族自治州",text:"甘孜县",value:"513328"},{city:"甘孜藏族自治州",text:"新龙县",value:"513329"},{city:"甘孜藏族自治州",text:"德格县",value:"513330"},{city:"甘孜藏族自治州",text:"白玉县",value:"513331"},{city:"甘孜藏族自治州",text:"石渠县",value:"513332"},{city:"甘孜藏族自治州",text:"色达县",value:"513333"},{city:"甘孜藏族自治州",text:"理塘县",value:"513334"},{city:"甘孜藏族自治州",text:"巴塘县",value:"513335"},{city:"甘孜藏族自治州",text:"乡城县",value:"513336"},{city:"甘孜藏族自治州",text:"稻城县",value:"513337"},{city:"甘孜藏族自治州",text:"得荣县",value:"513338"}],513400:[{city:"凉山彝族自治州",text:"西昌市",value:"513401"},{city:"凉山彝族自治州",text:"木里藏族自治县",value:"513422"},{city:"凉山彝族自治州",text:"盐源县",value:"513423"},{city:"凉山彝族自治州",text:"德昌县",value:"513424"},{city:"凉山彝族自治州",text:"会理县",value:"513425"},{city:"凉山彝族自治州",text:"会东县",value:"513426"},{city:"凉山彝族自治州",text:"宁南县",value:"513427"},{city:"凉山彝族自治州",text:"普格县",value:"513428"},{city:"凉山彝族自治州",text:"布拖县",value:"513429"},{city:"凉山彝族自治州",text:"金阳县",value:"513430"},{city:"凉山彝族自治州",text:"昭觉县",value:"513431"},{city:"凉山彝族自治州",text:"喜德县",value:"513432"},{city:"凉山彝族自治州",text:"冕宁县",value:"513433"},{city:"凉山彝族自治州",text:"越西县",value:"513434"},{city:"凉山彝族自治州",text:"甘洛县",value:"513435"},{city:"凉山彝族自治州",text:"美姑县",value:"513436"},{city:"凉山彝族自治州",text:"雷波县",value:"513437"}],520100:[{city:"贵阳市",text:"市辖区",value:"520101"},{city:"贵阳市",text:"南明区",value:"520102"},{city:"贵阳市",text:"云岩区",value:"520103"},{city:"贵阳市",text:"花溪区",value:"520111"},{city:"贵阳市",text:"乌当区",value:"520112"},{city:"贵阳市",text:"白云区",value:"520113"},{city:"贵阳市",text:"观山湖区",value:"520115"},{city:"贵阳市",text:"开阳县",value:"520121"},{city:"贵阳市",text:"息烽县",value:"520122"},{city:"贵阳市",text:"修文县",value:"520123"},{city:"贵阳市",text:"清镇市",value:"520181"}],520200:[{city:"六盘水市",text:"钟山区",value:"520201"},{city:"六盘水市",text:"六枝特区",value:"520203"},{city:"六盘水市",text:"水城县",value:"520221"},{city:"六盘水市",text:"盘县",value:"520222"}],520300:[{city:"遵义市",text:"市辖区",value:"520301"},{city:"遵义市",text:"红花岗区",value:"520302"},{city:"遵义市",text:"汇川区",value:"520303"},{city:"遵义市",text:"播州区",value:"520304"},{city:"遵义市",text:"桐梓县",value:"520322"},{city:"遵义市",text:"绥阳县",value:"520323"},{city:"遵义市",text:"正安县",value:"520324"},{city:"遵义市",text:"道真仡佬族苗族自治县",value:"520325"},{city:"遵义市",text:"务川仡佬族苗族自治县",value:"520326"},{city:"遵义市",text:"凤冈县",value:"520327"},{city:"遵义市",text:"湄潭县",value:"520328"},{city:"遵义市",text:"余庆县",value:"520329"},{city:"遵义市",text:"习水县",value:"520330"},{city:"遵义市",text:"赤水市",value:"520381"},{city:"遵义市",text:"仁怀市",value:"520382"}],520400:[{city:"安顺市",text:"市辖区",value:"520401"},{city:"安顺市",text:"西秀区",value:"520402"},{city:"安顺市",text:"平坝区",value:"520403"},{city:"安顺市",text:"普定县",value:"520422"},{city:"安顺市",text:"镇宁布依族苗族自治县",value:"520423"},{city:"安顺市",text:"关岭布依族苗族自治县",value:"520424"},{city:"安顺市",text:"紫云苗族布依族自治县",value:"520425"}],520500:[{city:"毕节市",text:"市辖区",value:"520501"},{city:"毕节市",text:"七星关区",value:"520502"},{city:"毕节市",text:"大方县",value:"520521"},{city:"毕节市",text:"黔西县",value:"520522"},{city:"毕节市",text:"金沙县",value:"520523"},{city:"毕节市",text:"织金县",value:"520524"},{city:"毕节市",text:"纳雍县",value:"520525"},{city:"毕节市",text:"威宁彝族回族苗族自治县",value:"520526"},{city:"毕节市",text:"赫章县",value:"520527"}],520600:[{city:"铜仁市",text:"市辖区",value:"520601"},{city:"铜仁市",text:"碧江区",value:"520602"},{city:"铜仁市",text:"万山区",value:"520603"},{city:"铜仁市",text:"江口县",value:"520621"},{city:"铜仁市",text:"玉屏侗族自治县",value:"520622"},{city:"铜仁市",text:"石阡县",value:"520623"},{city:"铜仁市",text:"思南县",value:"520624"},{city:"铜仁市",text:"印江土家族苗族自治县",value:"520625"},{city:"铜仁市",text:"德江县",value:"520626"},{city:"铜仁市",text:"沿河土家族自治县",value:"520627"},{city:"铜仁市",text:"松桃苗族自治县",value:"520628"}],522300:[{city:"黔西南布依族苗族自治州",text:"兴义市",value:"522301"},{city:"黔西南布依族苗族自治州",text:"兴仁县",value:"522322"},{city:"黔西南布依族苗族自治州",text:"普安县",value:"522323"},{city:"黔西南布依族苗族自治州",text:"晴隆县",value:"522324"},{city:"黔西南布依族苗族自治州",text:"贞丰县",value:"522325"},{city:"黔西南布依族苗族自治州",text:"望谟县",value:"522326"},{city:"黔西南布依族苗族自治州",text:"册亨县",value:"522327"},{city:"黔西南布依族苗族自治州",text:"安龙县",value:"522328"}],522600:[{city:"黔东南苗族侗族自治州",text:"凯里市",value:"522601"},{city:"黔东南苗族侗族自治州",text:"黄平县",value:"522622"},{city:"黔东南苗族侗族自治州",text:"施秉县",value:"522623"},{city:"黔东南苗族侗族自治州",text:"三穗县",value:"522624"},{city:"黔东南苗族侗族自治州",text:"镇远县",value:"522625"},{city:"黔东南苗族侗族自治州",text:"岑巩县",value:"522626"},{city:"黔东南苗族侗族自治州",text:"天柱县",value:"522627"},{city:"黔东南苗族侗族自治州",text:"锦屏县",value:"522628"},{city:"黔东南苗族侗族自治州",text:"剑河县",value:"522629"},{city:"黔东南苗族侗族自治州",text:"台江县",value:"522630"},{city:"黔东南苗族侗族自治州",text:"黎平县",value:"522631"},{city:"黔东南苗族侗族自治州",text:"榕江县",value:"522632"},{city:"黔东南苗族侗族自治州",text:"从江县",value:"522633"},{city:"黔东南苗族侗族自治州",text:"雷山县",value:"522634"},{city:"黔东南苗族侗族自治州",text:"麻江县",value:"522635"},{city:"黔东南苗族侗族自治州",text:"丹寨县",value:"522636"}],522700:[{city:"黔南布依族苗族自治州",text:"都匀市",value:"522701"},{city:"黔南布依族苗族自治州",text:"福泉市",value:"522702"},{city:"黔南布依族苗族自治州",text:"荔波县",value:"522722"},{city:"黔南布依族苗族自治州",text:"贵定县",value:"522723"},{city:"黔南布依族苗族自治州",text:"瓮安县",value:"522725"},{city:"黔南布依族苗族自治州",text:"独山县",value:"522726"},{city:"黔南布依族苗族自治州",text:"平塘县",value:"522727"},{city:"黔南布依族苗族自治州",text:"罗甸县",value:"522728"},{city:"黔南布依族苗族自治州",text:"长顺县",value:"522729"},{city:"黔南布依族苗族自治州",text:"龙里县",value:"522730"},{city:"黔南布依族苗族自治州",text:"惠水县",value:"522731"},{city:"黔南布依族苗族自治州",text:"三都水族自治县",value:"522732"}],530100:[{city:"昆明市",text:"市辖区",value:"530101"},{city:"昆明市",text:"五华区",value:"530102"},{city:"昆明市",text:"盘龙区",value:"530103"},{city:"昆明市",text:"官渡区",value:"530111"},{city:"昆明市",text:"西山区",value:"530112"},{city:"昆明市",text:"东川区",value:"530113"},{city:"昆明市",text:"呈贡区",value:"530114"},{city:"昆明市",text:"晋宁县",value:"530122"},{city:"昆明市",text:"富民县",value:"530124"},{city:"昆明市",text:"宜良县",value:"530125"},{city:"昆明市",text:"石林彝族自治县",value:"530126"},{city:"昆明市",text:"嵩明县",value:"530127"},{city:"昆明市",text:"禄劝彝族苗族自治县",value:"530128"},{city:"昆明市",text:"寻甸回族彝族自治县",value:"530129"},{city:"昆明市",text:"安宁市",value:"530181"}],530300:[{city:"曲靖市",text:"市辖区",value:"530301"},{city:"曲靖市",text:"麒麟区",value:"530302"},{city:"曲靖市",text:"沾益区",value:"530303"},{city:"曲靖市",text:"马龙县",value:"530321"},{city:"曲靖市",text:"陆良县",value:"530322"},{city:"曲靖市",text:"师宗县",value:"530323"},{city:"曲靖市",text:"罗平县",value:"530324"},{city:"曲靖市",text:"富源县",value:"530325"},{city:"曲靖市",text:"会泽县",value:"530326"},{city:"曲靖市",text:"宣威市",value:"530381"}],530400:[{city:"玉溪市",text:"市辖区",value:"530401"},{city:"玉溪市",text:"红塔区",value:"530402"},{city:"玉溪市",text:"江川区",value:"530403"},{city:"玉溪市",text:"澄江县",value:"530422"},{city:"玉溪市",text:"通海县",value:"530423"},{city:"玉溪市",text:"华宁县",value:"530424"},{city:"玉溪市",text:"易门县",value:"530425"},{city:"玉溪市",text:"峨山彝族自治县",value:"530426"},{city:"玉溪市",text:"新平彝族傣族自治县",value:"530427"},{city:"玉溪市",text:"元江哈尼族彝族傣族自治县",value:"530428"}],530500:[{city:"保山市",text:"市辖区",value:"530501"},{city:"保山市",text:"隆阳区",value:"530502"},{city:"保山市",text:"施甸县",value:"530521"},{city:"保山市",text:"龙陵县",value:"530523"},{city:"保山市",text:"昌宁县",value:"530524"},{city:"保山市",text:"腾冲市",value:"530581"}],530600:[{city:"昭通市",text:"市辖区",value:"530601"},{city:"昭通市",text:"昭阳区",value:"530602"},{city:"昭通市",text:"鲁甸县",value:"530621"},{city:"昭通市",text:"巧家县",value:"530622"},{city:"昭通市",text:"盐津县",value:"530623"},{city:"昭通市",text:"大关县",value:"530624"},{city:"昭通市",text:"永善县",value:"530625"},{city:"昭通市",text:"绥江县",value:"530626"},{city:"昭通市",text:"镇雄县",value:"530627"},{city:"昭通市",text:"彝良县",value:"530628"},{city:"昭通市",text:"威信县",value:"530629"},{city:"昭通市",text:"水富县",value:"530630"}],530700:[{city:"丽江市",text:"市辖区",value:"530701"},{city:"丽江市",text:"古城区",value:"530702"},{city:"丽江市",text:"玉龙纳西族自治县",value:"530721"},{city:"丽江市",text:"永胜县",value:"530722"},{city:"丽江市",text:"华坪县",value:"530723"},{city:"丽江市",text:"宁蒗彝族自治县",value:"530724"}],530800:[{city:"普洱市",text:"市辖区",value:"530801"},{city:"普洱市",text:"思茅区",value:"530802"},{city:"普洱市",text:"宁洱哈尼族彝族自治县",value:"530821"},{city:"普洱市",text:"墨江哈尼族自治县",value:"530822"},{city:"普洱市",text:"景东彝族自治县",value:"530823"},{city:"普洱市",text:"景谷傣族彝族自治县",value:"530824"},{city:"普洱市",text:"镇沅彝族哈尼族拉祜族自治县",value:"530825"},{city:"普洱市",text:"江城哈尼族彝族自治县",value:"530826"},{city:"普洱市",text:"孟连傣族拉祜族佤族自治县",value:"530827"},{city:"普洱市",text:"澜沧拉祜族自治县",value:"530828"},{city:"普洱市",text:"西盟佤族自治县",value:"530829"}],530900:[{city:"临沧市",text:"市辖区",value:"530901"},{city:"临沧市",text:"临翔区",value:"530902"},{city:"临沧市",text:"凤庆县",value:"530921"},{city:"临沧市",text:"云县",value:"530922"},{city:"临沧市",text:"永德县",value:"530923"},{city:"临沧市",text:"镇康县",value:"530924"},{city:"临沧市",text:"双江拉祜族佤族布朗族傣族自治县",value:"530925"},{city:"临沧市",text:"耿马傣族佤族自治县",value:"530926"},{city:"临沧市",text:"沧源佤族自治县",value:"530927"}],532300:[{city:"楚雄彝族自治州",text:"楚雄市",value:"532301"},{city:"楚雄彝族自治州",text:"双柏县",value:"532322"},{city:"楚雄彝族自治州",text:"牟定县",value:"532323"},{city:"楚雄彝族自治州",text:"南华县",value:"532324"},{city:"楚雄彝族自治州",text:"姚安县",value:"532325"},{city:"楚雄彝族自治州",text:"大姚县",value:"532326"},{city:"楚雄彝族自治州",text:"永仁县",value:"532327"},{city:"楚雄彝族自治州",text:"元谋县",value:"532328"},{city:"楚雄彝族自治州",text:"武定县",value:"532329"},{city:"楚雄彝族自治州",text:"禄丰县",value:"532331"}],532500:[{city:"红河哈尼族彝族自治州",text:"个旧市",value:"532501"},{city:"红河哈尼族彝族自治州",text:"开远市",value:"532502"},{city:"红河哈尼族彝族自治州",text:"蒙自市",value:"532503"},{city:"红河哈尼族彝族自治州",text:"弥勒市",value:"532504"},{city:"红河哈尼族彝族自治州",text:"屏边苗族自治县",value:"532523"},{city:"红河哈尼族彝族自治州",text:"建水县",value:"532524"},{city:"红河哈尼族彝族自治州",text:"石屏县",value:"532525"},{city:"红河哈尼族彝族自治州",text:"泸西县",value:"532527"},{city:"红河哈尼族彝族自治州",text:"元阳县",value:"532528"},{city:"红河哈尼族彝族自治州",text:"红河县",value:"532529"},{city:"红河哈尼族彝族自治州",text:"金平苗族瑶族傣族自治县",value:"532530"},{city:"红河哈尼族彝族自治州",text:"绿春县",value:"532531"},{city:"红河哈尼族彝族自治州",text:"河口瑶族自治县",value:"532532"}],532600:[{city:"文山壮族苗族自治州",text:"文山市",value:"532601"},{city:"文山壮族苗族自治州",text:"砚山县",value:"532622"},{city:"文山壮族苗族自治州",text:"西畴县",value:"532623"},{city:"文山壮族苗族自治州",text:"麻栗坡县",value:"532624"},{city:"文山壮族苗族自治州",text:"马关县",value:"532625"},{city:"文山壮族苗族自治州",text:"丘北县",value:"532626"},{city:"文山壮族苗族自治州",text:"广南县",value:"532627"},{city:"文山壮族苗族自治州",text:"富宁县",value:"532628"}],532800:[{city:"西双版纳傣族自治州",text:"景洪市",value:"532801"},{city:"西双版纳傣族自治州",text:"勐海县",value:"532822"},{city:"西双版纳傣族自治州",text:"勐腊县",value:"532823"}],532900:[{city:"大理白族自治州",text:"大理市",value:"532901"},{city:"大理白族自治州",text:"漾濞彝族自治县",value:"532922"},{city:"大理白族自治州",text:"祥云县",value:"532923"},{city:"大理白族自治州",text:"宾川县",value:"532924"},{city:"大理白族自治州",text:"弥渡县",value:"532925"},{city:"大理白族自治州",text:"南涧彝族自治县",value:"532926"},{city:"大理白族自治州",text:"巍山彝族回族自治县",value:"532927"},{city:"大理白族自治州",text:"永平县",value:"532928"},{city:"大理白族自治州",text:"云龙县",value:"532929"},{city:"大理白族自治州",text:"洱源县",value:"532930"},{city:"大理白族自治州",text:"剑川县",value:"532931"},{city:"大理白族自治州",text:"鹤庆县",value:"532932"}],533100:[{city:"德宏傣族景颇族自治州",text:"瑞丽市",value:"533102"},{city:"德宏傣族景颇族自治州",text:"芒市",value:"533103"},{city:"德宏傣族景颇族自治州",text:"梁河县",value:"533122"},{city:"德宏傣族景颇族自治州",text:"盈江县",value:"533123"},{city:"德宏傣族景颇族自治州",text:"陇川县",value:"533124"}],533300:[{city:"怒江傈僳族自治州",text:"泸水市",value:"533301"},{city:"怒江傈僳族自治州",text:"福贡县",value:"533323"},{city:"怒江傈僳族自治州",text:"贡山独龙族怒族自治县",value:"533324"},{city:"怒江傈僳族自治州",text:"兰坪白族普米族自治县",value:"533325"}],533400:[{city:"迪庆藏族自治州",text:"香格里拉市",value:"533401"},{city:"迪庆藏族自治州",text:"德钦县",value:"533422"},{city:"迪庆藏族自治州",text:"维西傈僳族自治县",value:"533423"}],540100:[{city:"拉萨市",text:"市辖区",value:"540101"},{city:"拉萨市",text:"城关区",value:"540102"},{city:"拉萨市",text:"堆龙德庆区",value:"540103"},{city:"拉萨市",text:"林周县",value:"540121"},{city:"拉萨市",text:"当雄县",value:"540122"},{city:"拉萨市",text:"尼木县",value:"540123"},{city:"拉萨市",text:"曲水县",value:"540124"},{city:"拉萨市",text:"达孜县",value:"540126"},{city:"拉萨市",text:"墨竹工卡县",value:"540127"}],540200:[{city:"日喀则市",text:"桑珠孜区",value:"540202"},{city:"日喀则市",text:"南木林县",value:"540221"},{city:"日喀则市",text:"江孜县",value:"540222"},{city:"日喀则市",text:"定日县",value:"540223"},{city:"日喀则市",text:"萨迦县",value:"540224"},{city:"日喀则市",text:"拉孜县",value:"540225"},{city:"日喀则市",text:"昂仁县",value:"540226"},{city:"日喀则市",text:"谢通门县",value:"540227"},{city:"日喀则市",text:"白朗县",value:"540228"},{city:"日喀则市",text:"仁布县",value:"540229"},{city:"日喀则市",text:"康马县",value:"540230"},{city:"日喀则市",text:"定结县",value:"540231"},{city:"日喀则市",text:"仲巴县",value:"540232"},{city:"日喀则市",text:"亚东县",value:"540233"},{city:"日喀则市",text:"吉隆县",value:"540234"},{city:"日喀则市",text:"聂拉木县",value:"540235"},{city:"日喀则市",text:"萨嘎县",value:"540236"},{city:"日喀则市",text:"岗巴县",value:"540237"}],540300:[{city:"昌都市",text:"卡若区",value:"540302"},{city:"昌都市",text:"江达县",value:"540321"},{city:"昌都市",text:"贡觉县",value:"540322"},{city:"昌都市",text:"类乌齐县",value:"540323"},{city:"昌都市",text:"丁青县",value:"540324"},{city:"昌都市",text:"察雅县",value:"540325"},{city:"昌都市",text:"八宿县",value:"540326"},{city:"昌都市",text:"左贡县",value:"540327"},{city:"昌都市",text:"芒康县",value:"540328"},{city:"昌都市",text:"洛隆县",value:"540329"},{city:"昌都市",text:"边坝县",value:"540330"}],540400:[{city:"林芝市",text:"巴宜区",value:"540402"},{city:"林芝市",text:"工布江达县",value:"540421"},{city:"林芝市",text:"米林县",value:"540422"},{city:"林芝市",text:"墨脱县",value:"540423"},{city:"林芝市",text:"波密县",value:"540424"},{city:"林芝市",text:"察隅县",value:"540425"},{city:"林芝市",text:"朗县",value:"540426"}],540500:[{city:"山南市",text:"市辖区",value:"540501"},{city:"山南市",text:"乃东区",value:"540502"},{city:"山南市",text:"扎囊县",value:"540521"},{city:"山南市",text:"贡嘎县",value:"540522"},{city:"山南市",text:"桑日县",value:"540523"},{city:"山南市",text:"琼结县",value:"540524"},{city:"山南市",text:"曲松县",value:"540525"},{city:"山南市",text:"措美县",value:"540526"},{city:"山南市",text:"洛扎县",value:"540527"},{city:"山南市",text:"加查县",value:"540528"},{city:"山南市",text:"隆子县",value:"540529"},{city:"山南市",text:"错那县",value:"540530"},{city:"山南市",text:"浪卡子县",value:"540531"}],542400:[{city:"那曲地区",text:"那曲县",value:"542421"},{city:"那曲地区",text:"嘉黎县",value:"542422"},{city:"那曲地区",text:"比如县",value:"542423"},{city:"那曲地区",text:"聂荣县",value:"542424"},{city:"那曲地区",text:"安多县",value:"542425"},{city:"那曲地区",text:"申扎县",value:"542426"},{city:"那曲地区",text:"索县",value:"542427"},{city:"那曲地区",text:"班戈县",value:"542428"},{city:"那曲地区",text:"巴青县",value:"542429"},{city:"那曲地区",text:"尼玛县",value:"542430"},{city:"那曲地区",text:"双湖县",value:"542431"}],542500:[{city:"阿里地区",text:"普兰县",value:"542521"},{city:"阿里地区",text:"札达县",value:"542522"},{city:"阿里地区",text:"噶尔县",value:"542523"},{city:"阿里地区",text:"日土县",value:"542524"},{city:"阿里地区",text:"革吉县",value:"542525"},{city:"阿里地区",text:"改则县",value:"542526"},{city:"阿里地区",text:"措勤县",value:"542527"}],610100:[{city:"西安市",text:"市辖区",value:"610101"},{city:"西安市",text:"新城区",value:"610102"},{city:"西安市",text:"碑林区",value:"610103"},{city:"西安市",text:"莲湖区",value:"610104"},{city:"西安市",text:"灞桥区",value:"610111"},{city:"西安市",text:"未央区",value:"610112"},{city:"西安市",text:"雁塔区",value:"610113"},{city:"西安市",text:"阎良区",value:"610114"},{city:"西安市",text:"临潼区",value:"610115"},{city:"西安市",text:"长安区",value:"610116"},{city:"西安市",text:"高陵区",value:"610117"},{city:"西安市",text:"蓝田县",value:"610122"},{city:"西安市",text:"周至县",value:"610124"},{city:"西安市",text:"户县",value:"610125"}],610200:[{city:"铜川市",text:"市辖区",value:"610201"},{city:"铜川市",text:"王益区",value:"610202"},{city:"铜川市",text:"印台区",value:"610203"},{city:"铜川市",text:"耀州区",value:"610204"},{city:"铜川市",text:"宜君县",value:"610222"}],610300:[{city:"宝鸡市",text:"市辖区",value:"610301"},{city:"宝鸡市",text:"渭滨区",value:"610302"},{city:"宝鸡市",text:"金台区",value:"610303"},{city:"宝鸡市",text:"陈仓区",value:"610304"},{city:"宝鸡市",text:"凤翔县",value:"610322"},{city:"宝鸡市",text:"岐山县",value:"610323"},{city:"宝鸡市",text:"扶风县",value:"610324"},{city:"宝鸡市",text:"眉县",value:"610326"},{city:"宝鸡市",text:"陇县",value:"610327"},{city:"宝鸡市",text:"千阳县",value:"610328"},{city:"宝鸡市",text:"麟游县",value:"610329"},{city:"宝鸡市",text:"凤县",value:"610330"},{city:"宝鸡市",text:"太白县",value:"610331"}],610400:[{city:"咸阳市",text:"市辖区",value:"610401"},{city:"咸阳市",text:"秦都区",value:"610402"},{city:"咸阳市",text:"杨陵区",value:"610403"},{city:"咸阳市",text:"渭城区",value:"610404"},{city:"咸阳市",text:"三原县",value:"610422"},{city:"咸阳市",text:"泾阳县",value:"610423"},{city:"咸阳市",text:"乾县",value:"610424"},{city:"咸阳市",text:"礼泉县",value:"610425"},{city:"咸阳市",text:"永寿县",value:"610426"},{city:"咸阳市",text:"彬县",value:"610427"},{city:"咸阳市",text:"长武县",value:"610428"},{city:"咸阳市",text:"旬邑县",value:"610429"},{city:"咸阳市",text:"淳化县",value:"610430"},{city:"咸阳市",text:"武功县",value:"610431"},{city:"咸阳市",text:"兴平市",value:"610481"}],610500:[{city:"渭南市",text:"市辖区",value:"610501"},{city:"渭南市",text:"临渭区",value:"610502"},{city:"渭南市",text:"华州区",value:"610503"},{city:"渭南市",text:"潼关县",value:"610522"},{city:"渭南市",text:"大荔县",value:"610523"},{city:"渭南市",text:"合阳县",value:"610524"},{city:"渭南市",text:"澄城县",value:"610525"},{city:"渭南市",text:"蒲城县",value:"610526"},{city:"渭南市",text:"白水县",value:"610527"},{city:"渭南市",text:"富平县",value:"610528"},{city:"渭南市",text:"韩城市",value:"610581"},{city:"渭南市",text:"华阴市",value:"610582"}],610600:[{city:"延安市",text:"市辖区",value:"610601"},{city:"延安市",text:"宝塔区",value:"610602"},{city:"延安市",text:"安塞区",value:"610603"},{city:"延安市",text:"延长县",value:"610621"},{city:"延安市",text:"延川县",value:"610622"},{city:"延安市",text:"子长县",value:"610623"},{city:"延安市",text:"志丹县",value:"610625"},{city:"延安市",text:"吴起县",value:"610626"},{city:"延安市",text:"甘泉县",value:"610627"},{city:"延安市",text:"富县",value:"610628"},{city:"延安市",text:"洛川县",value:"610629"},{city:"延安市",text:"宜川县",value:"610630"},{city:"延安市",text:"黄龙县",value:"610631"},{city:"延安市",text:"黄陵县",value:"610632"}],610700:[{city:"汉中市",text:"市辖区",value:"610701"},{city:"汉中市",text:"汉台区",value:"610702"},{city:"汉中市",text:"南郑县",value:"610721"},{city:"汉中市",text:"城固县",value:"610722"},{city:"汉中市",text:"洋县",value:"610723"},{city:"汉中市",text:"西乡县",value:"610724"},{city:"汉中市",text:"勉县",value:"610725"},{city:"汉中市",text:"宁强县",value:"610726"},{city:"汉中市",text:"略阳县",value:"610727"},{city:"汉中市",text:"镇巴县",value:"610728"},{city:"汉中市",text:"留坝县",value:"610729"},{city:"汉中市",text:"佛坪县",value:"610730"}],610800:[{city:"榆林市",text:"市辖区",value:"610801"},{city:"榆林市",text:"榆阳区",value:"610802"},{city:"榆林市",text:"横山区",value:"610803"},{city:"榆林市",text:"神木县",value:"610821"},{city:"榆林市",text:"府谷县",value:"610822"},{city:"榆林市",text:"靖边县",value:"610824"},{city:"榆林市",text:"定边县",value:"610825"},{city:"榆林市",text:"绥德县",value:"610826"},{city:"榆林市",text:"米脂县",value:"610827"},{city:"榆林市",text:"佳县",value:"610828"},{city:"榆林市",text:"吴堡县",value:"610829"},{city:"榆林市",text:"清涧县",value:"610830"},{city:"榆林市",text:"子洲县",value:"610831"}],610900:[{city:"安康市",text:"市辖区",value:"610901"},{city:"安康市",text:"汉滨区",value:"610902"},{city:"安康市",text:"汉阴县",value:"610921"},{city:"安康市",text:"石泉县",value:"610922"},{city:"安康市",text:"宁陕县",value:"610923"},{city:"安康市",text:"紫阳县",value:"610924"},{city:"安康市",text:"岚皋县",value:"610925"},{city:"安康市",text:"平利县",value:"610926"},{city:"安康市",text:"镇坪县",value:"610927"},{city:"安康市",text:"旬阳县",value:"610928"},{city:"安康市",text:"白河县",value:"610929"}],611000:[{city:"商洛市",text:"市辖区",value:"611001"},{city:"商洛市",text:"商州区",value:"611002"},{city:"商洛市",text:"洛南县",value:"611021"},{city:"商洛市",text:"丹凤县",value:"611022"},{city:"商洛市",text:"商南县",value:"611023"},{city:"商洛市",text:"山阳县",value:"611024"},{city:"商洛市",text:"镇安县",value:"611025"},{city:"商洛市",text:"柞水县",value:"611026"}],620100:[{city:"兰州市",text:"市辖区",value:"620101"},{city:"兰州市",text:"城关区",value:"620102"},{city:"兰州市",text:"七里河区",value:"620103"},{city:"兰州市",text:"西固区",value:"620104"},{city:"兰州市",text:"安宁区",value:"620105"},{city:"兰州市",text:"红古区",value:"620111"},{city:"兰州市",text:"永登县",value:"620121"},{city:"兰州市",text:"皋兰县",value:"620122"},{city:"兰州市",text:"榆中县",value:"620123"}],620200:[{city:"嘉峪关市",text:"市辖区",value:"620201"}],620300:[{city:"金昌市",text:"市辖区",value:"620301"},{city:"金昌市",text:"金川区",value:"620302"},{city:"金昌市",text:"永昌县",value:"620321"}],620400:[{city:"白银市",text:"市辖区",value:"620401"},{city:"白银市",text:"白银区",value:"620402"},{city:"白银市",text:"平川区",value:"620403"},{city:"白银市",text:"靖远县",value:"620421"},{city:"白银市",text:"会宁县",value:"620422"},{city:"白银市",text:"景泰县",value:"620423"}],620500:[{city:"天水市",text:"市辖区",value:"620501"},{city:"天水市",text:"秦州区",value:"620502"},{city:"天水市",text:"麦积区",value:"620503"},{city:"天水市",text:"清水县",value:"620521"},{city:"天水市",text:"秦安县",value:"620522"},{city:"天水市",text:"甘谷县",value:"620523"},{city:"天水市",text:"武山县",value:"620524"},{city:"天水市",text:"张家川回族自治县",value:"620525"}],620600:[{city:"武威市",text:"市辖区",value:"620601"},{city:"武威市",text:"凉州区",value:"620602"},{city:"武威市",text:"民勤县",value:"620621"},{city:"武威市",text:"古浪县",value:"620622"},{city:"武威市",text:"天祝藏族自治县",value:"620623"}],620700:[{city:"张掖市",text:"市辖区",value:"620701"},{city:"张掖市",text:"甘州区",value:"620702"},{city:"张掖市",text:"肃南裕固族自治县",value:"620721"},{city:"张掖市",text:"民乐县",value:"620722"},{city:"张掖市",text:"临泽县",value:"620723"},{city:"张掖市",text:"高台县",value:"620724"},{city:"张掖市",text:"山丹县",value:"620725"}],620800:[{city:"平凉市",text:"市辖区",value:"620801"},{city:"平凉市",text:"崆峒区",value:"620802"},{city:"平凉市",text:"泾川县",value:"620821"},{city:"平凉市",text:"灵台县",value:"620822"},{city:"平凉市",text:"崇信县",value:"620823"},{city:"平凉市",text:"华亭县",value:"620824"},{city:"平凉市",text:"庄浪县",value:"620825"},{city:"平凉市",text:"静宁县",value:"620826"}],620900:[{city:"酒泉市",text:"市辖区",value:"620901"},{city:"酒泉市",text:"肃州区",value:"620902"},{city:"酒泉市",text:"金塔县",value:"620921"},{city:"酒泉市",text:"瓜州县",value:"620922"},{city:"酒泉市",text:"肃北蒙古族自治县",value:"620923"},{city:"酒泉市",text:"阿克塞哈萨克族自治县",value:"620924"},{city:"酒泉市",text:"玉门市",value:"620981"},{city:"酒泉市",text:"敦煌市",value:"620982"}],621000:[{city:"庆阳市",text:"市辖区",value:"621001"},{city:"庆阳市",text:"西峰区",value:"621002"},{city:"庆阳市",text:"庆城县",value:"621021"},{city:"庆阳市",text:"环县",value:"621022"},{city:"庆阳市",text:"华池县",value:"621023"},{city:"庆阳市",text:"合水县",value:"621024"},{city:"庆阳市",text:"正宁县",value:"621025"},{city:"庆阳市",text:"宁县",value:"621026"},{city:"庆阳市",text:"镇原县",value:"621027"}],621100:[{city:"定西市",text:"市辖区",value:"621101"},{city:"定西市",text:"安定区",value:"621102"},{city:"定西市",text:"通渭县",value:"621121"},{city:"定西市",text:"陇西县",value:"621122"},{city:"定西市",text:"渭源县",value:"621123"},{city:"定西市",text:"临洮县",value:"621124"},{city:"定西市",text:"漳县",value:"621125"},{city:"定西市",text:"岷县",value:"621126"}],621200:[{city:"陇南市",text:"市辖区",value:"621201"},{city:"陇南市",text:"武都区",value:"621202"},{city:"陇南市",text:"成县",value:"621221"},{city:"陇南市",text:"文县",value:"621222"},{city:"陇南市",text:"宕昌县",value:"621223"},{city:"陇南市",text:"康县",value:"621224"},{city:"陇南市",text:"西和县",value:"621225"},{city:"陇南市",text:"礼县",value:"621226"},{city:"陇南市",text:"徽县",value:"621227"},{city:"陇南市",text:"两当县",value:"621228"}],622900:[{city:"临夏回族自治州",text:"临夏市",value:"622901"},{city:"临夏回族自治州",text:"临夏县",value:"622921"},{city:"临夏回族自治州",text:"康乐县",value:"622922"},{city:"临夏回族自治州",text:"永靖县",value:"622923"},{city:"临夏回族自治州",text:"广河县",value:"622924"},{city:"临夏回族自治州",text:"和政县",value:"622925"},{city:"临夏回族自治州",text:"东乡族自治县",value:"622926"},{city:"临夏回族自治州",text:"积石山保安族东乡族撒拉族自治县",value:"622927"}],623000:[{city:"甘南藏族自治州",text:"合作市",value:"623001"},{city:"甘南藏族自治州",text:"临潭县",value:"623021"},{city:"甘南藏族自治州",text:"卓尼县",value:"623022"},{city:"甘南藏族自治州",text:"舟曲县",value:"623023"},{city:"甘南藏族自治州",text:"迭部县",value:"623024"},{city:"甘南藏族自治州",text:"玛曲县",value:"623025"},{city:"甘南藏族自治州",text:"碌曲县",value:"623026"},{city:"甘南藏族自治州",text:"夏河县",value:"623027"}],630100:[{city:"西宁市",text:"市辖区",value:"630101"},{city:"西宁市",text:"城东区",value:"630102"},{city:"西宁市",text:"城中区",value:"630103"},{city:"西宁市",text:"城西区",value:"630104"},{city:"西宁市",text:"城北区",value:"630105"},{city:"西宁市",text:"大通回族土族自治县",value:"630121"},{city:"西宁市",text:"湟中县",value:"630122"},{city:"西宁市",text:"湟源县",value:"630123"}],630200:[{city:"海东市",text:"乐都区",value:"630202"},{city:"海东市",text:"平安区",value:"630203"},{city:"海东市",text:"民和回族土族自治县",value:"630222"},{city:"海东市",text:"互助土族自治县",value:"630223"},{city:"海东市",text:"化隆回族自治县",value:"630224"},{city:"海东市",text:"循化撒拉族自治县",value:"630225"}],632200:[{city:"海北藏族自治州",text:"门源回族自治县",value:"632221"},{city:"海北藏族自治州",text:"祁连县",value:"632222"},{city:"海北藏族自治州",text:"海晏县",value:"632223"},{city:"海北藏族自治州",text:"刚察县",value:"632224"}],632300:[{city:"黄南藏族自治州",text:"同仁县",value:"632321"},{city:"黄南藏族自治州",text:"尖扎县",value:"632322"},{city:"黄南藏族自治州",text:"泽库县",value:"632323"},{city:"黄南藏族自治州",text:"河南蒙古族自治县",value:"632324"}],632500:[{city:"海南藏族自治州",text:"共和县",value:"632521"},{city:"海南藏族自治州",text:"同德县",value:"632522"},{city:"海南藏族自治州",text:"贵德县",value:"632523"},{city:"海南藏族自治州",text:"兴海县",value:"632524"},{city:"海南藏族自治州",text:"贵南县",value:"632525"}],632600:[{city:"果洛藏族自治州",text:"玛沁县",value:"632621"},{city:"果洛藏族自治州",text:"班玛县",value:"632622"},{city:"果洛藏族自治州",text:"甘德县",value:"632623"},{city:"果洛藏族自治州",text:"达日县",value:"632624"},{city:"果洛藏族自治州",text:"久治县",value:"632625"},{city:"果洛藏族自治州",text:"玛多县",value:"632626"}],632700:[{city:"玉树藏族自治州",text:"玉树市",value:"632701"},{city:"玉树藏族自治州",text:"杂多县",value:"632722"},{city:"玉树藏族自治州",text:"称多县",value:"632723"},{city:"玉树藏族自治州",text:"治多县",value:"632724"},{city:"玉树藏族自治州",text:"囊谦县",value:"632725"},{city:"玉树藏族自治州",text:"曲麻莱县",value:"632726"}],632800:[{city:"海西蒙古族藏族自治州",text:"格尔木市",value:"632801"},{city:"海西蒙古族藏族自治州",text:"德令哈市",value:"632802"},{city:"海西蒙古族藏族自治州",text:"乌兰县",value:"632821"},{city:"海西蒙古族藏族自治州",text:"都兰县",value:"632822"},{city:"海西蒙古族藏族自治州",text:"天峻县",value:"632823"}],640100:[{city:"银川市",text:"市辖区",value:"640101"},{city:"银川市",text:"兴庆区",value:"640104"},{city:"银川市",text:"西夏区",value:"640105"},{city:"银川市",text:"金凤区",value:"640106"},{city:"银川市",text:"永宁县",value:"640121"},{city:"银川市",text:"贺兰县",value:"640122"},{city:"银川市",text:"灵武市",value:"640181"}],640200:[{city:"石嘴山市",text:"市辖区",value:"640201"},{city:"石嘴山市",text:"大武口区",value:"640202"},{city:"石嘴山市",text:"惠农区",value:"640205"},{city:"石嘴山市",text:"平罗县",value:"640221"}],640300:[{city:"吴忠市",text:"市辖区",value:"640301"},{city:"吴忠市",text:"利通区",value:"640302"},{city:"吴忠市",text:"红寺堡区",value:"640303"},{city:"吴忠市",text:"盐池县",value:"640323"},{city:"吴忠市",text:"同心县",value:"640324"},{city:"吴忠市",text:"青铜峡市",value:"640381"}],640400:[{city:"固原市",text:"市辖区",value:"640401"},{city:"固原市",text:"原州区",value:"640402"},{city:"固原市",text:"西吉县",value:"640422"},{city:"固原市",text:"隆德县",value:"640423"},{city:"固原市",text:"泾源县",value:"640424"},{city:"固原市",text:"彭阳县",value:"640425"}],640500:[{city:"中卫市",text:"市辖区",value:"640501"},{city:"中卫市",text:"沙坡头区",value:"640502"},{city:"中卫市",text:"中宁县",value:"640521"},{city:"中卫市",text:"海原县",value:"640522"}],650100:[{city:"乌鲁木齐市",text:"市辖区",value:"650101"},{city:"乌鲁木齐市",text:"天山区",value:"650102"},{city:"乌鲁木齐市",text:"沙依巴克区",value:"650103"},{city:"乌鲁木齐市",text:"新市区",value:"650104"},{city:"乌鲁木齐市",text:"水磨沟区",value:"650105"},{city:"乌鲁木齐市",text:"头屯河区",value:"650106"},{city:"乌鲁木齐市",text:"达坂城区",value:"650107"},{city:"乌鲁木齐市",text:"米东区",value:"650109"},{city:"乌鲁木齐市",text:"乌鲁木齐县",value:"650121"}],650200:[{city:"克拉玛依市",text:"市辖区",value:"650201"},{city:"克拉玛依市",text:"独山子区",value:"650202"},{city:"克拉玛依市",text:"克拉玛依区",value:"650203"},{city:"克拉玛依市",text:"白碱滩区",value:"650204"},{city:"克拉玛依市",text:"乌尔禾区",value:"650205"}],650400:[{city:"吐鲁番市",text:"高昌区",value:"650402"},{city:"吐鲁番市",text:"鄯善县",value:"650421"},{city:"吐鲁番市",text:"托克逊县",value:"650422"}],650500:[{city:"哈密市",text:"伊州区",value:"650502"},{city:"哈密市",text:"巴里坤哈萨克自治县",value:"650521"},{city:"哈密市",text:"伊吾县",value:"650522"}],652300:[{city:"昌吉回族自治州",text:"昌吉市",value:"652301"},{city:"昌吉回族自治州",text:"阜康市",value:"652302"},{city:"昌吉回族自治州",text:"呼图壁县",value:"652323"},{city:"昌吉回族自治州",text:"玛纳斯县",value:"652324"},{city:"昌吉回族自治州",text:"奇台县",value:"652325"},{city:"昌吉回族自治州",text:"吉木萨尔县",value:"652327"},{city:"昌吉回族自治州",text:"木垒哈萨克自治县",value:"652328"}],652700:[{city:"博尔塔拉蒙古自治州",text:"博乐市",value:"652701"},{city:"博尔塔拉蒙古自治州",text:"阿拉山口市",value:"652702"},{city:"博尔塔拉蒙古自治州",text:"精河县",value:"652722"},{city:"博尔塔拉蒙古自治州",text:"温泉县",value:"652723"}],652800:[{city:"巴音郭楞蒙古自治州",text:"库尔勒市",value:"652801"},{city:"巴音郭楞蒙古自治州",text:"轮台县",value:"652822"},{city:"巴音郭楞蒙古自治州",text:"尉犁县",value:"652823"},{city:"巴音郭楞蒙古自治州",text:"若羌县",value:"652824"},{city:"巴音郭楞蒙古自治州",text:"且末县",value:"652825"},{city:"巴音郭楞蒙古自治州",text:"焉耆回族自治县",value:"652826"},{city:"巴音郭楞蒙古自治州",text:"和静县",value:"652827"},{city:"巴音郭楞蒙古自治州",text:"和硕县",value:"652828"},{city:"巴音郭楞蒙古自治州",text:"博湖县",value:"652829"}],652900:[{city:"阿克苏地区",text:"阿克苏市",value:"652901"},{city:"阿克苏地区",text:"温宿县",value:"652922"},{city:"阿克苏地区",text:"库车县",value:"652923"},{city:"阿克苏地区",text:"沙雅县",value:"652924"},{city:"阿克苏地区",text:"新和县",value:"652925"},{city:"阿克苏地区",text:"拜城县",value:"652926"},{city:"阿克苏地区",text:"乌什县",value:"652927"},{city:"阿克苏地区",text:"阿瓦提县",value:"652928"},{city:"阿克苏地区",text:"柯坪县",value:"652929"}],653000:[{city:"克孜勒苏柯尔克孜自治州",text:"阿图什市",value:"653001"},{city:"克孜勒苏柯尔克孜自治州",text:"阿克陶县",value:"653022"},{city:"克孜勒苏柯尔克孜自治州",text:"阿合奇县",value:"653023"},{city:"克孜勒苏柯尔克孜自治州",text:"乌恰县",value:"653024"}],653100:[{city:"喀什地区",text:"喀什市",value:"653101"},{city:"喀什地区",text:"疏附县",value:"653121"},{city:"喀什地区",text:"疏勒县",value:"653122"},{city:"喀什地区",text:"英吉沙县",value:"653123"},{city:"喀什地区",text:"泽普县",value:"653124"},{city:"喀什地区",text:"莎车县",value:"653125"},{city:"喀什地区",text:"叶城县",value:"653126"},{city:"喀什地区",text:"麦盖提县",value:"653127"},{city:"喀什地区",text:"岳普湖县",value:"653128"},{city:"喀什地区",text:"伽师县",value:"653129"},{city:"喀什地区",text:"巴楚县",value:"653130"},{city:"喀什地区",text:"塔什库尔干塔吉克自治县",value:"653131"}],653200:[{city:"和田地区",text:"和田市",value:"653201"},{city:"和田地区",text:"和田县",value:"653221"},{city:"和田地区",text:"墨玉县",value:"653222"},{city:"和田地区",text:"皮山县",value:"653223"},{city:"和田地区",text:"洛浦县",value:"653224"},{city:"和田地区",text:"策勒县",value:"653225"},{city:"和田地区",text:"于田县",value:"653226"},{city:"和田地区",text:"民丰县",value:"653227"}],654000:[{city:"伊犁哈萨克自治州",text:"伊宁市",value:"654002"},{city:"伊犁哈萨克自治州",text:"奎屯市",value:"654003"},{city:"伊犁哈萨克自治州",text:"霍尔果斯市",value:"654004"},{city:"伊犁哈萨克自治州",text:"伊宁县",value:"654021"},{city:"伊犁哈萨克自治州",text:"察布查尔锡伯自治县",value:"654022"},{city:"伊犁哈萨克自治州",text:"霍城县",value:"654023"},{city:"伊犁哈萨克自治州",text:"巩留县",value:"654024"},{city:"伊犁哈萨克自治州",text:"新源县",value:"654025"},{city:"伊犁哈萨克自治州",text:"昭苏县",value:"654026"},{city:"伊犁哈萨克自治州",text:"特克斯县",value:"654027"},{city:"伊犁哈萨克自治州",text:"尼勒克县",value:"654028"}],654200:[{city:"塔城地区",text:"塔城市",value:"654201"},{city:"塔城地区",text:"乌苏市",value:"654202"},{city:"塔城地区",text:"额敏县",value:"654221"},{city:"塔城地区",text:"沙湾县",value:"654223"},{city:"塔城地区",text:"托里县",value:"654224"},{city:"塔城地区",text:"裕民县",value:"654225"},{city:"塔城地区",text:"和布克赛尔蒙古自治县",value:"654226"}],654300:[{city:"阿勒泰地区",text:"阿勒泰市",value:"654301"},{city:"阿勒泰地区",text:"布尔津县",value:"654321"},{city:"阿勒泰地区",text:"富蕴县",value:"654322"},{city:"阿勒泰地区",text:"福海县",value:"654323"},{city:"阿勒泰地区",text:"哈巴河县",value:"654324"},{city:"阿勒泰地区",text:"青河县",value:"654325"},{city:"阿勒泰地区",text:"吉木乃县",value:"654326"}],659000:[{city:"自治区直辖县级行政区划",text:"石河子市",value:"659001"},{city:"自治区直辖县级行政区划",text:"阿拉尔市",value:"659002"},{city:"自治区直辖县级行政区划",text:"图木舒克市",value:"659003"},{city:"自治区直辖县级行政区划",text:"五家渠市",value:"659004"},{city:"自治区直辖县级行政区划",text:"铁门关市",value:"659006"}]}})},"A/pu":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-form-group"},[a("p",{staticClass:"cube-form-group-legend"},[t._v(t._s(t.legend))]),t._v(" "),a("div",{staticClass:"cube-form-group-content"},[t._t("default",t._l(t.fields,function(t,e){return a("cube-form-item",{key:e,attrs:{field:t}})}))],2)])},staticRenderFns:[]}},A5db:function(t,e,a){function i(t){a("8JgO")}var n=a("VU/8")(a("KZW3"),a("Rn3t"),i,null,null);t.exports=n.exports},A794:function(t,e){},AEue:function(t,e){},AM6A:function(t,e){},ANjG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-tab",class:{"cube-tab_active":t.isActive},on:{click:t.handleClick}},[t._t("icon",[a("i",{class:t.icon})]),t._v(" "),t._t("default",[a("div",{domProps:{innerHTML:t._s(t.label)}})])],2)},staticRenderFns:[]}},AQXh:function(t,e,a){function i(t){a("w3NF")}var n=a("VU/8")(a("Woua"),a("oU/Y"),i,null,null);t.exports=n.exports},AW5U:function(t,e){},AdWU:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{action:"//jsonplaceholder.typicode.com/photos/",isUploading:!0}},methods:{upload:function(){this.isUploading=!0,this.$refs.upload.start()},pause:function(){this.isUploading=!1,this.$refs.upload.pause()},retry:function(){this.$refs.upload.retry()},filesAdded:function(t){var e=!1;for(var a in t){var i=t[a];i.size>1048576&&(i.ignore=!0,e=!0)}e&&this.$createToast({type:"warn",time:1e3,txt:"You selected >1M files"}).show()}},components:{CubePage:i.default}},t.exports=e.default})},AgjA:function(t,e,a){function i(t){a("crve")}var n=a("VU/8")(a("2iSa"),a("Pn6H"),i,null,null);t.exports=n.exports},AnsX:function(t,e,a){var i=a("VU/8")(a("WjKT"),a("jsiO"),null,null,null);t.exports=i.exports},ApVb:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("Zd1j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(i),o=c(n),s=c(l);e.default={data:function(){return{initTime:(new Date).getTime(),id:0,size:50,infinite:!0}},components:{CubePage:o.default},methods:{getItem:function(t){var e=Math.floor(6*Math.random()),i=s.default.messages[Math.floor(Math.random()*s.default.messages.length)];return{id:t,avatar:a("6WIs")("./avatar"+e+".png"),msg:i,time:new Date(Math.floor(this.initTime+t*this.size*1e3+Math.random()*this.size*1e3)).toString()}},onFetch:function(){var t=this,e=[];return new u.default(function(a){setTimeout(function(){for(var i=0;i0){for(var t=arguments.length,e=Array(t),a=0;a10元',action:"moreMoney"}],moreActions:[{text:"操作a",action:"showText"},{text:"操作b",action:"showText"},{text:"操作c",icon:"cubeic-right",action:"showText"}]}},methods:{updateMore:function(t){this.more=t},showText:function(t){this.$createToast({type:"correct",txt:"clicked "+t.text,time:1e3}).show()},moreMoney:function(t){this.money+=10,t.text='一口价'+this.money+"元"},clickHandler:function(t){t.action&&this[t.action](t)}}},t.exports=e.default})},"C/x+":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Date Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDatePicker}},[t._v("Date Picker")]),t._v(" "),a("cube-button",{on:{click:t.showChangeOrderPicker}},[t._v("Date Picker(Change order)")]),t._v(" "),a("cube-button",{on:{click:t.showTimePicker}},[t._v("Time Picker")]),t._v(" "),a("cube-button",{on:{click:t.showDateTimePicker}},[t._v("Date Time Picker")]),t._v(" "),a("cube-button",{on:{click:t.showFormatPicker}},[t._v("Use format")]),t._v(" "),a("cube-button",{on:{click:t.showUpdatePropsPicker}},[t._v("Use $updateProps")])],1)],1)])},staticRenderFns:[]}},C1Qw:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe-view",title:"Swipe"}},[a("template",{slot:"content"},[a("div",{staticClass:"swipe-wrapper"},[a("cube-scroll",[a("cube-swipe",[a("transition-group",{attrs:{name:"swipe",tag:"ul"}},t._l(t.swipeData,function(e,i){return a("li",{key:e.item.id,staticClass:"swipe-item-wrapper"},[a("cube-swipe-item",{ref:"swipeItem",refInFor:!0,attrs:{btns:e.btns,index:i},on:{"btn-click":t.onBtnClick}},[a("div",{staticClass:"item-inner",on:{click:function(a){t.onItemClick(e.item,i)}}},[a("div",{staticClass:"icon"},[a("img",{attrs:{width:"60",height:"60",src:e.item.imgurl}})]),t._v(" "),a("div",{staticClass:"text"},[a("h2",{staticClass:"item-name",domProps:{innerHTML:t._s(e.item.name)}}),t._v(" "),a("p",{staticClass:"item-desc",domProps:{innerHTML:t._s(e.item.desc)}})])])])],1)}))],1)],1)],1)])],2)},staticRenderFns:[]}},C2tW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change","next","prev"]).before(function(t,e,a){a&&(0,i.tip)("SegmentPicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},C8H9:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("XPXN"),a("xV+0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e}(n),s={"全部":o.ALL_HEROES,"近战":o.MELEE_HEROES,"远程":o.REMOTE_HEROES,"辅助":o.SUPPORT_HEROES,"法师":o.MAGIC_HEROES,"打野":o.JUNGLE_HEROES,"坦克":o.TANK_HEROES,"隐身":o.INVISIBLE_HEROES,"后期":o.CARRY_HEROES,"闪烁":o.BLINK_HEROES,"爆发":o.HIGH_DAMAGE_HEROES,"召唤":o.INVOKE_HEROES,"眩晕":o.DIZZY_HEROES,"治疗":o.HEALER_HEROES},r=(0,c.default)(s).map(function(t){return{label:t}});e.default={data:function(){return{selectedLabel:"全部",scrollData:[],tabs:r}},created:function(){this.scrollData=s[this.selectedLabel]},methods:{changeHandler:function(t){var e=this;this.scrollData=s[t],this.$nextTick(function(){e.$refs.scroll.scrollTo(0,0),e.$refs.scroll.refresh()})}},components:{CubePage:u.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},CIqy:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Dd8w"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{initialIndex:0,imgs:["https://dpubstatic.udache.com/static/dpubimg/XsZT-Ium9K/686d7361ly1fpha0mpd5uj21hc0tyws2.jpg","https://dpubstatic.udache.com/static/dpubimg/jM0pARr01R/686d7361ly1fpha0ncnnej21hc0zetxo.jpg","https://dpubstatic.udache.com/static/dpubimg/uesDMLn8ho/686d7361ly1fpha0mqvu5j21hc0zkgzz.jpg"]}},methods:{handleImgsClick:function(t){var e=this;this.initialIndex=t;var a={$props:{imgs:this.imgs,initialIndex:"initialIndex",loop:!1},$events:{change:function(t){e.initialIndex=t}}};this.$createImagePreview((0,l.default)({},a)).show()}},components:{CubePage:c.default}},t.exports=e.default})},CRTG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[t._m(0),t._v(" "),a("section",{ref:"mfct",staticClass:"cube-content"},[a("cube-index-list",{staticClass:"cube-list",attrs:{data:t.components},scopedSlots:t._u([{key:"nav-item",fn:function(e){return a("span",{staticClass:"custom-nav-item"},[t._v(t._s(e.item))])}}])},t._l(t.components,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e}},t._l(e.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e}},[a("div",{staticClass:"cube-item border-bottom-1px"},[a("router-link",{staticClass:"link",attrs:{to:e.path}},[t._v(t._s(e.text)),a("i",{staticClass:"cubeic-arrow"})])],1)])}))}))],1),t._v(" "),a("cube-view")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"cube-bar"},[a("h1",[t._v("cube-ui")])])}]}},CZnn:function(t,e){},Cfx3:function(t,e,a){function i(t){a("j1CU")}var n=a("VU/8")(a("5VLA"),a("IIbQ"),i,null,null);t.exports=n.exports},Cnp6:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tabs",title:"Tab Demos"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("tab-bar")}}},[t._v("TabBar Demos")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("tab")}}},[t._v("Tab Demos")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("scroll-tab")}}},[t._v("ScrollTab Demo")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},Ct0e:function(t,e,a){function i(t){a("57KX")}var n=a("VU/8")(a("cMIu"),a("ANjG"),i,null,null);t.exports=n.exports},CzhT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xru3"),a("go4C"),a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Panel=u.default,c.default.Bar=o.default,e.default=c.default,t.exports=e.default})},D11v:function(t,e){},D9Go:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-checker-item",class:{"cube-checker-item_active":t.isActive,"cube-checker-item_disabled":t.isDisabled},on:{click:t.clickHandler}},[t._t("default",[a("span",{domProps:{innerHTML:t._s(t.option.text)}})])],2)},staticRenderFns:[]}},DD7W:function(t,e,a){function i(t){a("eNOl")}var n=a("VU/8")(a("t4A1"),a("wKxo"),i,null,null);t.exports=n.exports},DIVr:function(t,e,a){function i(t){a("Zbp1")}var n=a("VU/8")(a("Kjut"),a("KVex"),i,null,null);t.exports=n.exports},DLo4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=(0,a.prefixStyle)("transform");e.default={name:"cube-sticky",provide:function(){return{sticky:this}},props:{pos:{type:Number,required:!0},checkTop:{type:Boolean,default:!0},fixedShowAni:{type:String,default:function(){return this.checkTop?"":"cube-sticky-fixed-fade"}},offset:{type:Number,default:0}},data:function(){return{diff:0,currentDiff:0,currentIndex:-1,currentKey:""}},computed:{fixedShow:function(){return!!this.eles[this.currentIndex]}},watch:{diff:function(t){t>=0&&(t=0),t=Math.ceil(t),this._fixedTop!==t&&(this._fixedTop=t,this.$refs.fixedEle.style[i]="translate3d(0, "+t+"px, 0)")},pos:"computeCurrentSticky",currentIndex:function(t,e){var a=this,i=this.eles[e],n=this.eles[t],l=n&&void 0!==n.eleKey?n.eleKey:-1===t?"":t,c=this.$refs.fixedEle,u=this.$slots.fixed||this.$scopedSlots.fixed;this.$nextTick(function(){if(u)a.fixedEleHeight=c.offsetHeight;else{var t=c.firstElementChild;i&&(i.$el.appendChild(t),i.refresh()),n?(c.appendChild(n.$el.firstElementChild),a.fixedEleHeight=c.offsetHeight):a.fixedEleHeight=0}}),this.currentKey=l,this.$emit("change",l,t)},currentDiff:function(t){var e=this.heights[this.currentIndex]||0;this.$emit("diff-change",t,e)}},created:function(){this.fixedEleHeight=0,this.eles=[],this.positions=[],this.heights=[]},mounted:function(){this.refresh()},methods:{addEle:function(t){this.eles.push(t)},removeEle:function(t){var e=this.eles.indexOf(t);this.eles.splice(e,1),this.positions.splice(e,1)},refresh:function(){var t=this;this.$nextTick(function(){t.eles.forEach(function(t){t.refresh()}),t._calculateHeight(),t.computeCurrentSticky(t.pos)})},computeCurrentSticky:function(t){t+=this.offset;for(var e=this.positions,a=this.heights,i=this.checkTop,n=e.length,l=n-1;l>=0;l--){var c=l===n-1,u=c?t:e[l+1],o=void 0,s=void 0;i?(o=e[l],s=o+a[l]):(o=e[l]+a[l],s=o);var r=Math.max(s,u);if(t>=o&&t<=r){this.currentIndex=l,this.currentDiff=t-o;var d=u-t;return void(this.diff=d>=0&&!c?d-(this.fixedEleHeight||a[l]):0)}}this.currentIndex=-1,this.currentDiff=0},_calculateHeight:function(){var t=this;this.eles.forEach(function(e,i){var n=(0,a.getRect)(e.$el),l=n.top,c=n.height;t.positions[i]=l,t.heights[i]=c}),this.fixedEleHeight=this.$refs.fixedEle.offsetHeight}}},t.exports=e.default})},DXQ8:function(t,e,a){function i(t){a("5WX7")}var n=a("VU/8")(a("gBDM"),a("yfBG"),i,null,null);t.exports=n.exports},"Dw/u":function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"select-option",props:{name:{type:String},options:{type:Array},value:null},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("update:value",t)}},mounted:function(){var t=this;this.picker=this.$createPicker({title:"Choose "+this.name,data:[this.options],cancelTxt:"cancel",confirmTxt:"confirm",onValueChange:function(e){t.selected=e[0]}})},methods:{showPicker:function(){this.picker.show()}}},t.exports=e.default})},"Dz+K":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-toast-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"toast","z-index":t.zIndex,mask:t.mask},on:{"mask-click":t.maskClick}},[!t.isLoading&&t.iconClass.length?a("i",{staticClass:"cube-toast-icon",class:t.iconClass}):t._e(),t._v(" "),t.isLoading?a("cube-loading"):t._e(),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.txt,expression:"txt"}],staticClass:"cube-toast-tip",domProps:{innerHTML:t._s(t.txt)}})],1)],1)},staticRenderFns:[]}},E37f:function(t,e){t.exports="data:image/png;base64,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"},E4RE:function(t,e){},"E61+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("UFDc"),a("XRNA"),a("osO1")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.replace(o,function(t,n,l){var o=n.split("|").slice(1).map(function(t){return t.trim()}),s=o.length,r=e;return s&&o.forEach(function(t){var e=c(t),n=e.fnName,l=e.args;l.unshift(r),(0,a.isFunc)(u.default.helpers[n])?r=u.default.helpers[n].apply(null,l):((0,i.warn)('A helper function named "'+n+'" is not registered, please register it by Validator.addHelper()'),r="")}),r})}function c(t){var e=t.indexOf("("),a=t.indexOf(")"),i="",n=[];if(e===r)n=[],i=t;else if(e!==r&&a!==r){var l=t.slice(e+1,a);n=l.split(",").map(function(t){return t.trim().replace(s,"")}),i=t.slice(0,e)}return{fnName:i,args:n}}Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){return t&&t.__esModule?t:{default:t}}(n),o=/\{\{((?:.|\n)+?)\}\}/g,s=/['"]/g,r=-1;e.default=l,t.exports=e.default})},EF6b:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-rate-item",props:{index:{type:Number,default:0}}},t.exports=e.default})},"EI6/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"panels",staticClass:"cube-tab-panels"},[a("div",{ref:"panelsGroup",staticClass:"cube-tab-panels-group"},[t._t("default",t._l(t.data,function(e,i){return a("cube-tab-panel",{key:e.value||e.label,attrs:{label:e.label,value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])}))],2)])},staticRenderFns:[]}},EKZ3:function(t,e){},ES30:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gCE8"),a("6liq"),a("2DUa")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Group=u.default,c.default.Item=o.default,e.default=c.default,t.exports=e.default})},Er22:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/recycle-list/"+t)}}},t.exports=e.default})},Ex12:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"cube-checker"},[t._t("default",t._l(t.options,function(t,e){return a("cube-checker-item",{key:e,attrs:{option:t}})}))],2)},staticRenderFns:[]}},EzL5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("IskU")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{swipeData:i.defaultData}},methods:{onItemClick:function(t){console.log("click item:",t)},onBtnClick:function(t,e){var a=this;"delete"===t.action&&this.$createActionSheet({title:"确认要删除吗",active:0,data:[{content:"删除"}],onSelect:function(){a.swipeData.splice(e,1)}}).show()}},components:{CubePage:n.default}},t.exports=e.default})},F7um:function(t,e){t.exports="data:image/png;base64,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"},FK47:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"slide",staticClass:"cube-slide"},[a("div",{ref:"slideGroup",staticClass:"cube-slide-group"},[t._t("default",t._l(t.data,function(e,i){return a("cube-slide-item",{key:i,attrs:{item:e},nativeOn:{click:function(a){t.clickItem(e,i)}}})}))],2),t._v(" "),t.showDots?a("div",{staticClass:"cube-slide-dots"},[t._t("dots",t._l(t.dots,function(e,i){return a("span",{key:i,class:{active:t.currentPageIndex===i}})}),{current:t.currentPageIndex,dots:t.dots})],2):t._e()])},staticRenderFns:[]}},FTiD:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"input-view",title:"Input"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-input",{attrs:{type:t.type,placeholder:"please type here...",disabled:t.disabled,readonly:t.readonly,clearable:t.clearable,autocomplete:!0,eye:t.eye},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("div",{staticClass:"value"},[t._v("value: "+t._s(t.value))]),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"readonly",value:t.readonly},on:{"update:value":t.updateReadonly}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"maxlength:10",value:t.maxlength10},on:{"update:value":t.updateMaxLength}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"clearable",value:t.useClear},on:{"update:value":t.updateUseClear}}),t._v(" "),t.useClear?a("switch-option",{staticClass:"item",attrs:{name:"blur hiden",value:t.clearBlurHidden},on:{"update:value":t.updateBlurHidden}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"password",value:t.isPwd},on:{"update:value":t.updatePwd}}),t._v(" "),t.isPwd?a("switch-option",{staticClass:"item",attrs:{name:"show eye",value:t.showEye},on:{"update:value":t.updateShowEye}}):t._e(),t._v(" "),t.isPwd&&t.showEye?a("switch-option",{staticClass:"item",attrs:{name:"reverse",value:t.reverse},on:{"update:value":t.updateReverse}}):t._e(),t._v(" "),t.isPwd&&t.showEye?a("switch-option",{staticClass:"item",attrs:{name:"password visible",value:t.pwdVisible},on:{"update:value":t.updatePwdVisible}}):t._e()],1)])])],1)])},staticRenderFns:[]}},FZvW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{current:"快车",labels:["快车","小巴","专车","顺风车","代驾","公交","自驾租车","豪华车","二手车","出租车"],txts:["1快车","2小巴","3专车","4顺风车","5代驾","6公交","7自驾租车","8豪华车","9二手车","10出租车"]}},methods:{changeHandler:function(t){this.current=t}},components:{CubePage:i.default}},t.exports=e.default})},Fc4T:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 🙃 ","👆🏻 outer 👇🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👆🏻 outer 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ "],l=["😀 😁 😂 🤣 😃 🙃 ","👆🏻 inner 👇🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👆🏻 inner 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","👆🏻 inner 👇🏻 ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 inner 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","👆🏻 inner 👇🏻 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 inner 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","👆🏻 inner 👇🏻 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 inner 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","👆🏻 inner 👇🏻 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items1:n,items2:l}},components:{CubePage:i.default}},t.exports=e.default})},FccO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("li",{staticClass:"cube-drawer-item border-bottom-1px",class:t.itemClass,on:{click:function(e){t.clickItem(t.item)}}},[t._t("default",[t._v("\n "+t._s(t.item.text||t.item)+"\n ")])],2)},staticRenderFns:[]}},FmUO:function(t,e,a){function i(t){a("sVin")}var n=a("VU/8")(a("NEEv"),a("D9Go"),i,null,null);t.exports=n.exports},Fth0:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/sticky/"+t)}}},t.exports=e.default})},FzF9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-index-list-item",class:t.itemClass,on:{touchstart:t.addActiveCls,touchend:t.removeActiveCls,click:function(e){t.selectItem()}}},[t._t("default",[a("div",{staticClass:"cube-index-list-item-def border-bottom-1px"},[t._v("\n "+t._s(t.item.name)+"\n ")])])],2)},staticRenderFns:[]}},FzTc:function(t,e){},"G59/":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("PzHl"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={name:"cube-toast",mixins:[s.default,r.default],props:{type:{type:String,default:"loading"},icon:{type:String,default:""},mask:{type:Boolean,default:!1},txt:{type:String,default:""},time:{type:Number,default:3e3},zIndex:{type:Number,default:900}},computed:{iconClass:function(){var t=[];this.icon&&t.push(this.icon);var e={correct:"cubeic-right",error:"cubeic-wrong",warn:"cubeic-warn"},a=e[this.type];return a&&t.push(a),t},isLoading:function(){return"loading"===this.type}},methods:{maskClick:function(){this.maskClosable&&this.hide()},show:function(){var t=this;this.isVisible=!0,this.clearTimer(),this.$nextTick(function(){0!==t.time&&(t.timer=setTimeout(function(){t.hide(),t.$emit("timeout")},t.time))})},hide:function(){this.isVisible=!1,this.clearTimer()},clearTimer:function(){clearTimeout(this.timer),this.timer=null}},components:{CubePopup:o.default,CubeLoading:u.default}},t.exports=e.default})},G9D9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-scroll",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY},scopedSlots:t._u([{key:"fixed",fn:function(e){return[a("ul",{staticClass:"sticky-header"},[a("li",[t._v(t._s(e.current))])])]}}])},[a("cube-scroll",{attrs:{"scroll-events":t.scrollEvents},on:{scroll:t.scrollHandler}},[a("ul",[a("li",[t._v("title")])]),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"11"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"22"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("222")]),t._v(" "),a("li",[t._v("222")])])]),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("cube-sticky-ele",{attrs:{"ele-key":"33"}},[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("333")])])]),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1)],1)],1)])],2)},staticRenderFns:[]}},GFMH:function(t,e,a){function i(t){a("befj")}var n=a("VU/8")(a("/kdh"),a("EI6/"),i,null,null);t.exports=n.exports},GJyM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/slide/"+t)}}},t.exports=e.default})},GXMy:function(t,e){},GcL8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-upload"},[t._t("default",[a("div",{staticClass:"cube-upload-def clear-fix"},[t._l(t.files,function(e,i){return a("upload-file",{key:i,attrs:{file:e},on:{click:t.fileClick}})}),t._v(" "),a("upload-btn",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn,expression:"isShowBtn"}],attrs:{multiple:t.multiple,accept:t.accept}})],2)])],2)},staticRenderFns:[]}},Gcl4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("dz9r")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{action:{target:"//jsonplaceholder.typicode.com/photos/",prop:"base64Value",checkSuccess:function(t){return!0}}}},methods:{processFile:function(t,e){(0,c.default)(t,{compress:{width:1600,height:1600,quality:.5}},e)},fileSubmitted:function(t){t.base64Value=t.file.base64}},components:{CubePage:l.default}},t.exports=e.default})},"Gn4+":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-picker-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,"z-index":t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.maskClick}},[a("transition",{attrs:{name:"cube-picker-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-picker-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[a("div",{staticClass:"cube-picker-choose border-bottom-1px"},[a("span",{staticClass:"cube-picker-cancel",on:{click:t.cancel}},[t._v(t._s(t._cancelTxt))]),t._v(" "),a("span",{staticClass:"cube-picker-confirm",on:{click:t.confirm}},[t._v(t._s(t._confirmTxt))]),t._v(" "),a("div",{staticClass:"cube-picker-title-group"},[a("h1",{staticClass:"cube-picker-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.subtitle?a("h2",{staticClass:"cube-picker-subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])]),t._v(" "),a("div",{staticClass:"cube-picker-content"},[a("i",{staticClass:"border-bottom-1px"}),t._v(" "),a("i",{staticClass:"border-top-1px"}),t._v(" "),a("div",{ref:"wheelWrapper",staticClass:"cube-picker-wheel-wrapper"},t._l(t.finalData,function(e,i){return a("div",{key:i,style:{order:t._getFlexOrder(e)}},[a("ul",{staticClass:"cube-picker-wheel-scroll"},t._l(e,function(e,i){return a("li",{key:i,staticClass:"cube-picker-wheel-item",domProps:{innerHTML:t._s(e[t.textKey])}})}))])}))]),t._v(" "),a("div",{staticClass:"cube-picker-footer"})])])],1)],1)},staticRenderFns:[]}},Gp4f:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["confirm","cancel","close","btn-click","link-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},"H+BD":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("1Vb/"),a("5Fev")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{disabled:!1,max:5,value:3,image:"https://p3.pstatp.com/large/593c0006340abbabefa0",customStar:!1,justify:!1,options:[{text:"5",value:5},{text:"10",value:10}]}},methods:{updateDisabled:function(t){this.disabled=t},updateStarNumbers:function(t){this.max=t},updateJustify:function(t){this.justify=t},updateRateItem:function(t){this.customStar=t}},components:{CubePage:u.default,CubeButtonGroup:o.default,SwitchOption:s.default,SelectOption:r.default}},t.exports=e.default})},"H61/":function(t,e,a){function i(t){a("y7n+")}var n=a("VU/8")(a("gAqf"),a("vEm4"),i,null,null);t.exports=n.exports},HBJ7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"HT+y":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tip-view",title:"Tip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"tip-eg"},[a("cube-button",{attrs:{inline:!0,outline:!0,primary:!0},on:{click:function(e){t.$refs.tip.show()}}},[t._v("Show tip")]),t._v(" "),a("cube-tip",{ref:"tip",staticStyle:{left:"115px",top:"-50px"},attrs:{direction:"bottom"}},[t._v("Tip")])],1),t._v(" "),a("p",{staticClass:"tip-eg"},[a("cube-button",{attrs:{inline:!0,outline:!0,primary:!0},on:{click:function(e){t.showTip("bottom")}}},[t._v("cube-ui")]),t._v(" "),a("cube-tip",{ref:"tip2",style:t.tipStyle,attrs:{direction:t.direction},on:{close:t.close,click:t.clickHandler}},[a("div",[t._v("Awesome!")])])],1),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("bottom")}}},[t._v("top")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("top")}}},[t._v("bottom")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("right")}}},[t._v("left")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showTip("left")}}},[t._v("right")])],1)])},staticRenderFns:[]}},HgDQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("70Rd"),a("GdJY"),a("64cm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.registerLanguage("json",c.default),e.default={props:{data:{type:Object,default:function(){return{}}},title:{type:String,default:""}},data:function(){return{changed:!0}},watch:{data:{handler:function(){var t=this;this.changed=!1,this.$nextTick(function(){t.changed=!0,t.$nextTick(function(){t.$refs.code&&l.default.highlightBlock(t.$refs.code)})})},deep:!0}},mounted:function(){this.$refs.code&&l.default.highlightBlock(this.$refs.code)}},t.exports=e.default})},HgRm:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer",on:{click:t.drawerClick}},[a("div",{staticClass:"cube-drawer-main",style:t.slideStyle,on:{click:function(t){t.stopPropagation()},transitionend:t.transitionend}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.$slots.title||t.title,expression:"$slots.title || title"}],staticClass:"cube-drawer-title"},[t._t("title",[t._v(t._s(t.title))])],2),t._v(" "),a("div",{staticClass:"cube-drawer-panels",on:{transitionend:function(t){t.stopPropagation()}}},[t._t("default",t._l(t.data,function(t,e){return a("cube-drawer-panel",{key:e,attrs:{index:e,data:t}})}))],2)])])},staticRenderFns:[]}},"I+KE":function(t,e){},I3p6:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checker-view",title:"Checker"}},[a("template",{slot:"content"},[a("p",[t._v("default usage")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.checkboxOptions},model:{value:t.checkboxCheckerList,callback:function(e){t.checkboxCheckerList=e},expression:"checkboxCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkboxCheckerList))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("type: radio")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.radioOptions,type:"radio"},model:{value:t.checkerValue,callback:function(e){t.checkerValue=e},expression:"checkerValue"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkerValue))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("use slot")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.radioOptions,type:"radio"},model:{value:t.checkerValue,callback:function(e){t.checkerValue=e},expression:"checkerValue"}},t._l(t.radioOptions,function(e){return a("cube-checker-item",{key:e.value,attrs:{option:e}},[a("span",{staticClass:"orange"},[a("i",{staticClass:"cubeic-alert"}),t._v(t._s(e.text))])])})),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.checkerValue))]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("set min and max")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.checkboxOptions,min:1,max:2},model:{value:t.defaultCheckerList,callback:function(e){t.defaultCheckerList=e},expression:"defaultCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.defaultCheckerList)+" (min: 1 max: 2)")]),t._v(" "),a("br"),a("br"),t._v(" "),a("p",[t._v("set disabled")]),t._v(" "),a("br"),t._v(" "),a("cube-checker",{attrs:{options:t.disabledCheckerOptions},model:{value:t.disabledCheckerList,callback:function(e){t.disabledCheckerList=e},expression:"disabledCheckerList"}}),t._v(" "),a("br"),t._v(" "),a("p",[t._v("checker value : "+t._s(t.disabledCheckerList))]),t._v(" "),a("br"),a("br")],1)],2)},staticRenderFns:[]}},I3ux:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-recycle-list",{staticClass:"list",attrs:{infinite:t.infinite,size:t.size,"on-fetch":t.onFetch},scopedSlots:t._u([{key:"tombstone",fn:function(e){return[a("div",{staticClass:"item tombstone"},[a("div",{staticClass:"avatar"}),t._v(" "),a("div",{staticClass:"bubble"},[a("p"),t._v(" "),a("p"),t._v(" "),a("p"),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"})])])])]}},{key:"item",fn:function(e){var i=e.data;return[a("div",{staticClass:"item",attrs:{id:i.id},on:{click:function(e){t.handleClick(i)}}},[a("div",{staticClass:"avatar",style:{backgroundImage:"url("+(i.avatar||"")+")"}}),t._v(" "),a("div",{staticClass:"bubble"},[a("p",[t._v(t._s(i.msg))]),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"},[t._v(t._s(i.time))])])])])]}}])},[a("div",{attrs:{slot:"noMore"},slot:"noMore"},[t._v("没有更多数据了")])])],1)])])},staticRenderFns:[]}},"I6++":function(t,e){},"I6+Q":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["change","hide"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},I7KL:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checkList:["1","4"],options:["1","2",{label:"3",value:"3",disabled:!0},{label:"4",value:"4",disabled:!0}],colOptions:["1","2","3","4","5","6","7","8"],colNum:3,colCheckList:[]}},components:{CubePage:i.default}},t.exports=e.default})},IBoP:function(t,e){},IIbQ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("side")}}},[t._v("Side Style")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},IWr1:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-option"},[a("span",{staticClass:"name"},[t._v(t._s(t.name))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],attrs:{type:"text"},domProps:{value:t.inputValue},on:{input:function(e){e.target.composing||(t.inputValue=e.target.value)}}})])},staticRenderFns:[]}},Idn0:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"group",staticClass:"cube-radio-group",class:t._groupClass,attrs:{"data-horz":t.horizontal,"data-col":t.colNum>1}},[t._t("default",t._l(t.options,function(e,i){return a("cube-radio",{key:i,attrs:{option:e,position:t.position,"hollow-style":t.hollowStyle},model:{value:t.radioValue,callback:function(e){t.radioValue=e},expression:"radioValue"}})}))],2)},staticRenderFns:[]}},Il0v:function(t,e){},IskU:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultData=[{item:{text:"测试1",value:1},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试2",value:2},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试3",value:3},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:4},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:5},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:6},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:7},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:8},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:9},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:10},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:11},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:12},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:13},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:14},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:15},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:16},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:17},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:18},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:19},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:20},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:21},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:22},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:23},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{text:"测试",value:24},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]}],t.customData=[{item:{id:"3646653877",name:"还不是因为你长得不好看",desc:"伤感:歌词再狠,也抵不过现实伤人",imgurl:"http://p.qpic.cn/music_cover/MhQ4bJBPt3Yt5icXyBGNhyPJnE9O51CqaN72iaDgvFmDKaia12UFhU5uQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1789676645",name:"秋水浮萍任飘渺",desc:"『武侠配乐』快意恩仇江湖情",imgurl:"http://p.qpic.cn/music_cover/8KfvDey9cibtZ5xkWxRic6vhXgdPic3wnB7reibI4pdPQBCP8u57uqcjsQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3649034125",name:"念葳蕊",desc:"江海迦:热恋后哼一首歌为自己悲悯的歌",imgurl:"http://p.qpic.cn/music_cover/jXFicBvicUcfIWSoCNT1OrbAoHG2fqqnrJVnGV4iaLCapWUpCKqbmAicJg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2977781451",name:"风少",desc:"午后甜点:静听浓情爵士,于悠然中尽享",imgurl:"http://p.qpic.cn/music_cover/llTQ9l2AeicK2OLIORnsUdtbhlNRGF89NBDI6SoBxEIzhAlrmV1SmGg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2691498608",name:"虛榮少女",desc:"感性强盗|强势洗榜的那些韩国抒情音乐",imgurl:"http://p.qpic.cn/music_cover/icLTHicH8iakBFAJbiazGT3DnywHfOoiaVzdZWJ4pVcDdoVCqlU5hLx8K7A/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3703029362",name:"哔咯独角兽",desc:"温情摇滚|安抚夜色弥漫时落寞的心",imgurl:"http://p.qpic.cn/music_cover/0yiaX8d9LSmnROyId1RsUUwklzSKKp7RSanBAJ89We5I4kMwdnH5yeg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3606666961",name:"毕业雨季",desc:"小资情调:何为亏欠文艺青年心中的体面",imgurl:"http://p.qpic.cn/music_cover/SXTicaprnQbfAyiaibTsguPlPQK4ZBwicp09O22qKwnTJaO10kp2le37Ww/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3604823742",name:"冷门单曲酱",desc:"放假挤火车回家:等车时的轻快曲",imgurl:"http://p.qpic.cn/music_cover/lricrZ3ca62ybvZbWYjtYa9d3Biab7MTiaJhX9owcjdkv5HMxDEunm7tg/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1746389460",name:"私に闻いて风i",desc:"追忆续篇:少女漫中关于邂逅他的故事",imgurl:"http://p.qpic.cn/music_cover/qH8rLHHhL8O8Iibm56uPzJy4mNzibugoib19FAujo6GdTXAAvhicw7Js0Q/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"1746020155",name:"同位",desc:"优雅的音乐贵族 大提琴",imgurl:"http://p.qpic.cn/music_cover/e4us58fDgLVdxdbgmSUdTADM7Sl88AfGK3qQqibxmqpqRnmSGHaFaEQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2949232733",name:"香草拿铁",desc:"超级碗中场秀嘉宾歌曲集",imgurl:"http://p.qpic.cn/music_cover/V34Wl85ZuJRskg3Ds3R8yyddp8gI2icb7wXicN8ZEzJZP0icnwHyzNzhQ/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"3691421503",name:"L岺",desc:"寒假赖床指南:吸猫!吸猫!吸猫!",imgurl:"http://p.qpic.cn/music_cover/Ay2w92PeiaO57pZWMwecv6SEWibhUAoWKzkmWgbtcfCsibQYt8bZtq2PA/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]},{item:{id:"2072789141",name:"D.Va",desc:"中国风电音:敢问上天,是否有仙?",imgurl:"http://p.qpic.cn/music_cover/QlZibnBVmII60BjTttickJO9MTQDoTRFvboeks5LDkOJHNEjao8f9t6Q/600?n=1"},btns:[{action:"clear",text:"不再关注",color:"#c8c7cd"},{action:"delete",text:"删除",color:"#ff3a32"}]}]})},IuA7:function(t,e){},Iyug:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Z5VE"),a("bh5B"),a("5KkG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={name:"cube-drawer-panel",mixins:[c.default],props:{data:{type:Array,default:function(){return[]}},index:{type:Number,default:-1}},computed:{selectedIndex:function(){var t=this.$parent.selected[this.index];return void 0===t?-1:t}},watch:{data:function(){this.scrollToTop()},isVisible:function(){var t=this;this.$nextTick(function(){t.refresh()})}},mounted:function(){this.$parent.addPanel(this)},beforeDestroy:function(){this.$parent.removePanel(this)},methods:{refresh:function(){this.$refs.scroll.refresh()},scrollToTop:function(){this.$refs.scroll.scroll&&this.$refs.scroll.scroll.scrollTo(0,0,0)},itemClickHandler:function(t,e){this.selectedIndex!==e&&this.$parent.changeHandler(this.index,t,e)}},components:{CubeScroll:u.default,CubeDrawerItem:o.default}},t.exports=e.default})},IzGe:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"cascadePicker",attrs:{title:"Date Picker",data:t.data,selectedIndex:t.selectedIndex},on:{select:t.select,cancel:t.cancel}})},staticRenderFns:[]}},J4wF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/upload/"+t)}}},t.exports=e.default})},J9Iv:function(t,e){},JBFj:function(t,e,a){var i=a("VU/8")(a("BRD/"),a("Lc9/"),null,null,null);t.exports=i.exports},JG9D:function(t,e){},JHHX:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{buttonStyle:["inline","outline","primary"]}},computed:{inlineStyle:function(){return this.buttonStyle.indexOf("inline")>=0},outlineStyle:function(){return this.buttonStyle.indexOf("outline")>=0},primaryStyle:function(){return this.buttonStyle.indexOf("primary")>=0}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},JKih:function(t,e,a){function i(t){a("TVNN")}var n=a("VU/8")(a("Fc4T"),a("PN0K"),i,null,null);t.exports=n.exports},JOED:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",rules:{required:!0,uploaded:function(t,e){return u.default.all(t.map(function(t,e){return new u.default(function(a,i){if(t.uploadedUrl)return a();setTimeout(function(){e%2?i(new Error):(t.uploadedUrl="uploaded/url",a())},1e3)})})).then(function(){return!0})}},messages:{uploaded:"上传失败"}}]},{fields:[{type:"submit",label:"Submit"},{type:"reset",label:"Reset"}]}]},options:{scrollToInvalidField:!0,layout:"classic"}}},methods:{submitHandler:function(t){t.preventDefault(),console.log("submit",t)},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},resetHandler:function(t){console.log("reset",t)}},components:{CubePage:o.default,CubeButtonGroup:s.default,JsonView:r.default}},t.exports=e.default})},JgmB:function(t,e,a){var i=a("VU/8")(a("Ba27"),a("fuAs"),null,null,null);t.exports=i.exports},"K/GD":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{components:[{name:"Basic 基础组件",shortcut:"Basic",items:[{path:"/button",text:"Button"},{path:"/loading",text:"Loading"},{path:"/tip",text:"Tip"},{path:"/toolbar",text:"Toolbar"},{path:"/tab-bar",text:"TabBar"}]},{name:"Form 表单组件",shortcut:"Form",items:[{path:"/checkbox",text:"Checkbox"},{path:"/checkbox-group",text:"CheckboxGroup"},{path:"/checker",text:"Checker"},{path:"/radio",text:"Radio"},{path:"/input",text:"Input"},{path:"/textarea",text:"Textarea"},{path:"/select",text:"Select"},{path:"/switch",text:"Switch"},{path:"/rate",text:"Rate"},{path:"/validator",text:"Validator"},{path:"/upload",text:"Upload"},{path:"/form",text:"Form"}]},{name:"Popup 弹窗组件",shortcut:"Popup",items:[{path:"/popup",text:"Popup"},{path:"/toast",text:"Toast"},{path:"/picker",text:"Picker"},{path:"/cascade-picker",text:"CascadePicker"},{path:"/segment-picker",text:"SegmentPicker"},{path:"/date-picker",text:"DatePicker"},{path:"/time-picker",text:"TimePicker"},{path:"/dialog",text:"Dialog"},{path:"/action-sheet",text:"ActionSheet"},{path:"/drawer",text:"Drawer"},{path:"/image-preview",text:"ImagePreview"}]},{name:"Scroll 滚动组件",shortcut:"Scroll",items:[{path:"/scroll",text:"Scroll"},{path:"/slide",text:"Slide"},{path:"/index-list",text:"IndexList"},{path:"/swipe",text:"Swipe"},{path:"/sticky",text:"Sticky"},{path:"/scroll-nav-bar",text:"ScrollNavBar"},{path:"/scroll-nav",text:"ScrollNav"},{path:"/recycle-list",text:"RecycleList"}]}]}},components:{CubeView:i.default}},t.exports=e.default})},K5n8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=[{text:"剧毒",value:"剧毒"},{text:"蚂蚁",value:"蚂蚁"},{text:"幽鬼",value:"幽鬼"},{text:"主宰",value:"主宰"},{text:"卡尔",value:"卡尔"},{text:"宙斯",value:"宙斯"},{text:"巫医",value:"巫医"},{text:"巫妖",value:"巫妖"},{text:"神谕者",value:"神谕者"},{text:"撼地神牛",value:"神谕者"},{text:"蓝胖子",value:"蓝胖子"},{text:"水晶室女",value:"水晶室女"},{text:"莉娜",value:"莉娜"},{text:"斯拉克",value:"斯拉克"},{text:"斯拉达",value:"斯拉达"}],a=[{text:"输出",value:"输出"},{text:"控制",value:"控制"},{text:"核心",value:"核心"},{text:"爆发",value:"爆发"},{text:"辅助",value:"辅助"},{text:"打野",value:"打野"},{text:"逃生",value:"逃生"},{text:"先手",value:"先手"}],i=[{text:"梅肯",value:"梅肯"},{text:"秘法鞋",value:"秘法鞋"},{text:"假腿",value:"假腿"},{text:"飞鞋",value:"飞鞋"},{text:"辉耀",value:"辉耀"},{text:"金箍棒",value:"金箍棒"}],n=[{text:"顺丰",value:"顺丰"},{text:"中通",value:"中通"},{text:"圆通",value:"圆通"}];t.column1=e,t.column2=a,t.column3=i,t.expressData=n})},K9Wg:function(t,e){},KATl:function(t,e,a){function i(t){a("XjAD")}var n=a("VU/8")(a("tspx"),a("uzcz"),i,null,null);t.exports=n.exports},KIfi:function(t,e,a){function i(t){a("GXMy")}var n=a("VU/8")(a("C8H9"),a("9Vqu"),i,null,null);t.exports=n.exports},"KQ/n":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},KVex:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},KZW3:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Gu7T"),a("XPXN"),a("o/OE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:u.default},data:function(){return{title:"Current City: BEIJING",data:o.default,options:{pullDownRefresh:{stop:55}}}},methods:{selectItem:function(t){console.log(t.name)},clickTitle:function(t){console.log(t)},onPullingDown:function(){var t=this;setTimeout(function(){var e;(e=t.data[1].items).push.apply(e,(0,c.default)(o.default[1].items)),t.$refs.indexList.forceUpdate(!0)},1e3)}}},t.exports=e.default})},Kjut:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/drawer/"+t)}}},t.exports=e.default})},Kjwe:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("1Zrt"),a("kjd8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){var e=l[t.type];e&&e(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l={submit:function(t){(0,i.toButtonHandler)(t,"submit")},reset:function(t){(0,i.toButtonHandler)(t,"reset")},checkbox:function(t){(0,a.boolRequiredHandler)(t)},switch:function(t){(0,a.boolRequiredHandler)(t)},rate:function(t){(0,a.numberGT0RequiredHandler)(t)}};t.exports=e.default})},Kprf:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"checkbox-view",title:"Checkbox"}},[a("template",{slot:"content"},[a("cube-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("Checkbox")]),t._v(" "),a("p",[t._v("checked value: "+t._s(t.checked))]),t._v(" "),a("cube-checkbox",{attrs:{position:"right",shape:"square","hollow-style":!0},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("Styled Checkbox")]),t._v(" "),a("br"),a("br"),t._v(" "),a("cube-checkbox",{attrs:{option:t.optionValue},model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}}),t._v(" "),a("p",[t._v("checked value (with option) : "+t._s(t.checked2))]),t._v(" "),a("cube-checkbox",{attrs:{option:{disabled:!0},"hollow-style":!0},model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}},[t._v("\n Disabled Checkbox\n ")]),t._v(" "),a("br"),a("br"),t._v(" "),a("cube-checkbox",{staticClass:"with-click",model:{value:t.checked2,callback:function(e){t.checked2=e},expression:"checked2"}},[t._v("\n Agree "),a("a",{attrs:{href:"javascript:;"},on:{click:function(t){t.stopPropagation()}}},[t._v("《xxx》")])])],1)],2)},staticRenderFns:[]}},KrQh:function(t,e,a){function i(t){a("dJ+B")}var n=a("VU/8")(a("AdWU"),a("9dOh"),i,null,null);t.exports=n.exports},"L+7R":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"multi-images-preview",title:"MultiImagesPreview"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"tips"},[t._v("Click Image")]),t._v(" "),a("div",{staticClass:"imgs-container"},t._l(t.imgs,function(e,i){return a("img",{key:e,attrs:{src:e},on:{click:function(e){t.handleImgsClick(i)}}})}))])])])},staticRenderFns:[]}},LFFy:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky-view-wechat",title:"Sticky"}},[a("template",{slot:"content"},[a("div",{staticClass:"sticky-view-container"},[a("cube-sticky",{attrs:{pos:t.scrollY,"check-top":t.checkTop,"fixed-show-ani":"sticky-fixed-show"},on:{"diff-change":t.diffChange}},[a("cube-scroll",{attrs:{"scroll-events":t.scrollEvents},on:{scroll:t.scrollHandler}},[a("img",{attrs:{src:"https://ss3.bdstatic.com/iPoZeXSm1A5BphGlnYG/skin/6.jpg"}}),t._v(" "),a("cube-sticky-ele",[a("ul",{staticClass:"sticky-header"},[a("li",[t._v("111")])])]),t._v(" "),a("ul",t._l(t.items,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("ul",t._l(t.items2,function(e){return a("li",[t._v(t._s(e))])})),t._v(" "),a("ul",t._l(t.items3,function(e){return a("li",[t._v(t._s(e))])}))],1),t._v(" "),a("ul",{ref:"stickyHeader",staticClass:"sticky-header",attrs:{slot:"fixed"},slot:"fixed"},[a("li",[t._v("header")])])],1)],1)])],2)},staticRenderFns:[]}},LIRj:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t){return t=String(t),t.replace(i,function(t,e){return e?e.toUpperCase():""})}function a(t){return t=String(t),t.replace(/([A-Z])/g,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=e,t.kebab=a;var i=/-(\w)/g})},LLJH:function(t,e){},LXLj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",rules:{required:!0,uploaded:function(t,e){return u.default.all(t.map(function(t,e){return new u.default(function(a,i){if(t.uploadedUrl)return a();setTimeout(function(){e%2?i(new Error):(t.uploadedUrl="uploaded/url",a())},1e3)})})).then(function(){return!0})}},messages:{uploaded:"上传失败"}}]},{fields:[{type:"submit",label:"Submit"},{type:"reset",label:"Reset"}]}]},options:{scrollToInvalidField:!0,layout:"fresh"}}},methods:{submitHandler:function(t){t.preventDefault(),console.log("submit",t)},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},resetHandler:function(t){console.log("reset",t)}},components:{CubePage:o.default,CubeButtonGroup:s.default,JsonView:r.default}},t.exports=e.default})},"Lc9/":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-segment-picker"},t._l(t.data,function(e,i){return a(e.is||"cube-picker",t._b({key:i,ref:"pickers",refInFor:!0,tag:"component",attrs:{index:i,title:e.title||t.title,subtitle:e.subtitle||t.subtitle,"confirm-txt":e.confirmTxt||(i===t.data.length-1?t._confirmTxt:t._nextTxt),"cancel-txt":e.cancelTxt||(0===i?t._cancelTxt:t._prevTxt),"swipe-time":e.swipeTime||t.swipeTime,"z-index":e.zIndex||t.zIndex,"mask-closable":t.maskClosable},on:{select:t._select,cancel:t._cancel,change:t._change}},"component",e,!1))}))},staticRenderFns:[]}},LdqJ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"switch-option"},[a("span",{staticClass:"name"},[t._v(t._s(t.name))]),t._v(" "),a("div",{staticClass:"switch-ellipse",class:{active:t.checked},on:{click:t.clickSwitch}},[a("span",{staticClass:"switch-circle",class:{active:t.checked}})])])},staticRenderFns:[]}},LeY8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.cascadeData=[{value:"Fruit",text:"Fruit",children:[{value:"Apple",text:"Apple",children:[{value:1,text:"One"},{value:2,text:"Two"}]},{value:"Orange",text:"Orange",children:[{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"Lemon",text:"Lemon",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"},{value:5,text:"Five"}]}]},{value:"Drink",text:"Drink",children:[{value:"Coffee",text:"Coffee",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]},{value:"Tea",text:"Tea",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"Juice",text:"Juice",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]}]},{value:"Dessert",text:"Dessert",children:[{value:"Chocolate",text:"Chocolate",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"},{value:5,text:"Five"}]},{value:"cheese",text:"cheese",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"},{value:4,text:"Four"}]},{value:"cake",text:"cake",children:[{value:1,text:"One"},{value:2,text:"Two"},{value:3,text:"Three"}]}]}]})},Lg4b:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("UFDc"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(n);e.default={name:"cube-select",mixins:[u.default],data:function(){return{active:!1}},props:{options:{type:Array,default:function(){return[]}},value:null,placeholder:{type:String,default:""},autoPop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},title:{type:String,default:""},cancelTxt:{type:String,default:""},confirmTxt:{type:String,default:""}},computed:{adaptOptions:function(){return[this.options.map(function(t){return"object"!==(void 0===t?"undefined":(0,c.default)(t))&&(t={value:t,text:t}),t})]},valueIndex:function(){var t=this.value,e=(0,i.findIndex)(this.adaptOptions[0],function(e){return e.value===t});return this.picker&&this.picker.setData(this.adaptOptions,-1!==e?[e]:[0]),e},selectedIndex:function(){return-1!==this.valueIndex?[this.valueIndex]:[0]},selectedText:function(){return-1!==this.valueIndex?this.adaptOptions[0][this.valueIndex].text:""},_placeholder:function(){return this.placeholder||this.$t("selectText")},_title:function(){return this.title||this.$t("selectText")},_cancelTxt:function(){return this.cancelTxt||this.$t("cancel")},_confirmTxt:function(){return this.confirmTxt||this.$t("ok")}},created:function(){this.picker=this.$createPicker({$props:{title:"_title",data:"adaptOptions",selectedIndex:"selectedIndex",cancelTxt:"_cancelTxt",confirmTxt:"_confirmTxt"},$events:{select:"selectHandler",cancel:this.hided}}),this.autoPop&&this.showPicker()},methods:{showPicker:function(){this.disabled||(this.picker.show(),this.active=!0,this.$emit("picker-show"))},hided:function(){this.active=!1,this.$emit("picker-hide")},selectHandler:function(t,e,a){this.hided(),t[0]!==this.value&&(this.$emit("input",t[0]),this.$emit("change",t[0],e[0],a[0]))}}},t.exports=e.default})},Ll9R:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollEvents:["scroll"],scrollY:0,checkTop:!0,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){var e=t.y;this.scrollY=-e},diffChange:function(t,e){var a=0;e&&(a=t/e),this.$refs.stickyHeader.style.opacity=a}},components:{CubePage:i.default}},t.exports=e.default})},M2u5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Dd8w"),a("woOf"),a("PzHl"),a("N/gd"),a("Z5VE"),a("d64j"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o),y={textType:"ok",active:!0,disabled:!1,href:"javascript:;"},m={textType:"cancel",active:!1,disabled:!1,href:"javascript:;"},b=function(t,e){"string"==typeof t&&(t={text:t});var a=e&&this.$t(e.textType);return(0,d.default)({},e,{text:a},t)};e.default={name:"cube-dialog",mixins:[f.default,h.default,x.default],props:{type:{type:String,default:"alert"},prompt:{type:Object,default:function(){return{value:"",placeholder:""}}},icon:{type:String,default:""},title:{type:String,default:""},content:{type:String,default:""},showClose:{type:Boolean,default:!1},confirmBtn:{type:[Object,String],default:function(){return(0,r.default)({},y)}},cancelBtn:{type:[Object,String],default:function(){return(0,r.default)({},m)}}},data:function(){return{defHref:"javascript:;",promptValue:this.prompt.value}},computed:{_confirmBtn:function(){return b.call(this,this.confirmBtn,y)},_cancelBtn:function(){return b.call(this,this.cancelBtn,m)},isConfirm:function(){return"confirm"===this.type},isPrompt:function(){return"prompt"===this.type},containerClass:function(){return"cube-dialog-"+this.type}},watch:{"prompt.value":{handler:function(t){this.promptValue=t}}},methods:{maskClick:function(t){this.maskClosable&&this.cancel(t)},confirm:function(t){this._confirmBtn.disabled||(this.hide(),this.$emit("confirm",t,this.promptValue))},cancel:function(t){this._cancelBtn.disabled||(this.hide(),this.$emit("cancel",t))},close:function(t){this.hide(),this.$emit("close",t)}},components:{CubePopup:v.default,CubeInput:p.default}},t.exports=e.default})},M7O5:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{validating:!1,pending:!1,originValid:void 0}},computed:{valid:function(){var t=this.originValid,e=this.pending,a=this.validating;return e||a?void 0:t},invalid:function(){var t=this.valid;return void 0===t?t:!t}}},t.exports=e.default})},MFKK:function(t,e){},MKYq:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form",title:"Form"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("custom")}}},[t._v("Custom")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("classic")}}},[t._v("Classic style")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("fresh")}}},[t._v("Fresh style")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},MNuz:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("PzHl"),a("Z5VE"),a("d64j"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={name:"cube-action-sheet",mixins:[o.default,s.default,r.default],props:{data:{type:Array,default:function(){return[]}},active:{type:Number,default:-1},title:{type:String,default:""},pickerStyle:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},cancelTxt:{type:String,default:""}},computed:{_cancelTxt:function(){return this.cancelTxt||this.$t("cancel")}},methods:{maskClick:function(){this.maskClosable&&this.cancel()},cancel:function(){this.hide(),this.$emit("cancel")},itemClick:function(t,e){this.hide(),this.$emit("select",t,e)}},components:{CubePopup:u.default}},t.exports=e.default})},MY9j:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-action-sheet-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],class:{"cube-action-sheet_picker":t.pickerStyle},attrs:{type:"action-sheet",center:!1,mask:!0,"z-index":t.zIndex},on:{"mask-click":t.maskClick}},[a("transition",{attrs:{name:"cube-action-sheet-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-action-sheet-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.pickerStyle||t.title,expression:"pickerStyle || title"}],staticClass:"cube-action-sheet-title border-bottom-1px"},[t._v(t._s(t.title))]),t._v(" "),a("div",{staticClass:"cube-action-sheet-content"},[a("ul",{staticClass:"cube-action-sheet-list"},t._l(t.data,function(e,i){return a("li",{staticClass:"cube-action-sheet-item border-bottom-1px",class:[e.class||"",i===t.active?"cube-action-sheet-item_active":""],attrs:{"data-align":e.align},domProps:{innerHTML:t._s(e.content)},on:{click:function(a){t.itemClick(e,i)}}})}))]),t._v(" "),a("div",{staticClass:"cube-action-sheet-space"}),t._v(" "),a("div",{staticClass:"cube-action-sheet-cancel",on:{click:t.cancel}},[a("span",[t._v(t._s(t._cancelTxt))])])])])],1)],1)},staticRenderFns:[]}},MdHd:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("QMhb"),a("bh5B")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-scroll-nav-bar",inject:{scrollNav:{default:null}},mixins:[l.default],props:{direction:{type:String,default:"horizontal",validator:function(t){return"horizontal"===t||"vertical"===t}},labels:{type:Array,default:function(){return[]}},txts:{type:Array,default:function(){return this._defaultTxts=!0,this.labels}},current:{type:[String,Number],default:""}},data:function(){return{active:this.current,usedTxts:this.txts}},watch:{labels:function(t){this._defaultTxts&&(this.usedTxts=t)},txts:function(t){this.usedTxts=t},current:function(t){this.active=t},active:function(t){this.$emit("change",t),this._adjust()}},mounted:function(){var t=this;this.scrollNav&&this.scrollNav.setBar(this),this.active&&this.$nextTick(function(){t._adjust()})},beforeDestroy:function(){this.scrollNav&&this.scrollNav.setBar(null)},methods:{clickHandler:function(t){t!==this.active&&(this.active=t,this.scrollNav&&this.scrollNav.barChange(t))},refresh:function(){this.$refs.scroll.refresh(),this._adjust()},_adjust:function(){var t=this;this.$nextTick(function(){var e="horizontal"===t.direction,a=e?"clientWidth":"clientHeight",i=t.active,n=t.$refs.scroll.$el[a],l=t.$refs.items,c=l[a],u=Math.min(0,n-c),o=n/2,s=l.children,r=0;t.labels.every(function(t,e){return t===i?(r+=s[e][a]/2,!1):(r+=s[e][a],!0)});var d=o-r;d=Math.max(u,Math.min(0,d)),t.$refs.scroll.scrollTo(e?d:0,e?0:d,300)})}},components:{CubeScroll:c.default}},t.exports=e.default})},Mr73:function(t,e,a){function i(t){a("blHT")}var n=a("VU/8")(a("uYby"),a("hNHr"),i,null,null);t.exports=n.exports},"N/gd":function(t,e,a){function i(t){a("dq75")}var n=a("VU/8")(a("eFmn"),a("1y26"),i,null,null);t.exports=n.exports},N3Wc:function(t,e){},N5yD:function(t,e,a){function i(t){a("dz6Z")}var n=a("VU/8")(a("B1Rs"),a("VV/4"),i,null,null);t.exports=n.exports},N6Rs:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Vexm"),a("fGk3"),a("9zBd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=c.provinceList;v.forEach(function(t){t.children=c.cityList[t.value],t.children.forEach(function(t){t.children=c.areaList[t.value]})});var p={props:{value:{type:Array,default:function(){return[]}}},data:function(){return{selected:[]}},render:function(t){return t("cube-button",{on:{click:this.showPicker}},this.selected.length?this.selected.join(" "):"placeholder")},mounted:function(){this.picker=this.$createCascadePicker({title:"PCA Select",data:v,selectedIndex:this.value,onSelect:this.selectHandler})},methods:{showPicker:function(){this.picker.show()},selectHandler:function(t,e,a){this.selected=a,this.$emit("input",t)}}};e.default={data:function(){return{validity:{},valid:void 0,model:{inputValue:"",pcaValue:[],dateValue:""},fields:[{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0}},{component:p,modelKey:"pcaValue",label:"PCASelect",rules:{required:!0},messages:{required:"请选择"}},{modelKey:"dateValue",label:"Date",rules:{required:!0}}]}},methods:{submitHandler:function(t){console.log("submit")},validateHandler:function(t){this.validity=t.validity,this.valid=t.valid,console.log("validity",t.validity,t.valid,t.dirty,t.firstInvalidFieldIndex)},showDatePicker:function(){this.$refs.datePicker.show()},dateSelectHandler:function(t){this.model.dateValue=new Date(t[0],t[1]-1,t[2]).toDateString()}},components:{CubePage:o.default,CubeButtonGroup:s.default,DatePicker:r.default,JsonView:d.default}},t.exports=e.default})},NEEv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-checker-item",props:{option:{type:Object,default:function(){return{}}}},computed:{isActive:function(){var t=this.$parent.isRadio,e=this.$parent.currentValue,a=this.option.value;return t?e===a:e.indexOf(a)>=0},isDisabled:function(){return this.option.disabled}},methods:{clickHandler:function(){this.isDisabled||this.$parent.check(this.option)}}},t.exports=e.default})},NFzl:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-extend-popup",props:{content:{type:String}},methods:{show:function(){this.$refs.popup.show()},hide:function(){this.$refs.popup.hide(),this.$emit("hide")}}},t.exports=e.default})},NOHr:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"sticky",title:"Sticky"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("scroll")}}},[t._v("Scroll")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("native")}}},[t._v("Native Scroll")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("wechat")}}},[t._v("WeChat")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},NTtZ:function(t,e,a){function i(t){a("dfWv")}var n=a("VU/8")(a("/Ca3"),a("liwK"),i,null,null);t.exports=n.exports},Ngbz:function(t,e){},NhRQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("lQMO"),a("I6+Q")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),(0,c.default)(t,l.default)},e.default=l.default,t.exports=e.default})},O19e:function(t,e){},O1ak:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),o.default.install(t),(0,u.default)(t,c.default)},e.default=c.default,t.exports=e.default})},O6S8:function(t,e,a){function i(t){a("XB2r")}var n=a("VU/8")(a("9IQh"),a("qaXI"),i,null,null);t.exports=n.exports},OCZZ:function(t,e){},OKCy:function(t,e){},OTGw:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("default")}}},[t._v("Default")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("tombstone")}}},[t._v("Infinite")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},OdoB:function(t,e){},Ojzo:function(t,e,a){function i(t){a("6BWR")}var n=a("VU/8")(a("uCDH"),a("ptdZ"),i,null,null);t.exports=n.exports},Oluj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("PzHl"),a("niVN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),(0,c.default)(t,l.default)},e.default=l.default,t.exports=e.default})},OnXQ:function(t,e){},"P+K9":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("qgN4"),a("inlK"),a("t3q3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o);v.default.install=function(t){t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(v.default.name,v.default),x.default.install(t),(0,h.default)(t,r.default),(0,f.default)(t,d.default),(0,p.default)(t,v.default)},v.default.Picker=r.default,d.default.Picker=r.default,v.default.CascadePicker=d.default,e.default=v.default,t.exports=e.default})},P5JG:function(t,e){},P9U6:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/5sW"),a("XPXN"),a("1Vb/"),a("6SSl"),a("5Fev"),a("h7Gw")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c),f=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items:f,itemIndex:f.length,scrollbar:!0,scrollbarFade:!0,startY:0,scrollToY:-200,scrollToTime:700,scrollToEasing:"bounce",scrollToEasingOptions:[{text:"bounce",value:"bounce"},{text:"swipe",value:"swipe"},{text:"swipeBounce",value:"swipeBounce"}],customPullDown:!1}},computed:{options:function(){return{scrollbar:this.scrollbarObj,startY:this.startY}},scrollbarObj:function(){return!!this.scrollbar&&{fade:this.scrollbarFade}}},watch:{scrollbarObj:{handler:function(){this.rebuildScroll()},deep:!0},startY:function(){this.rebuildScroll()}},methods:{scrollTo:function(){this.$refs.scroll.scrollTo(0,this.scrollToY,this.scrollToTime,u.ease[this.scrollToEasing])},updateScrollbar:function(t){this.scrollbar=t},updateScrollbarFade:function(t){this.scrollbarFade=t},updateStartY:function(t){this.startY=t},updateScrollToY:function(t){this.scrollToY=t},updateScrollToTime:function(t){this.scrollToTime=t},updateScrollToEasing:function(t){this.scrollToEasing=t},rebuildScroll:function(){var t=this;s.default.nextTick(function(){t.$refs.scroll.destroy(),t.$refs.scroll.initScroll()})}},components:{CubePage:r.default,SwitchOption:d.default,InputOption:v.default,SelectOption:p.default}},t.exports=e.default})},PN0K:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("cube-scroll",{ref:"scroll1",staticClass:"scroll-list-outer-wrap"},[a("ul",{staticClass:"cube-scroll-list"},t._l(t.items1,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])})),t._v(" "),a("cube-scroll",{ref:"scroll2",staticClass:"scroll-list-inner-wrap",attrs:{nestMode:"native"}},[a("ul",{staticClass:"cube-scroll-list"},t._l(t.items2,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])}))]),t._v(" "),a("ul",{staticClass:"cube-scroll-list"},t._l(t.items1,function(e,i){return a("li",{key:i,staticClass:"cube-scroll-item border-bottom-1px"},[t._v(t._s(e))])}))],1)],1)])])},staticRenderFns:[]}},Pe8L:function(t,e,a){function i(t){a("TjYt")}var n=a("VU/8")(a("J4wF"),a("85uG"),i,null,null);t.exports=n.exports},PmdS:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-custom",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model},on:{validate:t.validateHandler,submit:t.submitHandler}},[a("cube-form-group",[a("cube-form-item",{attrs:{field:t.fields[0]}}),t._v(" "),a("cube-form-item",{attrs:{field:t.fields[1]}}),t._v(" "),a("cube-form-item",{attrs:{field:t.fields[2]}},[a("cube-button",{on:{click:t.showDatePicker}},[t._v(t._s(t.model.dateValue||"Please select"))]),t._v(" "),a("date-picker",{ref:"datePicker",attrs:{min:[2008,8,8],max:[2020,10,20]},on:{select:t.dateSelectHandler}})],1)],1),t._v(" "),a("cube-form-group",[a("cube-button",{attrs:{type:"submit"}},[t._v("Submit")])],1)],1),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},Pn6H:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"dialog-view",title:"Dialog"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showAlert}},[t._v("Dialog - alert")]),t._v(" "),a("cube-button",{on:{click:t.showPrompt}},[t._v("Dialog - prompt")]),t._v(" "),a("cube-button",{on:{click:t.showBtn}},[t._v("Dialog - btn")]),t._v(" "),a("cube-button",{on:{click:t.showClose}},[t._v("Dialog - show close")]),t._v(" "),a("cube-button",{on:{click:t.showSlot}},[t._v("Dialog - slot")])],1)],1)])},staticRenderFns:[]}},Ps1K:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("FmUO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-checker",props:{value:[String,Number,Array],options:{type:Array,default:function(){return[]}},type:{type:String,default:"checkbox"},min:{type:Number,default:0},max:{type:Number,default:function(){return this.options.length}}},data:function(){return{currentValue:this.value}},computed:{isRadio:function(){return"radio"===this.type}},watch:{value:function(t){this.currentValue=t},currentValue:function(t){this.$emit("input",t)}},methods:{check:function(t){this.isRadio?this.checkRadio(t):this.checkCheckbox(t)},checkRadio:function(t){this.currentValue=t.value},checkCheckbox:function(t){var e=t.value,a=this.currentValue,i=a.length,n=this.min,l=this.max,c=a.indexOf(e);c>-1?i>n&&a.splice(c,1):i0},isBtnField:function(){return"button"===this.fieldValue.type},itemClass:function(){var t=this.fieldValue.rules;return{"cube-form-item_required":t&&t.required,"cube-form-item_btn":this.isBtnField,"cube-form-item_validating":this.validating,"cube-form-item_pending":this.pending,"cube-form-item_valid":this.valid,"cube-form-item_invalid":this.invalid}},modelVal:function(){return this.form.model[this.fieldValue.modelKey]},componentName:function(){var t=this.fieldValue,e=t.component;if(e)return e;var a=t.type,i="cube-"+a;return y.default[i]?i:a}},watch:{modelVal:function(t){this.modelValue!==t&&(this.modelValue=t)},modelValue:{handler:function(t){this.form.model[this.fieldValue.modelKey]=t,this.updateValidatorModel()},sync:!0},originValid:function(t){this.lastOriginValid=t}},beforeCreate:function(){this.form=this.$parent.form},created:function(){var t=this;this.form.addField(this),this.getValidatorModel=function(e){return t.pending=!1,e}},mounted:function(){this.initDebounce(),this.initFocusEvents()},methods:{initDebounce:function(){var t=this,e=this.fieldValue.debounce;!0===e&&(e=200),!e&&0!==e||e<0||"blur"===this.fieldValue.trigger||(this.getValidatorModel=(0,l.debounce)(function(e){return t.syncValidatorValue(),e},e,!1,this.validatorModel[this.validatorModelKey]))},focusInHandler:function(){this.focused=!0},focusOutHandler:function(){this.focused=!1,this.updateValidatorModel()},initFocusEvents:function(){var t=this;if("blur"===this.fieldValue.trigger){var e=this.$refs.formItem;e.addEventListener("focusin",this.focusInHandler,!1),e.addEventListener("focusout",this.focusOutHandler,!1),this.getValidatorModel=function(e){return t.focused?t.validatorModel[t.validatorModelKey]:(t.pending=!1,t.form.updatePending(),e)}}},removeFocusEvents:function(){var t=this.$refs.formItem;t.removeEventListener("focusin",this.focusInHandler,!1),t.removeEventListener("focusout",this.focusOutHandler,!1)},updateValidatorModel:function(){this.pending=!0,this.validatorModel[this.validatorModelKey]=this.getValidatorModel(this.modelValue),this.pending&&(this.form.setPending(this.pending),this.originValid=void 0)},syncValidatorValue:function(){this.pending=!1,this.validatorModel[this.validatorModelKey]=this.modelValue,this.form.updatePending()},validatorChangeHandler:function(){this.validatorDisabled||this.originValid&&this.lastOriginValid||this.updateValidity()},validatingHandler:function(){this.validating=!0,this.form.setValidating(!0)},validatedHandler:function(){this.validating=!1,this.form.updateValidating()},updateValidity:function(){var t=this.$refs.validator;t&&this.form.updateValidity(this.fieldValue.modelKey,t.valid,t.result,t.dirty)},validate:function(t){var e=this,a=(0,l.cb2PromiseWithResolve)(t);a&&(t=a.resolve);var i=this.$refs.validator;return i?i.validate(function(){e.validatorDisabled=!0,e.updateValidity(),t&&t(),e.$nextTick(function(){e.validatorDisabled=!1})}):t&&t(),a},reset:function(){var t=this,e=this.fieldValue;if(e.modelKey){var a=(0,o.getResetValueByType)(e.type);this.validatorDisabled=!0,(0,l.resetTypeValue)(this,"modelValue",a),this.syncValidatorValue(),this.$refs.validator&&this.$refs.validator.reset(),this.$nextTick(function(){t.validatorDisabled=!1})}this.validating=!1,this.pending=!1},msgClick:function(){this.form.layout===h.default.STANDARD&&this.$createToast&&this.$createToast({type:"warn",txt:this.$refs.validator.msg,time:1e3}).show()}},beforeDestroy:function(){this.removeFocusEvents(),this.form.destroyField(this),this.form=null},components:y.default},t.exports=e.default})},QRTn:function(t,e){},QreJ:function(t,e,a){function i(t){a("dkN+")}var n=a("VU/8")(a("kZI5"),a("G9D9"),i,null,null);t.exports=n.exports},QwXM:function(t,e){},R082:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("lVze"),a("vhte"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),o.default.install(t),(0,u.default)(t,c.default)},e.default=c.default,t.exports=e.default})},R1uw:function(t,e){},R4Zp:function(t,e,a){function i(t){a("UJoK")}var n=a("VU/8")(a("gz49"),a("TXlC"),i,null,null);t.exports=n.exports},RGkz:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{action:"//jsonplaceholder.typicode.com/photos/",files:[]}},methods:{addedHandler:function(){var t=this.files[0];t&&this.$refs.upload.removeFile(t)},errHandler:function(t){this.$createToast({type:"warn",txt:"Upload fail",time:1e3}).show()}},components:{CubePage:i.default}},t.exports=e.default})},"RO/E":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("N5yD"),a("KATl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},RO5T:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showToastTime:function(){this.toast=this.$createToast({time:1e3,txt:"Toast time 1s",onTimeout:function(){console.log("timeout")}}),this.toast.show()},showToastTime0:function(){var t=this;this.toast=this.$createToast({time:0,txt:"Toast time 0"}),this.toast.show(),setTimeout(function(){t.toast.hide()},2e3)},showToastMask:function(){this.toast=this.$createToast({txt:"Loading...",mask:!0}),this.toast.show()},showToastType:function(){this.toast=this.$createToast({txt:"Correct",type:"correct"}),this.toast.show()},showToastTxtOnly:function(){this.toast=this.$createToast({txt:"Plain txt",type:"txt"}),this.toast.show()}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},RPhk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"toutiao",attrs:{type:"scroll-view",title:"Scroll"}},[a("template",{slot:"content"},[a("header",{ref:"topHeader"},[a("img",{attrs:{src:"https://dpubstatic.udache.com/static/dpubimg/0K9-YvWB-Q/toutiao_header2.png"}})]),t._v(" "),a("div",{staticClass:"nav-scroll-list-wrap"},[a("cube-scroll",{ref:"navScroll",attrs:{direction:"horizontal"}},[a("ul",{staticClass:"nav-wrapper"},t._l(t.navTxts,function(e,i){return a("li",{key:i,staticClass:"nav-item"},[t._v(t._s(e))])}))]),t._v(" "),a("div",{staticClass:"more-wrapper"},[a("span",{staticClass:"more"})])],1),t._v(" "),a("div",{staticClass:"content-scroll-wrapper"},[a("div",{ref:"scrollWrapper",staticClass:"content-scroll-list-wrap"},[a("cube-scroll",{ref:"contentScroll",attrs:{data:t.content,options:t.options},on:{"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pulldown",fn:function(e){return[e.pullDownRefresh?a("div",{staticClass:"cube-pulldown-wrapper",style:e.pullDownStyle},[e.beforePullDown?a("div",{staticClass:"before-trigger",style:{paddingTop:e.bubbleY+"px"}},[a("span",{class:{rotate:e.bubbleY>0}},[t._v("↓")])]):a("div",{staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isPullingDown,expression:"props.isPullingDown"}],staticClass:"loading"},[a("cube-loading")],1),t._v(" "),a("transition",{attrs:{name:"success"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isPullingDown,expression:"!props.isPullingDown"}],staticClass:"text-wrapper"},[a("span",{staticClass:"refresh-text"},[t._v("今日头条推荐引擎有x条更新")])])])],1)]):t._e()]}}])},[a("ul",{staticClass:"imgs-wrapper"},t._l(t.content,function(e,i){return a("li",{key:i,staticClass:"imgs-item"},[a("img",{attrs:{src:e.url},on:{load:t.onImgLoad}})])}))])],1)]),t._v(" "),a("footer",{ref:"footer"},[a("img",{attrs:{src:"https://dpubstatic.udache.com/static/dpubimg/1KRE2YnAim/toutiao_footer2.png"}})])])],2)},staticRenderFns:[]}},RkVv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"switch-option",props:{name:{type:String},value:null},data:function(){return{checked:this.value}},watch:{checked:function(t){this.$emit("update:value",t)}},methods:{clickSwitch:function(){this.checked=!this.checked}}},t.exports=e.default})},Rn3t:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{ref:"indexList",attrs:{data:t.data,title:t.title,options:t.options},on:{select:t.selectItem,"title-click":t.clickTitle,"pulling-down":t.onPullingDown}})],1)])])])},staticRenderFns:[]}},SFrn:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("GFMH"),a("+//L")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Panel=c.default,e.default=l.default,t.exports=e.default})},SOQt:function(t,e,a){function i(t){a("OKCy")}var n=a("VU/8")(a("M2u5"),a("fdUi"),i,null,null);t.exports=n.exports},SPGs:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qefm")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},SW1b:function(t,e,a){function i(t){a("zi/F")}var n=a("VU/8")(a("P9U6"),a("s7/r"),i,null,null);t.exports=n.exports},SWc7:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"swipe-view",title:"Swipe"}},[a("template",{slot:"content"},[a("div",{staticClass:"swipe-wrapper"},[a("cube-scroll",[a("cube-swipe",{attrs:{data:t.swipeData},on:{"item-click":t.onItemClick,"btn-click":t.onBtnClick}})],1)],1)])],2)},staticRenderFns:[]}},SpYO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("//Fk"),a("XPXN"),a("O6S8"),a("fGk3")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{validity:{},valid:void 0,model:{checkboxValue:!1,checkboxGroupValue:[],inputValue:"",radioValue:"",rateValue:0,selectValue:2018,switchValue:!0,textareaValue:"",uploadValue:[]},schema:{groups:[{legend:"基础",fields:[{type:"checkbox",modelKey:"checkboxValue",label:"Checkbox",props:{option:{label:"Checkbox",value:!0}},rules:{required:!0},messages:{required:"Please check this field"}},{type:"checkbox-group",modelKey:"checkboxGroupValue",label:"CheckboxGroup",props:{options:["1","2","3"]},rules:{required:!0}},{type:"input",modelKey:"inputValue",label:"Input",props:{placeholder:"请输入"},rules:{required:!0},trigger:"blur"},{type:"radio-group",modelKey:"radioValue",label:"Radio",props:{options:["1","2","3"]},rules:{required:!0}},{type:"select",modelKey:"selectValue",label:"Select",props:{options:[2015,2016,2017,2018,2019,2020]},rules:{required:!0}},{type:"switch",modelKey:"switchValue",label:"Switch",rules:{required:!0}},{type:"textarea",modelKey:"textareaValue",label:"Textarea",rules:{required:!0},debounce:100}]},{legend:"高级",fields:[{type:"rate",modelKey:"rateValue",label:"Rate",rules:{required:!0}},{type:"upload",modelKey:"uploadValue",label:"Upload",events:{"file-removed":function(){for(var t=arguments.length,e=Array(t),a=0;a0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,x.default)(h.default.mark(function i(){return h.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!t.isPullDownUpdating){i.next=2;break}return i.abrupt("return");case 2:if(!t.pullDownRefresh||!t.isPullingDown){i.next=12;break}return t.isPullingDown=!1,t.isPullDownUpdating=!0,i.next=7,t._waitFinishPullDown();case 7:return t.isPullDownUpdating=!1,i.next=10,t._waitResetPullDown(e);case 10:i.next=13;break;case 12:t.pullUpLoad&&t.isPullUpLoad&&(t.isPullUpLoad=!1,t.scroll.finishPullUp(),t.pullUpNoMore=!e||a);case 13:e&&t.refresh();case 14:case"end":return i.stop()}},i,t)}))()},resetPullUpTxt:function(){this.pullUpNoMore=!1},_listenScrollEvents:function(){var t=this;this.finalScrollEvents.forEach(function(e){t.scroll.on((0,v.camelize)(e),function(){for(var a=arguments.length,i=Array(a),n=0;n0?t.x>=this.scroll.minScrollX:e<0&&t.x<=this.scroll.maxScrollX,n=a>0?t.y>=this.scroll.minScrollY:a<0&&t.y<=this.scroll.maxScrollY,l=this.scroll.freeScroll,c=this.scroll.hasHorizontalScroll,u=this.scroll.hasVerticalScroll;if(!c&&!u)return!0;if(l)return i||n;var o=void 0;return this.scroll.movingDirectionX?o=i:this.scroll.movingDirectionY&&(o=n),o},_calculateMinHeight:function(){var t=this.$refs,e=t.wrapper,a=t.listWrapper,i=this.pullUpLoad,n=this.pullDownRefresh,l=0;if(n||i){l=(0,d.getRect)(e).height+1,i&&i.visible&&(l-=this.pullUpHeight)}a.style.minHeight=l+"px"},_onPullDownRefresh:function(){this.scroll.on("pullingDown",this._pullDownHandle),this.scroll.on("scroll",this._pullDownScrollHandle)},_offPullDownRefresh:function(){this.scroll.off("pullingDown",this._pullDownHandle),this.scroll.off("scroll",this._pullDownScrollHandle)},_pullDownRefreshChangeHandler:function(){var t=this;this.$nextTick(function(){t._getPullDownEleHeight(),t._calculateMinHeight()})},_pullDownHandle:function(){this.resetPullDownTimer&&clearTimeout(this.resetPullDownTimer),this.beforePullDown=!1,this.isPullingDown=!0,this.$emit("pulling-down")},_pullDownScrollHandle:function(t){this.beforePullDown?(this.bubbleY=Math.max(0,t.y-this.pullDownHeight),this.pullDownStyle="top:"+Math.min(t.y-this.pullDownHeight,0)+"px"):(this.bubbleY=0,this.pullDownStyle="top:"+Math.min(t.y-this.pullDownStop,0)+"px")},_pullUpLoadChangeHandler:function(){var t=this;this.$nextTick(function(){t._getPullUpEleHeight(),t._calculateMinHeight()})},_onPullUpLoad:function(){this.scroll.on("pullingUp",this._pullUpHandle)},_offPullUpLoad:function(){this.scroll.off("pullingUp",this._pullUpHandle)},_pullUpHandle:function(){this.isPullUpLoad=!0,this.$emit("pulling-up")},_waitFinishPullDown:function(t){var e=this,a=this.pullDownRefresh.stopTime,i=void 0===a?600:a;return new f.default(function(t){setTimeout(function(){e.scroll.finishPullDown(),t()},i)})},_waitResetPullDown:function(t){var e=this;return new f.default(function(t){e.resetPullDownTimer=setTimeout(function(){e.pullDownStyle="top: -"+e.pullDownHeight+"px",e.beforePullDown=!0,t()},e.scroll.options.bounceTime)})},_getPullDownEleHeight:function(){var t=this,e=this.$refs.pulldown;e&&(e=e.firstChild,this.pullDownHeight=(0,d.getRect)(e).height,this.beforePullDown=!1,this.isPullingDown=!0,this.$nextTick(function(){t.pullDownStop=(0,d.getRect)(e).height,t.beforePullDown=!0,t.isPullingDown=!1}))},_getPullUpEleHeight:function(){var t=this.$refs.listWrapper,e=t.nextElementSibling;if(!e)return void(this.pullUpHeight=0);this.pullUpHeight=(0,d.getRect)(e).height}},components:{Loading:b.default,Bubble:g.default}},t.exports=e.default})},TLh3:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-checkbox",class:t._containerClass,attrs:{"data-pos":t.position}},[a("label",{staticClass:"cube-checkbox-wrap",class:t._wrapClass},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.checkValue,expression:"checkValue"}],staticClass:"cube-checkbox-input",attrs:{type:"checkbox",disabled:t.computedOption.disabled},domProps:{checked:Array.isArray(t.checkValue)?t._i(t.checkValue,null)>-1:t.checkValue},on:{change:function(e){var a=t.checkValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.checkValue=a.concat([null])):l>-1&&(t.checkValue=a.slice(0,l).concat(a.slice(l+1)))}else t.checkValue=n}}}),t._v(" "),a("span",{staticClass:"cube-checkbox-ui",class:t._borderIconClass},[a("i",{class:t._rightIconClass})]),t._v(" "),a("span",{staticClass:"cube-checkbox-label"},[t._t("default",[t._v(t._s(t.computedOption.label))])],2)])])},staticRenderFns:[]}},TMiY:function(t,e,a){function i(t){a("bebB")}var n=a("VU/8")(a("V1uU"),a("aeD0"),i,null,null);t.exports=n.exports},TVNN:function(t,e){},TXlC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-switch"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.checkboxValue,expression:"checkboxValue"}],staticClass:"cube-switch-input",attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checkboxValue)?t._i(t.checkboxValue,null)>-1:t.checkboxValue},on:{change:function(e){var a=t.checkboxValue,i=e.target,n=!!i.checked;if(Array.isArray(a)){var l=t._i(a,null);i.checked?l<0&&(t.checkboxValue=a.concat([null])):l>-1&&(t.checkboxValue=a.slice(0,l).concat(a.slice(l+1)))}else t.checkboxValue=n}}}),t._v(" "),a("i",{staticClass:"cube-switch-ui"}),t._v(" "),a("span",{staticClass:"cube-switch-label"},[t._t("default")],2)])},staticRenderFns:[]}},Ta5O:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("+vzD"),a("wOxr"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);s.default.install=function(t){t.component(o.default.name,o.default),t.component(s.default.name,s.default),v.default.install(t),(0,d.default)(t,o.default),(0,r.default)(t,s.default)},s.default.Picker=o.default,e.default=s.default,t.exports=e.default})},TdZF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selectedLabel:"天辉",tabs:[{label:"天辉",icon:"cubeic-like",heroes:["敌法师","卓尔游侠","主宰","米拉娜","变体精灵"]},{label:"夜魇",icon:"cubeic-star",heroes:["血魔","影魔","剃刀","剧毒术士","虚空假面","幻影刺客","冥界亚龙","克林克兹","育母蜘蛛","编织者","幽鬼","司夜刺客","米波"]}]}},components:{CubePage:i.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},TjYt:function(t,e){},U4Ng:function(t,e,a){function i(t){a("5Raf")}var n=a("VU/8")(a("Ll9R"),a("LFFy"),i,null,null);t.exports=n.exports},U8em:function(t,e,a){var i=a("VU/8")(a("vLxS"),a("ea3B"),null,null,null);t.exports=i.exports},UFDc:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("fZjL"),a("bOdI"),a("pFYg"),a("LIRj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(t.findIndex)return t.findIndex(e);var a=-1;return t.some(function(t,i,n){var l=e.call(this,t,i,n);if(l)return a=i,l}),a}function u(t,e){for(var a in e)t[a]&&"object"===(0,m.default)(t[a])?u(t[a],e[a]):t[a]=e[a]}function o(t){return function(){for(var e=arguments.length,a=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},a=e.prefix,i=void 0===a?"":a,l=e.firstUpperCase,c=void 0!==l&&l,u=t.name,o=u.replace(/^cube-/i,""),s=""+(0,n.camelize)(""+i+o);return c&&(s=s.charAt(0).toUpperCase()+s.slice(1)),s}function h(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.split("."),i=t,n=0;n - value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandler:function(){console.log("cancel")}},components:{CubePage:n.default}},t.exports=e.default})},VKJd:function(t,e,a){function i(t){a("iejJ")}var n=a("VU/8")(a("rQlO"),a("uqUP"),i,null,null);t.exports=n.exports},VLcU:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";function e(t){var e=a[t];return e&&e()}Object.defineProperty(t,"__esModule",{value:!0});var a={checkbox:function(){return!1},select:function(){return null}};t.getResetValueByType=e})},VOiB:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{ref:"indexList",attrs:{data:t.data,title:t.title,options:t.options},on:{select:t.selectItem,"title-click":t.clickTitle,"pulling-up":t.onPullingUp}})],1)])])])},staticRenderFns:[]}},"VV/4":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-swipe"},[t._t("default",[a("transition-group",{attrs:{name:"cube-swipe",tag:"ul"}},t._l(t.data,function(e,i){return a("li",{key:e.item.value},[a("cube-swipe-item",{attrs:{btns:e.btns,item:e.item,index:i,"auto-shrink":t.autoShrink}})],1)}))])],2)},staticRenderFns:[]}},VcN6:function(t,e,a){function i(t){a("nRLb")}var n=a("VU/8")(a("XUgO"),a("C1Qw"),i,null,null);t.exports=n.exports},Vexm:function(t,e,a){var i=a("VU/8")(a("apY0"),a("IzGe"),null,null,null);t.exports=i.exports},VzLe:function(t,e,a){var i=a("VU/8")(a("waH8"),a("ZU9z"),null,null,null);t.exports=i.exports},W2Hj:function(t,e,a){var i=a("VU/8")(a("0l/c"),a("794M"),null,null,null);t.exports=i.exports},W61h:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-sticky-ele"},[a("div",{staticClass:"cube-sticky-content"},[t._t("default")],2)])},staticRenderFns:[]}},W7V1:function(t,e){},WWPg:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"drawer-def",title:"Drawer"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button",{on:{click:t.showDrawer}},[t._v("Show Drawer")]),t._v(" "),a("cube-drawer",{ref:"drawer",attrs:{data:t.data,"selected-index":t.selectedIndex},on:{change:t.changeHandler,select:t.selectHandler,cancel:t.cancelHandler}},[a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.province.text))]),t._v(" "),t._l(t.data,function(e,i){return a("cube-drawer-panel",{key:i,attrs:{index:i,data:e}},t._l(e,function(e,i){return a("cube-drawer-item",{key:i,attrs:{item:e,index:i}},[a("i",{staticClass:"cubeic-round-border"}),t._v(" "),a("span",[t._v(t._s(e.text))])])}))})],2)],1)])])},staticRenderFns:[]}},WjKT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default,CubeButtonGroup:c.default},data:function(){return{options:[2013,2014,2015,2016,2017,2018],value:2016,title:"Entry time",placeholder:"Please choose entry time",autoPop:!1,disabled:!1}},methods:{change:function(t,e,a){console.log("change",t,e,a)},modify:function(){this.value=2014}}},t.exports=e.default})},Woua:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("s0qb")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={success:"cubeic-right",error:"cubeic-warn"};e.default={name:"cube-upload-file",props:{file:{type:Object,required:!0}},computed:{fileCls:function(){return"cube-upload-file_"+this.file.status},fileStatusCls:function(){var t=this.file,e=t.status;if(t.progress>=.01||e===a.STATUS_SUCCESS||e===a.STATUS_ERROR)return"cube-upload-file_stat"},fileStyle:function(){var t=this.file.url||this.file.base64;if(t)return{"background-image":'url("'+t+'")'}},statusCls:function(){var t=this.file.status;return i[t]},fileProgress:function(){return this.statusCls?"100%":Math.min(Math.floor(100*this.file.progress),99)+"%"}},methods:{clickHandler:function(){this.$emit("click",this.file)},removeFile:function(){this.$parent.removeFile(this.file)}}},t.exports=e.default})},"X/Av":function(t,e){},"X4T+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("YlpP")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=c.default.goods;e.default={components:{CubePage:l.default},data:function(){return{data:u,current:u[3].name}},methods:{changeHandler:function(t){console.log("changed to:",t)},stickyChangeHandler:function(t){console.log("sticky-change",t)}}},t.exports=e.default})},XB2r:function(t,e){},XD3M:function(t,e){},XD4M:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},staticRenderFns:[]}},XDbB:function(t,e){},XEOk:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xUY6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-rate",props:{value:{type:Number,default:0},max:{type:Number,default:5},disabled:{type:Boolean,default:!1},justify:{type:Boolean,default:!1}},data:function(){return{tempValue:this.value}},created:function(){this.mousePressed=!1},computed:{rateClass:function(){return this.justify&&"cube-rate-justify"}},watch:{value:function(t){t!==this.tempValue&&(this.tempValue=t)}},methods:{handleStart:function(t){if(!this.disabled){t.type.indexOf("mouse")>-1&&(this.mousePressed=!0,document.addEventListener("mouseup",this.handleEnd),document.addEventListener("mousemove",this.handleMove));var e=this.$refs.rateContainer.getBoundingClientRect();this.left=e.left,this.containerWidth=e.width}},handleMove:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||this.computeTempValue(-1===t.type.indexOf("mouse")?t.touches[0]:t)},handleEnd:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||(t.type.indexOf("mouse")>-1&&(this.mousePressed=!1,document.removeEventListener("mouseup",this.handleEnd),document.removeEventListener("mousemove",this.handleMove)),this.computeTempValue(t.type.indexOf("mouse")>-1?t:t.changedTouches[0]),this.$emit("input",this.tempValue))},computeTempValue:function(t){var e=Math.ceil((t.clientX-this.left)/this.containerWidth*this.max);e>0&&e<=this.max?this.tempValue=e:this.tempValue=e<=0?0:this.max}},components:{CubeRateItem:i.default}},t.exports=e.default})},XG7C:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=[{url:"https://dpubstatic.udache.com/static/dpubimg/7EzIhoEvnG/toutiao_12.JPG"},{url:"https://dpubstatic.udache.com/static/dpubimg/GR0Piaf5sz/toutiao_21.JPG"},{url:"https://dpubstatic.udache.com/static/dpubimg/K1JqUN8HSA/toutiao_31.JPG"}],l=["关注","推荐","新时代","热点","体育","娱乐","科技","头条号","问答","国际","cube-ui666"],c=1;e.default={data:function(){return{content:n.slice(),options:{pullDownRefresh:{threshold:60,stopTime:1e3,txt:"更新成功"},pullUpLoad:!0},navTxts:l,secondStop:26}},components:{CubePage:i.default},methods:{onPullingDown:function(){var t=this;setTimeout(function(){t.content.unshift(n[c++%3]),t.$refs.contentScroll.scrollTo(0,t.secondStop,300)},1e3)},onPullingUp:function(){var t=this;setTimeout(function(){t.content=t.content.concat(n)},1e3)},onImgLoad:function(){var t=this.$refs.contentScroll;t.scroll.beforePullDown&&t.refresh()}},mounted:function(){}},t.exports=e.default})},XJZo:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("7ErG")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-toolbar",components:{CubeToolbarItem:i.default},props:{actions:{type:Array,default:function(){return[]}},moreActions:{type:Array}},data:function(){return{showMore:!1}},computed:{basicActions:function(){var t=this.actions.slice();return this.moreActions&&t.push({icon:"cubeic-more",$cubeMore:!0}),t}},methods:{itemClick:function(t){t.$cubeMore?(this.showMore=!this.showMore,this.$emit("more-click",this.showMore)):this.$emit("click",t)}}},t.exports=e.default})},XNdS:function(t,e,a){var i=a("VU/8")(a("cbPg"),a("XD4M"),null,null,null);t.exports=i.exports},XPXN:function(t,e,a){function i(t){a("4g/6")}var n=a("VU/8")(a("twNj"),a("3Yuc"),i,null,null);t.exports=n.exports},XRNA:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(t,e){},t.tip=function(t,e){}})},XUNM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checkerValue:"",radioOptions:[{value:0,text:"AAAAA"},{value:1,text:"BBBBB"}],checkboxCheckerList:[],checkboxOptions:[{value:1,text:"red"},{value:2,text:"yellow"},{value:3,text:"blue"},{value:4,text:"green"}],defaultCheckerList:[3],disabledCheckerOptions:[{value:1,text:"first",disabled:!0},{value:2,text:"second",disabled:!0},{value:3,text:"third"}],disabledCheckerList:[2]}},components:{CubePage:i.default},methods:{radioClick:function(t){console.log(t),this.radioCheckerList=[t]}}},t.exports=e.default})},XUgO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("IskU")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{swipeData:i.customData}},methods:{onItemClick:function(t){console.log("click item:",t)},onBtnClick:function(t,e){var a=this;"delete"===t.action?this.$createActionSheet({title:"确认要删除吗",active:0,data:[{content:"删除"}],onSelect:function(){a.swipeData.splice(e,1)}}).show():this.$refs.swipeItem[e].shrink()}},components:{CubePage:n.default}},t.exports=e.default})},XYeX:function(t,e){},XjAD:function(t,e){},XlLO:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN"),a("j/Id")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n),s=["top","right","bottom","left","center"],r=0;e.default={data:function(){return{type:"popup-dialog",mask:!0,visible1:!1,visible2:!1,visible3:!1,visible4:!1,position:""}},methods:{showPopup:function(t){var e=this;4===t&&(this.position=s[r++],r===s.length&&(r=0)),this["visible"+t]=!0,setTimeout(function(){e["visible"+t]=!1},2e3)}},components:{CubeButtonGroup:c.default,CubePage:u.default,CubeExtendPopup:o.default}},t.exports=e.default})},Xnqv:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancel:"取消",confirm:"确认",ok:"确定",prev:"上一步",next:"下一步",selectText:"请选择",now:"现在",selectTime:"选择时间",today:"今日",formatDate:"M月D日",hours:"点",minutes:"分",validator:{required:"此为必填项",type:{string:"请输入字符",number:"请输入数字",array:"数据类型应为数组",date:"请选择有效日期",email:"请输入有效邮箱",tel:"请输入有效的手机号码",url:"请输入有效网址"},min:{string:"至少输入 {{config}} 位字符",number:"不得小于 {{config}}",array:"请选择至少 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之后的时间',email:"至少输入 {{config}} 位字符",tel:"至少输入 {{config}} 位字符",url:"至少输入 {{config}} 位字符"},max:{string:"请勿超过 {{config}} 位字符",number:"请勿大于 {{config}}",array:"最多选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请勿超过 {{config}} 位字符",tel:"请勿超过 {{config}} 位字符",url:"请勿超过 {{config}} 位字符"},len:{string:"请输入 {{config}} 位字符",number:"长度应等于 {{config}}",array:"请选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请输入 {{config}} 位字符",tel:"请输入 {{config}} 位字符",url:"请输入 {{config}} 位字符"},pattern:"格式错误",custom:"未通过校验",notWhitespace:"空白内容无效"}},t.exports=e.default})},XyhL:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("g9J/"),a("xUY6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},"Y/GG":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav",class:{"cube-scroll-nav_side":t.side}},[a("cube-sticky",{ref:"sticky",attrs:{pos:t.scrollY},on:{change:t.stickyChangeHandler}},[a("cube-scroll",{ref:"scroll",attrs:{"scroll-events":t.scrollEvents,options:t.options,data:t.data},on:{scroll:t.scrollHandler,"scroll-end":t.scrollEndHandler}},[t._t("prepend"),t._v(" "),a("div",{staticClass:"cube-scroll-nav-main"},[a("cube-sticky-ele",{ref:"navBarEle",attrs:{"ele-key":"cube-scroll-nav-bar"}},[t._t("bar",[a("cube-scroll-nav-bar",{attrs:{direction:t.barDirection,txts:t.barTxts,labels:t.labels,current:t.active}})],{txts:t.barTxts,labels:t.labels,current:t.active})],2),t._v(" "),a("cube-sticky",{ref:"pageSticky",attrs:{offset:t.pageStickyOffset,pos:t.scrollY},on:{change:t.pageStickyChangeHandler}},[a("div",{staticClass:"cube-scroll-nav-panels"},[t._t("default")],2),t._v(" "),t.side?t._e():a("template",{slot:"fixed"},[a("div")])],2)],1)],2)],1)],1)},staticRenderFns:[]}},"Y/JC":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"toast-view",title:"Toast"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showToastTime}},[t._v("Toast - time 1s")]),t._v(" "),a("cube-button",{on:{click:t.showToastTime0}},[t._v("Toast - time 0")]),t._v(" "),a("cube-button",{on:{click:t.showToastMask}},[t._v("Toast- with mask")]),t._v(" "),a("cube-button",{on:{click:t.showToastType}},[t._v("Toast - type")]),t._v(" "),a("cube-button",{on:{click:t.showToastTxtOnly}},[t._v("Toast - txt only")])],1)],1)])},staticRenderFns:[]}},Y01l:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("34KM")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={install:function(){}},t.exports=e.default})},YGd9:function(t,e,a){function i(t){a("0MDc")}var n=a("VU/8")(a("XUNM"),a("I3p6"),i,null,null);t.exports=n.exports},YUSN:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/scroll/"+t)}}},t.exports=e.default})},YVqS:function(t,e,a){var i=a("VU/8")(a("+8WV"),a("77Ud"),null,null,null);t.exports=i.exports},Ycrx:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-def",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-scroll-nav",{on:{change:t.changeHandler}},t._l(t.data,function(e){return a("cube-scroll-nav-panel",{key:e.name,attrs:{label:e.name}},[a("ul",t._l(e.foods,function(e){return a("li",[a("div",[a("img",{attrs:{src:e.icon}}),t._v(" "),a("p",[t._v(t._s(e.name))])])])}))])}))],1)])])},staticRenderFns:[]}},YlpP:function(t,e){t.exports={seller:{name:"粥品香坊(回龙观)",description:"蜂鸟专送",deliveryTime:38,score:4.2,serviceScore:4.1,foodScore:4.3,rankRate:69.2,minPrice:20,deliveryPrice:4,ratingCount:24,sellCount:90,bulletin:"粥品香坊其烹饪粥料的秘方源于中国千年古法,在融和现代制作工艺,由世界烹饪大师屈浩先生领衔研发。坚守纯天然、0添加的良心品质深得消费者青睐,发展至今成为粥类的引领品牌。是2008年奥运会和2013年园博会指定餐饮服务商。",supports:[{type:0,description:"在线支付满28减5"},{type:1,description:"VC无限橙果汁全场8折"},{type:2,description:"单人精彩套餐"},{type:3,description:"该商家支持发票,请下单写好发票抬头"},{type:4,description:"已加入“外卖保”计划,食品安全保障"}],avatar:"http://static.galileo.xiaojukeji.com/static/tms/seller_avatar_256px.jpg",pics:["http://fuss10.elemecdn.com/8/71/c5cf5715740998d5040dda6e66abfjpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/b/6c/75bd250e5ba69868f3b1178afbda3jpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/f/96/3d608c5811bc2d902fc9ab9a5baa7jpeg.jpeg?imageView2/1/w/180/h/180","http://fuss10.elemecdn.com/6/ad/779f8620ff49f701cd4c58f6448b6jpeg.jpeg?imageView2/1/w/180/h/180"],infos:["该商家支持发票,请下单写好发票抬头","品类:其他菜系,包子粥店","北京市昌平区回龙观西大街龙观置业大厦底商B座102单元1340","营业时间:10:00-20:30"]},goods:[{name:"热销榜",type:-1,foods:[{name:"皮蛋瘦肉粥",price:10,oldPrice:"",description:"咸粥",sellCount:229,rating:100,info:"一碗皮蛋瘦肉粥,总是我到粥店时的不二之选。香浓软滑,饱腹暖心,皮蛋的Q弹与瘦肉的滑嫩伴着粥香溢于满口,让人喝这样的一碗粥也觉得心满意足",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"扁豆焖面",price:14,oldPrice:"",description:"",sellCount:188,rating:96,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],info:"",icon:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"葱花饼",price:10,oldPrice:"",description:"",sellCount:124,rating:85,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"没啥味道",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:1,text:"很一般啊",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"牛肉馅饼",price:14,oldPrice:"",description:"",sellCount:114,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"难吃不推荐",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"招牌猪肉白菜锅贴/10个",price:17,oldPrice:"",description:"",sellCount:101,rating:78,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"不脆,不好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"南瓜粥",price:9,oldPrice:"",description:"甜粥",sellCount:91,rating:100,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红豆薏米美肤粥",price:12,oldPrice:"",description:"甜粥",sellCount:86,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"八宝酱菜",price:4,oldPrice:"",description:"",sellCount:84,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红枣山药糙米粥",price:10,oldPrice:"",description:"",sellCount:81,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"糊塌子",price:10,oldPrice:"",description:"",sellCount:80,rating:93,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"单人精彩套餐",type:2,foods:[{name:"红枣山药粥套餐",price:29,oldPrice:36,description:"红枣山药糙米粥,素材包,爽口莴笋丝,四川泡菜或八宝酱菜,配菜可备注",sellCount:17,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/6/72/cb844f0bb60c502c6d5c05e0bddf5jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/6/72/cb844f0bb60c502c6d5c05e0bddf5jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"冰爽饮品限时特惠",type:1,foods:[{name:"VC无限橙果汁",price:8,oldPrice:10,description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"精选热菜",type:-1,foods:[{name:"娃娃菜炖豆腐",price:17,oldPrice:"",description:"",sellCount:43,rating:92,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"菜量还可以,味道还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/2d/b1eb45b305635d9dd04ddf157165fjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/2d/b1eb45b305635d9dd04ddf157165fjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"手撕包菜",price:16,oldPrice:"",description:"",sellCount:29,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/c6/f3bc84468820121112e79583c24efjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/c6/f3bc84468820121112e79583c24efjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"香酥黄金鱼/3条",price:11,oldPrice:"",description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/4/e7/8277a6a2ea0a2e97710290499fc41jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/4/e7/8277a6a2ea0a2e97710290499fc41jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"爽口凉菜",type:-1,foods:[{name:"八宝酱菜",price:4,oldPrice:"",description:"",sellCount:84,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"拍黄瓜",price:9,oldPrice:"",description:"",sellCount:28,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/6/54/f654985b4e185f06eb07f8fa2b2e8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/6/54/f654985b4e185f06eb07f8fa2b2e8jpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"精选套餐",type:-1,foods:[{name:"红豆薏米粥套餐",price:37,oldPrice:"",description:"红豆薏米粥,三鲜干蒸烧卖,拍黄瓜",sellCount:3,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/49/27f26ed00c025b2200a9ccbb7e67ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/49/27f26ed00c025b2200a9ccbb7e67ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"皮蛋瘦肉粥套餐",price:31,oldPrice:"",description:"",sellCount:12,rating:100,info:"",ratings:[{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/96/f444a8087f0e940ef264617f9d98ajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/96/f444a8087f0e940ef264617f9d98ajpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"果拼果汁",type:-1,foods:[{name:"蜜瓜圣女萝莉杯",price:6,oldPrice:"",description:"",sellCount:1,rating:"",info:"",ratings:[],icon:"http://fuss10.elemecdn.com/b/5f/b3b04c259d5ec9fa52e1856ee50dajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/b/5f/b3b04c259d5ec9fa52e1856ee50dajpeg.jpeg?imageView2/1/w/750/h/750"},{name:"加多宝",price:6,oldPrice:"",description:"",sellCount:7,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/b/9f/5e6c99c593cf65229225c5661bcdejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/b/9f/5e6c99c593cf65229225c5661bcdejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"VC无限橙果汁",price:8,oldPrice:10,description:"",sellCount:15,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/c6/f348e811772016ae24e968238bcbfjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"小吃主食",type:-1,foods:[{name:"扁豆焖面",price:14,oldPrice:"",description:"",sellCount:188,rating:96,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/6b/29e3d29b0db63d36f7c500bca31d8jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"葱花饼",price:10,oldPrice:"",description:"",sellCount:124,rating:85,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"没啥味道",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:1,text:"很一般啊",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/f/28/a51e7b18751bcdf871648a23fd3b4jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"牛肉馅饼",price:14,oldPrice:"",description:"",sellCount:114,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"难吃不推荐",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/b9/bcab0e8ad97758e65ae5a62b2664ejpeg.jpeg?imageView2/1/w/750/h/750"},{name:"招牌猪肉白菜锅贴/10个",price:17,oldPrice:"",description:"",sellCount:101,rating:78,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:1,text:"不脆,不好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/7/72/9a580c1462ca1e4d3c07e112bc035jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"糊塌子",price:10,oldPrice:"",description:"",sellCount:80,rating:93,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/0/05/097a2a59fd2a2292d08067e16380cjpeg.jpeg?imageView2/1/w/750/h/750"}]},{name:"特色粥品",type:-1,foods:[{name:"皮蛋瘦肉粥",price:10,oldPrice:"",description:"咸粥",sellCount:229,rating:100,ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/c/cd/c12745ed8a5171e13b427dbc39401jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"南瓜粥",price:9,oldPrice:"",description:"甜粥",sellCount:91,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/8/a6/453f65f16b1391942af11511b7a90jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红豆薏米美肤粥",price:12,oldPrice:"",description:"甜粥",sellCount:86,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/d/22/260bd78ee6ac6051136c5447fe307jpeg.jpeg?imageView2/1/w/750/h/750"},{name:"红枣山药糙米粥",price:10,oldPrice:"",description:"",sellCount:81,rating:91,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/9/b5/469d8854f9a3a03797933fd01398bjpeg.jpeg?imageView2/1/w/750/h/750"},{name:"鲜蔬菌菇粥",price:11,oldPrice:"",description:"咸粥",sellCount:56,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:""},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/e/a3/5317c68dd618929b6ac05804e429ajpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/e/a3/5317c68dd618929b6ac05804e429ajpeg.jpeg?imageView2/1/w/750/h/750"},{name:"田园蔬菜粥",price:10,oldPrice:"",description:"咸粥",sellCount:33,rating:100,info:"",ratings:[{username:"3******c",rateTime:1469281964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"2******3",rateTime:1469271264e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"},{username:"3******b",rateTime:1469261964e3,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png"}],icon:"http://fuss10.elemecdn.com/a/94/7371083792c19df00e546b29e344cjpeg.jpeg?imageView2/1/w/114/h/114",image:"http://fuss10.elemecdn.com/a/94/7371083792c19df00e546b29e344cjpeg.jpeg?imageView2/1/w/750/h/750"}]}],ratings:[{username:"3******c",rateTime:1469281964e3,deliveryTime:30,score:5,rateType:0,text:"不错,粥很好喝,我经常吃这一家,非常赞,以后也会常来吃,强烈推荐.",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["南瓜粥","皮蛋瘦肉粥","扁豆焖面","娃娃菜炖豆腐","牛肉馅饼"]},{username:"2******3",rateTime:1469271264e3,deliveryTime:"",score:4,rateType:0,text:"服务态度不错",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["扁豆焖面"]},{username:"3******b",rateTime:1469261964e3,score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"1******c",rateTime:1469261864e3,deliveryTime:20,score:5,rateType:0,text:"良心店铺",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"2******d",rateTime:1469251264e3,deliveryTime:10,score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"9******0",rateTime:1469241964e3,deliveryTime:70,score:1,rateType:1,text:"送货速度蜗牛一样",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"d******c",rateTime:1469231964e3,deliveryTime:30,score:5,rateType:0,text:"很喜欢的粥店",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"2******3",rateTime:1469221264e3,deliveryTime:"",score:4,rateType:0,text:"量给的还可以",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******8",rateTime:1469211964e3,deliveryTime:"",score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"a******a",rateTime:1469201964e3,deliveryTime:"",score:4,rateType:0,text:"孩子喜欢吃这家",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:["南瓜粥"]},{username:"3******3",rateTime:1469191264e3,deliveryTime:"",score:4,rateType:0,text:"粥挺好吃的",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"t******b",rateTime:1469181964e3,deliveryTime:"",score:3,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"f******c",rateTime:1469171964e3,deliveryTime:15,score:5,rateType:0,text:"送货速度很快",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"k******3",rateTime:1469161264e3,deliveryTime:"",score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"u******b",rateTime:1469151964e3,deliveryTime:"",score:4,rateType:0,text:"下雨天给快递小哥点个赞",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"s******c",rateTime:1469141964e3,deliveryTime:"",score:4,rateType:0,text:"好",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"z******3",rateTime:1469131264e3,deliveryTime:"",score:5,rateType:0,text:"吃了还想再吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"n******b",rateTime:1469121964e3,deliveryTime:"",score:3,rateType:1,text:"发票开的不对",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"m******c",rateTime:1469111964e3,deliveryTime:30,score:5,rateType:0,text:"好吃",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"l******3",rateTime:1469101264e3,deliveryTime:40,score:5,rateType:0,text:"还不错吧",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******o",rateTime:1469091964e3,deliveryTime:"",score:2,rateType:1,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"3******p",rateTime:1469081964e3,deliveryTime:"",score:4,rateType:0,text:"很喜欢的粥",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"o******k",rateTime:1469071264e3,deliveryTime:"",score:5,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]},{username:"k******b",rateTime:1469061964e3,deliveryTime:"",score:4,rateType:0,text:"",avatar:"http://static.galileo.xiaojukeji.com/static/tms/default_header.png",recommend:[]}]}},Yu0J:function(t,e,a){function i(t){a("Il0v")}var n=a("VU/8")(a("s8G+"),a("penI"),i,null,null);t.exports=n.exports},Z5VE:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,a){e?t.show():a&&!t._createAPI_reuse&&t.hide()},{immediate:!0})},methods:{show:function(){this.isVisible=!0},hide:function(){this.isVisible=!1}}},t.exports=e.default})},Z7ln:function(t,e){},ZCFR:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"popup-view",title:"popup"}},[a("template",{slot:"content"},[a("div",[a("cube-popup",{attrs:{type:"my-popup"},model:{value:t.visible1,callback:function(e){t.visible1=e},expression:"visible1"}},[t._v("My Popup Content 1")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(1)}}},[t._v("Show Popup")])],1),t._v(" "),a("div",[a("cube-popup",{attrs:{type:"my-popup",mask:!1},model:{value:t.visible2,callback:function(e){t.visible2=e},expression:"visible2"}},[t._v("My Popup Content 2")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(2)}}},[t._v("Show Popup - no mask")])],1),t._v(" "),a("div",[a("cube-popup",{ref:"myPopup3",attrs:{type:"my-popup",mask:!1,content:"My Popup Content 3"},model:{value:t.visible3,callback:function(e){t.visible3=e},expression:"visible3"}}),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(3)}}},[t._v("Show Popup - with content")])],1),t._v(" "),a("div",[a("cube-popup",{ref:"myPopup4",attrs:{type:"my-popup",position:t.position,"mask-closable":!0},model:{value:t.visible4,callback:function(e){t.visible4=e},expression:"visible4"}},[t._v("My Popup Content 4")]),t._v(" "),a("cube-button",{on:{click:function(e){t.showPopup(4)}}},[t._v("top/right/bottom/left/center")])],1),t._v(" "),a("div",[a("cube-extend-popup",{ref:"extendPopup",attrs:{content:"click here hide"}}),t._v(" "),a("cube-button",{on:{click:function(e){t.$refs.extendPopup.show()}}},[t._v("Show Extend Popup")])],1)])],2)},staticRenderFns:[]}},ZDnC:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{checked:!0,checked2:"optionValue",optionValue:{label:"Option Checkbox",value:"optionValue",disabled:!1}}},components:{CubePage:i.default}},t.exports=e.default})},ZQJ7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("5e0o"),a("1BqV")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Ele=c.default,e.default=l.default,t.exports=e.default})},ZU9z:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-picker",{ref:"picker",attrs:{data:t.pickerData,"selected-index":t.pickerSelectedIndex,pending:t.pending,title:t.title,subtitle:t.subtitle,"z-index":t.zIndex,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},ZVGq:function(t,e){},ZXOh:function(t,e,a){var i=a("VU/8")(a("qC0d"),a("Cnp6"),null,null,null);t.exports=i.exports},Zbp1:function(t,e){},Zd1j:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={messages:["when you popState and actually being well, we expect it further","But I'm going to take care of ripping out my code in the fact that just something like that","And what we'll createdCallbacks than that you can still read what each one of this should go out","So just return Promise back and do this, the route equals","ah, let's do a clearRoutes it says I'm not going to do","At least trying new Promise","then, and then it's going to check what that","And we zoom in, then you can kind of set, except for a router","Now strictly today","I'm going to just takes an iterable as well be to add a visible","Anyway, so that we'll do a link","So what I'm going to minify this, so I'll just console","log data for now, just sometimes look at that","not then if we wanted to do position from the registerElements primed and red","That isn't get called","At all","No","Interesting that misc here","So what was a regular expression","Because once you get over doing a fancy techniques","And let's see","OK, we broke thing to do","Right","document","" So","Yeah","which is fine","And that we'll do sc","view","So what you draw the line where is it","Where is being run","I think, a million times look at it and styles an iteration, ES2015 update the content for is this","routes equals Array","from","Hm, that might be a trade","off, because we're just do an animation","in the attached","Look at this push","pull kind of useful to have layout root here is it","That by default, what we going to grab the","Yes","In router, I think, would let's say, for example","So let's make it can be just this the hour mark on the actual contents","We just loads though it was the way, a nice this","Are you would be a little bit more pretty raw, this is a day, dude","Border","radius, that","And I'm going to just do that will take something else","And thank you might now","That is the next time, I'm going to come into misc","And somebody actually not","source equals home","But if I was sending me to resolve where we go","All right","And it makes JavaScript","And I have run again","Normally a massive, as I said, this is always, I'm going to call the different [INAUDIBLE] Hm","Wow","We have happen on screen, and the otherwise, don't want","Yeah, and forth in the new path","So we don't you use that might very wrong","But in a customary bug","Don't forget to hidden or display to none, things like a race when you are actually really long time I want to tell that is where you go","And that work","Yeah, and I'm going to do today","I had misc are all the create one of the performance stuff","But if you had lots of tea","Yeah","Now we're going to come in","But did working as intended it","So we can be able to be watching it straightforward slash","And that, I think that will be all the like since we are valid concept for this, the root of this called HTML5 routing, which I don't know","I just feels OK, but hopefully, and opacity 0, and it's just put a z","index of 1 on that's going to be sort of handling of attachedCallback, and we want to transform scale very well be true for them is amazing, like across from the new one that","You know","Yeah, we could see now, all being we won't do this thing today","And so this is a current view","We have a question ties in","Why not","source equals router, why not","And I think that we'd probably, if we've already to allow it to be the thing","Oh, all right, so we get it, because I have to juggle it all","No","I feel I agree","It would actually get it, because otherwise, we still have this","routes","keys","So this is a layout boundary","It's the cause","Yeah, 3 pixels","OK","So since that's true","And this stuff","And that work","Good point, or strict, and then the URL, changed","But I'm going to, let's see, what we're any","So the new view, think about","And then we've defer, why not","Let's fail","So this newView, newView is never watching is I was that","so that it's a compass","Oh","North, east, south, we called, all be no ES","anything","What I'm curious about your question here","And I'm going to say","so let's see","So let's see","So we'll say from this animations that we want to do this so that this point","So we want us to cover next week","We can actually","But that they've all been set it","Yeah","And at the top and misc here","But it will be run into a bit different sections","And I think you'd want each of there's no DOM tree reason","Well, yeah","OK, so we have a couple of click for clicks","And so if we see about this","So what I think things that I really good start","script tags at home, kids","Don't do this file to actually","Woo","I made, sir","So again, particular line of the","let's call it sc for Supercharged","There's no","It's a compass","Oh","right","newView, newView is the simplicity at this one anything below 2015, right","It broke","OK, let's see","So we're going to removeEventListener","You are the nicest","something that you know, we'll create that doesn't necessarily end up with something new to these pages","In router","And certainly, as I said, you could usually just delete the constructor but createdCallback","Oh, well, let link of the","Yes","If we had to do is I want us to come up writing apps, it can actually, this push","pull kind of data, which version of something","So what they can be about view or something that have a thing to do a trade","off because you've got memory constraints and all these function","So let's see if","oh, do we wanted to do this","If you're attach, what we'd want to know","That is important think in so that goes to control of [","UI ","] transitions, particular expression","Right, so the otherwise, it should also work on the layout, which might because we're actually remind yourselves that I can do it","Yeah","So that, in theory, place all the content as well when that have new ideas","So this should be a class list, we'll create one of these, what we'll do is I want to do","All right, bottom, left","Do you have definitely","So when the mindset off chaining [INAUDIBLE] out of the same index HTML elements","Views","Yeah","So I'm going to createRoutes, wee, clearRoutes equals static","Let's do this, status is generally work","So that's why I was building the nicest","I'll tell you what we want to come into the panels","On all of ES2015 updates on the path name","Because it's an iterate what they see","I'm going to do","We'll do that","And hopefully, you're here in slash about view but we're going to be whichever view was the new view is that","so that the event that isn't get called, all subscribing to do today","And then we're just delete the JavaScript language","Yeah, and we need to extends HTMLElement","And we app where we actually uncanny valid concept for the out animation","duration","count in one tends HTML, I think, would then we've defer, why not","Let's see what's good on here","So if you say layout, for example","Yes, so one of its scope","What we want to do, I supposed to find out","The defer mean to your Custom Elements JavaScript says we don't have","We don't want to say this, so one that you click back to then dot the even though it","So there a createdCallback, so we never being us","That doesn't it","Right","All right","That should","Oh no, Array","from","Hm, it shouldNotMakeMoreOutPromises","And then let's do that is purely for simplicity at this","I don't takes too longer and I will say this","routes","because it matches the current ones will now needs to be run against that going to say const view back","And then what the createRoute","That's what I think","So we have to transitions, particular if branch of this, you're giving us way too much better","So since the layout, OK","I think we'll create objects anymore","You let us know what I'm going to do is I'm going to do is let's just find out","createdCallbacks","So if view","I could do if we don't want to make a nav","So I'm going to do that","Super","route","So for this, right now, all the like shouldNotMakeMoreOutPromise","resolve","Same for the power of Promise, right","Because why not","Let's give it or not","The defer also means that the state by selecting the view","No","Interesting","So the brand","new thing","So let's see, so we do that","All being well, we end with an actually hoping I will be remove this","Are you this","So we want to do that, actually just kind of amazing","You know","Yeah","which is the current view was the new one that's a layout","I don't you ask the question ties in it is when it's like a progressive to deal with, with contain strict","now here","And I'm going to us","So onChanged","Yeah","Because of the this","is","the","active","view","And we are building the routes equals this","But when the view first time we create that isn't it","Right","Yeah, that is amazing","And I think, a more bugs","Yeah, I want it to updating to do that I have new view, and some Promise, we can actually can do here","This is Paul","Hi","This time I write bugs, don't like this is actual lifecycle called ES6","ES2016 was doing that's why I wanted to say","currentView will be fast because","You know what, in the back to the current view","And then we'll say return","One of the panels","OK","Come of that stuff out","Should that the evaluation from 100","no, should add that kind of got allowing that back out, right","newView, newView, what we're kind of got these views that you, very wrong","But if you about using there","Because the nav has disappear ago, it was the keyword for all the regular expression and execution of a router","Now you know, over that, in there","Let's do that there we already got ourselves some of the way to go","And it matches the new one for that","Yeah","And certain time gaps, think it's an animating to put a route for some reason","view","Figure out things simplicity at this point","So what we're being a little bit of a pickle over right now we've deep","linked that could want it to be that","So let's just feels very interactions back in so this","newView","Yeah","And apparent, what we'd want each one of all the debugger standard one","So this way, it should add the visible","And we're pretty raw, there will be find out notionally, the code, it's fine, it's fail","So the question","Yeah, so we could see now them to makes Jav"]},t.exports=e.default})},ZhPo:function(t,e,a){function i(t){a("8T9y")}var n=a("VU/8")(a("4sRm"),a("By2z"),i,null,null);t.exports=n.exports},ZiC1:function(t,e,a){var i=a("VU/8")(a("fZ0D"),a("t2ZM"),null,null,null);t.exports=i.exports},ZiKE:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selectedLabelDefault:"Vip",selectedLabelSlots:"Like",selectedLabelInline:"Me",selectedLabelSlotsOnly:"Home",tabs:[{label:"Home",icon:"cubeic-home"},{label:"Like",icon:"cubeic-like"},{label:"Vip",icon:"cubeic-vip"},{label:"Me",icon:"cubeic-person"}]}},methods:{clickHandler:function(t){console.log("tab was clicked",t)},changeHandler:function(t){console.log("value has changed, now is",t)}},components:{CubePage:i.default},watch:{selectedLabel:function(t){console.log(t)}}},t.exports=e.default})},ZrYO:function(t,e,a){var i=a("VU/8")(a("Ps1K"),a("Ex12"),null,null,null);t.exports=i.exports},ZtZp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"rate-view",title:"Rate"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"rate-wrapper"},[a("cube-rate",{attrs:{disabled:t.disabled,max:t.max,justify:t.justify},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.max,function(e){return a("cube-rate-item",{key:e,attrs:{value:t.value,index:e}},[t.customStar?a("div",{staticClass:"rate-item"}):t._e()])}))],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}}),t._v(" "),a("select-option",{staticClass:"item",attrs:{name:"star numbers",value:t.max,options:t.options},on:{"update:value":t.updateStarNumbers}}),t._v(" "),a("switch-option",{staticClass:"item",attrs:{name:"Justify",value:t.justify},on:{"update:value":t.updateJustify}}),t._v(" "),a("switch-option",{staticClass:"item",attrs:{name:"customStar",value:t.customStar},on:{"update:value":t.updateRateItem}})],1)])])])},staticRenderFns:[]}},"a/uE":function(t,e,a){function i(t){a("mY+Z")}var n=a("VU/8")(a("cETb"),a("qdm+"),i,null,null);t.exports=n.exports},a0bD:function(t,e,a){function i(t){a("J9Iv")}var n=a("VU/8")(a("Er22"),a("OTGw"),i,null,null);t.exports=n.exports},aDIA:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("5qoB"),a("x9Ds"),a("+Ghj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"rules",{enumerable:!0,get:function(){return e.rules}}),Object.defineProperty(t,"addRule",{enumerable:!0,get:function(){return e.addRule}}),Object.defineProperty(t,"addMessage",{enumerable:!0,get:function(){return a.addMessage}}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return i.types}}),Object.defineProperty(t,"addType",{enumerable:!0,get:function(){return i.addType}})})},aLrZ:function(t,e){},aUGM:function(t,e){},aeD0:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"switch-view",title:"Switch"}},[a("template",{slot:"content"},[a("cube-switch",{model:{value:t.values[0],callback:function(e){t.$set(t.values,0,e)},expression:"values[0]"}},[t._v("Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[0]))]),t._v(" "),a("cube-switch",{model:{value:t.values[1],callback:function(e){t.$set(t.values,1,e)},expression:"values[1]"}},[t._v("Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[1]))]),t._v(" "),a("cube-switch",{attrs:{disabled:t.disabled},model:{value:t.values[2],callback:function(e){t.$set(t.values,2,e)},expression:"values[2]"}},[t._v("Disbled Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[2]))]),t._v(" "),a("cube-switch",{attrs:{disabled:t.disabled},model:{value:t.values[3],callback:function(e){t.$set(t.values,3,e)},expression:"values[3]"}},[t._v("Disbled Switch")]),t._v(" "),a("p",[t._v("switch value: "+t._s(t.values[3]))])],1)],2)},staticRenderFns:[]}},agqa:function(t,e,a){function i(t){a("e/d0")}var n=a("VU/8")(a("Iyug"),a("orqC"),i,null,null);t.exports=n.exports},apY0:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";function a(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=[],l=t;l<=e;l++){var c=(a&&l<10?"0"+l:l)+i;n.push({text:c,value:l})}return n}Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"date-picker",props:{min:{type:Array,default:function(){return[2010,2,1]}},max:{type:Array,default:function(){return[2020,2,1]}},selectedIndex:{type:Array,default:function(){return[0,0,0]}}},data:function(){return{}},computed:{data:function(){var t=this,e=a(this.min[0],this.max[0],!1,"年");return e.forEach(function(e){var i=e.value===t.min[0]?t.min[1]:1,n=e.value===t.max[0]?t.max[1]:12;e.children=a(i,n,!1,"月"),e.children.forEach(function(i){var n=30;[1,3,5,7,8,10,12].indexOf(i.value)>-1?n=31:2===i.value&&(n=e.value%400&&(e.value%4||!(e.value%100))?28:29);var l=e.value===t.min[0]&&i.value===t.min[1]?t.min[2]:1,c=e.value===t.max[0]&&i.value===t.max[1]?t.max[2]:n;i.children=a(l,c,!1,"日")})}),e}},methods:{show:function(){this.$refs.cascadePicker.show()},hide:function(){this.$refs.cascadePicker.hide()},select:function(t,e,a){this.$emit("select",t,e,a)},cancel:function(){this.$emit("cancel")}}},t.exports=e.default})},axq9:function(t,e){},b1gV:function(t,e,a){var i,n,l;!function(c,u){n=[e,a("Y01l"),a("osO1"),a("dK69"),a("HBJ7"),a("izCJ"),a("zQyI"),a("0wrK"),a("SFrn"),a("rwvr"),a("k+Su"),a("jWO0"),a("fFTD"),a("/Pfp"),a("7Sku"),a("mok4"),a("8nmV"),a("XyhL"),a("fd7u"),a("oLGW"),a("8cOd"),a("Oluj"),a("v4hj"),a("O1ak"),a("nrl6"),a("P+K9"),a("Ta5O"),a("tNeh"),a("r6LN"),a("R082"),a("3ubT"),a("NhRQ"),a("wT65"),a("eD0J"),a("ES30"),a("RO/E"),a("ZQJ7"),a("CzhT"),a("SPGs"),a("6G1g"),a("iQwk"),a("x/Fx")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p,f,h,x,y,m,b,g,_,w,A,k,C,T,P,j,S,M,D,V,I,O,E,U,R,B,H,N,L){"use strict";function F(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.createAPI=t.BetterScroll=t.RecycleList=t.ScrollNavBar=t.ScrollNav=t.ScrollNavPanel=t.Sticky=t.StickyEle=t.Swipe=t.SwipeItem=t.IndexList=t.Slide=t.SlideItem=t.Scroll=t.ImagePreview=t.Drawer=t.DrawerPanel=t.DrawerItem=t.ActionSheet=t.Dialog=t.SegmentPicker=t.TimePicker=t.DatePicker=t.CascadePicker=t.Picker=t.Toast=t.Popup=t.Form=t.FormGroup=t.FormItem=t.Upload=t.Validator=t.Rate=t.Switch=t.Select=t.Textarea=t.Input=t.RadioGroup=t.Radio=t.Checker=t.CheckerItem=t.CheckboxGroup=t.Checkbox=t.TabPanel=t.TabPanels=t.Tab=t.TabBar=t.Toolbar=t.Tip=t.Loading=t.Button=t.Locale=t.Style=void 0;var X=F(e),K=F(a),z=F(i),Y=F(n),G=F(l),Q=F(c),W=F(u),q=F(o),Z=F(s),J=F(r),$=F(d),tt=F(v),et=F(p),at=F(f),it=F(h),nt=F(x),lt=F(y),ct=F(m),ut=F(b),ot=F(g),st=F(_),rt=F(w),dt=F(A),vt=F(k),pt=F(C),ft=F(T),ht=F(P),xt=F(j),yt=F(S),mt=F(M),bt=F(D),gt=F(V),_t=F(I),wt=F(O),At=F(E),kt=F(U),Ct=F(R),Tt=F(B),Pt=F(H),jt=F(N),St=F(L),Mt=ot.default.Group,Dt=ot.default.Item,Vt=_t.default.Item,It=tt.default.Radio,Ot=At.default.Item,Et=mt.default.Panel,Ut=mt.default.Item,Rt=kt.default.Ele,Bt=Ct.default.Panel,Ht=W.default.Tab,Nt=q.default.Panel,Lt=$.default.Item;t.Style=X.default,t.Locale=K.default,t.Button=z.default,t.Loading=Y.default,t.Tip=G.default,t.Toolbar=Q.default,t.TabBar=W.default,t.Tab=Ht,t.TabPanels=q.default,t.TabPanel=Nt,t.Checkbox=Z.default,t.CheckboxGroup=J.default,t.CheckerItem=Lt,t.Checker=$.default,t.Radio=It,t.RadioGroup=tt.default,t.Input=et.default,t.Textarea=at.default,t.Select=it.default,t.Switch=nt.default,t.Rate=lt.default,t.Validator=ct.default,t.Upload=ut.default,t.FormItem=Dt,t.FormGroup=Mt,t.Form=ot.default,t.Popup=st.default,t.Toast=rt.default,t.Picker=dt.default,t.CascadePicker=vt.default,t.DatePicker=pt.default,t.TimePicker=ft.default,t.SegmentPicker=ht.default,t.Dialog=xt.default,t.ActionSheet=yt.default,t.DrawerItem=Ut,t.DrawerPanel=Et,t.Drawer=mt.default,t.ImagePreview=bt.default,t.Scroll=gt.default,t.SlideItem=Vt,t.Slide=_t.default,t.IndexList=wt.default,t.SwipeItem=Ot,t.Swipe=At.default,t.StickyEle=Rt,t.Sticky=kt.default,t.ScrollNavPanel=Bt,t.ScrollNav=Ct.default,t.ScrollNavBar=Tt.default,t.RecycleList=Pt.default,t.BetterScroll=jt.default,t.createAPI=St.default})},bEG4:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{attrs:{data:t.data,"selected-index":t.selectedIndex,title:t.title,subtitle:t.subtitle,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex,"mask-closable":t.maskClosable},on:{select:t._select,cancel:t._cancel,change:t._change},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},bJvT:function(t,e){t.exports="data:image/png;base64,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"},bebB:function(t,e){},befj:function(t,e){},bh5B:function(t,e,a){function i(t){a("FzTc")}var n=a("VU/8")(a("TAcf"),a("99oh"),i,null,null);t.exports=n.exports},blHT:function(t,e){},br84:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"validator-view",title:"Validator",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"validator-item"},[a("cube-input",{attrs:{placeholder:"E-mail"},model:{value:t.text1,callback:function(e){t.text1=e},expression:"text1"}}),t._v(" "),a("cube-validator",{ref:"validator1",attrs:{model:t.text1,rules:t.rules1,messages:t.messages1,immediate:t.immediate},model:{value:t.isValid[0],callback:function(e){t.$set(t.isValid,0,e)},expression:"isValid[0]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-validator",{ref:"validator2",attrs:{model:t.text2,rules:t.rules2,messages:t.messages2,immediate:t.immediate},scopedSlots:t._u([{key:"message",fn:function(e){return a("div",{staticClass:"custom-msg"},[!e.dirty&&!e.validated||t.isValid[1]?t._e():a("div",[a("i",{staticClass:"dd-cubeic-important"}),t._v(" "+t._s(e.message)+"\n "),a("div",t._l(Object.values(e.result),function(e,i){return e.inValid?a("span",{key:i},[t._v(t._s(e.message+" "))]):t._e()}))])])}}]),model:{value:t.isValid[1],callback:function(e){t.$set(t.isValid,1,e)},expression:"isValid[1]"}},[a("cube-input",{attrs:{placeholder:"component name"},model:{value:t.text2,callback:function(e){t.text2=e},expression:"text2"}})],1)],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-validator",{ref:"validator3",attrs:{model:t.text3,rules:t.rules3,immediate:t.immediate},model:{value:t.isValid[2],callback:function(e){t.$set(t.isValid,2,e)},expression:"isValid[2]"}},[a("cube-input",{attrs:{placeholder:"validate odd"},model:{value:t.text3,callback:function(e){t.text3=e},expression:"text3"}})],1)],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-checkbox-group",{attrs:{horizontal:!0},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("cube-checkbox",{attrs:{label:"1"}},[t._v("1")]),t._v(" "),a("cube-checkbox",{attrs:{label:"2"}},[t._v("2")]),t._v(" "),a("cube-checkbox",{attrs:{label:"3"}},[t._v("3")])],1),t._v(" "),a("cube-validator",{ref:"validator4",attrs:{model:t.checkList,rules:t.rules4,immediate:t.immediate},model:{value:t.isValid[3],callback:function(e){t.$set(t.isValid,3,e)},expression:"isValid[3]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("cube-rate",{model:{value:t.rate,callback:function(e){t.rate=e},expression:"rate"}}),t._v(" "),a("cube-validator",{ref:"validator5",attrs:{model:t.rate,rules:t.rules5,immediate:t.immediate},model:{value:t.isValid[4],callback:function(e){t.$set(t.isValid,4,e)},expression:"isValid[4]"}})],1),t._v(" "),a("div",{staticClass:"validator-item"},[a("p",[t._v("Async validate: ")]),t._v(" "),a("cube-validator",{ref:"validator6",attrs:{model:t.captcha,rules:t.rules6,messages:t.messages6,immediate:t.immediate},on:{validating:t.validatingHandler,validated:t.validatedHandler},model:{value:t.isValid[5],callback:function(e){t.$set(t.isValid,5,e)},expression:"isValid[5]"}},[a("cube-input",{attrs:{placeholder:"Please input captcha"},model:{value:t.captcha,callback:function(e){t.captcha=e},expression:"captcha"}})],1)],1),t._v(" "),a("cube-button",{on:{click:t.submit}},[t._v("Submit")])],1)])},staticRenderFns:[]}},c7sT:function(t,e,a){function i(t){a("uCFs")}var n=a("VU/8")(a("YUSN"),a("4OFj"),i,null,null);t.exports=n.exports},cETb:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-button",props:{icon:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},light:{type:Boolean,default:!1},type:{type:String,default:"button"}},computed:{btnClass:function(){return{"cube-btn_active":this.active,"cube-btn_disabled":this.disabled,"cube-btn-inline":this.inline,"cube-btn-primary":this.primary,"cube-btn-outline":this.outline,"cube-btn-outline-primary":this.outline&&this.primary,"cube-btn-light":this.light}}},methods:{handleClick:function(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.$emit("click",t)}}},t.exports=e.default})},"cL1+":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=t.inBrowser="undefined"!=typeof window,a=t.ua=e&&navigator.userAgent.toLowerCase();t.isAndroid=a&&a.indexOf("android")>0})},cMIu:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-tab",props:{label:{type:[String,Number],required:!0},value:{type:[String,Number],default:function(){return this.label}},icon:{type:String,default:""}},mounted:function(){this.$parent.addTab(this)},destroyed:function(){this.$parent.removeTab(this)},computed:{isActive:function(){return this.$parent.value===this.value}},methods:{handleClick:function(t){this.$parent.trigger(this.value)}}},t.exports=e.default})},cQz5:function(t,e,a){function i(t){a("xpS3")}var n=a("VU/8")(a("GJyM"),a("BPyk"),i,null,null);t.exports=n.exports},cSnO:function(t,e,a){function i(t){a("aLrZ")}var n=a("VU/8")(a("FZvW"),a("jlfN"),i,null,null);t.exports=n.exports},"cai+":function(t,e){},cbPg:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},mounted:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY},this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,a=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,a,0,Math.PI,!0);var i=this.initRadius-(this.initRadius-this.minTailRadius)*e,n={x:this.headCenter.x,y:this.headCenter.y+this.distance},l={x:n.x-i,y:n.y},c={x:l.x,y:l.y-this.distance/2};t.quadraticCurveTo(c.x,c.y,l.x,l.y),t.arc(n.x,n.y,i,Math.PI,0,!0);var u={x:this.headCenter.x+a,y:this.headCenter.y},o={x:n.x+i,y:u.y+this.distance/2};t.quadraticCurveTo(o.x,o.y,u.x,u.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,a=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,a-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,a,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-a-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-a+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-a+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}},t.exports=e.default})},cjIa:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},crve:function(t,e){},d64j:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{zIndex:{type:Number,default:100},maskClosable:{type:Boolean,default:!1}}},t.exports=e.default})},d9ai:function(t,e){},"dJ+B":function(t,e){},dK69:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},dTzF:function(t,e,a){function i(t){a("cai+")}var n=a("VU/8")(a("RGkz"),a("uN5Q"),i,null,null);t.exports=n.exports},"de/F":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("woOf"),a("Z5VE"),a("d64j"),a("wih/"),a("4KJe"),a("UFDc"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function d(t){return[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()]}Object.defineProperty(e,"__esModule",{value:!0});var v=r(a),p=r(i),f=r(n),h=r(l),x=r(c),y=r(u),m=["year","month","date","hour","minute","second"],b={month:{natureMin:1,natureMax:12},date:{natureMin:1,natureMax:31},hour:{natureMin:0,natureMax:23},minute:{natureMin:0,natureMax:59},second:{natureMin:0,natureMax:59}},g={year:"YYYY",month:"M",date:"D",hour:"hh",minute:"mm",second:"ss"};e.default={name:"cube-date-picker",mixins:[f.default,h.default,x.default,y.default],props:{min:{type:[Date,Array],default:function(){return new Date(2010,0,1)}},max:{type:[Date,Array],default:function(){return new Date(2020,11,31)}},startColumn:{type:String,default:function(){return"year"}},columnCount:{type:Number,default:3},format:{type:Object,default:function(){return{}}},value:{type:[Date,Array],default:function(){return this.min}},columnOrder:{type:Array,default:function(){return["year","month","date","hour","minute","second"]}}},computed:{formatConfig:function(){var t=(0,p.default)({},g);return(0,o.deepAssign)(t,this.format),t},natureRangeCache:function(){var t=this,e={hour:[],minute:[],second:[]};return(0,v.default)(e).forEach(function(a){e[a]=t._range(a,b[a].natureMin,b[a].natureMax)}),e},startIndex:function(){var t=m.indexOf(this.startColumn);return t<0?0:t},minArray:function(){return this.min instanceof Date?d(this.min).slice(this.startIndex,this.startIndex+this.columnCount):this.min},maxArray:function(){return this.max instanceof Date?d(this.max).slice(this.startIndex,this.startIndex+this.columnCount):this.max},valueArray:function(){return this.value instanceof Date?d(this.value).slice(this.startIndex,this.startIndex+this.columnCount):this.value},data:function(){var t=[];return this._generateData(this.startIndex,0,t),t},selectedIndex:function(){for(var t=this,e=[],a=this.data,i=void 0,n=0;n=3&&a.value;a.children=this._range(m[t],u,o,a.isMin,a.isMax,r)}else a.children=this.natureRangeCache[m[t]];e=this.startIndex+this.columnCount?e[i]=b[m[i]].natureMin:e[i]=t[i-this.startIndex];return e[1]--,new(Function.prototype.bind.apply(Date,[null].concat(e)))},_range:function(t,e,a,i,n){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;this._rangeCache||(this._rangeCache={});var c=t+l+e+a+i+n;if(this._rangeCache[c])return this._rangeCache[c];for(var u=[],o=this.formatConfig[t],r=e;r<=a;r++){var d={text:(0,s.formatType)(t,o,r,"i"),value:r,order:this.columnOrder.indexOf(t)};i&&r===e&&(d.isMin=!0),n&&r===a&&(d.isMax=!0),l&&(d.year=l),u.push(d)}return this._rangeCache[c]=u,u}}},t.exports=e.default})},deRs:function(t,e){},dfWv:function(t,e){},"dkN+":function(t,e){},dq75:function(t,e){},dz6Z:function(t,e){},dz9r:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";function a(t){var e,a=t.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=a;var n=i.getContext("2d");n.drawImage(t,0,0);try{e=n.getImageData(0,0,1,a).data}catch(t){return console.log("Cannot check verticalSquash: CORS?"),1}for(var l=0,c=a,u=a;u>l;){0===e[4*(u-1)+3]?c=u:l=u,u=c+l>>1}var o=u/a;return 0===o?1:o}function i(t){for(var e=atob(t.split(",")[1]),a=new ArrayBuffer(e.length),i=new Uint8Array(a),n=0;n4&&(t.width=n,t.height=i),a){case 2:e.translate(i,0),e.scale(-1,1);break;case 3:e.translate(i,n),e.rotate(Math.PI);break;case 4:e.translate(0,n),e.scale(1,-1);break;case 5:e.rotate(.5*Math.PI),e.scale(1,-1);break;case 6:e.rotate(.5*Math.PI),e.translate(0,-n);break;case 7:e.rotate(.5*Math.PI),e.translate(i,-n),e.scale(-1,1);break;case 8:e.rotate(-.5*Math.PI),e.translate(-i,0)}}function u(t,e,u){var o=new FileReader;o.onload=function(o){if(!1===e.compress)return t.base64=o.target.result,void u(t);var s=new Image;s.onload=function(){var o=a(s),r=l(i(s.src)),d=document.createElement("canvas"),v=d.getContext("2d"),p=e.compress.width,f=e.compress.height,h=s.width,x=s.height,y=void 0;if(hf?(h=parseInt(f*s.width/s.height),x=f):h>=x&&h>p&&(x=parseInt(p*s.height/s.width),h=p),d.width=h,d.height=x,r>0&&c(d,v,r),v.drawImage(s,0,0,h,x/o),y=/image\/jpeg/.test(t.type)||/image\/jpg/.test(t.type)?d.toDataURL("image/jpeg",e.compress.quality):d.toDataURL(t.type),"file"==e.type)if(/;base64,null/.test(y)||/;base64,$/.test(y))console.warn("Compress fail, dataURL is "+y+". Next will use origin file to upload."),u(t);else{var m=n(y);m.id=t.id,m.name=t.name,m.lastModified=t.lastModified,m.lastModifiedDate=t.lastModifiedDate,u(m)}else/;base64,null/.test(y)||/;base64,$/.test(y)?(e.onError(t,new Error("Compress fail, dataURL is "+y+".")),u()):(t.base64=y,u(t))},s.src=o.target.result},o.readAsDataURL(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=u,t.exports=e.default})},"e/d0":function(t,e){},e3O1:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("K5n8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i);e.default={methods:{showPicker:function(){this.picker||(this.picker=this.$createPicker({title:"Picker",data:[n.column1],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.picker.show()},showMutiPicker:function(){this.mutiPicker||(this.mutiPicker=this.$createPicker({title:"Multi-column Picker",data:[n.column1,n.column2,n.column3],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.mutiPicker.show()},showAliasPicker:function(){this.aliasPicker||(this.aliasPicker=this.$createPicker({title:"Use Alias",data:[[{id:1,name:"A"},{id:2,name:"B"},{id:3,name:"C"}]],alias:{value:"id",text:"name"},onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.aliasPicker.show()},showSetDataPicker:function(){this.setDataPicker||(this.setDataPicker=this.$createPicker({title:"Use SetData",onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.setDataPicker.setData([n.column1,n.column2,n.column3],[1,2,3]),this.setDataPicker.show()},showUpdatePropsPicker:function(){var t=this;this.updatePropsPicker||(this.updatePropsPicker=this.$createPicker({title:"Use $updateProps",data:[n.column1],selectedIndex:[0],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.updatePropsPicker.show(),setTimeout(function(){t.updatePropsPicker.$updateProps({title:"Updated",data:[n.column1,n.column2,n.column3],selectedIndex:[1,2,3]})},1e3)},showSubtitlePicker:function(){this.subtitlePicker||(this.subtitlePicker=this.$createPicker({title:"Picker",subtitle:"subtitle",data:[n.column1],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.subtitlePicker.show()},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:c.default,CubeButtonGroup:u.default}},t.exports=e.default})},eAlP:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"input-option",props:{name:{type:String},value:null,minValue:null},data:function(){return{inputValue:this.value}},watch:{inputValue:function(t){this.$emit("update:value",this.minValue?Math.max(t,this.minValue):t)}}},t.exports=e.default})},"eC/x":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("pFYg"),a("woOf"),a("+rJ6"),a("Z5VE"),a("d64j"),a("wih/"),a("4KJe"),a("VzLe"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r){"use strict";function d(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var v=d(a),p=d(i),f=d(l),h=d(c),x=d(u),y=d(o),m=d(s),b={value:"now"},g={floor:"floor",ceil:"ceil",round:"round"};e.default={name:"cube-time-picker",mixins:[f.default,h.default,x.default,y.default],components:{CubeCascadePicker:m.default},props:{title:{type:String,default:""},delay:{type:Number,default:15},day:{type:Object,default:function(){return{len:3}}},showNow:{type:[Boolean,Object],default:!0},minuteStep:{type:[Number,Object],default:10},format:{type:String,default:"YYYY/M/D hh:mm"},min:{type:[Date,Number],default:null},max:{type:[Date,Number],default:null}},data:function(){return{now:new Date,selectedIndex:[0,0,0],value:0}},computed:{_title:function(){return this.title||this.$t("selectTime")},_day:function(){var t={filter:[this.$t("today")],format:this.$t("formatDate")};return(0,p.default)({},t,this.day)},nowText:function(){var t=this.$t("now");return this.showNow&&this.showNow.text||t},minuteStepRule:function(){var t=this.minuteStep;return"object"===(void 0===t?"undefined":(0,v.default)(t))&&Math[g[t.rule]]||Math[g.floor]},minuteStepNumber:function(){var t=this.minuteStep;return"number"==typeof t?t:t.step||10},minTime:function(){var t=+this.min||+this.now+this.delay*n.MINUTE_TIMESTAMP,e=new Date(t).getMinutes();return t+=(Math.min(this.minuteStepRule(e/this.minuteStepNumber)*this.minuteStepNumber,60)-e)*n.MINUTE_TIMESTAMP,new Date(t)},maxTime:function(){var t=+this.max||(0,n.getZeroStamp)(new Date(+this.minTime+this._day.len*n.DAY_TIMESTAMP))-1,e=new Date(t).getMinutes();return t-=(e-Math.floor(e/this.minuteStepNumber)*this.minuteStepNumber)*n.MINUTE_TIMESTAMP,new Date(t)},days:function(){for(var t=[],e=(0,n.getDayDiff)(this.minTime,this.now),a=this.max?(0,n.getDayDiff)(this.maxTime,this.minTime)+1:this._day.len,i=0;i=this.days.length)return void(0,r.warn)('Use "setTime" to set a time exceeded to the option range do not actually work.',"cube-time-picker");var l=a.getHours(),c=0===i?this.showNow?this.minTime.getHours()-1:this.minTime.getHours():0,u=l-c,o=this.minuteStepRule(a.getMinutes()/this.minuteStepNumber),s=i||(this.showNow?1!==u:u)?0:this.minuteStepRule(this.minTime.getMinutes()/this.minuteStepNumber),d=o-s;this.selectedIndex=[i,u,d]}},_updateNow:function(){this.now=new Date},_pickerChange:function(t,e){this.$emit("change",t,e)},_pickerSelect:function(t,e,a){var i=void 0,l=void 0;t[1]===b.value?(i=+new Date,l=this.nowText):(i=(0,n.getZeroStamp)(new Date(t[0]))+t[1]*n.HOUR_TIMESTAMP+t[2]*n.MINUTE_TIMESTAMP,l=a[0]+" "+a[1]+":"+a[2]),this.value=i;var c=(0,n.formatDate)(new Date(i),this.format);this.$emit("select",i,l,c)},_pickerCancel:function(){this.$emit("cancel")}}},t.exports=e.default})},eClu:function(t,e,a){function i(t){a("OdoB")}var n=a("VU/8")(a("VAT/"),a("WWPg"),i,null,null);t.exports=n.exports},eD0J:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("vJ9C"),a("VKJd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},eE6y:function(t,e,a){function i(t){a("aUGM")}var n=a("VU/8")(a("Gcl4"),a("zQzp"),i,null,null);t.exports=n.exports},eFmn:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("4gT0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-input",mixins:[c.default],props:{value:[String,Number],type:{type:String,default:"text"},disabled:{type:Boolean,default:!1},placeholder:String,readonly:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autocomplete:{type:[Boolean,String],default:!1},name:String,id:String,form:String,minlength:Number,maxlength:Number,resize:String,min:Number,max:Number,step:Number,tabindex:String,clearable:{type:[Boolean,Object],default:!1},eye:{type:[Boolean,Object],default:!1}},data:function(){return{inputValue:this.value,isFocus:!1,formatedClearable:{visible:!1,blurHidden:!0},formatedEye:{open:!1,reverse:!1}}},computed:{_type:function(){var t=this.type;return"password"===t&&this.eye&&this.pwdVisible?"text":t},_showClear:function(){var t=this.formatedClearable.visible&&this.inputValue&&!this.readonly&&!this.disabled;return this.formatedClearable.blurHidden&&!this.isFocus&&(t=!1),t},_showPwdEye:function(){return"password"===this.type&&this.eye&&!this.disabled},pwdVisible:function(){var t=this.formatedEye;return t.reverse?!t.open:t.open},eyeClass:function(){return this.formatedEye.open?"cubeic-eye-visible":"cubeic-eye-invisible"}},watch:{value:function(t){this.inputValue=t},inputValue:function(t){this.$emit("input",t)},clearable:{handler:function(){this.formatClearable()},deep:!0,immediate:!0},eye:{handler:function(){this.formateEye()},deep:!0,immediate:!0}},methods:{formatClearable:function(){"boolean"==typeof this.clearable?this.formatedClearable.visible=this.clearable:(0,l.default)(this.formatedClearable,this.clearable)},formateEye:function(){"boolean"==typeof this.eye?this.formatedEye.open=this.eye:(0,l.default)(this.formatedEye,this.eye)},handleFocus:function(t){this.$emit("focus",t),this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),this.isFocus=!1},handleClear:function(t){this.inputValue="",this.$refs.input.focus()},handlePwdEye:function(){this.formatedEye.open=!this.formatedEye.open}}},t.exports=e.default})},eLAg:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/form/"+t)}}},t.exports=e.default})},eNOl:function(t,e){},eWUu:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={methods:{showDatePicker:function(){this.datePicker||(this.datePicker=this.$createDatePicker({title:"Date Picker",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,onSelect:this.selectHandle,onCancel:this.cancelHandle,onChange:function(){console.log("change")}})),this.datePicker.show()},showTimePicker:function(){this.timePicker||(this.timePicker=this.$createDatePicker({title:"Time Picker",min:[8,0,0],max:[20,59,59],value:new Date,startColumn:"hour",onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.timePicker.show()},showDateTimePicker:function(){this.dateTimePicker||(this.dateTimePicker=this.$createDatePicker({title:"Date Time Picker",min:new Date(2008,7,8,8,0,0),max:new Date(2020,9,20,20,59,59),value:new Date,columnCount:6,onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.dateTimePicker.show()},showFormatPicker:function(){this.formatPicker||(this.formatPicker=this.$createDatePicker({title:"Use format",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,format:{year:"YY年",month:"MM月",date:"第 D 日"},onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.formatPicker.show()},showUpdatePropsPicker:function(){var t=this;this.updatePropsPicker||(this.updatePropsPicker=this.$createDatePicker({title:"Use $updateProps",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.updatePropsPicker.show(),setTimeout(function(){t.updatePropsPicker.$updateProps({title:"updated",value:new Date(2010,9,1)})},1e3)},showChangeOrderPicker:function(){this.changeOrderPicker||(this.changeOrderPicker=this.$createDatePicker({title:"Date Picker",min:new Date(2008,7,8),max:new Date(2020,9,20),value:new Date,columnOrder:["date","month","year"],onSelect:this.selectHandle,onCancel:this.cancelHandle})),this.changeOrderPicker.show()},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- date: "+t+"
- value: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:l.default,CubeButtonGroup:c.default}},t.exports=e.default})},eZWf:function(t,e,a){function i(t){a("XDbB")}var n=a("VU/8")(a("ZDnC"),a("Kprf"),i,null,null);t.exports=n.exports},ea3B:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tab-entry",title:"Tab Entry"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:function(e){t.goTo("basic")}}},[t._v("tab-basic")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("composite")}}},[t._v("tab-composite")])],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},enXm:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-side",title:"ScrollNav"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-scroll-nav",{attrs:{side:!0,data:t.data,current:t.current},on:{change:t.changeHandler,"sticky-change":t.stickyChangeHandler}},[a("ul",{staticClass:"prepend-header",attrs:{slot:"prepend"},slot:"prepend"},[a("li",[t._v("11")]),t._v(" "),a("li",[t._v("22")]),t._v(" "),a("li",[t._v("333")])]),t._v(" "),t._l(t.data,function(e){return a("cube-scroll-nav-panel",{key:e.name,attrs:{label:e.name,title:e.name}},[a("ul",t._l(e.foods,function(e){return a("li",[a("div",[a("img",{attrs:{src:e.icon}}),t._v(" "),a("p",[t._v(t._s(e.name))])])])}))])})],2)],1)])])},staticRenderFns:[]}},"f/6s":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("zuie")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-form-group",props:{legend:{type:String,default:""},fields:{type:Array,default:function(){return[]}}},beforeCreate:function(){this.form=this.$parent.form},beforeDestroy:function(){this.form=null},components:{CubeFormItem:i.default}},t.exports=e.default})},fFTD:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yb46"),a("mkLW")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Radio=c.default,e.default=l.default,t.exports=e.default})},fGk3:function(t,e,a){function i(t){a("PzqK")}var n=a("VU/8")(a("HgDQ"),a("wohH"),i,null,null);t.exports=n.exports},fUkQ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tabs-basic-view",title:"tab-basic"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-tab-bar",{attrs:{"show-slider":""},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{label:t.label,icon:t.icon}})})),t._v(" "),a("cube-tab-panels",{model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},t._l(t.tabs,function(e,i){return a("cube-tab-panel",{key:e.label,attrs:{label:e.label}},[a("ul",t._l(e.heroes,function(e,i){return a("li",{key:i,staticClass:"tab-panel-li"},[t._v("\n "+t._s(e)+"\n ")])}))])}))],1)])},staticRenderFns:[]}},fZ0D:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("mvHQ"),a("XPXN"),a("O6S8"),a("9zBd"),a("LeY8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=l.provinceList.slice(),v=JSON.parse((0,o.default)(l.cityList)),p=JSON.parse((0,o.default)(l.areaList)),f=l.provinceList;f.forEach(function(t){t.children=l.cityList[t.value],t.children.forEach(function(t){t.children=l.areaList[t.value]})});var h=d,x=[0,0,0];h[0].children=v[h[0].value],h[0].children[0].children=p[h[0].children[0].value],e.default={mounted:function(){this.cascadePicker=this.$createCascadePicker({title:"Cascade Picker",data:c.cascadeData,selectedIndex:[0,1,0],onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.addressPicker=this.$createCascadePicker({title:"City Picker",data:f,onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.setDataPicker=this.$createCascadePicker({title:"Set Data",onSelect:this.selectHandle,onCancel:this.cancelHandle}),this.asyncPicker=this.$createCascadePicker({title:"Async Load Data",async:!0,data:h,selectedIndex:x.slice(),onSelect:this.selectHandle,onCancel:this.cancelHandle,onChange:this.asyncChangeHandle})},methods:{showCascadePicker:function(){this.cascadePicker.show()},showAddressPicker:function(){this.addressPicker.show()},showSetDataPicker:function(){var t=this;this.setDataPicker.setData(c.cascadeData),this.setDataPicker.show(),setTimeout(function(){t.setDataPicker.setData(f,[1,1,0])},1e3)},showAsyncPicker:function(){this.asyncPicker.show()},asyncChangeHandle:function(t,e){var a=this;e!==x[t]&&(x[t]=e,t<2&&setTimeout(function(){if(0===t){var i=h[e];i.children=i.children||v[i.value],i.children[0].children=i.children[0].children||p[i.children[0].value],x[1]=0,x[2]=0}if(1===t){var n=h[x[0]].children[e];n.children=n.children||p[n.value],x[2]=0}a.asyncPicker.setData(h,x)},500))},selectHandle:function(t,e,a){this.$createDialog({type:"warn",content:"Selected Item:
- value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandle:function(){this.$createToast({type:"correct",txt:"Picker canceled",time:1e3}).show()}},components:{CubePage:s.default,CubeButtonGroup:r.default}},t.exports=e.default})},fd7u:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("xYoV"),a("j9ag"),a("aDIA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i);c.default.install=function(t){t.component(c.default.name,c.default),u.default.install(t),c.default._base=t},c.default.addRule=n.addRule,c.default.addMessage=n.addMessage,c.default.addType=n.addType,c.default.addHelper=u.default.addHelper,e.default=c.default,t.exports=e.default})},fdUi:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-dialog-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"dialog","z-index":t.zIndex,mask:!0,center:!0},on:{"mask-click":t.maskClick}},[a("div",{staticClass:"cube-dialog-main"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.showClose,expression:"showClose"}],staticClass:"cube-dialog-close",on:{click:t.close}},[a("i",{staticClass:"cubeic-close"})]),t._v(" "),a("div",{class:t.containerClass},[t.icon?a("p",{staticClass:"cube-dialog-icon"},[a("i",{class:t.icon})]):t._e(),t._v(" "),t.title||t.$slots.title?a("h2",{staticClass:"cube-dialog-title"},[t._t("title",[a("p",{staticClass:"cube-dialog-title-def"},[t._v(t._s(t.title))])])],2):t._e(),t._v(" "),a("div",{staticClass:"cube-dialog-content"},[t._t("content",[a("div",{staticClass:"cube-dialog-content-def"},[t.content?a("p",{domProps:{innerHTML:t._s(t.content)}}):t._e(),t._v(" "),t.isPrompt?a("cube-input",t._b({model:{value:t.promptValue,callback:function(e){t.promptValue=e},expression:"promptValue"}},"cube-input",t.prompt,!1)):t._e()],1)])],2),t._v(" "),a("div",{staticClass:"cube-dialog-btns",class:{"border-right-1px":t.isConfirm||t.isPrompt}},[t._t("btns",[t.isConfirm||t.isPrompt?a("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._cancelBtn.active,"cube-dialog-btn_disabled":t._cancelBtn.disabled},attrs:{href:t._cancelBtn.href},on:{click:t.cancel}},[t._v(t._s(t._cancelBtn.text))]):t._e(),t._v(" "),a("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._confirmBtn.active,"cube-dialog-btn_disabled":t._confirmBtn.disabled},attrs:{href:t._confirmBtn.href},on:{click:t.confirm}},[t._v(t._s(t._confirmBtn.text))])])],2)])])])],1)},staticRenderFns:[]}},fidG:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("4gT0")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u={negative:!0,remain:!0};e.default={name:"cube-textarea",mixins:[c.default],data:function(){return{textareaValue:this.value,expanded:!!this.autoExpand&&!!this.value,isFocus:!1}},props:{value:{type:String,default:""},cols:Number,rows:Number,readonly:Boolean,wrap:String,required:Boolean,placeholder:{type:String,default:"please type here..."},dirname:String,form:String,name:String,autofocus:Boolean,disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:60},indicator:{type:[Boolean,Object],default:!0},autoExpand:{type:Boolean,default:!1}},computed:{indicatorConf:function(){var t=this.indicator;return"boolean"==typeof t&&(t={}),(0,l.default)({},u,t)},count:function(){return this.textareaValue.length},remain:function(){var t=this.maxlength-this.count;return!this.indicatorConf.negative&&t<0&&(t=0),t}},watch:{value:function(t){this.textareaValue=t},textareaValue:function(t){this.$emit("input",t),!this.isFocus&&this.expanded&&(this.expanded=!1)}},methods:{handleFocus:function(t){this.$emit("focus",t),this.expanded=!0,this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),0===this.textareaValue.length&&(this.expanded=!1),this.isFocus=!1}}},t.exports=e.default})},fuAs:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"loading-view",title:"Loading"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-loading"),t._v(" "),a("cube-loading",{attrs:{size:28}}),t._v(" "),a("cube-loading",{attrs:{size:40}})],1)])},staticRenderFns:[]}},g3dP:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("1BqV")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={name:"cube-scroll-nav-panel",inject:["scrollNav"],props:{label:{type:[String,Number],required:!0},title:{type:[String,Number],default:function(){return this.label}}},mounted:function(){this.scrollNav.addPanel(this)},beforeDestroy:function(){this.scrollNav.removePanel(this)},components:{CubeStickyEle:i.default}},t.exports=e.default})},g7er:function(t,e){},"g9J/":function(t,e,a){function i(t){a("zefs")}var n=a("VU/8")(a("XEOk"),a("/O1a"),i,null,null);t.exports=n.exports},gAqf:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 🙃 ","👈🏻 scroll 👉🏻 ","🙂 🤔 😄 🤨 😐 🙃 ","👈🏻 scroll 👉🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","👈🏻 scroll 👉🏻 ","🐣 🐣 🐣 🐣 🐣 🐣 ","👈🏻 scroll 👉🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","👈🏻 scroll 👉🏻 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👈🏻 scroll 👉🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","👈🏻 scroll 👉🏻 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👈🏻 scroll 👉🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","👈🏻 scroll 👉🏻 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{items:n}},components:{CubePage:i.default}},t.exports=e.default})},gBDM:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN"),a("1Vb/"),a("6SSl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);e.default={data:function(){return{text:"",disabled:!1,maxlength:60,width:"274px",showIndicator:!0,indicator:{negative:!0,remain:!0}}},methods:{updateDisabled:function(t){this.disabled=t},updateMaxlength:function(t){this.maxlength=t},updateWidth:function(t){this.width=t},updateIndicator:function(t){this.showIndicator=t},updateIndicatorNegative:function(t){this.indicator.negative=t},updateIndicatorRemain:function(t){this.indicator.remain=t}},components:{CubeButtonGroup:u.default,CubePage:o.default,SwitchOption:s.default,InputOption:r.default}},t.exports=e.default})},gCE8:function(t,e,a){function i(t){a("I+KE")}var n=a("VU/8")(a("pjk/"),a("13Xo"),i,null,null);t.exports=n.exports},gHS1:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"tab-bar-view",title:"TabBar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{data:t.tabs},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelDefault,callback:function(e){t.selectedLabelDefault=e},expression:"selectedLabelDefault"}})],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{"show-slider":""},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelSlots,callback:function(e){t.selectedLabelSlots=e},expression:"selectedLabelSlots"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{icon:t.icon,label:t.label}})}))],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{attrs:{"show-slider":"",inline:""},on:{click:t.clickHandler,change:t.changeHandler},model:{value:t.selectedLabelInline,callback:function(e){t.selectedLabelInline=e},expression:"selectedLabelInline"}},t._l(t.tabs,function(t,e){return a("cube-tab",{key:t.label,attrs:{icon:t.icon,label:t.label}})}))],1),t._v(" "),a("div",{staticClass:"section"},[a("cube-tab-bar",{on:{click:t.clickHandler},model:{value:t.selectedLabelSlotsOnly,callback:function(e){t.selectedLabelSlotsOnly=e},expression:"selectedLabelSlotsOnly"}},t._l(t.tabs,function(e,i){return a("cube-tab",{key:e.label,attrs:{label:e.label}},[a("i",{class:e.icon,attrs:{slot:"icon"},slot:"icon"}),t._v(" "),a("span")])}))],1)])])},staticRenderFns:[]}},gLZT:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("8j/s")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e,a,i){return t.use(n.default,{componentPrefix:"cube-"}),t.createAPI(e,a,i)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},gTih:function(t,e){},gYth:function(t,e,a){var i=a("VU/8")(a("JOED"),a("KQ/n"),null,null,null);t.exports=i.exports},go4C:function(t,e,a){var i=a("VU/8")(a("g3dP"),a("h3eZ"),null,null,null);t.exports=i.exports},gz49:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-switch",props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{checkboxValue:this.value}},watch:{value:function(t){this.checkboxValue=t},checkboxValue:function(t){this.$emit("input",t)}}},t.exports=e.default})},h1qY:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/index-list/"+t)}}},t.exports=e.default})},h20U:function(t,e){},h3eZ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav-panel"},[a("cube-sticky-ele",{attrs:{"ele-key":t.label}},[a("h2",{staticClass:"cube-scroll-nav-panel-title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},h7Gw:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ease={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}}})},h8Kk:function(t,e,a){function i(t){a("axq9")}var n=a("VU/8")(a("1j+8"),a("8Q6G"),i,null,null);t.exports=n.exports},"hC+w":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default={data:function(){return{selected:"",options:["Option1","Option2"],selected2:3,options2:[{label:"Option1",value:1},{label:"Option2",value:2},{label:"Option3",value:3,disabled:!0}],selected3:"3",options3:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3",disabled:!0}],selected4:"1",options4:[{label:"1",value:"1",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg"},{label:"2",value:"2",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg"},{label:"3",value:"3",src:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1516805611092&di=80d0f229dd999ffa3be79d6e317832b0&imgtype=0&src=http%3A%2F%2Fimglf0.ph.126.net%2F1EnYPI5Vzo2fCkyy2GsJKg%3D%3D%2F2829667940890114965.jpg",disabled:!0}],selected5:"6",options5:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3",disabled:!0},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6",disabled:!0},{label:"7",value:"7"},{label:"8",value:"8"}],colNum:3}},components:{CubePage:i.default}},t.exports=e.default})},hNHr:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"page-move"}},[a("router-view",{staticClass:"cube-view"})],1)},staticRenderFns:[]}},hTT9:function(t,e){},hdAL:function(t,e,a){function i(t){a("kL0B")}var n=a("VU/8")(a("eLAg"),a("MKYq"),i,null,null);t.exports=n.exports},iMtA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Segment Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showDateSegmentPicker}},[t._v("StartDate - EndDate")]),t._v(" "),a("cube-button",{on:{click:t.showCitySegmentPicker}},[t._v("Express - From - To")])],1)],1)])},staticRenderFns:[]}},"iQ/X":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("9zBd"),a("K5n8")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=n.provinceList;s.forEach(function(t){t.children=n.cityList[t.value],t.children.forEach(function(t){t.children=n.areaList[t.value]})});var r=[{is:"cube-date-picker",title:"入学时间",min:new Date(2e3,0,1),max:new Date(2030,11,31)},{is:"cube-date-picker",title:"毕业时间",min:new Date(2e3,0,1),max:new Date(2030,11,31)}];e.default={mounted:function(){var t=this;this.dateSegmentPicker=this.$createSegmentPicker({data:r,onSelect:function(e,a,i){t.$createDialog({type:"warn",content:"Selected Items:
- 入学时间: "+i[0].join("")+"
- 毕业时间: "+i[1].join(""),icon:"cubeic-alert"}).show()},onNext:function(e,a,i,n){r[1].min=a,0===e&&t.dateSegmentPicker.$updateProps({data:r})}}),this.citySegmentPicker=this.$createSegmentPicker({data:[{title:"选择快递",data:[l.expressData],selectedIndex:[1]},{is:"cube-cascade-picker",title:"寄件地址",data:s,selectedIndex:[0,0,0],cancelTxt:"返回"},{is:"cube-cascade-picker",title:"收件地址",data:s,selectedIndex:[0,0,0]}],cancelTxt:"Cancel",confirmTxt:"Confirm",nextTxt:"Next",prevTxt:"Prev",onSelect:function(e,a,i){t.$createDialog({type:"warn",content:"Selected Items:
- 所选快递: "+i[0].join("")+"
- 寄件地址: "+i[1].join("")+"
- 收件地址: "+i[2].join(""),icon:"cubeic-alert"}).show()}})},methods:{showDateSegmentPicker:function(){this.dateSegmentPicker.show()},showCitySegmentPicker:function(){this.citySegmentPicker.show()}},components:{CubePage:u.default,CubeButtonGroup:o.default}},t.exports=e.default})},iQe6:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-loading",data:function(){return{balde:12}},props:{size:{type:Number}},computed:{style:function(){if(this.size){var t=this.size+"px";return{width:t,height:t}}}}},t.exports=e.default})},iQwk:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("GQaK")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default=i.default,t.exports=e.default})},iejJ:function(t,e){},ijHb:function(t,e){},inlK:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("DatePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},ivoU:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-scroll-nav-bar",class:"cube-scroll-nav-bar_"+t.direction},[a("cube-scroll",{ref:"scroll",attrs:{nestMode:"none",options:t.options,direction:t.direction}},[a("div",{ref:"items",staticClass:"cube-scroll-nav-bar-items"},t._l(t.usedTxts,function(e,i){return a("div",{key:i,staticClass:"cube-scroll-nav-bar-item",class:{"cube-scroll-nav-bar-item_active":t.active===t.labels[i]},on:{click:function(e){t.clickHandler(t.labels[i])}}},[t._t("default",[a("span",{domProps:{innerHTML:t._s(e)}})],{txt:e,index:i,active:t.active,label:t.labels[i]})],2)}))])],1)},staticRenderFns:[]}},izCJ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Yu0J")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},"j/9N":function(t,e){t.exports="data:image/png;base64,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"},"j/Id":function(t,e,a){function i(t){a("LLJH")}var n=a("VU/8")(a("NFzl"),a("Uibt"),i,null,null);t.exports=n.exports},j1CU:function(t,e){},j9ag:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Xnqv"),a("XRNA"),a("UFDc"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=void 0,d={name:"locale",install:function(t){d.installed||(r=t.prototype,t.util.defineReactive(r,"$cubeLang","zh-CN"),r.$cubeMessages=(0,o.default)({},"zh-CN",s.default),d.installed=!0)},use:function(t,e){r.$cubeLang=t;var a=r.$cubeMessages;t in a||(a[[t]]=e)},helpers:{toLocaleDateString:function(t,e){var a=(0,l.isNumber)(t)?t:t.replace(/-/g,"/"),i=new Date(a);return(0,l.isUndef)(e)?i.toDateString():(0,c.formatDate)(i,e)}},addHelper:function(t,e){if(t in d.helpers)return void(0,n.warn)(t+" has already been registered on helpers function, please change another name");d.helpers[t]=e}};e.default=d,t.exports=e.default})},jWO0:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("ZrYO"),a("FmUO")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},l.default.Item=c.default,e.default=l.default,t.exports=e.default})},jjfl:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-checkbox",props:{value:{type:[Boolean,String]},label:{type:[Boolean,String]},disabled:{type:Boolean,default:!1},option:{type:[Boolean,String,Object],default:function(){return{_def_option:!0}}},position:{type:String,default:"left"},shape:{type:String,default:"circle"},hollowStyle:{type:Boolean,default:!1}},data:function(){var t=this.$parent,e=t.$data._checkboxGroup;return{isInGroup:e,isInHorizontalGroup:e&&(t.$props.horizontal||t.$props.colNum>1)}},computed:{computedOption:function(){var t=this.option,e=this.label,a=this.disabled;return!0===t._def_option?t={label:e,value:e,disabled:a}:"string"==typeof t&&(t={label:t,value:t,disabled:!1}),t},checkValue:{get:function(){return this.isInGroup?this.$parent.value.indexOf(this.computedOption.value)>-1:Boolean(this.value)},set:function(t){var e=this.computedOption.value,a=e&&t?e:t,i=t?"checked":"cancel-checked";this.$emit("input",a),this.isInGroup&&this.$parent.$emit(i,e||t)}},_containerClass:function(){return{"cube-checkbox-hollow":this.hollowStyle,"cube-checkbox_checked":this.checkValue,"cube-checkbox_disabled":this.computedOption.disabled,"border-right-1px":this.isInHorizontalGroup}},_wrapClass:function(){if(this.isInGroup&&!this.isInHorizontalGroup)return"border-bottom-1px"},isSquare:function(){return"square"===this.shape||this.hollowStyle},_borderIconClass:function(){return this.isSquare?"cubeic-square-border":"cubeic-round-border"},_rightIconClass:function(){return this.isSquare?"cubeic-square-right":"cubeic-right"}}},t.exports=e.default})},jkRs:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-popup",class:t.rootClass,style:{"z-index":t.zIndex}},[a("div",{staticClass:"cube-popup-mask",on:{touchmove:function(t){t.preventDefault()},click:t.maskClick}},[t._t("mask")],2),t._v(" "),a("div",{staticClass:"cube-popup-container",class:t.containerClass,on:{touchmove:function(t){t.preventDefault()}}},[t.$slots.default?a("div",{staticClass:"cube-popup-content"},[t._t("default")],2):a("div",{staticClass:"cube-popup-content",domProps:{innerHTML:t._s(t.content)}})])])},staticRenderFns:[]}},jlIX:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"recycle-list",title:"RecycleList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-recycle-list",{staticClass:"list",attrs:{size:t.size,"on-fetch":t.onFetch,offset:t.offset},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.data;return[a("div",{staticClass:"item",attrs:{id:i.id},on:{click:function(e){t.handleClick(i)}}},[a("div",{staticClass:"avatar",style:{backgroundImage:"url("+(i.avatar||"")+")"}}),t._v(" "),a("div",{staticClass:"bubble"},[a("p",[t._v(t._s(i.msg))]),t._v(" "),a("div",{staticClass:"meta"},[a("time",{staticClass:"posted-date"},[t._v(t._s(i.time))])])])])]}}])})],1)])])},staticRenderFns:[]}},jlfN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"scroll-nav-bar",title:"ScrollNavBar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-scroll-nav-bar",{attrs:{current:t.current,labels:t.labels},on:{change:t.changeHandler}}),t._v(" "),a("div",{staticClass:"side-container"},[a("cube-scroll-nav-bar",{attrs:{direction:"vertical",current:t.current,labels:t.labels,txts:t.txts},on:{change:t.changeHandler},scopedSlots:t._u([{key:"default",fn:function(e){return a("i",{},[t._v(t._s(e.txt))])}}])})],1)],1)])},staticRenderFns:[]}},jnfQ:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("fZjL"),a("//Fk"),a("XPXN"),a("b1gV"),a("nlvd")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(c);e.default={data:function(){return{immediate:!1,text1:"",isValid:[void 0,void 0,void 0,void 0,void 0,void 0],rules1:{required:!0,type:"email",pattern:/didi.com$/,custom:function(t){return t.length>=12}},messages1:{pattern:"The E-mail suffix need to be didi.com.",custom:"The E-mail need contain at least 12 characters."},text2:"",rules2:{type:"string",pattern:/^cube-/,min:8,max:10},messages2:{pattern:'Please start with "cube-"'},text3:"100",rules3:{type:"number",odd:!0},checkList:[],rules4:{required:!0},rate:0,rules5:{min:1,max:4},captcha:"",rules6:{type:"number",required:!0,len:6,captchaCheck:function(t){return function(e){setTimeout(function(){e("123456"===t)},1e3)}}},messages6:{captchaCheck:'Please input "123456"'}}},created:function(){l.Locale.use("en-US",d.default),l.Validator.addRule("odd",function(t,e,a){return Number(t)%2==1}),l.Validator.addMessage("odd",function(t){return"Please input odd."}),l.Validator.addType("email",function(t){return"string"==typeof t&&/^[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)$/i.test(t)})},methods:{validatingHandler:function(){console.log("validating")},validatedHandler:function(){console.log("validated")},submit:function(){var t=this;s.default.all((0,o.default)(this.$refs).map(function(e){return t.$refs[e].validate()})).then(function(){t.isValid.every(function(t){return t})&&t.$createToast({type:"correct",txt:"Submited",time:1e3}).show()})}},components:{CubePage:r.default}},t.exports=e.default})},jsiO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"button-view",title:"Select"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-select",{attrs:{title:t.title,options:t.options,placeholder:t.placeholder,"auto-pop":t.autoPop,disabled:t.disabled,cancelTxt:"Cancel",confirmTxt:"Confirm"},on:{change:t.change},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("cube-button-group",[a("cube-button",{on:{click:t.modify}},[t._v("modify")])],1)],1)])},staticRenderFns:[]}},"k+Su":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("yjF1"),a("7lCl")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);c.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default)},c.default.Checkbox=l.default,e.default=c.default,t.exports=e.default})},kAHR:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","value-change","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("Picker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},kBQQ:function(t,e,a){function i(t){a("d9ai")}var n=a("VU/8")(a("xH1B"),a("uwC9"),i,null,null);t.exports=n.exports},kL0B:function(t,e){},kLzu:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Gu7T"),a("t7U9"),a("agqa"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(l),v=o(c),p=o(u),f=(0,n.prefixStyle)("transform");e.default={name:"cube-drawer",mixins:[v.default,p.default],props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}}},data:function(){return{index:-1,selectedVal:[],selectedText:[],selected:[].concat((0,r.default)(this.selectedIndex)),slideStyle:(0,s.default)({},f,"translate3d(0, 0, 0)")}},watch:{selectedIndex:function(t){this.selected=[].concat((0,r.default)(t))},index:function(t,e){this.showPanel(),t0){var a=e-1,i=this.selected[a];this.changeHandler(a,this.data[a][i],i)}break}this.computedStyle()}},hide:function(){this.slideStyle[f]="translate3d(0, 0, 0)",this.shouldHide=!0},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);this.panels.splice(e,1)},transitionend:function(){this.shouldHide&&(this.isVisible=!1,this.shouldHide=!1)},refill:function(t,e,a){this.$set(this.data,t,e),this.index=t,this.selected=this.selected.slice(0,t),this.selectedVal=this.selectedVal.slice(0,t),this.selectedText=this.selectedText.slice(0,t),a>=0&&(this.$set(this.selected,t,a),this.changeHandler(t,this.data[t][a],a))},showPanel:function(){for(var t=this.index,e=0;e<=t;)this.panels[e].show(),e++;this.computedStyle()},hidePanel:function(){for(var t=this.data.length,e=this.index+1;e - value: "+t.join(", ")+"
- index: "+e.join(", ")+"
- text: "+a.join(" "),icon:"cubeic-alert"}).show()},cancelHandler:function(){console.log("cancel")}},components:{CubePage:n.default}},t.exports=e.default})},kVGr:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("d7EF"),a("W3Iv"),a("XRNA"),a("LIRj")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i);e.default={methods:{_checkDeprecated:function(){var t=this,e=this.$options.props,a=this.$options.name;(0,o.default)(e).forEach(function(e){var i=(0,u.default)(e,2),c=i[0],o=i[1],s=o.deprecated;s&&void 0!==t[c]&&(0,n.tip)('The property "'+(0,l.kebab)(c)+'" is deprecated, please use the recommended property "'+s.replacedBy+'" to replace it. Details could be found in https://didi.github.io/cube-ui/#/en-US/docs/'+a.substr(5)+"#cube-Propsconfiguration-anchor",a)})}},mounted:function(){this._checkDeprecated()}},t.exports=e.default})},kXYV:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-toolbar-item border-right-1px"},[a("cube-button",{attrs:{icon:t.action.icon}},["checkbox"==t.action.type?a("cube-checkbox",{staticClass:"cube-toolbar-chb",attrs:{label:t.action.text},model:{value:t.action.checked,callback:function(e){t.$set(t.action,"checked",e)},expression:"action.checked"}}):a("span",{domProps:{innerHTML:t._s(t.action.text)}})],1),t._v(" "),a("i",{staticClass:"cube-toolbar-down"})],1)},staticRenderFns:[]}},kZI5:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollEvents:["scroll"],scrollY:0,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){var e=t.y;this.scrollY=-e}},components:{CubePage:i.default}},t.exports=e.default})},kZnE:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-toolbar-item",components:{CubeButton:l.default,CubeCheckbox:c.default},props:{action:{type:Object,default:function(){return{}}}}},t.exports=e.default})},kgN1:function(t,e,a){function i(t){a("shDe")}var n=a("VU/8")(a("txVD"),a("1ze/"),i,null,null);t.exports=n.exports},kjd8:function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e){t.type="button",t.props||(t.props={}),t.props.type=e};t.toButtonHandler=e})},"kl+Y":function(t,e){t.exports="data:image/png;base64,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"},kww3:function(t,e,a){function i(t){a("X/Av")}var n=a("VU/8")(a("vpa7"),a("Gn4+"),i,null,null);t.exports=n.exports},"l+e5":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("O6S8"),a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={data:function(){return{direction:"",tipStyle:""}},methods:{showTip:function(t){switch(this.direction=t,this.$refs.tip2.show(),t){case"bottom":this.tipStyle="left: 96px; top: -50px;";break;case"top":this.tipStyle="left: 96px; top: 40px;";break;case"right":this.tipStyle="left: -2px; top: -5px;";break;case"left":this.tipStyle="left: 190px; top: -5px;"}},close:function(){console.log("click close button")},clickHandler:function(){console.log("click tip area")}},components:{CubeButtonGroup:l.default,CubePage:c.default}},t.exports=e.default})},l43s:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-rate-item",class:{"cube-rate-item_active":t.index<=t.$parent.tempValue}},[t._t("default",[a("div",{staticClass:"cube-rate-item-def"})])],2)},staticRenderFns:[]}},lGNi:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"cube-tab-panel"},[t._t("default")],2)},staticRenderFns:[]}},lQMO:function(t,e,a){function i(t){a("yu2v")}var n=a("VU/8")(a("uE8O"),a("p8T3"),i,null,null);t.exports=n.exports},lVK7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("b1gV"),a("UFDc")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){n.installed||(n.installed=!0,l.forEach(function(e){e!==a.Radio&&e.install(t)}))}Object.defineProperty(e,"__esModule",{value:!0});var l=[a.Locale,a.Button,a.Loading,a.Tip,a.Toolbar,a.TabBar,a.TabPanels,a.Checkbox,a.CheckboxGroup,a.Checker,a.Radio,a.RadioGroup,a.Input,a.Textarea,a.Select,a.Switch,a.Rate,a.Validator,a.Upload,a.Form,a.Popup,a.Toast,a.Picker,a.CascadePicker,a.DatePicker,a.TimePicker,a.SegmentPicker,a.Dialog,a.ActionSheet,a.Drawer,a.ImagePreview,a.Scroll,a.Slide,a.IndexList,a.Swipe,a.Sticky,a.ScrollNav,a.ScrollNavBar,a.RecycleList],c={version:"1.12.30",install:n,BScroll:a.BetterScroll,createAPI:a.createAPI};l.forEach(function(t){var e=(0,i.processComponentName)(t,{firstUpperCase:!0});c[e]=t}),"undefined"!=typeof window&&window.Vue&&window.Vue.use(n),e.default=c,t.exports=e.default})},lVze:function(t,e,a){function i(t){a("q8rA")}var n=a("VU/8")(a("MNuz"),a("MY9j"),i,null,null);t.exports=n.exports},lWcp:function(t,e){},liwK:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("form",{ref:"form",staticClass:"cube-form",class:t.formClass,attrs:{action:t.action},on:{submit:t.submitHandler,reset:t.resetHandler}},[t._t("default",t._l(t.groups,function(t,e){return a("cube-form-group",{key:e,attrs:{fields:t.fields,legend:t.legend}})}))],2)},staticRenderFns:[]}},"m/LA":function(t,e,a){function i(t){a("CZnn")}var n=a("VU/8")(a("H+BD"),a("ZtZp"),i,null,null);t.exports=n.exports},m4tM:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-select",class:{"cube-select_active":t.active,"cube-select_disabled":t.disabled},on:{click:t.showPicker}},[t.selectedText?a("span",{staticClass:"cube-select-text"},[t._v(t._s(t.selectedText))]):a("span",{staticClass:"cube-select-placeholder"},[t._v(t._s(t._placeholder))]),t._v(" "),a("i",{staticClass:"cube-select-icon"})])},staticRenderFns:[]}},mNkZ:function(t,e){},mS3r:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-sticky"},[t._t("default"),t._v(" "),a("transition",{attrs:{name:t.fixedShowAni}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fixedShow,expression:"fixedShow"}],ref:"fixedEle",staticClass:"cube-sticky-fixed"},[t._t("fixed",null,{current:t.currentKey,index:t.currentIndex})],2)])],2)},staticRenderFns:[]}},"mY+Z":function(t,e){},mkLW:function(t,e,a){function i(t){a("9eEc")}var n=a("VU/8")(a("oVd1"),a("peAO"),i,null,null);t.exports=n.exports},mok4:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("3kPI"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(a),o=c(i),s=c(n),r=c(l);o.default.install=function(t){t.component(u.default.name,u.default),t.component(o.default.name,o.default),r.default.install(t),(0,s.default)(t,u.default)},o.default.Picker=u.default,e.default=o.default,t.exports=e.default})},mvDF:function(t,e,a){function i(t){a("AEue")}var n=a("VU/8")(a("UKcw"),a("jlIX"),i,null,null);t.exports=n.exports},nPBw:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a),n=["😀 😁 😂 🤣 😃 😄 ","🙂 🤗 🤩 🤔 🤨 😐 ","👆🏻 scroll up/down 👇🏻 ","😔 😕 🙃 🤑 😲 ☹️ ","🐣 🐣 🐣 🐣 🐣 🐣 ","👆🏻 scroll up/down 👇🏻 ","🐥 🐥 🐥 🐥 🐥 🐥 ","🤓 🤓 🤓 🤓 🤓 🤓 ","👆🏻 scroll up/down 👇🏻 ","🦔 🦔 🦔 🦔 🦔 🦔 ","🙈 🙈 🙈 🙈 🙈 🙈 ","👆🏻 scroll up/down 👇🏻 ","🚖 🚖 🚖 🚖 🚖 🚖 ","✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 ✌🏻 "];e.default={data:function(){return{scrollY:0,checkTop:!1,items:n.concat(),items2:n.concat(),items3:n.concat()}},methods:{scrollHandler:function(t){this.scrollY=t.currentTarget.scrollTop}},components:{CubePage:i.default}},t.exports=e.default})},nRLb:function(t,e){},nb3f:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("tx1y"),a("eZWf"),a("6KDq"),a("wIkl"),a("TMiY"),a("JgmB"),a("8jxs"),a("4xIg"),a("yB4N"),a("1H2N"),a("DXQ8"),a("m/LA"),a("hdAL"),a("Bhgd"),a("BH5X"),a("gYth"),a("zZ81"),a("p9oh"),a("ZiC1"),a("pmij"),a("5HTY"),a("YVqS"),a("AnsX"),a("AgjA"),a("W2Hj"),a("c7sT"),a("SW1b"),a("4BmD"),a("BHjP"),a("H61/"),a("UgWs"),a("JKih"),a("DD7W"),a("07pW"),a("Bf/j"),a("1btU"),a("kBQQ"),a("8F4S"),a("A5db"),a("Pe8L"),a("KrQh"),a("eE6y"),a("dTzF"),a("58Ml"),a("qWZY"),a("zI96"),a("VcN6"),a("DIVr"),a("UqhO"),a("eClu"),a("cQz5"),a("kgN1"),a("h8Kk"),a("uGVW"),a("7tZM"),a("QreJ"),a("91me"),a("U4Ng"),a("cSnO"),a("Cfx3"),a("8YJ/"),a("3jWI"),a("wnnB"),a("0MNC"),a("ZXOh"),a("UchT"),a("U8em"),a("6boj"),a("Ojzo"),a("KIfi"),a("YGd9"),a("a0bD"),a("mvDF"),a("UrdA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s,r,d,v,p,f,h,x,y,m,b,g,_,w,A,k,C,T,P,j,S,M,D,V,I,O,E,U,R,B,H,N,L,F,X,K,z,Y,G,Q,W,q,Z,J,$,tt,et,at,it,nt,lt,ct,ut,ot,st,rt,dt,vt,pt,ft,ht,xt,yt,mt,bt,gt,_t){"use strict";function wt(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var At=wt(a),kt=wt(i),Ct=wt(n),Tt=wt(l),Pt=wt(c),jt=wt(u),St=wt(o),Mt=wt(s),Dt=wt(r),Vt=wt(d),It=wt(v),Ot=wt(p),Et=wt(f),Ut=wt(h),Rt=wt(x),Bt=wt(y),Ht=wt(m),Nt=wt(b),Lt=wt(g),Ft=wt(_),Xt=wt(w),Kt=wt(A),zt=wt(k),Yt=wt(C),Gt=wt(T),Qt=wt(P),Wt=wt(j),qt=wt(S),Zt=wt(M),Jt=wt(D),$t=wt(V),te=wt(I),ee=wt(O),ae=wt(E),ie=wt(U),ne=wt(R),le=wt(B),ce=wt(H),ue=wt(N),oe=wt(L),se=wt(F),re=wt(X),de=wt(K),ve=wt(z),pe=wt(Y),fe=wt(G),he=wt(Q),xe=wt(W),ye=wt(q),me=wt(Z),be=wt(J),ge=wt($),_e=wt(tt),we=wt(et),Ae=wt(at),ke=wt(it),Ce=wt(nt),Te=wt(lt),Pe=wt(ct),je=wt(ut),Se=wt(ot),Me=wt(st),De=wt(rt),Ve=wt(dt),Ie=wt(vt),Oe=wt(pt),Ee=wt(ft),Ue=wt(ht),Re=wt(xt),Be=wt(yt),He=wt(mt),Ne=wt(bt),Le=wt(gt),Fe=wt(_t),Xe=[{path:"/button",component:At.default},{path:"/checkbox",component:kt.default},{path:"/checkbox-group",component:Ct.default},{path:"/checker",component:He.default},{path:"/radio",component:Tt.default},{path:"/input",component:Vt.default},{path:"/textarea",component:It.default},{path:"/switch",component:Pt.default},{path:"/form",component:Et.default,children:[{path:"default",component:Ut.default},{path:"custom",component:Rt.default},{path:"classic",component:Bt.default},{path:"fresh",component:Ht.default}]},{path:"/loading",component:jt.default},{path:"/tip",component:St.default},{path:"/toolbar",component:we.default},{path:"/popup",component:Mt.default},{path:"/toast",component:Dt.default},{path:"/rate",component:Ot.default},{path:"/picker",component:Nt.default},{path:"/cascade-picker",component:Lt.default},{path:"/segment-picker",component:Ft.default},{path:"/date-picker",component:Xt.default},{path:"/time-picker",component:Kt.default},{path:"/select",component:zt.default},{path:"/dialog",component:Yt.default},{path:"/action-sheet",component:Gt.default},{path:"/drawer",component:xe.default,children:[{path:"default",component:ye.default},{path:"custom",component:me.default}]},{path:"/image-preview",component:De.default,children:[{path:"multi-images-preview",component:Ve.default}]},{path:"/scroll",component:Qt.default,children:[{path:"default",component:Wt.default},{path:"config",component:qt.default},{path:"jd",component:Zt.default},{path:"horizontal",component:Jt.default},{path:"toutiao",component:$t.default},{path:"v-scrolls",component:te.default},{path:"h-scrolls",component:ee.default},{path:"textarea",component:ae.default}]},{path:"/index-list",component:ie.default,children:[{path:"default",component:ne.default},{path:"custom",component:le.default},{path:"pull-up-load",component:ce.default},{path:"pull-down-refresh",component:ue.default}]},{path:"/upload",component:oe.default,children:[{path:"default",component:se.default},{path:"compress",component:re.default},{path:"custom",component:de.default}]},{path:"/validator",component:ve.default},{path:"/swipe",component:pe.default,children:[{path:"default",component:fe.default},{path:"custom",component:he.default}]},{path:"/slide",component:be.default,children:[{path:"vertical",component:ge.default},{path:"horizontal",component:_e.default}]},{path:"/toolbar",component:we.default},{path:"/sticky",component:Ae.default,children:[{path:"scroll",component:ke.default},{path:"native",component:Ce.default},{path:"wechat",component:Te.default}]},{path:"/scroll-nav-bar",component:Pe.default},{path:"/scroll-nav",component:je.default,children:[{path:"default",component:Se.default},{path:"side",component:Me.default}]},{path:"/tab-bar",component:Ie.default,children:[{path:"tab-bar",component:Oe.default},{path:"scroll-tab",component:Be.default},{path:"tab",component:Ee.default,children:[{path:"basic",component:Ue.default},{path:"composite",component:Re.default}]}]},{path:"/recycle-list",component:Ne.default,children:[{path:"default",component:Le.default},{path:"tombstone",component:Fe.default}]}];e.default=Xe,t.exports=e.default})},neus:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper"},[a("cube-index-list",{attrs:{data:t.cityData,title:t.title},on:{select:t.selectItem,"title-click":t.clickTitle}})],1)])])])},staticRenderFns:[]}},niVN:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["mask-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},nlvd:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancel:"Cancel",confirm:"Confirm",ok:"OK",prev:"Prev",next:"Next",selectText:"Please select",now:"Now",selectTime:"Select time",today:"Today",formatDate:"M-D",hours:"",minutes:"",validator:{required:"Required.",type:{string:"Please input characters.",number:"Please input numbers.",array:"The data type should be array.",date:"Please select a valid date.",email:"Please input a valid E-mail.",tel:"Please input a valid telphone number.",url:"Please input a valid web site."},min:{string:"Please input at least {{config}} characters.",number:"The number could not smaller than {{config}}.",array:"Please select at least {{config}} items.",date:'Please select a date after {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input at least {{config}} characters.",tel:"Please input at least {{config}} characters.",url:"Please input at least {{config}} characters."},max:{string:"Please input no more than {{config}} characters.",number:"The number could not bigger than {{config}}",array:"Please select no more than {{config}} items",date:'Please select a date before {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input no more than {{config}} characters.",tel:"Please input no more than {{config}} characters.",url:"Please input no more than {{config}} characters."},len:{string:"Please input {{config}} characters.",number:"The length should equal {{config}}",array:"Please select {{config}} items",date:'Please select {{config | toLocaleDateString("yyyy-MM-dd")}}.',email:"Please input {{config}} characters.",tel:"Please input {{config}} characters.",url:"Please input {{config}} characters."},pattern:'The input don"t match pattern.',custom:"Invalid.",notWhitespace:"Whitespace is invalid."}},t.exports=e.default})},nocm:function(t,e){},nrl6:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("t3q3"),a("kAHR"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c);s.default.install=function(t){t.component(o.default.name,o.default),t.component(s.default.name,s.default),v.default.install(t),(0,d.default)(t,o.default),(0,r.default)(t,s.default)},s.default.Picker=o.default,e.default=s.default,t.exports=e.default})},"o/OE":function(t,e){t.exports=[{name:"★ Hot City",shortcut:"★",items:[{name:"BEIJING",value:1},{name:"SHANGHAI",value:2}]},{name:"A",items:[{name:"ANSHAN",value:3},{name:"ANQING",value:4}]},{name:"B",items:[{name:"BEIJING",value:1},{name:"BAYINGUOLENGZHOU",value:5},{name:"BOERTALAZHOU",value:6}]},{name:"C",items:[{name:"CHENGDU",value:7}]},{name:"E",items:[{name:"EERDUOSI",value:8},{name:"EZHOU",value:9},{name:"ENSHIZHOU",value:10}]},{name:"F",items:[{name:"FUZHOU",value:11},{name:"FOSHAN",value:12},{name:"FANGCHENGGANG",value:13}]},{name:"G",items:[{name:"GUANGZHOU",value:14},{name:"GUIYANG",value:15}]},{name:"H",items:[{name:"HANGZHOU",value:16},{name:"HETIANDIQU",value:17}]},{name:"Z",items:[{name:"ZHENGZHOU",value:18},{name:"ZHANGJIAKOU",value:19},{name:"ZHANGJIAJIE",value:20},{name:"ZHUHAI",value:21},{name:"ZHONGSHAN",value:22},{name:"ZIGONG",value:23},{name:"ZIYANG",value:24},{name:"ZHAOZHUANG",value:25},{name:"ZHOUSHAN",value:26},{name:"ZUNYI",value:27},{name:"ZIBO",value:28},{name:"ZHUZHOU",value:29},{name:"ZHONGWEI",value:30}]}]},oLGW:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("BD2p"),a("ZhPo"),a("AQXh")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);c.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},c.default.Btn=u.default,c.default.File=o.default,e.default=c.default,t.exports=e.default})},"oU/Y":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-upload-file",class:t.fileCls,on:{click:t.clickHandler}},[t._t("default",[a("div",{staticClass:"cube-upload-file-def",style:t.fileStyle},[a("i",{staticClass:"cubeic-wrong",on:{click:function(e){return e.stopPropagation(),t.removeFile(e)}}}),t._v(" "),a("div",{staticClass:"cube-upload-file-state",class:t.fileStatusCls},[a("i",{staticClass:"cube-upload-file-status",class:t.statusCls}),t._v(" "),a("span",{staticClass:"cube-upload-file-progress"},[t._v(t._s(t.fileProgress))])])])],{imgStyle:t.fileStyle,progress:t.fileProgress})],2)},staticRenderFns:[]}},oVd1:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-radio",inject:{radioGroup:{default:null}},props:{value:[String,Number],option:{type:[String,Object],required:!0},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},created:function(){var t=this,e=this.radioGroup;e&&(this.radioValue=e.radioValue,this._cancelWatchGroup=this.$watch(function(){return e.radioValue},function(e){t.radioValue=e}))},beforeDestroy:function(){this._cancelWatchGroup&&this._cancelWatchGroup(),this._cancelWatchGroup=null},watch:{value:function(t){this.radioValue=t},radioValue:function(t){"number"==typeof this.value&&(t=Number(t)),this.$emit("input",t),this.radioGroup&&(this.radioGroup.radioValue=t)}},computed:{computedOption:function(){var t=this.option;return"string"==typeof t?{value:t,label:t}:t},_containerClass:function(){var t=this.computedOption;return{"cube-radio-hollow":this.hollowStyle,"cube-radio_selected":this.radioValue===t.value,"cube-radio_disabled":t.disabled,"border-right-1px":this.$parent.horizontal}},_wrapClass:function(){var t=this.$parent;if(!(t.horizontal||t.$props.colNum>1))return"border-bottom-1px"}}},t.exports=e.default})},orqC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-drawer-move"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer-panel"},[a("div",{staticClass:"cube-drawer-scroll-wrapper"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.data}},[a("ul",{staticClass:"cube-drawer-list"},[t._t("default",t._l(t.data,function(t,e){return a("cube-drawer-item",{key:e,attrs:{item:t,index:e}})}))],2)])],1)])])},staticRenderFns:[]}},osO1:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("j9ag"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);l.default.localeMixin=c.default,e.default=l.default,t.exports=e.default})},p8T3:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-image-preview-fade"}},[a("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"image-preview","z-index":t.zIndex,center:!1}},[a("div",{staticClass:"cube-image-preview-container"},[a("div",{staticClass:"cube-image-preview-header"},[t._t("header",null,{current:t.currentPageIndex})],2),t._v(" "),t.isVisible?a("cube-slide",{ref:"slide",attrs:{data:t.imgs,"initial-index":t.currentPageIndex,"auto-play":!1,loop:t.loop,speed:t.speed,options:t.options},on:{change:t.slideChangeHandler}},[t._l(t.imgs,function(e,i){return a("cube-slide-item",{key:i},[a("div",{staticClass:"cube-image-preview-item",on:{click:t.itemClickHandler}},[a("cube-scroll",{ref:"items",refInFor:!0,attrs:{options:t.scrollOptions},nativeOn:{dblclick:function(e){t.dblclickHandler(i,e)}}},[a("img",{staticClass:"cube-image-preview-img",attrs:{src:e},on:{load:function(e){t.imgLoad(i)}}})])],1)])}),t._v(" "),a("template",{slot:"dots"},[a("i")])],2):t._e(),t._v(" "),a("div",{staticClass:"cube-image-preview-footer"},[t._t("footer",[a("span",{staticClass:"cube-image-preview-counter"},[t._v(t._s(t.currentPageIndex+1)+"/"+t._s(t.imgs.length))])],{current:t.currentPageIndex})],2)],1)])],1)},staticRenderFns:[]}},p9oh:function(t,e,a){var i=a("VU/8")(a("e3O1"),a("zFE9"),null,null,null);t.exports=i.exports},pAFF:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-textarea-wrapper",class:{"cube-textarea_expanded":t.expanded,"cube-textarea_active":t.isFocus}},[a("textarea",t._b({directives:[{name:"model",rawName:"v-model",value:t.textareaValue,expression:"textareaValue"}],ref:"input",staticClass:"cube-textarea",attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled},domProps:{value:t.textareaValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:t.changeHander,input:function(e){e.target.composing||(t.textareaValue=e.target.value)}}},"textarea",t.$props,!1)),t._v(" "),t.indicator?a("span",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"cube-textarea-indicator"},[t._v(t._s(t.indicatorConf.remain?t.remain:t.count))]):t._e()])},staticRenderFns:[]}},"pWL+":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("YlpP")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=c.default.goods;e.default={components:{CubePage:l.default},data:function(){return{data:u}},methods:{changeHandler:function(t){console.log("changed to:",t)}}},t.exports=e.default})},peAO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-radio",class:t._containerClass,attrs:{"data-pos":t.position}},[a("label",{staticClass:"cube-radio-wrap",class:t._wrapClass},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.radioValue,expression:"radioValue"}],staticClass:"cube-radio-input",attrs:{type:"radio",disabled:t.option.disabled},domProps:{value:t.computedOption.value,checked:t._q(t.radioValue,t.computedOption.value)},on:{change:function(e){t.radioValue=t.computedOption.value}}}),t._v(" "),t._m(0),t._v(" "),t._t("default",[a("span",{staticClass:"cube-radio-label"},[t._v(t._s(t.computedOption.label))])])],2)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"cube-radio-ui cubeic-round-border"},[a("i")])}]}},penI:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"cube-tip-zoom"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-tip",attrs:{"data-dir":t.direction},on:{click:t.handleClick}},[a("i",{ref:"angle",staticClass:"cube-tip-angle"}),t._v(" "),a("button",{staticClass:"cube-tip-close cubeic-close",on:{click:function(e){return e.stopPropagation(),t.close(e)}}}),t._v(" "),a("div",{staticClass:"cube-tip-content"},[t._t("default")],2)])])},staticRenderFns:[]}},piyO:function(t,e,a){function i(t){a("ijHb")}var n=a("VU/8")(a("9O6X"),a("sJPN"),i,null,null);t.exports=n.exports},"pjk/":function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("t7U9"),a("cL1+"),a("bh5B"),a("6liq"),a("QMhb"),a("kVGr")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(l),v=s(c),p=s(u),f=s(o),h=n.inBrowser&&window.innerHeight<=480?17:18,x=(0,i.prefixStyle)("transform");e.default={name:"cube-index-list",mixins:[p.default,f.default],props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},speed:{type:Number,default:0},navbar:{type:Boolean,default:!0},pullDownRefresh:{type:[Object,Boolean],default:void 0,deprecated:{replacedBy:"options"}},pullUpLoad:{type:[Object,Boolean],default:void 0,deprecated:{replacedBy:"options"}}},data:function(){return{scrollEvents:["scroll"],currentIndex:0,scrollY:-1,diff:-1,titleHeight:0}},computed:{hasTitle:function(){return this.title||this.$slots.title},fixedTitle:function(){return this.hasTitle&&!this.titleHeight&&this._caculateTitleHeight(),this.scrollY<=-this.titleHeight&&this.data[this.currentIndex]?this.data[this.currentIndex].name:""},shortcutList:function(){return this.data.map(function(t){return t?t.shortcut||t.name.substr(0,1):""})},scrollOptions:function(){return(0,r.default)({},{pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad},this.options)}},created:function(){this.groupList=[],this.listHeight=[],this.touch={},this.subTitleHeight=0},mounted:function(){var t=this;this.$nextTick(function(){t.refresh()})},methods:{refresh:function(){this._caculateTitleHeight(),this._calculateHeight(),this.$refs.scroll&&this.$refs.scroll.refresh()},selectItem:function(t){this.$emit("select",t)},scroll:function(t){this.scrollY=t.y},titleClick:function(){this.$emit("title-click",this.title)},forceUpdate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$refs.scroll.forceUpdate(e,a),e&&this.$nextTick(function(){t._calculateHeight()})},onShortcutTouchStart:function(t){var e=(0,i.getMatchedTarget)(t,"cube-index-list-nav-item");if(e){var a=(0,i.getData)(e,"index"),n=t.touches[0];this.touch.y1=n.pageY,this.touch.anchorIndex=a,this._scrollTo(a)}},onShortcutTouchMove:function(t){var e=t.touches[0];this.touch.y2=e.pageY;var a=(this.touch.y2-this.touch.y1)/h|0,i=parseInt(this.touch.anchorIndex)+a;this._scrollTo(i)},onPullingUp:function(){this.$emit("pulling-up")},onPullingDown:function(){this.$emit("pulling-down")},_caculateTitleHeight:function(){this.titleHeight=this.$refs.title?(0,i.getRect)(this.$refs.title).height:0},_calculateHeight:function(){this.groupList=this.$el.getElementsByClassName("cube-index-list-group");var t=this.$el.getElementsByClassName("cube-index-list-anchor")[0];if(this.subTitleHeight=t?(0,i.getRect)(t).height:0,this.listHeight=[],this.groupList){var e=this.titleHeight;this.listHeight.push(e);for(var a=0;athis.listHeight.length-2&&(t=this.listHeight.length-2),this.$refs.scroll.scrollToElement(this.groupList[t],this.speed),this.scrollY=this.$refs.scroll.scroll.y}},watch:{data:function(){var t=this;this.$nextTick(function(){t._calculateHeight()})},title:function(t){var e=this;this.$nextTick(function(){e.refresh()})},diff:function(t){var e=t>0&&t-this.titleHeight)return void(this.currentIndex=0);for(var a=0;a=i&&-t0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=n&&n.base64||"";return{name:t,size:e,url:c?"":l(n),base64:c,status:a,progress:i,file:n}}function l(t){return t&&u?u.createObjectURL(t):""}function c(t){if("function"==typeof t){for(var e=arguments.length,a=Array(e>1?e-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{},i=a.type,n=void 0===i?"Event":i,l=a.bubbles,c=void 0===l||l,u=a.cancelable,o=void 0===u||u,s=document.createEvent(n);s.initEvent(e,c,o),t.dispatchEvent(s)}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=a,t.addClass=i,t.removeClass=n,t.getData=l,t.getRect=c,t.prefixStyle=u,t.getMatchedTarget=o,t.dispatchEvent=s;var r=function(){if(!e.inBrowser)return!1;var t=document.createElement("div").style,a={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(var i in a)if(void 0!==t[a[i]])return i;return!1}()})},tEcF:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("mkLW"),a("0I1X")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={name:"cube-radio-group",mixins:[c.default],provide:function(){return{radioGroup:this}},props:{value:[String,Number],options:{type:Array,default:function(){return[]}},position:{type:String,default:"left"},horizontal:{type:Boolean,default:!1},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},watch:{value:function(t){this.radioValue=t},radioValue:function(t){this.$emit("input",t)}},computed:{_groupClass:function(){if(!this.horizontal)return"border-top-1px border-bottom-1px"}},components:{CubeRadio:l.default}},t.exports=e.default})},tJl4:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={STANDARD:"standard",CLASSIC:"classic",FRESH:"fresh"};e.default=a,t.exports=e.default})},tNeh:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("VzLe"),a("JBFj"),a("kAHR"),a("t3q3"),a("C2tW"),a("j9ag")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(a),d=s(i),v=s(n),p=s(l),f=s(c),h=s(u),x=s(o);v.default.install=function(t){t.component(r.default.name,r.default),t.component(d.default.name,d.default),t.component(v.default.name,v.default),x.default.install(t),(0,p.default)(t,r.default),(0,f.default)(t,d.default),(0,h.default)(t,v.default)},v.default.Picker=r.default,d.default.Picker=r.default,v.default.CascadePicker=d.default,e.default=v.default,t.exports=e.default})},tYAf:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"cube-index-list-group"},[a("h2",{staticClass:"cube-index-list-anchor",domProps:{innerHTML:t._s(t.group.name)}}),t._v(" "),a("ul",[t._t("default",t._l(t.group.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e},on:{select:t.selectItem}})}))],2)])},staticRenderFns:[]}},tspx:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("t7U9"),a("4BV0"),a("+rJ6")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=(0,a.prefixStyle)("transform"),c=(0,a.prefixStyle)("transitionProperty"),u=(0,a.prefixStyle)("transitionDuration"),o=(0,a.prefixStyle)("transitionTimingFunction");e.default={name:"cube-swipe-item",inject:["swipe"],props:{item:{type:Object,default:function(){return{}}},btns:{type:Array,default:function(){return[]}},index:{type:Number,index:-1},autoShrink:{type:Boolean,default:!1}},watch:{btns:function(){var t=this;this.$nextTick(function(){t.refresh()})}},created:function(){this.x=0,this.state=0,this.swipe.addItem(this)},mounted:function(){var t=this;this.scrollerStyle=this.$refs.swipeItem.style,this.$nextTick(function(){t.refresh()}),this.$on("scroll",this._handleBtns)},methods:{_initCachedBtns:function(){this.cachedBtns=[];for(var t=this.$refs.btns.length,e=0;e=0){a=!0;break}e=e.parentNode}return a},_calculateBtnsWidth:function(){for(var t=0,e=this.cachedBtns.length,a=0;a0&&void 0!==arguments[0]?arguments[0]:"transform";this.scrollerStyle[c]=t},_transitionTimingFunction:function(t){this.scrollerStyle[o]=t},_transitionTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.scrollerStyle[u]=t+"ms"},_getComputedPositionX:function(){var t=window.getComputedStyle(this.$refs.swipeItem,null);return t=t[l].split(")")[0].split(", "),+(t[12]||t[4])},_translateBtns:function(t,e,a){if(0!==this.btns.length)for(var i=this.$refs.btns.length,n=0,s=0,r=0;r0&&(this._initCachedBtns(),this._calculateBtnsWidth()),this.endTime=0},shrink:function(){var t=this;this.stop(),this.state=0,this.$nextTick(function(){t.scrollTo(0,600,i.easeOutQuart),t._translateBtns(600,i.easeOutQuart)})},grow:function(){this.state=1;var t=this.x300&&l<15)){this.movingDirectionX=a>0?-1:a<0?1:0;var u=this.x+a;u>0&&(u=0),u300&&(this.startTime=c,this.startX=this.x),this.$emit("scroll",this.x)}}}},onTouchEnd:function(){if(this.moved){if(-1===this.movingDirectionX)return void this.shrink();this.endTime=(0,n.getNow)();var t=this.endTime-this.startTime,e=Math.abs(this.x-this.startX);t<300&&e>15||this.x=0&&this.currentPageIndex!==t){var e=this.$refs.items[this.currentPageIndex];if(e){var a=e.scroll;1!==a.scale&&(a.scale=1,a.lastcale=1,a.refresh())}}this.currentPageIndex=t},slideChangeHandler:function(t){this.setPageIndex(t),this.slideScrollEndHandler(),this.$emit("change",t)},slideScrollStartHandler:function(){var t=this.$refs.slide.slide;this._scrolling&&!this._hasEnableSlide?t.disable():t.enable()},slideScrollEndHandler:function(){var t=this;this.$refs.items.forEach(function(e){t.scrollEndHandler(e.scroll)})},_scroll:function(t){var e=this.$refs.slide.slide;e.disable(),e.refresh(),t.enable()},_slide:function(t){this.$refs.slide.slide.enable(),t.disable()},beforeScrollHandler:function(){clearTimeout(this.enableSlideTid)},scrollEndHandler:function(t){var e=this;clearTimeout(this.enableSlideTid),this.dblZooming&&(this.dblZooming=!1,clearTimeout(this.clickTid)),this._hasEnableSlide=!1,this._scrolling=!1,t.enable(),this.enableSlideTid=setTimeout(function(){e.$refs.slide.slide.enable()})},checkBoundary:function(t,e){if(t.distX&&Math.abs(t.distX)>Math.abs(t.distY)){this._scrolling=!0;(t.distX>0?e.x>=t.minScrollX:e.x<=t.maxScrollX)?(this._hasEnableSlide=!0,this._slide(t)):this._hasEnableSlide||this._scroll(t)}else t.distY&&(this._scrolling=!0,this._scroll(t))},zoomStartHandler:function(t){this._scroll(t)},dblclickHandler:function(t,e){var a=this.$refs.items[t].scroll;this.dblZooming=!0,this.zoomTo(a,a.scale>1?1:2,e),a.disable()},itemClickHandler:function(){var t=this;clearTimeout(this.clickTid),this.clickTid=setTimeout(function(){!t.dblZooming&&t.hide()},this.scrollOptions.bounceTime)},zoomTo:function(t,e,a){t.zoomTo(e,a.pageX,a.pageY)}},components:{CubePopup:r.default,CubeSlide:d.default,CubeSlideItem:v.default,CubeScroll:p.default}},t.exports=e.default})},uGVW:function(t,e,a){function i(t){a("deRs")}var n=a("VU/8")(a("C/e8"),a("yADO"),i,null,null);t.exports=n.exports},uN5Q:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-custom",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Use slots: ")]),t._v(" "),a("div",{staticClass:"upload-view-custom-main"},[a("cube-upload",{ref:"upload",attrs:{action:t.action},on:{"files-added":t.addedHandler,"file-error":t.errHandler},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}},[a("div",{staticClass:"clear-fix"},[t._l(t.files,function(t,e){return a("cube-upload-file",{key:e,attrs:{file:t}})}),t._v(" "),a("cube-upload-btn",{attrs:{multiple:!1}},[a("div",[a("i",[t._v("+")]),t._v(" "),a("p",[t._v("Please click to upload ID card")])])])],2)])],1)])],2)},staticRenderFns:[]}},uYby:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={},t.exports=e.default})},ulou:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("o/OE")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i);e.default={components:{CubePage:l.default},data:function(){return{title:"Current City: BEIJING",cityData:c.default}},methods:{selectItem:function(t){console.log(t.name)},clickTitle:function(t){console.log(t)}}},t.exports=e.default})},umxa:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/swipe/"+t)}}},t.exports=e.default})},uqUP:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cube-slide-item"},[t._t("default",[a("a",{attrs:{href:t.item.url}},[a("img",{attrs:{src:t.item.image}})])])],2)},staticRenderFns:[]}},uwC9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"index-list",title:"IndexList"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("div",{staticClass:"index-list-wrapper custom"},[a("cube-index-list",{attrs:{data:t.singerData},scopedSlots:t._u([{key:"nav-item",fn:function(e){return a("span",{staticClass:"custom-nav-item"},[t._v(t._s(e.item))])}}])},t._l(t.singerData,function(e,i){return a("cube-index-list-group",{key:i,attrs:{group:e}},t._l(e.items,function(e,i){return a("cube-index-list-item",{key:i,attrs:{item:e},on:{select:t.selectItem}},[a("div",{staticClass:"custom-item"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"item.avatar"}],staticClass:"avatar"}),t._v(" "),a("span",{staticClass:"name"},[t._v(t._s(e.name))])])])}))}))],1)])])])},staticRenderFns:[]}},uzcz:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"swipeItem",staticClass:"cube-swipe-item",on:{transitionend:t.onTransitionEnd,touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd}},[t._t("default",[a("div",{staticClass:"cube-swipe-item-inner border-bottom-1px",on:{click:t.clickItem}},[a("span",[t._v(t._s(t.item.text))])])]),t._v(" "),a("ul",{staticClass:"cube-swipe-btns"},t._l(t.btns,function(e){return a("li",{ref:"btns",refInFor:!0,staticClass:"cube-swipe-btn",style:t.genBtnStyl(e),on:{click:function(a){a.preventDefault(),t.clickBtn(e)}}},[a("span",{staticClass:"text"},[t._v(t._s(e.text))])])}))],2)},staticRenderFns:[]}},v4hj:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("qqiS"),a("suVo"),a("4Kqh")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);u.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),(0,o.default)(t,u.default)},u.default.Loading=c.default,e.default=u.default,t.exports=e.default})},v4qp:function(t,e){},vEm4:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("div",{staticClass:"title"},[t._v("horizontal Demo")]),t._v(" "),a("cube-scroll",{ref:"scroll",staticClass:"horizontal-scroll-list-wrap",attrs:{data:t.items,direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},t._l(t.items,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}))])],1)])])},staticRenderFns:[]}},vJ9C:function(t,e,a){function i(t){a("IuA7")}var n=a("VU/8")(a("wLKS"),a("FK47"),i,null,null);t.exports=n.exports},vLxS:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("XPXN"),a("O6S8"),a("Mr73")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={components:{CubePage:c.default,CubeButtonGroup:u.default,CubeView:o.default},methods:{goTo:function(t){this.$router.push("/tab-bar/tab/"+t)}}},t.exports=e.default})},vfhA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"form-def",title:"Form 表单"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-form",{attrs:{model:t.model,schema:t.schema,"immediate-validate":!1,options:t.options},on:{validate:t.validateHandler,submit:t.submitHandler,reset:t.resetHandler}}),t._v(" "),a("json-view",{attrs:{title:"model",data:t.model}}),t._v(" "),a("json-view",{attrs:{title:"validity",data:t.validity}})],1)])},staticRenderFns:[]}},vhte:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";function i(t,e){(0,n.default)(t,e,["select","cancel"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},vpa7:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("Gu7T"),a("GQaK"),a("PzHl"),a("Z5VE"),a("d64j"),a("yIJW"),a("wih/"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var d=r(a),v=r(i),p=r(n),f=r(l),h=r(c),x=r(u),y=r(o),m=r(s);e.default={name:"cube-picker",mixins:[f.default,h.default,x.default,y.default,m.default],props:{pending:{type:Boolean,default:!1}},data:function(){return{finalData:this.data.slice()}},created:function(){this._values=[],this._indexes=this.selectedIndex},methods:{confirm:function(){if(this._canConfirm()){this.hide();var t=!1,e=[],a=this.finalData.length,i=this._values.length;i!==a&&(t=!0,i>a&&(this._values.length=this._indexes.length=a));for(var n=0;nt){this.wheels.splice(t).forEach(function(t){t.destroy()})}},_canConfirm:function(){return!this.pending&&this.wheels.every(function(t){return!t.isInTransition})},_getFlexOrder:function(t){return t[0]?t[0][this.orderKey]:0}},beforeDestroy:function(){this.wheels&&this.wheels.forEach(function(t){t.destroy()}),this.wheels=null},components:{CubePopup:p.default}},t.exports=e.default})},w3NF:function(t,e){},wIkl:function(t,e,a){function i(t){a("EKZ3")}var n=a("VU/8")(a("hC+w"),a("0XpD"),i,null,null);t.exports=n.exports},wKxo:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"demo"},[a("cube-scroll",{ref:"scroll",staticClass:"outer-horizontal-scroll",attrs:{data:t.items1,direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},[t._l(t.items1,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}),t._v(" "),a("li",{staticClass:"list-item inner-horizontal-scroll"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.items2,nestMode:"free",direction:"horizontal"}},[a("ul",{staticClass:"list-wrapper"},t._l(t.items2,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])}))])],1),t._v(" "),t._l(t.items1,function(e){return a("li",{staticClass:"list-item"},[t._v(t._s(e))])})],2)])],1)])])},staticRenderFns:[]}},wLKS:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("woOf"),a("VKJd"),a("GQaK"),a("QMhb"),a("kVGr")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=u(a),s=u(i),r=u(n),d=u(l),v=u(c),p={momentum:!1,click:!0,observeDOM:!1,bounce:!1};e.default={name:"cube-slide",mixins:[d.default,v.default],props:{data:{type:Array,default:function(){return[]}},initialIndex:{type:Number,default:0},loop:{type:Boolean,default:!0},threshold:{type:Number,default:.3},speed:{type:Number,default:400},autoPlay:{type:Boolean,default:!0},interval:{type:Number,default:4e3},showDots:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"},allowVertical:{type:Boolean,default:void 0,deprecated:{replacedBy:"options"}},stopPropagation:{type:Boolean,default:void 0,deprecated:{replacedBy:"options"}},refreshResetCurrent:{type:Boolean,default:!0}},data:function(){return{dots:0,currentPageIndex:this.initialIndex||0}},created:function(){var t=this;this._dataWatchers=[],["data","loop","autoPlay","options.eventPassthrough","threshold","speed","allowVertical"].forEach(function(e){t._dataWatchers.push(t.$watch(e,function(){"data"===e&&t._destroy(),t.$nextTick(function(){t.refresh()})}))})},watch:{initialIndex:function(t){t!==this.currentPageIndex&&this._goToPage(t)}},methods:{clickItem:function(t,e){this.$emit("click",t,e)},refresh:function(){null!==this.slide&&(this._destroy(),clearTimeout(this._timer),this.slide&&this.refreshResetCurrent&&(this.currentPageIndex=0),this._updateSlideDom(),this.showDots&&this._initDots(),this.currentPageIndex>=this.dots.length&&(this.currentPageIndex=this.dots.length-1),this._initSlide(),this.autoPlay&&this._play())},_destroy:function(){this.slide&&this.slide.destroy()},_refresh:function(){this._updateSlideDom(!0),this.slide.refresh()},_updateSlideDom:function(t){this._setSlideStyle(t)},_setSlideStyle:function(t){this.children=this.$refs.slideGroup.children;for(var e="horizontal"===this.direction?"width":"height",a=0,i=this.$refs.slide["client"+(e[0].toUpperCase()+e.slice(1))],n=this.children.length,l=0;l1&&(a+=2*i),this.$refs.slideGroup.style[e]=a+"px"},_initSlide:function(){var t=this,e="horizontal"===this.direction&&this.allowVertical?"vertical":"",a=(0,o.default)({},p,{scrollX:"horizontal"===this.direction,scrollY:"vertical"===this.direction,eventPassthrough:e,snap:{loop:this.loop,threshold:this.threshold,speed:this.speed},stopPropagation:this.stopPropagation},this.options);this.slide=new r.default(this.$refs.slide,a),this.slide.on("scrollEnd",this._onScrollEnd),this._goToPage(this.currentPageIndex,0),this.options.listenScroll&&3===this.options.probeType&&this.slide.on("scroll",this._onScroll);var i=this.$refs.slide;i.removeEventListener("touchend",this._touchEndEvent,!1),this._touchEndEvent=function(){t.autoPlay&&t._play()},i.addEventListener("touchend",this._touchEndEvent,!1),this.slide.on("beforeScrollStart",function(){t.autoPlay&&clearTimeout(t._timer)})},_onScrollEnd:function(){var t=this.slide.getCurrentPage(),e=t.pageX,a=t.pageY,i="horizontal"===this.direction?e:a;this.currentPageIndex!==i&&(this.currentPageIndex=i,this.$emit("change",i)),this.$emit("scroll-end",i),this.autoPlay&&this._play()},_onScroll:function(t){this.$emit("scroll",t)},_initDots:function(){this.dots=new Array(this.children.length)},_play:function(){var t=this;clearTimeout(this._timer),this._timer=setTimeout(function(){t.slide.next()},this.interval)},_deactivated:function(){clearTimeout(this._timer),clearTimeout(this._resizeTimer),window.removeEventListener("resize",this._resizeHandler);var t=this.$refs.slide;t&&t.removeEventListener("touchend",this._touchEndEvent,!1)},_resizeHandler:function(){var t=this;this.slide&&(clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(function(){t.slide.isInTransition?t._onScrollEnd():t.autoPlay&&t._play(),t._refresh()},60))},_goToPage:function(t,e){"horizontal"===this.direction?this.slide&&this.slide.goToPage(t,0,e):"vertical"===this.direction&&this.slide&&this.slide.goToPage(0,t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.refresh()}),window.addEventListener("resize",this._resizeHandler)},activated:function(){this.autoPlay&&this._play(),window.addEventListener("resize",this._resizeHandler)},deactivated:function(){this._deactivated()},destroyed:function(){this._deactivated(),this._destroy(),this.slide=null,this._dataWatchers.forEach(function(t){t()}),this._dataWatchers=null},components:{CubeSlideItem:s.default}},t.exports=e.default})},wOxr:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("gLZT"),a("XRNA")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t,e){(0,l.default)(t,e,["select","cancel","change"]).before(function(t,e,a){a&&(0,i.tip)("TimePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var l=function(t){return t&&t.__esModule?t:{default:t}}(a);t.exports=e.default})},wT65:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bh5B")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(a);i.default.install=function(t){t.component(i.default.name,i.default)},e.default=i.default,t.exports=e.default})},wYaX:function(t,e){},waH8:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("kww3"),a("Z5VE"),a("d64j"),a("yIJW"),a("wih/"),a("4KJe")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n,l,c,u){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(a),r=o(i),d=o(n),v=o(l),p=o(c),f=o(u);e.default={name:"cube-cascade-picker",mixins:[r.default,d.default,v.default,p.default,f.default],props:{async:{type:Boolean,default:!1}},data:function(){return{cascadeData:this.data.slice(),pickerSelectedIndex:this.selectedIndex.slice(),pickerData:[],pending:!1}},created:function(){this._updatePickerData()},methods:{setData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.pending=!1,this.cascadeData=t.slice(),this.pickerSelectedIndex=e.slice(),this._updatePickerData()},_pickerSelect:function(t,e,a){this.$emit("select",t,e,a)},_pickerCancel:function(){this.$emit("cancel")},_pickerChange:function(t,e){e!==this.pickerSelectedIndex[t]&&(this.pickerSelectedIndex.splice(t,1,e),this.async?this.pending=t!==this.pickerData.length-1:this._updatePickerData(t+1)),this.$emit("change",t,e)},_updatePickerData:function(){for(var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=this.cascadeData,i=0;a;)i>=e&&function(){var n=[];a.forEach(function(e){n.push({value:e[t.valueKey],text:e[t.textKey],order:e[t.orderKey]})}),t.pickerData[i]=n,t.pickerSelectedIndex[i]=0===e?t.pickerSelectedIndex[i].5?t.items.unshift(h[1]):t.$refs.scroll.forceUpdate()},1e3)},onPullingUp:function(){var t=this;setTimeout(function(){if(Math.random()>.5){var e=h.slice(0,5);t.items=t.items.concat(e)}else t.$refs.scroll.forceUpdate()},1e3)},updatePullDownRefresh:function(t){this.pullDownRefresh=t},updatePullDownRefreshThreshold:function(t){this.pullDownRefreshThreshold=t},updatePullDownRefreshTxt:function(t){this.pullDownRefreshTxt=t},updatePullUpLoad:function(t){this.pullUpLoad=t},updatePullUpLoadThreshold:function(t){this.pullUpLoadThreshold=t},updatePullUpLoadMoreTxt:function(t){this.pullUpLoadMoreTxt=t},updatePullUpLoadNoMoreTxt:function(t){this.pullUpLoadNoMoreTxt=t},updateCustomPullDown:function(t){this.customPullDown=t},rebuildScroll:function(){var t=this;s.default.nextTick(function(){t.$refs.scroll.destroy(),t.$refs.scroll.initScroll()})}}},t.exports=e.default})},xUY6:function(t,e,a){function i(t){a("Bd0C")}var n=a("VU/8")(a("EF6b"),a("l43s"),i,null,null);t.exports=n.exports},"xV+0":function(t,e,a){var i,n,l;!function(a,c){n=[e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FOLLOWERS_DATA=[{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:1,question:"你可以左右滑动内容区域",answers:445,followers:1366},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:2,question:"你可以左右滑动内容区域",answers:67,followers:18},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:110,followers:1827},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:8,followers:200},{name:"嵇智",avatar:"data:image/jpeg;base64,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",postTime:3,question:"你可以左右滑动内容区域",answers:7,followers:29}],t.RECOMMEND_DATA=[{question:"你可以左右滑动内容区域。",content:"你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域",answers:21,followers:2910},{question:"男生如何看待胖胖的女孩子?",content:"你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。你可以左右滑动内容区域。然后出现如下对话: 他这么认真但是我真的严肃不起来,甚至有点想笑,莫名戳中萌点 (๑^o^๑) ———————————————————跑题啦,跑题啦,但是忍不住想说一下",answers:398,followers:10009},{question:"你最喜欢的句子是?",content:"1.无论走到哪儿,都没有必要那么着急,这条路很长,你不用这么快走完,你也不用担心,害怕,不要被眼前暂时的幻想迷住了眼睛,只管放心下来,踏踏实实地大胆迈步走,心立得住,身体才不会倾倒。我告诉你我喜欢你,并不是一定要和你在一起,只是希望今后的你。",answers:88,followers:1726},{question:"如何看待《权力的游戏》中的「泰温·兰尼斯特」?",content:"让楼上那些吹捧泰温的去维斯特洛种几天地,就知道泰温大人有多伟大了。“俺开了……以前俺开了……以前俺开了家酒馆,大人,在榭尔,就在石桥旁边。大家都说俺酿的麦酒是颈泽以南最好的,大人,请您见谅。可是大人,现在全都没了。他们进来喝饱以后又把剩下…",answers:62,followers:3940}],t.HOT_DATA=[{sequence:"01",label:"置顶",question:"了不起的新时代:世界竞争中的中国奇迹"},{sequence:"02",label:"4017万热度",question:"男性怎样不算「幼稚」?"},{sequence:"03",label:"587万热度",question:"有哪些视频让你突然感到恋爱了?"},{sequence:"04",label:"530万热度",question:"相亲见到前女友是一种怎样的体验?"},{sequence:"05",label:"536万热度",question:"哪个瞬间你觉得你的宠物爱上了你?"},{sequence:"06",label:"380万热度",question:"如果把四大名著的故事连成一串,会怎么样?"},{sequence:"07",label:"317万热度",question:"唱歌跑调的原因到底是什么?"},{sequence:"08",label:"280万热度",question:"高考之后,人生转弯"}],t.ALL_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"}],t.MELEE_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"大地之灵",avatar:"http://dota2dbpic.uuu9.com/e037c631-cddd-41e1-899d-36db1a7d3df5legion_commander_full.png"},{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"巨牙海民",avatar:"http://dota2dbpic.uuu9.com/970edd19-f2bb-40b5-b9d9-8b2d31a3cf03Tusk.gif"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"虚空假面",avatar:"http://dota2dbpic.uuu9.com/6add3463-d86a-43d8-ab96-b4211dcc3cacfv.jpg"},{name:"鱼人夜行者",avatar:"http://dota2dbpic.uuu9.com/739da86d-40e9-4e07-b48f-1a03a8a8a3e0sg.jpg"},{name:"地卜师",avatar:"http://dota2dbpic.uuu9.com/c86c22f9-5f71-4e2f-be85-591a685ec500meepo.jpg"},{name:"幽鬼",avatar:"http://dota2dbpic.uuu9.com/56d8d3f3-9c6b-429a-aace-226d5e7bd524tb.jpg"},{name:"幻影刺客",avatar:"http://dota2dbpic.uuu9.com/3fa185dd-95f5-4f9c-85aa-36b42b80e8bapa.jpg"},{name:"半人猛犸",avatar:"http://dota2dbpic.uuu9.com/3dcc13b7-cd12-46bc-8884-693aaa6ddc12123456.jpg"},{name:"司夜刺客",avatar:"http://dota2dbpic.uuu9.com/536d63ab-25a6-4b88-b052-2f20add0b32dNA.jpg"},{name:"不朽尸王",avatar:"http://dota2dbpic.uuu9.com/2946d072-dde3-4791-9385-d06f8bbd2d5aUndying.jpg"},{name:"育母蜘蛛",avatar:"http://dota2dbpic.uuu9.com/aeaa2836-ef80-4ec2-b3e0-a52a318887c1br.jpg"},{name:"混沌骑士",avatar:"http://dota2dbpic.uuu9.com/032f1369-e1cd-4279-8412-89666c21e1941234567.jpg"},{name:"血魔",avatar:"http://dota2dbpic.uuu9.com/530e6ca3-d04f-41b8-891d-b3ac021c9ee2bs.jpg"},{name:"狼人",avatar:"http://dota2dbpic.uuu9.com/9d8d4257-9f31-4bac-8054-e05e4ba573291234.jpg"},{name:"裂魂人",avatar:"http://dota2dbpic.uuu9.com/71821a46-b435-4845-8226-2f66853c5370123.png"},{name:"末日使者",avatar:"http://dota2dbpic.uuu9.com/28ecc276-5596-4fd6-ab3f-0a265afd8e77123456.png"},{name:"暗夜魔王",avatar:"http://dota2dbpic.uuu9.com/23f78a12-62cd-4b0a-9757-1be4fa94f9c5123456.png"},{name:"噬魂鬼",avatar:"http://dota2dbpic.uuu9.com/aa4f2d3d-c660-48b3-b931-74ce10fdfc721.jpg"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"兽王",avatar:"http://dota2dbpic.uuu9.com/523a7780-04aa-4b55-bc69-f46d4f37fff900.jpg"},{name:"骷髅王",avatar:"http://dota2dbpic.uuu9.com/bd925caa-6b96-4a08-9748-a19e8fe7c927wraith_king_hphover.png"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"鱼人守卫",avatar:"http://dota2dbpic.uuu9.com/d1e5938a-b248-45f0-9123-d6cf0be97c6bslardar_full.png"},{name:"流浪剑客",avatar:"http://dota2dbpic.uuu9.com/2bb589ad-9fa2-4093-8ec9-c2fcd12d14dc00.jpg"},{name:"沙王",avatar:"http://dota2dbpic.uuu9.com/0ae7f51a-4cca-43cb-9a7f-5d6b5ba5401612345.png"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"},{name:"敌法师",avatar:"http://dota2dbpic.uuu9.com/310d3227-3e5f-4132-bc93-8afac9d0d123am.gif"},{name:"斧王",avatar:"http://dota2dbpic.uuu9.com/09e8f2f6-4fa7-4870-ac05-7fb7f44510fafuwang.png"}],t.REMOTE_HEROES=[{name:"神谕者",avatar:"http://dota2dbpic.uuu9.com/2b1dc7ac-2c86-43f2-b743-61f53421bef814111513531135518.jpg"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"凤凰",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"炸弹人",avatar:"http://dota2dbpic.uuu9.com/255d33dc-f4ff-4ba3-87c9-0da0318676c82.png"},{name:"天怒法师",avatar:"http://dota2dbpic.uuu9.com/bc683519-2524-4323-b275-b11218259ae1Skywrath_Mage.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"沉默术士",avatar:"http://dota2dbpic.uuu9.com/255b198c-2a79-4376-b08f-b3a1783604ae00.jpg"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"光之守卫",avatar:"http://dota2dbpic.uuu9.com/bd53f004-dcc9-4110-88e8-01736209f2b6kotl.gif"},{name:"大魔导师",avatar:"http://dota2dbpic.uuu9.com/383f337c-3370-4d28-8443-081f5e95ce24gm.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"}],t.SUPPORT_HEROES=[{name:"地狱领主",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"凤凰",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"食人魔魔法师",avatar:"http://dota2dbpic.uuu9.com/7e5bbdf7-5b84-4822-90a9-8af67e46ad1c00.jpg"},{name:"沉默术士",avatar:"http://dota2dbpic.uuu9.com/255b198c-2a79-4376-b08f-b3a1783604ae00.jpg"},{name:"圣骑士",avatar:"http://dota2dbpic.uuu9.com/ff1c3144-67cc-40e0-a08c-e86111eaca4000.jpg"},{name:"光之守卫",avatar:"http://dota2dbpic.uuu9.com/bd53f004-dcc9-4110-88e8-01736209f2b6kotl.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"极寒幽魂",avatar:"http://dota2dbpic.uuu9.com/90fc8779-b850-47b4-8339-c76be659c645aa.jpg"},{name:"暗影牧师",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"水晶室女",avatar:"http://dota2dbpic.uuu9.com/0e06d8cf-5e9a-4c9c-b137-15fc301bee4ccm.gif"},{name:"术士",avatar:"http://dota2dbpic.uuu9.com/fbd48581-1c31-4077-8959-1ec0aae04eebwl.gif"},{name:"谜团",avatar:"http://dota2dbpic.uuu9.com/8761a23f-3238-43bf-bb03-5ecb892a4139Enigma.gif"},{name:"巫医",avatar:"http://dota2dbpic.uuu9.com/793a1a57-0fea-4395-aa86-5add327b337fwd.gif"}],t.MAGIC_HEROES=[{name:"神谕者",avatar:"http://dota2dbpic.uuu9.com/2b1dc7ac-2c86-43f2-b743-61f53421bef814111513531135518.jpg"},{name:"炸弹人",avatar:"http://dota2dbpic.uuu9.com/255d33dc-f4ff-4ba3-87c9-0da0318676c82.png"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"极寒幽魂",avatar:"http://dota2dbpic.uuu9.com/90fc8779-b850-47b4-8339-c76be659c645aa.jpg"},{name:"暗影牧师",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"风行者",avatar:"http://dota2dbpic.uuu9.com/8fe40b5e-58d2-491c-847d-6564e6a0a9b2WR.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"},{name:"仙女龙",avatar:"http://dota2dbpic.uuu9.com/3271d9a8-de10-4c25-9dff-52ca243c3654puck.gif"},{name:"遗忘法师",avatar:"http://dota2dbpic.uuu9.com/58a4b73c-882e-4e4d-9d5c-9499733f360dpugna.gif"},{name:"水晶室女",avatar:"http://dota2dbpic.uuu9.com/0e06d8cf-5e9a-4c9c-b137-15fc301bee4ccm.gif"}],t.JUNGLE_HEROES=[{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"圣骑士",avatar:"http://dota2dbpic.uuu9.com/ff1c3144-67cc-40e0-a08c-e86111eaca4000.jpg"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"狼人",avatar:"http://dota2dbpic.uuu9.com/9d8d4257-9f31-4bac-8054-e05e4ba573291234.jpg"},{name:"斧王",avatar:"http://dota2dbpic.uuu9.com/09e8f2f6-4fa7-4870-ac05-7fb7f44510fafuwang.png"}],t.GANK_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"},{name:"宙斯",avatar:"http://dota2dbpic.uuu9.com/7be0f49d-6287-4278-9ff0-a42bbd7956cfzeus.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"复仇之魂",avatar:"http://dota2dbpic.uuu9.com/9608a806-4bf0-47a0-a4ba-20b491fa3121vs.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"矮人直升机",avatar:"http://dota2dbpic.uuu9.com/cc02d678-beef-4cee-931e-815b04aa513bcopter.gif"},{name:"风暴之灵",avatar:"http://dota2dbpic.uuu9.com/c4e5c967-dbab-4a24-aa51-7e035dc683c2ST.gif"}],t.TANK_HEROES=[{name:"孽主",avatar:"http://dota2dbpic.uuu9.com/279b4723-3701-4b2f-96e2-d755935777b6abyssal_underlord_hphover.png"},{name:"地狱领主",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"树精卫士",avatar:"http://dota2dbpic.uuu9.com/7f9a431a-5edc-470a-b4a3-370f89e51a8a00.jpg"},{name:"酒仙",avatar:"http://dota2dbpic.uuu9.com/72c84158-dfc3-4ee4-8dff-eaf9f8707b850.jpg"},{name:"炼金术士",avatar:"http://dota2dbpic.uuu9.com/531e12b3-0677-4739-b505-f6143fba7b6c00.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"龙骑士",avatar:"http://dota2dbpic.uuu9.com/4b7d218a-36e0-4ec6-8200-a6f5e5aad704000.jpg"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"山岭巨人",avatar:"http://dota2dbpic.uuu9.com/7da65f49-9894-4c0b-888b-00ce495cc909000.jpg"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"}],t.INVISIBLE_HEROES=[{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"圣堂刺客",avatar:"http://dota2dbpic.uuu9.com/25340f33-d595-46de-bc11-2453bb83de2bta.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"月之公主",avatar:"http://dota2dbpic.uuu9.com/012f6fd5-6264-4a75-a7b5-087d04da9a57pom.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"鱼人夜行者",avatar:"http://dota2dbpic.uuu9.com/739da86d-40e9-4e07-b48f-1a03a8a8a3e0sg.jpg"},{name:"编织者",avatar:"http://dota2dbpic.uuu9.com/e8c69923-7795-4b67-b473-608b501423abNW.jpg"},{name:"司夜刺客",avatar:"http://dota2dbpic.uuu9.com/536d63ab-25a6-4b88-b052-2f20add0b32dNA.jpg"},{name:"育母蜘蛛",avatar:"http://dota2dbpic.uuu9.com/aeaa2836-ef80-4ec2-b3e0-a52a318887c1br.jpg"},{name:"骷髅弓箭手",avatar:"http://dota2dbpic.uuu9.com/1579d1ab-1dd1-4d64-ac88-26e821e4f209bone.jpg"},{name:"沙王",avatar:"http://dota2dbpic.uuu9.com/0ae7f51a-4cca-43cb-9a7f-5d6b5ba5401612345.png"}],t.CARRY_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"卓尔游侠",avatar:"http://dota2dbpic.uuu9.com/8317769a-4246-4a30-9404-3aacc87117dedr.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"},{name:"死亡先知",avatar:"http://dota2dbpic.uuu9.com/bfa5a815-e503-4c31-9027-0e21fab493f0qop.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"瘟疫法师",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"}],t.BLINK_HEROES=[{name:"齐天大圣",avatar:"http://dota2dbpic.uuu9.com/5f813eaa-e738-4ea5-a425-f260cd01334c3159302_mk105x60.jpg"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"},{name:"死亡先知",avatar:"http://dota2dbpic.uuu9.com/bfa5a815-e503-4c31-9027-0e21fab493f0qop.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"主宰",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"瘟疫法师",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"}],t.HIGH_DAMAGE_HEROES=[{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"灰烬之灵",avatar:"http://dota2dbpic.uuu9.com/4c54e1ab-0c34-4f4a-8236-26e3ffa08274legion_commander_full.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"双头龙",avatar:"http://dota2dbpic.uuu9.com/7148a12f-a0ed-4307-a46b-830d278a5a00thd.gif"},{name:"魅惑魔女",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"先知",avatar:"http://dota2dbpic.uuu9.com/0878a84c-30cf-434c-84c1-4a2ccf3e52fcfur.gif"},{name:"地精修补匠",avatar:"http://dota2dbpic.uuu9.com/92a8eaa6-7141-4300-bca9-01d02f30e453tk.png"},{name:"暗影恶魔",avatar:"http://dota2dbpic.uuu9.com/5476d96a-cb17-45de-8f17-379d0a74ab92Eredar.gif"},{name:"暗影萨满",avatar:"http://dota2dbpic.uuu9.com/13098635-b43e-459f-88ac-0a9ec28fc9b4ss.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"黑暗贤者",avatar:"http://dota2dbpic.uuu9.com/57252321-1b37-495c-8ac1-f68306d5d48eDS.gif"},{name:"受折磨的灵魂",avatar:"http://dota2dbpic.uuu9.com/1c87b008-31d1-4000-92e5-18aa5486a641TS.gif"},{name:"蝙蝠骑士",avatar:"http://dota2dbpic.uuu9.com/ea3ed2fa-cbb4-44ac-a06b-a9029608c2b8batrider.jpg"},{name:"秀逗魔导士",avatar:"http://dota2dbpic.uuu9.com/4860461c-ae68-401a-809f-f4c7a0b63aedlina.gif"}],t.INVOKE_HEROES=[{name:"恐怖利刃",avatar:"http://dota2dbpic.uuu9.com/201fc99f-61af-4a07-a9cb-8ceaf6e0d3392.png"},{name:"天穹守望者",avatar:"http://dota2dbpic.uuu9.com/cb880d14-e6a2-4737-8fe7-dab43281e24144575.jpg"},{name:"军团指挥官",avatar:"http://dota2dbpic.uuu9.com/14687119-de9d-4601-bb23-cc395cc5c93flegion_commander_full_.png"},{name:"巨魔战将",avatar:"http://dota2dbpic.uuu9.com/79d96698-f2c0-4620-9f41-8cd6254b68caTroll.gif"},{name:"蛇发女妖",avatar:"http://dota2dbpic.uuu9.com/db974a46-f31f-4740-93d1-b3faa2aa4996med.gif"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"祈求者",avatar:"http://dota2dbpic.uuu9.com/99ffd3b8-0691-4922-8467-2667bf83804bKael.gif"},{name:"殁境神蚀者",avatar:"http://dota2dbpic.uuu9.com/e526c288-d109-4fe9-9729-69966a9c769aod.jpg"},{name:"赏金猎人",avatar:"http://dota2dbpic.uuu9.com/cf7f3664-7a7c-4d5e-94f5-98c0c2fd0deebh.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"卓尔游侠",avatar:"http://dota2dbpic.uuu9.com/8317769a-4246-4a30-9404-3aacc87117dedr.gif"},{name:"隐形刺客",avatar:"http://dota2dbpic.uuu9.com/79f3f7ad-e71b-4755-bc5a-44e509c47011sa.gif"},{name:"幻影长矛手",avatar:"http://dota2dbpic.uuu9.com/ce78281b-47a8-402e-97bf-645c2e8874b1lancer.gif"},{name:"娜迦海妖",avatar:"http://dota2dbpic.uuu9.com/2f2648ee-5570-48db-ae45-32565bd886f5naga.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"月之骑士",avatar:"http://dota2dbpic.uuu9.com/76659a60-4ed3-4afc-aaa8-2a39eff2c0b4luna.gif"}],t.DIZZY_HEROES=[{name:"上古巨神",avatar:"http://dota2dbpic.uuu9.com/73aa3fe9-be47-49e2-82b1-75d44d069c20Elder_Titan.png"},{name:"地精撕裂者",avatar:"http://dota2dbpic.uuu9.com/d637e928-6289-4561-8c7d-b40d96c539d000.jpg"},{name:"死灵飞龙",avatar:"http://dota2dbpic.uuu9.com/f738ea36-5b29-4166-a9e7-fe69f8acf897vis.gif"},{name:"熊战士",avatar:"http://dota2dbpic.uuu9.com/ab520d8b-2104-4a14-97d2-1254d2aef1dcuw.gif"},{name:"变体精灵",avatar:"http://dota2dbpic.uuu9.com/6b7f1923-67e8-4a73-bc3e-b55c53bf96edmor.gif"},{name:"德鲁伊",avatar:"http://dota2dbpic.uuu9.com/88c02857-7c61-4488-8101-2ca5971e4748ld.gif"},{name:"半人马战行者",avatar:"http://dota2dbpic.uuu9.com/65940f31-266e-4dec-b107-f40d4556fd000.jpg"},{name:"树精卫士",avatar:"http://dota2dbpic.uuu9.com/7f9a431a-5edc-470a-b4a3-370f89e51a8a00.jpg"},{name:"酒仙",avatar:"http://dota2dbpic.uuu9.com/72c84158-dfc3-4ee4-8dff-eaf9f8707b850.jpg"},{name:"炼金术士",avatar:"http://dota2dbpic.uuu9.com/531e12b3-0677-4739-b505-f6143fba7b6c00.jpg"},{name:"全能骑士",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"},{name:"龙骑士",avatar:"http://dota2dbpic.uuu9.com/4b7d218a-36e0-4ec6-8200-a6f5e5aad704000.jpg"},{name:"潮汐猎人",avatar:"http://dota2dbpic.uuu9.com/508e0019-b6de-4ae2-8e00-b8428bb6d16btidehunter_full.png"},{name:"山岭巨人",avatar:"http://dota2dbpic.uuu9.com/7da65f49-9894-4c0b-888b-00ce495cc909000.jpg"},{name:"屠夫",avatar:"http://dota2dbpic.uuu9.com/b4e99c9b-91e5-431e-89ca-a9fe3171120cuntitled.jpg"}],t.HEALER_HEROES=[{name:"↵地狱领主↵",avatar:"http://dota2dbpic.uuu9.com/a0e68aea-de06-46f2-b841-70be213b68b7Abaddon.png"},{name:"↵凤凰↵",avatar:"http://dota2dbpic.uuu9.com/17772b4c-76ff-4f49-84c2-66d8edb21b41phoenix.png"},{name:"↵魅惑魔女↵",avatar:"http://dota2dbpic.uuu9.com/5bf5a558-74e5-49f5-91a1-6167cf8d00ffeh.gif"},{name:"↵暗影牧师↵",avatar:"http://dota2dbpic.uuu9.com/d14b7a6b-4931-4dc4-aa3e-17fc6cfc00b8sp.gif"},{name:"↵术士↵",avatar:"http://dota2dbpic.uuu9.com/fbd48581-1c31-4077-8959-1ec0aae04eebwl.gif"},{name:"↵主宰↵",avatar:"http://dota2dbpic.uuu9.com/b3ce2f49-daf9-452a-b516-fa8406d77fc4jugg.gif"},{name:"↵瘟疫法师↵",avatar:"http://dota2dbpic.uuu9.com/c5399443-a946-4fc8-9621-4484bfec859fNEC.gif"},{name:"↵巫医↵",avatar:"http://dota2dbpic.uuu9.com/793a1a57-0fea-4395-aa86-5add327b337fwd.gif"},{name:"↵神灵武士↵",avatar:"http://dota2dbpic.uuu9.com/8aea3dbb-d148-4ce2-93dc-06c4aeef331800.jpg"},{name:"↵全能骑士↵",avatar:"http://dota2dbpic.uuu9.com/01ddcdb3-fb3d-412b-a6cf-e85bc473a35a00.jpg"}]})},xYoV:function(t,e,a){function i(t){a("7t+P")}var n=a("VU/8")(a("1peF"),a("sZn4"),i,null,null);t.exports=n.exports},xomh:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("bOdI"),a("Z5VE"),a("d64j")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);e.default={name:"cube-popup",mixins:[u.default,o.default],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},position:{type:String,default:""}},computed:{rootClass:function(){var t={"cube-popup_mask":this.mask};return this.type&&(t["cube-"+this.type]=!0),t},containerClass:function(){var t=this.center,e=this.position;return e?(0,c.default)({},"cube-popup-"+e,!0):t?{"cube-popup-center":!0}:void 0}},methods:{maskClick:function(t){this.$emit("mask-click",t),this.maskClosable&&this.hide()}}},t.exports=e.default})},xpS3:function(t,e){},xru3:function(t,e,a){function i(t){a("hTT9")}var n=a("VU/8")(a("7brH"),a("Y/GG"),i,null,null);t.exports=n.exports},"y7n+":function(t,e){},yADO:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"toolbar",title:"Toolbar"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"options"},[a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"More Actions",value:t.more},on:{"update:value":t.updateMore}})],1)])]),t._v(" "),a("cube-toolbar",{attrs:{actions:t.actions,"more-actions":t.more?t.moreActions:void 0},on:{click:t.clickHandler}})],1)])},staticRenderFns:[]}},yB4N:function(t,e,a){var i=a("VU/8")(a("RO5T"),a("Y/JC"),null,null,null);t.exports=i.exports},yD4L:function(t,e){},yE9A:function(t,e,a){function i(t){a("JG9D")}var n=a("VU/8")(a("XJZo"),a("T+4J"),i,null,null);t.exports=n.exports},yIJW:function(t,e,a){var i,n,l;!function(a,c){n=[t,e],i=c,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={value:"value",text:"text",order:"order"};e.default={props:{data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}},alias:{type:Object,default:function(){return{}}}},computed:{valueKey:function(){return this.alias.value||a.value},textKey:function(){return this.alias.text||a.text},orderKey:function(){return a.order},merge:function(){return[this.data,this.selectedIndex]}},watch:{merge:function(t){this.setData(t[0],t[1])}}},t.exports=e.default})},yb46:function(t,e,a){function i(t){a("O19e")}var n=a("VU/8")(a("tEcF"),a("Idn0"),i,null,null);t.exports=n.exports},yfBG:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"textarea-view",title:"Textarea"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"textarea-wrapper"},[a("cube-textarea",{attrs:{disabled:t.disabled,maxlength:+t.maxlength||60,indicator:t.showIndicator?t.indicator:t.showIndicator,width:t.width||"300px"},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1),t._v(" "),a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"disabled",value:t.disabled},on:{"update:value":t.updateDisabled}}),t._v(" "),a("input-option",{staticClass:"item sub",attrs:{name:"maxlength",value:t.maxlength},on:{"update:value":t.updateMaxlength}}),t._v(" "),a("input-option",{staticClass:"item sub",attrs:{name:"width",value:t.width},on:{"update:value":t.updateWidth}})],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"indicator",value:t.showIndicator},on:{"update:value":t.updateIndicator}}),t._v(" "),t.showIndicator?a("switch-option",{staticClass:"item",attrs:{name:"negative",value:t.indicator.negative},on:{"update:value":t.updateIndicatorNegative}}):t._e(),t._v(" "),t.showIndicator?a("switch-option",{staticClass:"item",attrs:{name:"remain",value:t.indicator.remain},on:{"update:value":t.updateIndicatorRemain}}):t._e()],1)])])])])},staticRenderFns:[]}},yjF1:function(t,e,a){function i(t){a("lWcp")}var n=a("VU/8")(a("jjfl"),a("TLh3"),i,null,null);t.exports=n.exports},ymMH:function(t,e){},yu2v:function(t,e){},z16Y:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("/ocq"),a("nb3f")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(a),c=n(i),u=new l.default({routes:c.default});e.default=u,t.exports=e.default})},zFE9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"picker-view",title:"Picker",desc:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("cube-button-group",[a("cube-button",{on:{click:t.showPicker}},[t._v("Picker")]),t._v(" "),a("cube-button",{on:{click:t.showMutiPicker}},[t._v("Multi-column Picker")]),t._v(" "),a("cube-button",{on:{click:t.showAliasPicker}},[t._v("Use alias")]),t._v(" "),a("cube-button",{on:{click:t.showUpdatePropsPicker}},[t._v("Use $updateProps")]),t._v(" "),a("cube-button",{on:{click:t.showSubtitlePicker}},[t._v("Use subtitle")])],1)],1)])},staticRenderFns:[]}},zI96:function(t,e,a){function i(t){a("h20U")}var n=a("VU/8")(a("EzL5"),a("SWc7"),i,null,null);t.exports=n.exports},zQyI:function(t,e,a){var i,n,l;!function(c,u){n=[t,e,a("a/uE"),a("yjF1"),a("yE9A")],i=u,void 0!==(l="function"==typeof i?i.apply(e,n):i)&&(t.exports=l)}(0,function(t,e,a,i,n){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var c=l(a),u=l(i),o=l(n);o.default.install=function(t){t.component(c.default.name,c.default),t.component(u.default.name,u.default),t.component(o.default.name,o.default)},o.default.Button=c.default,o.default.Checkbox=u.default,e.default=o.default,t.exports=e.default})},zQzp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"upload-view-compress",title:"Upload"}},[a("template",{slot:"content"},[a("p",[t._v("Compress&Base64 upload: ")]),t._v(" "),a("div",[a("cube-upload",{ref:"upload",attrs:{action:t.action,"simultaneous-uploads":1,"process-file":t.processFile},on:{"file-submitted":t.fileSubmitted}})],1)])],2)},staticRenderFns:[]}},zZ81:function(t,e,a){var i=a("VU/8")(a("LXLj"),a("vfhA"),null,null,null);t.exports=i.exports},zbfp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{attrs:{type:"image-preview-def",title:"ImagePreview"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"view-wrapper"},[a("cube-button-group",[a("cube-button",{on:{click:t.showImagePreview}},[t._v("Show ImagePreview")]),t._v(" "),a("cube-button",{on:{click:function(e){t.goTo("multi-images-preview")}}},[t._v("Show MultiImagePreview")]),t._v(" "),a("cube-button",{on:{click:t.showCustomImagePreview}},[t._v("Show Custom ImagePreview")])],1)],1),t._v(" "),a("cube-view")],1)])},staticRenderFns:[]}},zefs:function(t,e){},zf5d:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("cube-page",{staticClass:"option-demo",attrs:{type:"scroll-view",title:"Scroll"}},[a("div",{staticClass:"scroll-wrapper",attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"options"},[a("div",{staticClass:"title"},[t._v("Options")]),t._v(" "),a("div",{staticClass:"option-list"},[a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Pull Down Refresh",value:t.pullDownRefresh},on:{"update:value":t.updatePullDownRefresh}}),t._v(" "),t.pullDownRefresh?a("input-option",{staticClass:"item sub first",attrs:{name:"threshold (≥ 40)",value:t.pullDownRefreshThreshold,"min-value":"40"},on:{"update:value":t.updatePullDownRefreshThreshold}}):t._e(),t._v(" "),t.pullDownRefresh?a("input-option",{staticClass:"item sub",attrs:{name:"txt",value:t.pullDownRefreshTxt},on:{"update:value":t.updatePullDownRefreshTxt}}):t._e(),t._v(" "),t.pullDownRefresh?a("switch-option",{staticClass:"item sub last",attrs:{name:"Custom Animation",value:t.customPullDown},on:{"update:value":t.updateCustomPullDown}}):t._e()],1),t._v(" "),a("div",{staticClass:"group"},[a("switch-option",{staticClass:"item",attrs:{name:"Pull Up Load",value:t.pullUpLoad},on:{"update:value":t.updatePullUpLoad}}),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub first",attrs:{name:"threshold",value:t.pullUpLoadThreshold},on:{"update:value":t.updatePullUpLoadThreshold}}):t._e(),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub",attrs:{name:"moreTxt",value:t.pullUpLoadMoreTxt},on:{"update:value":t.updatePullUpLoadMoreTxt}}):t._e(),t._v(" "),t.pullUpLoad?a("input-option",{staticClass:"item sub last",attrs:{name:"noMoreTxt",value:t.pullUpLoadNoMoreTxt},on:{"update:value":t.updatePullUpLoadNoMoreTxt}}):t._e()],1)])]),t._v(" "),a("div",{staticClass:"demo"},[a("div",{staticClass:"title"},[t._v("Demo")]),t._v(" "),a("div",{staticClass:"scroll-list-wrap"},[a("cube-scroll",{ref:"scroll",attrs:{data:t.items,options:t.options},on:{"pulling-down":t.onPullingDown,"pulling-up":t.onPullingUp},scopedSlots:t._u([{key:"pulldown",fn:function(e){return t.customPullDown?[e.pullDownRefresh?a("div",{staticClass:"cube-pulldown-wrapper",style:e.pullDownStyle},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.beforePullDown,expression:"props.beforePullDown"}],staticClass:"before-trigger",style:{paddingTop:e.bubbleY+"px"}},[a("span",{class:{rotate:e.bubbleY>t.pullDownRefreshThreshold-40}},[t._v("↓")])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.beforePullDown,expression:"!props.beforePullDown"}],staticClass:"after-trigger"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isPullingDown,expression:"props.isPullingDown"}],staticClass:"loading"},[a("cube-loading")],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isPullingDown,expression:"!props.isPullingDown"}],staticClass:"text"},[a("span",{staticClass:"refresh-text"},[t._v("Refresh success")])])])]):t._e()]:void 0}}])},[a("ul",{staticClass:"foods-wrapper"},t._l(t.items,function(e){return a("li",{staticClass:"food-item border-1px"},[a("div",{staticClass:"icon"},[a("img",{attrs:{width:"57",height:"57",src:e.icon}})]),t._v(" "),a("div",{staticClass:"food-content"},[a("h2",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("p",{staticClass:"description"},[t._v(t._s(e.description))]),t._v(" "),a("div",{staticClass:"extra"},[a("span",{staticClass:"count"},[t._v("月售"+t._s(e.sellCount)+"份")]),a("span",[t._v("好评率"+t._s(e.rating)+"%")])]),t._v(" "),a("div",{staticClass:"price"},[a("span",{staticClass:"now"},[t._v("¥"+t._s(e.price))]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.oldPrice,expression:"food.oldPrice"}],staticClass:"old"},[t._v("¥"+t._s(e.oldPrice))])])])])}))])],1)])])])},staticRenderFns:[]}},"zi/F":function(t,e){},ziJF:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"group",staticClass:"cube-checkbox-group",class:t.groupClass,attrs:{"data-horz":t.horizontal,"data-col":t.colNum>1}},[t._t("default",t._l(t.options,function(e,i){return a("cube-checkbox",{key:i,attrs:{option:e,shape:t.shape,position:t.position,"hollow-style":t.hollowStyle}})}))],2)},staticRenderFns:[]}},zuie:function(t,e,a){function i(t){a("OCZZ")}var n=a("VU/8")(a("QNIf"),a("3Xsx"),i,null,null);t.exports=n.exports}},["SrUm"]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 4e675fd2d..7e5e1b622 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -cube-ui Document
\ No newline at end of file +cube-ui Document
\ No newline at end of file diff --git a/docs/js/21.5a95626f892944ce441b.js b/docs/js/21.19534637b0693c168009.js similarity index 88% rename from docs/js/21.5a95626f892944ce441b.js rename to docs/js/21.19534637b0693c168009.js index 675b6a82e..8c0ae6db9 100644 --- a/docs/js/21.5a95626f892944ce441b.js +++ b/docs/js/21.19534637b0693c168009.js @@ -1 +1 @@ -webpackJsonp([21],{FDKz:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"ScrollNavBar组件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-ScrollNavBar组件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" ScrollNavBar 组件")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("滚动导航条组件,效果类似于滴滴打车业务线切换。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),s._m(2),s._v(" "),a("h3",{attrs:{id:"插槽"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-插槽-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 插槽")]),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"事件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-事件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 事件")]),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"实例方法"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-实例方法-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 实例方法")]),s._v(" "),s._m(5)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("1.10.0 新增")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("横向,默认")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("可以通过 "),a("code",{pre:!0},[s._v("current")]),s._v(" 指定 active 的 key 值,"),a("code",{pre:!0},[s._v("labels")]),s._v(" 则是所有的 key 值的集合;当 active 的值发生变化后,会触发 "),a("code",{pre:!0},[s._v("change")]),s._v(" 事件。")])]),s._v(" "),a("li",[a("p",[s._v("竖向")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"side-container"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"vertical"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":txts")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"txts"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("{{props.txt}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txts")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'1快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'4顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'5代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'6公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'7自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'8豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'9二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'10出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".side-container")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("300px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("margin-top")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("20px")]),s._v("\n")])]),s._v(" "),a("p",[s._v("这是一个竖向的示例,"),a("code",{pre:!0},[s._v("direction")]),s._v(" 设置为 "),a("code",{pre:!0},[s._v("vertical")]),s._v(" 代表是一个竖向导航条样式;这里还使用了 "),a("code",{pre:!0},[s._v("txts")]),s._v(" Prop 用于指定展示文案,顺序是和 "),a("code",{pre:!0},[s._v("labels")]),s._v(" 一一对应的,如果没传入 "),a("code",{pre:!0},[s._v("txts")]),s._v(",则默认 "),a("code",{pre:!0},[s._v("txts")]),s._v(" 就等于 "),a("code",{pre:!0},[s._v("labels")]),s._v("。")]),s._v(" "),a("p",[s._v("该示例中还展示了默认作用域插槽的使用,"),a("code",{pre:!0},[s._v("props.txt")]),s._v(" 就是当前项的 txt 的值。")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("方向,默认横向,horizontal")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("horizontal/vertical")]),s._v(" "),a("td",[s._v("horizontal")])]),s._v(" "),a("tr",[a("td",[s._v("labels")]),s._v(" "),a("td",[s._v("所有的 key 值集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("txts")]),s._v(" "),a("td",[s._v("显示所有文案集合,和 labels 一一对应,每项可以是 HTML 字符串")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("默认等于 labes")])]),s._v(" "),a("tr",[a("td",[s._v("current")]),s._v(" "),a("td",[s._v("当前 active 的 key 值")]),s._v(" "),a("td",[s._v("String/Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("名字")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("作用域参数")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("默认内容")]),s._v(" "),a("td",[s._v("txt: 当前项文案 txt 的值"),a("br"),s._v("index: 当前索引值"),a("br"),s._v("active: 当前 active 的 key 值"),a("br"),s._v("label: 当前项 label 值,即 key 值")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("事件名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("change")]),s._v(" "),a("td",[s._v("当 active 项发生改变的时候触发")]),s._v(" "),a("td",[s._v("active - 当前 active 的 key 值")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("方法名")]),s._v(" "),a("th",[s._v("说明")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("refresh")]),s._v(" "),a("td",[s._v("刷新,当内容发生变化时可用于刷新 scroll 以及重新适应位置")])])])])}]}},T9KO:function(s,t,a){s.exports=a("VFp7")},VFp7:function(s,t,a){var r=a("VU/8")(null,a("FDKz"),null,null,null);s.exports=r.exports}}); \ No newline at end of file +webpackJsonp([21],{FDKz:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"ScrollNavBar组件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-ScrollNavBar组件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" ScrollNavBar 组件")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("滚动导航条组件,效果类似于滴滴打车业务线切换。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),s._m(2),s._v(" "),a("h3",{attrs:{id:"插槽"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-插槽-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 插槽")]),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"事件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-事件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 事件")]),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"实例方法"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-实例方法-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 实例方法")]),s._v(" "),s._m(5)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("1.10.0 新增")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("横向,默认")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("可以通过 "),a("code",{pre:!0},[s._v("current")]),s._v(" 指定 active 的 key 值,"),a("code",{pre:!0},[s._v("labels")]),s._v(" 则是所有的 key 值的集合;当 active 的值发生变化后,会触发 "),a("code",{pre:!0},[s._v("change")]),s._v(" 事件。")])]),s._v(" "),a("li",[a("p",[s._v("竖向")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"side-container"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"vertical"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":txts")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"txts"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("{{props.txt}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txts")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'1快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'4顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'5代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'6公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'7自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'8豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'9二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'10出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".side-container")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("300px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("margin-top")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("20px")]),s._v("\n")])]),s._v(" "),a("p",[s._v("这是一个竖向的示例,"),a("code",{pre:!0},[s._v("direction")]),s._v(" 设置为 "),a("code",{pre:!0},[s._v("vertical")]),s._v(" 代表是一个竖向导航条样式;这里还使用了 "),a("code",{pre:!0},[s._v("txts")]),s._v(" Prop 用于指定展示文案,顺序是和 "),a("code",{pre:!0},[s._v("labels")]),s._v(" 一一对应的,如果没传入 "),a("code",{pre:!0},[s._v("txts")]),s._v(",则默认 "),a("code",{pre:!0},[s._v("txts")]),s._v(" 就等于 "),a("code",{pre:!0},[s._v("labels")]),s._v("。")]),s._v(" "),a("p",[s._v("该示例中还展示了默认作用域插槽的使用,"),a("code",{pre:!0},[s._v("props.txt")]),s._v(" 就是当前项的 txt 的值。")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("方向,默认横向,horizontal")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("horizontal/vertical")]),s._v(" "),a("td",[s._v("horizontal")])]),s._v(" "),a("tr",[a("td",[s._v("labels")]),s._v(" "),a("td",[s._v("所有的 key 值集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("txts")]),s._v(" "),a("td",[s._v("显示所有文案集合,和 labels 一一对应,每项可以是 HTML 字符串")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("默认等于 labes")])]),s._v(" "),a("tr",[a("td",[s._v("current")]),s._v(" "),a("td",[s._v("当前 active 的 key 值")]),s._v(" "),a("td",[s._v("String/Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("better-scroll 配置项,具体请参考"),a("a",{attrs:{href:"https://ustbhuangyi.github.io/better-scroll/doc/zh-hans/options.html"}},[s._v("BS 官方文档")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("名字")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("作用域参数")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("默认内容")]),s._v(" "),a("td",[s._v("txt: 当前项文案 txt 的值"),a("br"),s._v("index: 当前索引值"),a("br"),s._v("active: 当前 active 的 key 值"),a("br"),s._v("label: 当前项 label 值,即 key 值")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("事件名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("change")]),s._v(" "),a("td",[s._v("当 active 项发生改变的时候触发")]),s._v(" "),a("td",[s._v("active - 当前 active 的 key 值")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("方法名")]),s._v(" "),a("th",[s._v("说明")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("refresh")]),s._v(" "),a("td",[s._v("刷新,当内容发生变化时可用于刷新 scroll 以及重新适应位置")])])])])}]}},T9KO:function(s,t,a){s.exports=a("VFp7")},VFp7:function(s,t,a){var r=a("VU/8")(null,a("FDKz"),null,null,null);s.exports=r.exports}}); \ No newline at end of file diff --git a/docs/js/35.8abf3e85f831a05c8b13.js b/docs/js/35.98493f4ce51a84e5ada7.js similarity index 87% rename from docs/js/35.8abf3e85f831a05c8b13.js rename to docs/js/35.98493f4ce51a84e5ada7.js index acb7517a4..2661a0eaf 100644 --- a/docs/js/35.8abf3e85f831a05c8b13.js +++ b/docs/js/35.98493f4ce51a84e5ada7.js @@ -1 +1 @@ -webpackJsonp([35],{"0xxl":function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("表单,包含各种输入组件以及对应的校验;我们可以通过数据驱动的方式来生成完成表单。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props 配置")]),s._v(" "),a("h4",{attrs:{id:"CubeForm"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeForm-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeForm")]),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h4",{attrs:{id:"CubeFormGroup"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeFormGroup-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeFormGroup")]),s._v(" "),s._m(4),s._v(" "),a("h4",{attrs:{id:"CubeFormItem"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeFormItem-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeFormItem")]),s._v(" "),s._m(5),s._v(" "),a("h3",{attrs:{id:"事件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-事件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 事件")]),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),a("h3",{attrs:{id:"实例方法"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-实例方法-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 实例方法")]),s._v(" "),s._m(8)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("1.7.0 新增")]),s._v(" "),a("p",[s._v("从 1.8.0 开始支持blur 时才触发校验以及 debounce,同 Validator 一样也开始支持异步校验。")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("默认配置使用")]),s._v(" "),a("p",[s._v("一个完整的包含所有的内置表单相关组件。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":schema")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"schema"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":immediate-validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"false"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@reset")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"resetHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxGroupValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("radioValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("switchValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("textareaValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploadValue")]),s._v(": []\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("schema")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'基础'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Please check this field'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxGroupValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'CheckboxGroup'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// validating when blur")]),s._v("\n trigger: "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blur'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radio-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radioValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Radio'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'selectValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2015")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2016")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2017")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2019")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2020")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switchValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textareaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// debounce validate")]),s._v("\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if set to true, the default debounce time will be 200(ms)")]),s._v("\n debounce: "),a("span",{attrs:{class:"hljs-number"}},[s._v("100")]),s._v("\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'高级'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploadValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("events")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'file-removed'")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("...args")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'file removed'")]),s._v(", args)\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("val, config")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v(".all(val.map("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("file, i")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v("("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("resolve, reject")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (file.uploadedUrl) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" resolve()\n }\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// fake request")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (i % "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(") {\n reject("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Error")]),s._v("())\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n file.uploadedUrl = "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploaded/url'")]),s._v("\n resolve()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n })\n })).then("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n })\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'上传失败'")]),s._v("\n }\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Submit'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Reset'")]),s._v("\n }\n ]\n }\n ]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollToInvalidField")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("layout")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'standard'")]),s._v(" "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// classic fresh")]),s._v("\n }\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n e.preventDefault()\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(", e)\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n resetHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(", e)\n }\n }\n}\n")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("model")]),s._v(" 就是整个表单需要的数据源,"),a("code",{pre:!0},[s._v("schema")]),s._v(" 就是生成表单所定义的模式,"),a("code",{pre:!0},[s._v("immediate-validate")]),s._v(" 如果为 true 则初始时立即做校验,"),a("code",{pre:!0},[s._v("options")]),s._v(" 则是配置选项。")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("submit")]),s._v(" 校验成功后提交事件,"),a("code",{pre:!0},[s._v("validate")]),s._v(" 每次有数据校验更新的事件,"),a("code",{pre:!0},[s._v("reset")]),s._v(" 则是重置事件。")])]),s._v(" "),a("li",[a("p",[s._v("自定义使用")]),s._v(" "),a("p",[s._v("你可以选择使用自己自定义的组件甚至通过插槽来自定义结构和行为。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[0]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[1]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[2]"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@click")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"showDatePicker"')]),s._v(">")]),s._v("{{model.dateValue || 'Please select date'}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("date-picker")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"datePicker"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2008, 8, 8]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2020, 10, 20]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@select")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"dateSelectHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submit"')]),s._v(">")]),s._v("Submit"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-comment"}},[s._v("// province, city, area")]),s._v("\n"),a("span",{attrs:{class:"hljs-comment"}},[s._v("// select component")]),s._v("\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("const")]),s._v(" PCA = {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Array")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v("() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" []\n }\n }\n },\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selected")]),s._v(": []\n }\n },\n render(createElement) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" createElement("),a("span",{attrs:{class:"hljs-string"}},[s._v("'cube-button'")]),s._v(", {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("on")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("click")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".showPicker\n }\n }, "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.length ? "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.join("),a("span",{attrs:{class:"hljs-string"}},[s._v("' '")]),s._v(") : "),a("span",{attrs:{class:"hljs-string"}},[s._v("'placeholder'")]),s._v(")\n },\n mounted() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$createCascadePicker({\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("title")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCA Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("data")]),s._v(": cityData,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectedIndex")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".value,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("onSelect")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selectHandler\n })\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n showPicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker.show()\n },\n selectHandler(selectedVal, selectedIndex, selectedTxt) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected = selectedTxt\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$emit("),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(", selectedVal)\n }\n }\n}\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pcaValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("dateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("component")]),s._v(": PCA,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'pcaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCASelect'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请选择'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'dateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Date'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(")\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n showDatePicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.datePicker.show()\n },\n dateSelectHandler(selectedVal) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".model.dateValue = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Date")]),s._v("(selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v("], selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("] - "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("]).toDateString()\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("components")]),s._v(": {\n DatePicker\n }\n}\n")])]),s._v(" "),a("p",[s._v("可以通过 "),a("code",{pre:!0},[s._v("component")]),s._v(" 指定实现了 "),a("code",{pre:!0},[s._v("v-model")]),s._v(" 的自定义组件,例如示例中的 "),a("code",{pre:!0},[s._v("PCA")]),s._v(" 组件;也可以通过使用插槽自定义结构行为,比如示例中的日期选择。")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("model")]),s._v(" "),a("td",[s._v("数据源")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("schema")]),s._v(" "),a("td",[s._v("生成表单依赖的模式")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("immediateValidate")]),s._v(" "),a("td",[s._v("初始化时是否立即校验")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("action")]),s._v(" "),a("td",[s._v("表单 Form action 的值")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("undefined")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("配置项")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v("scrollToInvalidField: false,"),a("br"),s._v(" layout: 'standard' // or: classic")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("schema")]),s._v(" 子配置项")]),s._v(" "),a("p",[s._v("模式用于定义表单中的各个字段,可以选择是否分组。")]),s._v(" "),a("ul",[a("li",[a("p",[s._v("无分组")]),s._v(" "),a("p",[s._v("直接包含 "),a("code",{pre:!0},[s._v("fields")]),s._v(" 即可:")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("有分组")]),s._v(" "),a("p",[s._v("可以设置 "),a("code",{pre:!0},[s._v("groups")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 1'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 2'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n }\n ]\n}\n")])])])]),s._v(" "),a("p",[s._v("不管有没有分组,我们都需要使用 "),a("code",{pre:!0},[s._v("fields")]),s._v(" 定义表单字段,其中每一项可以有如下属性:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("字段类型")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("默认内置的可选类型组件有:"),a("code",{pre:!0},[s._v("button")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox-group")]),s._v(", "),a("code",{pre:!0},[s._v("input")]),s._v(", "),a("code",{pre:!0},[s._v("radio")]),s._v(", "),a("code",{pre:!0},[s._v("radio-group")]),s._v(", "),a("code",{pre:!0},[s._v("rate")]),s._v(", "),a("code",{pre:!0},[s._v("select")]),s._v(", "),a("code",{pre:!0},[s._v("switch")]),s._v(", "),a("code",{pre:!0},[s._v("textarea")]),s._v(", "),a("code",{pre:!0},[s._v("upload")]),s._v(";以及特殊的 "),a("code",{pre:!0},[s._v("submit")]),s._v(" 和 "),a("code",{pre:!0},[s._v("reset")]),s._v(",它们两个会被转换为对应类型的 "),a("code",{pre:!0},[s._v("button")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("component")]),s._v(" "),a("td",[s._v("字段使用的自定义组件,替换 type,该组件组件实现 "),a("code",{pre:!0},[s._v("v-model")])]),s._v(" "),a("td",[s._v("Object/String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("modelKey")]),s._v(" "),a("td",[s._v("在表单的 "),a("code",{pre:!0},[s._v("model")]),s._v(" 数据源对象中所对应的 key 名字")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("label")]),s._v(" "),a("td",[s._v("字段的标签值")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("props")]),s._v(" "),a("td",[s._v("type 对应的组件或者自定义组件 component 所需要的 props")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("events"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("type 对应的组件或者自定义组件 component 的事件回调")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("rules")]),s._v(" "),a("td",[s._v("字段的校验规则,参见 "),a("a",{attrs:{href:"#/zh-CN/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("trigger"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("如果设置为 'blur' 那么则会在离焦后校验")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("blur/change")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("debounce"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("控制校验节奏,值为时间,单位 ms。如果 trigger 设置为 blur 则此项配置不生效")]),s._v(" "),a("td",[s._v("Number/Boolean")]),s._v(" "),a("td",[s._v(">= 0,如果设置为 true,那么时间就是 200(ms)")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("messages")]),s._v(" "),a("td",[s._v("字段的校验消息,参见 "),a("a",{attrs:{href:"#/zh-CN/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("legend")]),s._v(" "),a("td",[s._v("分组名字")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("fields")]),s._v(" "),a("td",[s._v("该组内所包含的字段集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("field")]),s._v(" "),a("td",[s._v("字段数据")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("事件名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数1")]),s._v(" "),a("th",[s._v("参数2")]),s._v(" "),a("th",[s._v("参数3")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("表单校验通过后触发此事件,如果只有同步校验,则不会阻止默认行为,而如果包含了异步校验,则默认就会阻止默认行为")]),s._v(" "),a("td",[s._v("e - 事件对象")]),s._v(" "),a("td",[s._v("model 值")]),s._v(" "),a("td",[s._v("只包含存在的字段的 model 值"),a("sup",[s._v("1.12.30+")])])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("表单重置事件")]),s._v(" "),a("td",[s._v("e - 事件对象")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate")]),s._v(" "),a("td",[s._v("表单校验事件")]),s._v(" "),a("td",[s._v("参数结构如下:"),a("br"),s._v("{"),a("br"),s._v("validity,"),a("br"),s._v(" valid,"),a("br"),s._v(" invalid,"),a("br"),s._v(" dirty,"),a("br"),s._v(" firstInvalidFieldIndex"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("表单校验成功触发")]),s._v(" "),a("td",[s._v("validity 校验结果")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("表单校验失败触发")]),s._v(" "),a("td",[s._v("validity 校验结果")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("validate")]),s._v(" 事件的参数")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("validity")]),s._v(" "),a("td",[s._v("校验结果")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("校验合法,如果还没校验则为 undefined,一旦校验则为 true 或 false")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("校验不合法,如果还没校验则为 undefined,一旦校验则为 true 或 false")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("表单处于 dirty 状态,也就意味着数据源发生了变化")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("firstInvalidFieldIndex")]),s._v(" "),a("td",[s._v("第一个校验不合法的字段索引值")]),s._v(" "),a("td",[s._v("Number")])])])]),s._v(" "),a("ul",[a("li",[a("p",[s._v("校验结果 "),a("code",{pre:!0},[s._v("validity")]),s._v(" 对象")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("校验是否合法")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("result")]),s._v(" "),a("td",[s._v("校验结果,类似于:"),a("br"),s._v("{"),a("br"),s._v(" required: {"),a("br"),s._v("  valid: false,"),a("br"),s._v("  invalid: true,"),a("br"),s._v("  message: 'Required.'"),a("br"),s._v(" }"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("数据是否是已经更新过的")]),s._v(" "),a("td",[s._v("Boolean")])])])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("方法名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("返回值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("提交表单")]),s._v(" "),a("td",[s._v("skipValidate, 默认 false,如果为 true 代表不校验 直接 submit"),a("sup",[s._v("1.12.2+")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("重置表单")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate(cb)")]),s._v(" "),a("td",[s._v("校验表单")]),s._v(" "),a("td",[s._v("cb: 校验完成后回调函数,主要用于异步校验场景,调用参数为 valid 的值")]),s._v(" "),a("td",[s._v("如果支持 Promise 的话返回值是 Promise 对象(只有 resolved 状态,值为 valid),否则 undefined")])])])])}]}},"3rpl":function(s,t,a){var v=a("VU/8")(null,a("0xxl"),null,null,null);s.exports=v.exports},XO3d:function(s,t,a){s.exports=a("3rpl")}}); \ No newline at end of file +webpackJsonp([35],{"0xxl":function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("表单,包含各种输入组件以及对应的校验;我们可以通过数据驱动的方式来生成完成表单。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props 配置")]),s._v(" "),a("h4",{attrs:{id:"CubeForm"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeForm-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeForm")]),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h4",{attrs:{id:"CubeFormGroup"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeFormGroup-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeFormGroup")]),s._v(" "),s._m(4),s._v(" "),a("h4",{attrs:{id:"CubeFormItem"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeFormItem-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeFormItem")]),s._v(" "),s._m(5),s._v(" "),a("h3",{attrs:{id:"事件"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-事件-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 事件")]),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),a("h3",{attrs:{id:"实例方法"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-实例方法-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 实例方法")]),s._v(" "),s._m(8)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("1.7.0 新增")]),s._v(" "),a("p",[s._v("从 1.8.0 开始支持blur 时才触发校验以及 debounce,同 Validator 一样也开始支持异步校验。")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("默认配置使用")]),s._v(" "),a("p",[s._v("一个完整的包含所有的内置表单相关组件。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":schema")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"schema"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":immediate-validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"false"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@reset")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"resetHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxGroupValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("radioValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("switchValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("textareaValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploadValue")]),s._v(": []\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("schema")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'基础'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Please check this field'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxGroupValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'CheckboxGroup'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// validating when blur")]),s._v("\n trigger: "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blur'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radio-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radioValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Radio'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'selectValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2015")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2016")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2017")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2019")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2020")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switchValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textareaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// debounce validate")]),s._v("\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if set to true, the default debounce time will be 200(ms)")]),s._v("\n debounce: "),a("span",{attrs:{class:"hljs-number"}},[s._v("100")]),s._v("\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'高级'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploadValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("events")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'file-removed'")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("...args")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'file removed'")]),s._v(", args)\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("val, config")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v(".all(val.map("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("file, i")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v("("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("resolve, reject")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (file.uploadedUrl) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" resolve()\n }\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// fake request")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (i % "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(") {\n reject("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Error")]),s._v("())\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n file.uploadedUrl = "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploaded/url'")]),s._v("\n resolve()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n })\n })).then("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n })\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'上传失败'")]),s._v("\n }\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Submit'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Reset'")]),s._v("\n }\n ]\n }\n ]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollToInvalidField")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("layout")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'standard'")]),s._v(" "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// classic fresh")]),s._v("\n }\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n e.preventDefault()\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(", e)\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n resetHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(", e)\n }\n }\n}\n")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("model")]),s._v(" 就是整个表单需要的数据源,"),a("code",{pre:!0},[s._v("schema")]),s._v(" 就是生成表单所定义的模式,"),a("code",{pre:!0},[s._v("immediate-validate")]),s._v(" 如果为 true 则初始时立即做校验,"),a("code",{pre:!0},[s._v("options")]),s._v(" 则是配置选项。")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("submit")]),s._v(" 校验成功后提交事件,"),a("code",{pre:!0},[s._v("validate")]),s._v(" 每次有数据校验更新的事件,"),a("code",{pre:!0},[s._v("reset")]),s._v(" 则是重置事件。")])]),s._v(" "),a("li",[a("p",[s._v("自定义使用")]),s._v(" "),a("p",[s._v("你可以选择使用自己自定义的组件甚至通过插槽来自定义结构和行为。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[0]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[1]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[2]"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@click")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"showDatePicker"')]),s._v(">")]),s._v("{{model.dateValue || 'Please select date'}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("date-picker")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"datePicker"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2008, 8, 8]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2020, 10, 20]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@select")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"dateSelectHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submit"')]),s._v(">")]),s._v("Submit"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-comment"}},[s._v("// province, city, area")]),s._v("\n"),a("span",{attrs:{class:"hljs-comment"}},[s._v("// select component")]),s._v("\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("const")]),s._v(" PCA = {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Array")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v("() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" []\n }\n }\n },\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selected")]),s._v(": []\n }\n },\n render(createElement) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" createElement("),a("span",{attrs:{class:"hljs-string"}},[s._v("'cube-button'")]),s._v(", {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("on")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("click")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".showPicker\n }\n }, "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.length ? "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.join("),a("span",{attrs:{class:"hljs-string"}},[s._v("' '")]),s._v(") : "),a("span",{attrs:{class:"hljs-string"}},[s._v("'placeholder'")]),s._v(")\n },\n mounted() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$createCascadePicker({\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("title")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCA Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("data")]),s._v(": cityData,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectedIndex")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".value,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("onSelect")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selectHandler\n })\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n showPicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker.show()\n },\n selectHandler(selectedVal, selectedIndex, selectedTxt) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected = selectedTxt\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$emit("),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(", selectedVal)\n }\n }\n}\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pcaValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("dateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("component")]),s._v(": PCA,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'pcaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCASelect'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请选择'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'dateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Date'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(")\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n showDatePicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.datePicker.show()\n },\n dateSelectHandler(selectedVal) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".model.dateValue = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Date")]),s._v("(selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v("], selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("] - "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("]).toDateString()\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("components")]),s._v(": {\n DatePicker\n }\n}\n")])]),s._v(" "),a("p",[s._v("可以通过 "),a("code",{pre:!0},[s._v("component")]),s._v(" 指定实现了 "),a("code",{pre:!0},[s._v("v-model")]),s._v(" 的自定义组件,例如示例中的 "),a("code",{pre:!0},[s._v("PCA")]),s._v(" 组件;也可以通过使用插槽自定义结构行为,比如示例中的日期选择。")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("model")]),s._v(" "),a("td",[s._v("数据源")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("schema")]),s._v(" "),a("td",[s._v("生成表单依赖的模式")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("immediateValidate")]),s._v(" "),a("td",[s._v("初始化时是否立即校验")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("action")]),s._v(" "),a("td",[s._v("表单 Form action 的值")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("undefined")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("配置项")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v("scrollToInvalidField: false,"),a("br"),s._v(" layout: 'standard' // or: classic")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("schema")]),s._v(" 子配置项")]),s._v(" "),a("p",[s._v("模式用于定义表单中的各个字段,可以选择是否分组。")]),s._v(" "),a("ul",[a("li",[a("p",[s._v("无分组")]),s._v(" "),a("p",[s._v("直接包含 "),a("code",{pre:!0},[s._v("fields")]),s._v(" 即可:")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("有分组")]),s._v(" "),a("p",[s._v("可以设置 "),a("code",{pre:!0},[s._v("groups")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 1'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 2'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n }\n ]\n}\n")])])])]),s._v(" "),a("p",[s._v("不管有没有分组,我们都需要使用 "),a("code",{pre:!0},[s._v("fields")]),s._v(" 定义表单字段,其中每一项可以有如下属性:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("字段类型")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("默认内置的可选类型组件有:"),a("code",{pre:!0},[s._v("button")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox-group")]),s._v(", "),a("code",{pre:!0},[s._v("input")]),s._v(", "),a("code",{pre:!0},[s._v("radio")]),s._v(", "),a("code",{pre:!0},[s._v("radio-group")]),s._v(", "),a("code",{pre:!0},[s._v("rate")]),s._v(", "),a("code",{pre:!0},[s._v("select")]),s._v(", "),a("code",{pre:!0},[s._v("switch")]),s._v(", "),a("code",{pre:!0},[s._v("textarea")]),s._v(", "),a("code",{pre:!0},[s._v("upload")]),s._v(";以及特殊的 "),a("code",{pre:!0},[s._v("submit")]),s._v(" 和 "),a("code",{pre:!0},[s._v("reset")]),s._v(",它们两个会被转换为对应类型的 "),a("code",{pre:!0},[s._v("button")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("component")]),s._v(" "),a("td",[s._v("字段使用的自定义组件,替换 type,该组件组件实现 "),a("code",{pre:!0},[s._v("v-model")])]),s._v(" "),a("td",[s._v("Object/String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("modelKey")]),s._v(" "),a("td",[s._v("在表单的 "),a("code",{pre:!0},[s._v("model")]),s._v(" 数据源对象中所对应的 key 名字")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("label")]),s._v(" "),a("td",[s._v("字段的标签值")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("props")]),s._v(" "),a("td",[s._v("type 对应的组件或者自定义组件 component 所需要的 props")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("events"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("type 对应的组件或者自定义组件 component 的事件回调")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("rules")]),s._v(" "),a("td",[s._v("字段的校验规则,参见 "),a("a",{attrs:{href:"#/zh-CN/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("trigger"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("如果设置为 'blur' 那么则会在离焦后校验")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("blur/change")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("debounce"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("控制校验节奏,值为时间,单位 ms。如果 trigger 设置为 blur 则此项配置不生效")]),s._v(" "),a("td",[s._v("Number/Boolean")]),s._v(" "),a("td",[s._v(">= 0,如果设置为 true,那么时间就是 200(ms)")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("messages")]),s._v(" "),a("td",[s._v("字段的校验消息,参见 "),a("a",{attrs:{href:"#/zh-CN/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])]),s._v(" "),a("li",[a("p",[a("code",{pre:!0},[s._v("options")]),s._v(" 子配置项")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("scrollToInvalidField")]),s._v(" "),a("td",[s._v("是否默认滚动到第一个无效字段位置")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("layout")]),s._v(" "),a("td",[s._v("表单何种布局方式")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("standard/classic/fresh")]),s._v(" "),a("td",[s._v("standard")])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("legend")]),s._v(" "),a("td",[s._v("分组名字")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("fields")]),s._v(" "),a("td",[s._v("该组内所包含的字段集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("field")]),s._v(" "),a("td",[s._v("字段数据")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("事件名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数1")]),s._v(" "),a("th",[s._v("参数2")]),s._v(" "),a("th",[s._v("参数3")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("表单校验通过后触发此事件,如果只有同步校验,则不会阻止默认行为,而如果包含了异步校验,则默认就会阻止默认行为")]),s._v(" "),a("td",[s._v("e - 事件对象")]),s._v(" "),a("td",[s._v("model 值")]),s._v(" "),a("td",[s._v("只包含存在的字段的 model 值"),a("sup",[s._v("1.12.30+")])])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("表单重置事件")]),s._v(" "),a("td",[s._v("e - 事件对象")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate")]),s._v(" "),a("td",[s._v("表单校验事件")]),s._v(" "),a("td",[s._v("参数结构如下:"),a("br"),s._v("{"),a("br"),s._v("validity,"),a("br"),s._v(" valid,"),a("br"),s._v(" invalid,"),a("br"),s._v(" dirty,"),a("br"),s._v(" firstInvalidFieldIndex"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("表单校验成功触发")]),s._v(" "),a("td",[s._v("validity 校验结果")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("表单校验失败触发")]),s._v(" "),a("td",[s._v("validity 校验结果")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("validate")]),s._v(" 事件的参数")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("validity")]),s._v(" "),a("td",[s._v("校验结果")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("校验合法,如果还没校验则为 undefined,一旦校验则为 true 或 false")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("校验不合法,如果还没校验则为 undefined,一旦校验则为 true 或 false")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("表单处于 dirty 状态,也就意味着数据源发生了变化")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("firstInvalidFieldIndex")]),s._v(" "),a("td",[s._v("第一个校验不合法的字段索引值")]),s._v(" "),a("td",[s._v("Number")])])])]),s._v(" "),a("ul",[a("li",[a("p",[s._v("校验结果 "),a("code",{pre:!0},[s._v("validity")]),s._v(" 对象")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("校验是否合法")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("result")]),s._v(" "),a("td",[s._v("校验结果,类似于:"),a("br"),s._v("{"),a("br"),s._v(" required: {"),a("br"),s._v("  valid: false,"),a("br"),s._v("  invalid: true,"),a("br"),s._v("  message: 'Required.'"),a("br"),s._v(" }"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("数据是否是已经更新过的")]),s._v(" "),a("td",[s._v("Boolean")])])])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("方法名")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("返回值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("提交表单")]),s._v(" "),a("td",[s._v("skipValidate, 默认 false,如果为 true 代表不校验 直接 submit"),a("sup",[s._v("1.12.2+")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("重置表单")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate(cb)")]),s._v(" "),a("td",[s._v("校验表单")]),s._v(" "),a("td",[s._v("cb: 校验完成后回调函数,主要用于异步校验场景,调用参数为 valid 的值")]),s._v(" "),a("td",[s._v("如果支持 Promise 的话返回值是 Promise 对象(只有 resolved 状态,值为 valid),否则 undefined")])])])])}]}},"3rpl":function(s,t,a){var v=a("VU/8")(null,a("0xxl"),null,null,null);s.exports=v.exports},XO3d:function(s,t,a){s.exports=a("3rpl")}}); \ No newline at end of file diff --git a/docs/js/40.3b3a0e9a78a38f6a1834.js b/docs/js/40.12507c5b207ea7ba37f7.js similarity index 67% rename from docs/js/40.3b3a0e9a78a38f6a1834.js rename to docs/js/40.12507c5b207ea7ba37f7.js index 7938ba9ba..131081024 100644 --- a/docs/js/40.3b3a0e9a78a38f6a1834.js +++ b/docs/js/40.12507c5b207ea7ba37f7.js @@ -1 +1 @@ -webpackJsonp([40],{"JE+5":function(s,t,a){var v=a("VU/8")(null,a("lfEy"),null,null,null);s.exports=v.exports},Ye5R:function(s,t,a){s.exports=a("JE+5")},lfEy:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Checker"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Checker-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Checker")]),s._v(" "),a("p",[s._v("Checker 是更加灵活的选择组件,可以自定义需要的布局样式。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Props配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props 配置")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"CubeCheckerItemProps配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeCheckerItemProps配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeCheckerItem Props 配置")]),s._v(" "),s._m(4),s._v(" "),s._m(5),s._v(" "),s._m(6)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("默认")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("如果选中了,则 "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就为 "),a("code",{pre:!0},[s._v("value")]),s._v("。")]),s._v(" "),a("p",[s._v("设置 "),a("code",{pre:!0},[s._v("option")]),s._v(",当选中某一项的时候,"),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就是 "),a("code",{pre:!0},[s._v("'optionValue'")]),s._v(",当未选中的时候,"),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就是 "),a("code",{pre:!0},[s._v("''")]),s._v("。")])]),s._v(" "),a("li",[a("p",[s._v("单选")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("可通过设置 "),a("code",{pre:!0},[s._v("type")]),s._v(" ,若为 "),a("code",{pre:!0},[s._v("'radio'")]),s._v(" 则是单选,若为 "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(" 则是多选。")])]),s._v(" "),a("li",[a("p",[s._v("自定义结构")]),s._v(" "),a("p",[s._v("可通过默认插槽插入 CubeCheckerItem 实现自定义每项的结构。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.value"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":option")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"orange"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cubeic-alert"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("{{item.text}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("个数限制")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("max")]),s._v(" 设置最多可选个数,多选时可用。")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("min")]),s._v(" 设置最少可选个数,多选时可用。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"2"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("不可点击状态"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("disabled")]),s._v(" 设置禁用状态。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'first'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'second'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'third'")]),s._v("\n }\n ]\n }\n }\n}\n")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("配置项集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("选项类型")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("checkbox/radio")]),s._v(" "),a("td",[s._v("checkbox")])]),s._v(" "),a("tr",[a("td",[s._v("min")]),s._v(" "),a("td",[s._v("最少可选个数")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("max")]),s._v(" "),a("td",[s._v("最多可选个数")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("options 的长度")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("options 子配置项")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("选项的值")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("选项的文本")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("选项是否被禁用")]),s._v(" "),a("td",[s._v("Boolean")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("option")]),s._v(" "),a("td",[s._v("单个配置项")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("option 子配置项")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("选项的值")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("选项的文本")]),s._v(" "),a("td",[s._v("String")])])])])}]}}}); \ No newline at end of file +webpackJsonp([40],{"JE+5":function(s,t,a){var v=a("VU/8")(null,a("lfEy"),null,null,null);s.exports=v.exports},Ye5R:function(s,t,a){s.exports=a("JE+5")},lfEy:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Checker"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Checker-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Checker")]),s._v(" "),a("p",[s._v("Checker 是更加灵活的选择组件,可以自定义需要的布局样式。")]),s._v(" "),a("h3",{attrs:{id:"示例"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-示例-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" 示例")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Props配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props 配置")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"CubeCheckerItemProps配置"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeCheckerItemProps配置-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeCheckerItem Props 配置")]),s._v(" "),s._m(4),s._v(" "),s._m(5),s._v(" "),s._m(6)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("默认")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("如果选中了,则 "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就为 "),a("code",{pre:!0},[s._v("value")]),s._v("。")]),s._v(" "),a("p",[s._v("设置 "),a("code",{pre:!0},[s._v("option")]),s._v(",当选中某一项的时候,"),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就是 "),a("code",{pre:!0},[s._v("'optionValue'")]),s._v(",当未选中的时候,"),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" 的值就是 "),a("code",{pre:!0},[s._v("''")]),s._v("。")])]),s._v(" "),a("li",[a("p",[s._v("单选")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("可通过设置 "),a("code",{pre:!0},[s._v("type")]),s._v(" ,若为 "),a("code",{pre:!0},[s._v("'radio'")]),s._v(" 则是单选,若为 "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(" 则是多选。")])]),s._v(" "),a("li",[a("p",[s._v("自定义结构")]),s._v(" "),a("p",[s._v("可通过默认插槽插入 CubeCheckerItem 实现自定义每项的结构。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.value"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":option")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"orange"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cubeic-alert"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("{{item.text}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("个数限制")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("max")]),s._v(" 设置最多可选个数,多选时可用。")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("min")]),s._v(" 设置最少可选个数,多选时可用。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"2"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("不可点击状态"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("disabled")]),s._v(" 设置禁用状态。")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'first'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'second'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'third'")]),s._v("\n }\n ]\n }\n }\n}\n")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("配置项集合")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("选项类型")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("checkbox/radio")]),s._v(" "),a("td",[s._v("checkbox")])]),s._v(" "),a("tr",[a("td",[s._v("min")]),s._v(" "),a("td",[s._v("最少可选个数")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("max")]),s._v(" "),a("td",[s._v("最多可选个数")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("options 的长度")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("options 子配置项")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("选项的值")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("选项的文本")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("选项是否被禁用")]),s._v(" "),a("td",[s._v("Boolean")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")]),s._v(" "),a("th",[s._v("可选值")]),s._v(" "),a("th",[s._v("默认值")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("option")]),s._v(" "),a("td",[s._v("单个配置项")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("option 子配置项")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("参数")]),s._v(" "),a("th",[s._v("说明")]),s._v(" "),a("th",[s._v("类型")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("选项的值")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("选项的文本")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("选项是否被禁用")]),s._v(" "),a("td",[s._v("Boolean")])])])])}]}}}); \ No newline at end of file diff --git a/docs/js/64.5fa3654dc13ed7ce1b3f.js b/docs/js/64.3860de2a569ff89f3b06.js similarity index 84% rename from docs/js/64.5fa3654dc13ed7ce1b3f.js rename to docs/js/64.3860de2a569ff89f3b06.js index c805fb476..7db5584de 100644 --- a/docs/js/64.5fa3654dc13ed7ce1b3f.js +++ b/docs/js/64.3860de2a569ff89f3b06.js @@ -1 +1 @@ -webpackJsonp([64],{SKvU:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Scroll"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Scroll-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Scroll")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Scrollingprinciple"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Scrollingprinciple-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Scrolling principle")]),s._v(" "),a("p",[s._v("The better-scroll's scrolling principle is, the length of the first child element exceeds the length of the container in the scroll direction.")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),a("p",[s._v("Seven sample code to quickly understand how to use the Scroll component.")]),s._v(" "),s._m(5),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),s._m(8),s._v(" "),s._m(9),s._v(" "),s._m(10),s._v(" "),s._m(11),s._v(" "),s._m(12),s._v(" "),s._m(13),s._v(" "),s._m(14),s._v(" "),s._m(15),s._v(" "),s._m(16),s._v(" "),s._m(17),s._v(" "),a("h3",{attrs:{id:"Propsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Propsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props configuration")]),s._v(" "),s._m(18),s._v(" "),s._m(19),s._v(" "),s._m(20),s._v(" "),s._m(21),s._v(" "),s._m(22),s._v(" "),s._m(23),s._v(" "),s._m(24),s._v(" "),s._m(25),s._v(" "),s._m(26),s._v(" "),a("h3",{attrs:{id:"Slot"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Slot-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Slot")]),s._v(" "),s._m(27),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(28),s._v(" "),a("h3",{attrs:{id:"methods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-methods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" methods")]),s._v(" "),s._m(29)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("code",{pre:!0},[s._v("Scroll")]),s._v(" component, which is encapsulated based on "),a("code",{pre:!0},[s._v("better-scroll")]),s._v(", provides high-quality native scrolling experience and has convenient configuration along with events.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("So for the Scroll component, The length of "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(", the scroll-content, must be larger than "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(", the container element. Depending on the direction of scrolling, there are two situations:")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("1)Scrolling vertically: "),a("strong",[s._v("The height of the content element must be greater than the container element.")]),s._v(" Since the height of the container element will be stretched by the height of the child element by default, in order to satisfy our scrolling premise, you need to give the Scroll component's "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(" element an fixed height.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("2)Scrolling horizontally: "),a("strong",[s._v("The width of the content element must be greater than the container element.")]),s._v(" Since the child element's width does not exceed the container element by default, the Scroll component's "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(" element needs to be set to a width greater than the "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("Note: If there is any situation where scrolling is not possible, you should first check if the height/width of the content element "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(" is greater than the height/width of the container element "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(". This is a prerequisite for content to scroll. "),a("strong",[s._v("If there is images in the content, the scrolling should be not normal. The reason is images may not be downloaded when the DOM element is rendered, so the height of the content element is less than expected. At this point you should manually call the Scroll component's "),a("code",{pre:!0},[s._v("refresh()")]),s._v(" method after the image has been loaded, such as calling in the onload event callback, which will recalculate the scroll distance.")]),s._v(" Scroll related FAQs can seek [Cube-UI/Question-Answer].")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("strong",[s._v("1. Basic usage - Default")])]),s._v(" "),a("p",[s._v("By setting the data property to an array, you can generate an elegantly scrolling list. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/default.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".scroll-list-wrap")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("350px")]),s._v("\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(": As the scrolling principle above, it is necessary to provide a fixed height to the scroll container, and scroll only when the height of the scroll content is greater than the height of the container.")])]),s._v(" "),a("p",[s._v("In the prop "),a("code",{pre:!0},[s._v("options")]),s._v(", you are able to control the scrollbar seen or not via "),a("code",{pre:!0},[s._v("scrollbar")]),s._v(", and configure the initial position by "),a("code",{pre:!0},[s._v("startX/startY")]),s._v(".")]),s._v(" "),a("p",[s._v("Scroll component provides a "),a("code",{pre:!0},[s._v("scrollTo()")]),s._v(" method that allows you to manually control the list scroll position.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("scrollTo() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.scrollTo(\n "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToY,\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToTime,\n ease["),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToEasing]\n )\n},\n")])]),s._v(" "),a("p",[s._v('In fact, this is a very useful method, such as when we want to achieve "click different anchor, list scroll to the corresponding position to show different content", you can use the '),a("code",{pre:!0},[s._v("scrollTo ()")]),s._v(" method.")])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("2. Scrolling horizontally - Horizontal")])]),s._v(" "),a("p",[s._v("Scroll component supports horizontal scrolling. All you need to do is specifying "),a("code",{pre:!0},[s._v("direction = 'horizontal'")]),s._v(" and giving some styles. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/horizontal.vue"}},[s._v("here")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal-scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".horizontal-scroll-list-wrap")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("border")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1px")]),s._v(" solid rgba("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.1")]),s._v(")\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("border-radius")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("5px")]),s._v("\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".cube-scroll-content")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("display")]),s._v(": inline-block\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".list-wrapper")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("padding")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(" "),a("span",{attrs:{class:"hljs-number"}},[s._v("10px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("line-height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("60px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("white-space")]),s._v(": nowrap\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".list-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("display")]),s._v(": inline-block\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(":1. As the scrolling principle above, the CSS style setting here is required, and scrolling is possible only when the scrolling content is wider than the container width. 2. Sometimes we want to use the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component to simulate the horizontal scroll, vertically retaining the browser's native scrolling, or vice versa. At this point you need to pass the better-scroll configuration item "),a("a",{attrs:{href:"http://ustbhuangyi.github.io/better-scroll/doc/en/options.html#eventpassthrough"}},[s._v("eventPassthrough")])])]),s._v(" "),a("p",[s._v("Here giving a brief explanation of the style settings. "),a("code",{pre:!0},[s._v("list-item")]),s._v(" items with "),a("code",{pre:!0},[s._v("display: inline-block")]),s._v(" lead to all "),a("code",{pre:!0},[s._v("list-item")]),s._v(" elements showing on one line. "),a("code",{pre:!0},[s._v("list-wrapper")]),s._v(" adds "),a("code",{pre:!0},[s._v("white-space: nowrap")]),s._v(" hope "),a("code",{pre:!0},[s._v("list-item")]),s._v(" also showing on one line when reaching the outer element boundary. And the most important is setting "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" with "),a("code",{pre:!0},[s._v("display: inline-block")]),s._v(", which make the width of "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" bigger enough so that "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" can wrap descendants elements. Styles with the same properties are floating elements and absolutely positioned elements. When no specific width is set, the width is the minimum width of the wrapped descendant element.")])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("3. Custom content - Customized")])]),s._v(" "),a("p",[s._v("The Scroll component supports the customization of list content through default slot. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/config.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-up")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingUp"')]),s._v(">")]),s._v("\n ... // custom content\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("p",[s._v("Scroll components also support "),a("strong",[s._v("pull-down refresh")]),s._v(" and "),a("strong",[s._v("pull-up load")]),s._v(" capabilities. By default, there is no pulldown refresh/pull-up load. You can enable corresponding functions by "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" and "),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(". After opening, when pulling down, the Scroll component will show the default pulldown animation and dispatch pulldown events. You can monitor the "),a("code",{pre:!0},[s._v("pull-down")]),s._v(" event to update the data. Similarly, after the pull-up load is enabled, the data can be updated by the "),a("code",{pre:!0},[s._v("pull-up")]),s._v(" event.")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v("'s related configurations include: drop threshold (threshold), rebound position (stop), update successful copy (txt) and copy display time (stopTime). See the "),a("a",{attrs:{href:"#/en-US/docs/scroll#cube-Propsconfiguration-anchor"}},[s._v("Props configuration")]),s._v(" for all the configuration items and meanings of the "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" and "),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(" objects.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("... "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ignore")]),s._v("\ncomputed: {\n options() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullDownRefresh")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownRefreshObj,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullUpLoad")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullUpLoadObj,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollbar")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n ...\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n onPullingDown() {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// simulate asynchronous request data")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".random() > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.5")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items.unshift(_foods["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("])\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if no data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n onPullingUp() {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// simulate asynchronous request data")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".random() > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.5")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("let")]),s._v(" newPage = _foods.slice("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("5")]),s._v(")\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items.concat(newPage)\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if no data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n ...\n}\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(": If a pulldown-refresh/pullup-loading has no data update, you must manually call the Scroll component's "),a("code",{pre:!0},[s._v("forceUpdate()")]),s._v(" method to end the pulldown-refresh/pullup-loading so that Scroll will restart listening for the next pulldown-refresh/pullup-loading operation. In the above example, when the data is updated, we did not invoke the "),a("code",{pre:!0},[s._v("forceUpdate()")]),s._v(" method. The reason is: ** If you pass the "),a("code",{pre:!0},[s._v("data")]),s._v(" attribute to the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component, then when the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component listens to the "),a("code",{pre:!0},[s._v("data")]),s._v(" update, the "),a("code",{pre:!0},[s._v("forceUpate(true)")]),s._v(" method will be called automatically. ** so it is recommended to pass the "),a("code",{pre:!0},[s._v("data")]),s._v(" attribute.")])])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("4. Custom pull-down refresh animation - Fake JD App")])]),s._v(" "),a("p",[s._v("If you don't like the built-in pull-down refresh and pull-up loading animations, you can also use the scope slots for custom animations. The variables exposed by "),a("a",{attrs:{href:"https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots"}},[s._v("the scoped slots")]),s._v(" of the Scroll component are perfect to meet the needs of custom pull-down/pull-up animations in most scenarios. The following example imitates the pull-down refresh animation of Jingdong App's homepage. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/jd.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":scroll-events")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v("\"['scroll']\"")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scrollOptions"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@scroll")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onScrollHandle"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"http://om0jxp12h.bkt.clouddn.com/jd_content.JPG"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownRefresh"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-pulldown-wrapper"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pullDownStyle"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown-content"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"http://om0jxp12h.bkt.clouddn.com/pulldow-img.jpg"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.beforePullDown"')]),s._v(">")]),s._v("{{ pullDownTip }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.isPullingDown"')]),s._v(">")]),s._v("正在更新..."),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("更新成功"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullDownRefresh")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("threshold")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("60")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("stop")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("40")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txt")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'更新成功'")]),s._v("\n }\n },\n ...\n }\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("computed")]),s._v(": {\n pullDownTip() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY <= "),a("span",{attrs:{class:"hljs-number"}},[s._v("60")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'下拉刷新...'")]),s._v("\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY <= "),a("span",{attrs:{class:"hljs-number"}},[s._v("90")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'继续下拉有惊喜...'")]),s._v("\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'松手得惊喜!'")]),s._v("\n }\n },\n headerStyle() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".min("),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".max("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(" - "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY / "),a("span",{attrs:{class:"hljs-number"}},[s._v("40")]),s._v("))\n }\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n onScrollHandle(pos) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY = pos.y\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (pos.y > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownStyle = "),a("span",{attrs:{class:"hljs-string"}},[s._v("`top:"),a("span",{attrs:{class:"hljs-subst"}},[s._v("${pos.y}")]),s._v("px`")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY > "),a("span",{attrs:{class:"hljs-number"}},[s._v("90")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.topHeader.style.opacity = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".headerStyle\n },\n onPullingDown() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurprise = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v("\n }\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n ...\n}\n")])]),s._v(" "),a("p",[s._v("Through the scope parameters provided by the scoped slots, such as: "),a("code",{pre:!0},[s._v("beforePulldown")]),s._v(" and "),a("code",{pre:!0},[s._v("isPullingDown")]),s._v(", allows you control the animation process. Tht other scope parameters, see "),a("a",{attrs:{href:"#/en-US/docs/scroll#cube-Slot-anchor"}},[s._v("slots")]),s._v(". In a complete pulldown refresh, the status of "),a("code",{pre:!0},[s._v("beforePullDown")]),s._v(" and "),a("code",{pre:!0},[s._v("isPullingDown")]),s._v(" changes as follows:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("step")]),s._v(" "),a("th",[s._v("beforePulldown")]),s._v(" "),a("th",[s._v("isPullingDown")]),s._v(" "),a("th",[s._v("note")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("1. Untrigger pull-down refresh")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("Show pattern guide user continues to pull down")])]),s._v(" "),a("tr",[a("td",[s._v("2. Trigger pull-down refresh")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("Asynchronous request data,show loading")])]),s._v(" "),a("tr",[a("td",[s._v("3. Request data success")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("invoke "),a("code",{pre:!0},[s._v("forceUpdate(true)")]),s._v(", show success copy. And delay 'stopTime' into step 4")])]),s._v(" "),a("tr",[a("td",[s._v("4. A pull-down refresh complete")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("5. Advanced usage - Fake TouTiao App")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("Scroll components can meet the scrolling needs of most mobile applications. In this example, using two Scroll components, one vertical and one horizontal, to imitates the Toutiao App's home page. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/toutiao.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[s._v(" "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"navScroll"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in navTxts"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"more-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"more"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content-scroll-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content-scroll-list-wrap"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scrollWrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"contentScroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-up")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingUp"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"imgs-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in content"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"imgs-item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.url"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownRefresh"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-pulldown-wrapper"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownStyle"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.beforePullDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"before-trigger"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v("\"{paddingTop: props.bubbleY + 'px'}\"")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"{rotate: props.bubbleY > options.pullDownRefresh.threshold - 60}"')]),s._v(">")]),s._v("↓"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"after-trigger"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-show")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.isPullingDown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"loading"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-loading")]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("transition")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("name")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"success"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-show")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"!props.isPullingDown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"text-wrapper"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"refresh-text"')]),s._v(">")]),s._v("今日头条推荐引擎有x条更新"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("In contrast to faking JD App example, pulldown refreshing custom animations use "),a("code",{pre:!0},[s._v("pullDownStyle")]),s._v(" and "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" in pulldown scope slots to facilitate pulldown animations.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("The "),a("code",{pre:!0},[s._v("pullDownStyle")]),s._v(" is used to control the position of the pull-down content. The value is the string "),a("code",{pre:!0},[s._v("top: n px")]),s._v(" (n represents a number). The Scroll component controls the position of the pull-down content via the absolutely positioned "),a("code",{pre:!0},[s._v("top")]),s._v(" value. The initial state has a negative "),a("code",{pre:!0},[s._v("top")]),s._v(" value, and the value is just the height of the pull-down content, so the drop-down content is hidden above the scroll area. When the pull-down process is started, the Scroll component will gradually increase the "),a("code",{pre:!0},[s._v("top")]),s._v(" value and update the pull-down content position in real time. The maximum value of "),a("code",{pre:!0},[s._v("top")]),s._v(" is 0, that is, the "),a("code",{pre:!0},[s._v("top")]),s._v(" value no longer increases when the pull-down content is completely displayed. So, "),a("code",{pre:!0},[s._v("pullY - height <= top <= 0")]),s._v(". (pullY is the drop-down distance, height is the drop-down content height)")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is used to help implement custom animations. In the default animation, "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is used to control the length of the bubble tail; in the Toutiao example, is used to control the padding-top value of the arrow, to indirectly control the arrow position. The minimum value of "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is 0. In the pull-down process, when the pull-down distance is greater than the height of the pull-down content, "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" starts to increase. That is, "),a("code",{pre:!0},[s._v("0 <= bubbleY <= pullY - height")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[a("strong",[s._v("Note:")]),s._v(" In this example, the "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" configuration item does not have a "),a("code",{pre:!0},[s._v("stop")]),s._v(" value, but it is still able to bounce back to the correct location after the pulldown. The reason is that when the Scroll component is initialized, the pulldown height will be used as the "),a("code",{pre:!0},[s._v("stop")]),s._v(" default value when "),a("code",{pre:!0},[s._v("beforePullDown === false && isPullingDown === true")]),s._v(".")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("strong",[s._v("6. Vertical nested scrolls - Vertical Scrolls")]),a("sup",[s._v("1.12.0")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("The "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component also supports nested scenes (currently only supports two levels of nesting). when there is scroll nest, you need to config the inner "),a("code",{pre:!0},[s._v("scroll")]),s._v(" component's "),a("code",{pre:!0},[s._v("nestMode")]),s._v(" prop,the options can be 'native' or 'free'. when set to 'native', nested "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" has the same scrolling behavior as the browser's native nested scene. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/vertical-scrolls.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-outer-wrap"')]),s._v(">")]),s._v("\n ...\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-outer-wrap"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("nest-mode")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"native"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-scroll-list"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-scroll-item border-bottom-1px"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in items2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(">")]),s._v("{{item}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n ...\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("strong",[s._v("7. Horizontal nested scrolls - Horizontal Scrolls")]),a("sup",[s._v("1.12.0")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("You can also implement horizontal nested scrolling. In this example, we also set "),a("code",{pre:!0},[s._v("nestMode")]),s._v(" to "),a("code",{pre:!0},[s._v("free")]),s._v(". Different from "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, in "),a("code",{pre:!0},[s._v("free")]),s._v(" mode, as long as the boundary is triggered during the inner scrolling process, the outer scroll will be started. In the "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, it is only when the scrolling starts to determine whether it reaches the boundary, which is consistent with the browser's native nested scrolling. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/horizontal-scrolls.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"outer-horizontal-scroll"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items1"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item inner-horizontal-scroll"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("nest-mode")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"free"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items2"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items1"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("data")]),s._v(" "),a("td",[s._v("data used for list rendering")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("scrolling direction")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("'vertical', 'horizontal'")]),s._v(" "),a("td",[s._v("'vertical'")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("the options of better-scroll, you could find details at "),a("a",{attrs:{href:"https://ustbhuangyi.github.io/better-scroll/doc/zh-hans/options.html"}},[s._v("BS Document")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v(" observeDOM: true,"),a("br"),s._v(" click: true,"),a("br"),s._v(" probeType: 1,"),a("br"),s._v(" scrollbar: false,"),a("br"),s._v(" pullDownRefresh: false,"),a("br"),s._v(" pullUpLoad: false"),a("br"),s._v("}")])]),s._v(" "),a("tr",[a("td",[s._v("scrollEvents"),a("sup",[s._v("1.9.0")])]),s._v(" "),a("td",[s._v("configure which scroll events need be triggered")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("could include: 'scroll', 'before-scroll-start', 'scroll-end'")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("listenScroll")]),s._v(" "),a("td",[s._v("whether to dispatch scroll event. "),a("code",{pre:!0},[s._v("Deprecated")]),s._v(", please use the property "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" instead.")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("listenBeforeScroll")]),s._v(" "),a("td",[s._v("whether to dispatch before-scroll-start event. "),a("code",{pre:!0},[s._v("Deprecated")]),s._v(", please use the property "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" instead.")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("refreshDelay")]),s._v(" "),a("td",[s._v("the delay of scroll refresh after "),a("code",{pre:!0},[s._v("data")]),s._v(" updating")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("20")])]),s._v(" "),a("tr",[a("td",[s._v("nestMode"),a("sup",[s._v("1.12.0")])]),s._v(" "),a("td",[s._v("Nested scroll mode, the default is "),a("code",{pre:!0},[s._v("none")]),s._v(" mode that do no thing when there is scroll nest. In "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, only to determine whether to reach the boundary and start the outer scroll when starting scrolling, consistent with the browser's native nested scrolling. In the "),a("code",{pre:!0},[s._v("free")]),s._v(" mode, as long as the boundary is triggered during the inner scrolling process, the outer scrolling is turned on. In extreme cases, you can specify the "),a("code",{pre:!0},[s._v("none")]),s._v(" mode for the inner Scroll to disable nested processing logic.")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("'none', 'native', 'free'")]),s._v(" "),a("td",[s._v("'none'")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("In "),a("code",{pre:!0},[s._v("options")]),s._v(", there are three frequently-used options, "),a("code",{pre:!0},[s._v("scrollbar")]),s._v("、"),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v("、"),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(", which could set as "),a("code",{pre:!0},[s._v("Boolean")]),s._v("("),a("code",{pre:!0},[s._v("false")]),s._v(" to disable the feature, "),a("code",{pre:!0},[s._v("true")]),s._v(" to enable the feature and use default sub configuration), or "),a("code",{pre:!0},[s._v("Object")]),s._v(" to enable the feature and customize the sub configuration.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("scrollbar")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("fade")]),s._v(" "),a("td",[s._v("whether to have fade-in-fade-out style")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("threshold")]),s._v(" "),a("td",[s._v("the threshold of distance that pulling down for refreshing")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("90")])]),s._v(" "),a("tr",[a("td",[s._v("stop")]),s._v(" "),a("td",[s._v("the position where rebounding stays")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("Scroll component will calculate the height of pulldown element as default "),a("code",{pre:!0},[s._v("stop")]),s._v(" value")])]),s._v(" "),a("tr",[a("td",[s._v("stopTime")]),s._v(" "),a("td",[s._v("the time that keeps showing the text of refreshing success")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("600")])]),s._v(" "),a("tr",[a("td",[s._v("txt")]),s._v(" "),a("td",[s._v("the text is shown when refreshing successfully")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("'Refresh success'")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("threshold")]),s._v(" "),a("td",[s._v("the threshold of distance that pulling up for loading")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("txt")]),s._v(" "),a("td",[s._v("the text shown when pulling up loading")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{ more: '', noMore: '' }")])]),s._v(" "),a("tr",[a("td",[s._v("visible"),a("sup",[s._v("1.12.21")])]),s._v(" "),a("td",[s._v("txt visible or not when content is not more enough")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("When pullUpLoad is enabled and the content height is smaller than the container, by default, the copy "),a("code",{pre:!0},[s._v("pullUpLoad.txt")]),s._v(" needs to be pulled up to be seen. If you want to see the prompt copy without pulling up, you can set "),a("code",{pre:!0},[s._v("pullUpLoad.visible")]),s._v(" to "),a("code",{pre:!0},[s._v("true")]),s._v("。")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Scope Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("the list, rendering based on the value of property "),a("code",{pre:!0},[s._v("data")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("pulldown")]),s._v(" "),a("td",[s._v("located above the list and shown when pulling down refreshing")]),s._v(" "),a("td",[s._v("pullDownRefresh: whether to turn on pulling-down-refreshing function"),a("br"),s._v("pullDownStyle: the style of showing and fading"),a("br"),s._v("beforePullDown: whether in pulling down operation"),a("br"),s._v("isPullingDown: whether in the process of pulling in data"),a("br"),s._v("bubbleY: the distance of pulling down currently - 50")])]),s._v(" "),a("tr",[a("td",[s._v("pullup")]),s._v(" "),a("td",[s._v("located below the list and shown when pulling up loading")]),s._v(" "),a("td",[s._v("pullUpLoad: whether to turn on pulling-up-loading function"),a("br"),s._v("isPullUpLoad: whether the data is being loaded")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("click")]),s._v(" "),a("td",[s._v("triggers when clicking the list item")]),s._v(" "),a("td",[s._v("item - the data of the list item")])]),s._v(" "),a("tr",[a("td",[s._v("scroll")]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("scroll")]),s._v(", it will be triggered according to the value of probeType, if listenScroll is true")]),s._v(" "),a("td",[s._v("Object {x, y} - real-time scrolling coordinates")])]),s._v(" "),a("tr",[a("td",[s._v("before-scroll-start")]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("before-scroll-start")]),s._v(", it will be triggered before scrolling start")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("scroll-end"),a("sup",[s._v("1.9.0")])]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("scroll-end")]),s._v(", it will be triggered when scroll end.")]),s._v(" "),a("td",[s._v("Object {x, y} - real-time scrolling coordinates")])]),s._v(" "),a("tr",[a("td",[s._v("pulling-down")]),s._v(" "),a("td",[s._v("triggers when the distance of pulling down exceeds the threshold, if pullDownRefresh is true")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("pulling-up")]),s._v(" "),a("td",[s._v("triggers when the distance of pulling up exceeds the threshold, if pullUpLoad is true")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("scrollTo(x, y, time, ease)")]),s._v(" "),a("td",[s._v("Scroll to specific position.")]),s._v(" "),a("td",[s._v("x: number, horizontal position"),a("br"),s._v(" y: number, vertical position"),a("br"),s._v(" time: number, transition time(ms)"),a("br"),s._v(" ease: easingFn, easing function")])]),s._v(" "),a("tr",[a("td",[s._v("forceUpdate(dirty, nomore"),a("sup",[s._v("1.12.21")]),s._v(")")]),s._v(" "),a("td",[s._v("Mark pull-up or pull-down end, force recalculation of scrollable distance")]),s._v(" "),a("td",[s._v("dirty: boolean, default to false, if true express has data update。"),a("br"),s._v("nomore"),a("sup",[s._v("1.12.21")]),s._v(": boolean, default to false, if true represent has no more data. When params nomore is true, when pullup shows the value of "),a("code",{pre:!0},[s._v("pullUpLoad.txt.nomore")]),s._v(", but when dirty is false, nomore is invalid.")])]),s._v(" "),a("tr",[a("td",[s._v("disable()")]),s._v(" "),a("td",[s._v("Disable scroll.")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("enable()")]),s._v(" "),a("td",[s._v("Enable scroll. It's enabled by default")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("resetPullUpTxt()")]),s._v(" "),a("td",[s._v("Reset pull up txt when pull up state changed from no data to data updated")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("refresh()")]),s._v(" "),a("td",[s._v("Refresh, computed height and called BetterScroll instance's refresh")]),s._v(" "),a("td",[s._v("-")])])])])}]}},a6IA:function(s,t,a){s.exports=a("nez3")},nez3:function(s,t,a){var e=a("VU/8")(null,a("SKvU"),null,null,null);s.exports=e.exports}}); \ No newline at end of file +webpackJsonp([64],{SKvU:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Scroll"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Scroll-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Scroll")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Scrollingprinciple"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Scrollingprinciple-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Scrolling principle")]),s._v(" "),a("p",[s._v("The better-scroll's scrolling principle is, the length of the first child element exceeds the length of the container in the scroll direction.")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),a("p",[s._v("Seven sample code to quickly understand how to use the Scroll component.")]),s._v(" "),s._m(5),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),s._m(8),s._v(" "),s._m(9),s._v(" "),s._m(10),s._v(" "),s._m(11),s._v(" "),s._m(12),s._v(" "),s._m(13),s._v(" "),s._m(14),s._v(" "),s._m(15),s._v(" "),s._m(16),s._v(" "),s._m(17),s._v(" "),a("h3",{attrs:{id:"Propsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Propsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props configuration")]),s._v(" "),s._m(18),s._v(" "),s._m(19),s._v(" "),s._m(20),s._v(" "),s._m(21),s._v(" "),s._m(22),s._v(" "),s._m(23),s._v(" "),s._m(24),s._v(" "),s._m(25),s._v(" "),s._m(26),s._v(" "),a("h3",{attrs:{id:"Slot"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Slot-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Slot")]),s._v(" "),s._m(27),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(28),s._v(" "),a("h3",{attrs:{id:"methods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-methods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" methods")]),s._v(" "),s._m(29)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("code",{pre:!0},[s._v("Scroll")]),s._v(" component, which is encapsulated based on "),a("code",{pre:!0},[s._v("better-scroll")]),s._v(", provides high-quality native scrolling experience and has convenient configuration along with events.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("So for the Scroll component, The length of "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(", the scroll-content, must be larger than "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(", the container element. Depending on the direction of scrolling, there are two situations:")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("1)Scrolling vertically: "),a("strong",[s._v("The height of the content element must be greater than the container element.")]),s._v(" Since the height of the container element will be stretched by the height of the child element by default, in order to satisfy our scrolling premise, you need to give the Scroll component's "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(" element an fixed height.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("2)Scrolling horizontally: "),a("strong",[s._v("The width of the content element must be greater than the container element.")]),s._v(" Since the child element's width does not exceed the container element by default, the Scroll component's "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(" element needs to be set to a width greater than the "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("Note: If there is any situation where scrolling is not possible, you should first check if the height/width of the content element "),a("code",{pre:!0},[s._v(".cube-scroll-content")]),s._v(" is greater than the height/width of the container element "),a("code",{pre:!0},[s._v(".cube-scroll-wrapper")]),s._v(". This is a prerequisite for content to scroll. "),a("strong",[s._v("If there is images in the content, the scrolling should be not normal. The reason is images may not be downloaded when the DOM element is rendered, so the height of the content element is less than expected. At this point you should manually call the Scroll component's "),a("code",{pre:!0},[s._v("refresh()")]),s._v(" method after the image has been loaded, such as calling in the onload event callback, which will recalculate the scroll distance.")]),s._v(" Scroll related FAQs can seek [Cube-UI/Question-Answer].")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("strong",[s._v("1. Basic usage - Default")])]),s._v(" "),a("p",[s._v("By setting the data property to an array, you can generate an elegantly scrolling list. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/default.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".scroll-list-wrap")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("350px")]),s._v("\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(": As the scrolling principle above, it is necessary to provide a fixed height to the scroll container, and scroll only when the height of the scroll content is greater than the height of the container.")])]),s._v(" "),a("p",[s._v("In the prop "),a("code",{pre:!0},[s._v("options")]),s._v(", you are able to control the scrollbar seen or not via "),a("code",{pre:!0},[s._v("scrollbar")]),s._v(", and configure the initial position by "),a("code",{pre:!0},[s._v("startX/startY")]),s._v(".")]),s._v(" "),a("p",[s._v("Scroll component provides a "),a("code",{pre:!0},[s._v("scrollTo()")]),s._v(" method that allows you to manually control the list scroll position.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("scrollTo() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.scrollTo(\n "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToY,\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToTime,\n ease["),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".scrollToEasing]\n )\n},\n")])]),s._v(" "),a("p",[s._v('In fact, this is a very useful method, such as when we want to achieve "click different anchor, list scroll to the corresponding position to show different content", you can use the '),a("code",{pre:!0},[s._v("scrollTo ()")]),s._v(" method.")])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("2. Scrolling horizontally - Horizontal")])]),s._v(" "),a("p",[s._v("Scroll component supports horizontal scrolling. All you need to do is specifying "),a("code",{pre:!0},[s._v("direction = 'horizontal'")]),s._v(" and giving some styles. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/horizontal.vue"}},[s._v("here")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal-scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".horizontal-scroll-list-wrap")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("border")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1px")]),s._v(" solid rgba("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.1")]),s._v(")\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("border-radius")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("5px")]),s._v("\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".cube-scroll-content")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("display")]),s._v(": inline-block\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".list-wrapper")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("padding")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(" "),a("span",{attrs:{class:"hljs-number"}},[s._v("10px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("line-height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("60px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("white-space")]),s._v(": nowrap\n "),a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".list-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("display")]),s._v(": inline-block\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(":1. As the scrolling principle above, the CSS style setting here is required, and scrolling is possible only when the scrolling content is wider than the container width. 2. Sometimes we want to use the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component to simulate the horizontal scroll, vertically retaining the browser's native scrolling, or vice versa. At this point you need to pass the better-scroll configuration item "),a("a",{attrs:{href:"http://ustbhuangyi.github.io/better-scroll/doc/en/options.html#eventpassthrough"}},[s._v("eventPassthrough")])])]),s._v(" "),a("p",[s._v("Here giving a brief explanation of the style settings. "),a("code",{pre:!0},[s._v("list-item")]),s._v(" items with "),a("code",{pre:!0},[s._v("display: inline-block")]),s._v(" lead to all "),a("code",{pre:!0},[s._v("list-item")]),s._v(" elements showing on one line. "),a("code",{pre:!0},[s._v("list-wrapper")]),s._v(" adds "),a("code",{pre:!0},[s._v("white-space: nowrap")]),s._v(" hope "),a("code",{pre:!0},[s._v("list-item")]),s._v(" also showing on one line when reaching the outer element boundary. And the most important is setting "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" with "),a("code",{pre:!0},[s._v("display: inline-block")]),s._v(", which make the width of "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" bigger enough so that "),a("code",{pre:!0},[s._v("cube-scroll-content")]),s._v(" can wrap descendants elements. Styles with the same properties are floating elements and absolutely positioned elements. When no specific width is set, the width is the minimum width of the wrapped descendant element.")])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("3. Custom content - Customized")])]),s._v(" "),a("p",[s._v("The Scroll component supports the customization of list content through default slot. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/config.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-up")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingUp"')]),s._v(">")]),s._v("\n ... // custom content\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("p",[s._v("Scroll components also support "),a("strong",[s._v("pull-down refresh")]),s._v(" and "),a("strong",[s._v("pull-up load")]),s._v(" capabilities. By default, there is no pulldown refresh/pull-up load. You can enable corresponding functions by "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" and "),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(". After opening, when pulling down, the Scroll component will show the default pulldown animation and dispatch pulldown events. You can monitor the "),a("code",{pre:!0},[s._v("pull-down")]),s._v(" event to update the data. Similarly, after the pull-up load is enabled, the data can be updated by the "),a("code",{pre:!0},[s._v("pull-up")]),s._v(" event.")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v("'s related configurations include: drop threshold (threshold), rebound position (stop), update successful copy (txt) and copy display time (stopTime). See the "),a("a",{attrs:{href:"#/en-US/docs/scroll#cube-Propsconfiguration-anchor"}},[s._v("Props configuration")]),s._v(" for all the configuration items and meanings of the "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" and "),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(" objects.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("... "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ignore")]),s._v("\ncomputed: {\n options() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullDownRefresh")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownRefreshObj,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullUpLoad")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullUpLoadObj,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollbar")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n ...\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n onPullingDown() {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// simulate asynchronous request data")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".random() > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.5")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items.unshift(_foods["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("])\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if no data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n onPullingUp() {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// simulate asynchronous request data")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".random() > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0.5")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("let")]),s._v(" newPage = _foods.slice("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("5")]),s._v(")\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".items.concat(newPage)\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if no data update")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n ...\n}\n")])]),s._v(" "),a("blockquote",[a("p",[a("strong",[s._v("Note")]),s._v(": If a pulldown-refresh/pullup-loading has no data update, you must manually call the Scroll component's "),a("code",{pre:!0},[s._v("forceUpdate()")]),s._v(" method to end the pulldown-refresh/pullup-loading so that Scroll will restart listening for the next pulldown-refresh/pullup-loading operation. In the above example, when the data is updated, we did not invoke the "),a("code",{pre:!0},[s._v("forceUpdate()")]),s._v(" method. The reason is: ** If you pass the "),a("code",{pre:!0},[s._v("data")]),s._v(" attribute to the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component, then when the "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component listens to the "),a("code",{pre:!0},[s._v("data")]),s._v(" update, the "),a("code",{pre:!0},[s._v("forceUpate(true)")]),s._v(" method will be called automatically. ** so it is recommended to pass the "),a("code",{pre:!0},[s._v("data")]),s._v(" attribute.")])])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("4. Custom pull-down refresh animation - Fake JD App")])]),s._v(" "),a("p",[s._v("If you don't like the built-in pull-down refresh and pull-up loading animations, you can also use the scope slots for custom animations. The variables exposed by "),a("a",{attrs:{href:"https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots"}},[s._v("the scoped slots")]),s._v(" of the Scroll component are perfect to meet the needs of custom pull-down/pull-up animations in most scenarios. The following example imitates the pull-down refresh animation of Jingdong App's homepage. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/jd.vue"}},[s._v("here")]),s._v(".")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":scroll-events")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v("\"['scroll']\"")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scrollOptions"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@scroll")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onScrollHandle"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"http://om0jxp12h.bkt.clouddn.com/jd_content.JPG"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownRefresh"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-pulldown-wrapper"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pullDownStyle"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown-content"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"http://om0jxp12h.bkt.clouddn.com/pulldow-img.jpg"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.beforePullDown"')]),s._v(">")]),s._v("{{ pullDownTip }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.isPullingDown"')]),s._v(">")]),s._v("正在更新..."),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("更新成功"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-javascript"}},[s._v("data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pullDownRefresh")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("threshold")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("60")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("stop")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("40")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txt")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'更新成功'")]),s._v("\n }\n },\n ...\n }\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("computed")]),s._v(": {\n pullDownTip() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY <= "),a("span",{attrs:{class:"hljs-number"}},[s._v("60")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'下拉刷新...'")]),s._v("\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY <= "),a("span",{attrs:{class:"hljs-number"}},[s._v("90")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'继续下拉有惊喜...'")]),s._v("\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-string"}},[s._v("'松手得惊喜!'")]),s._v("\n }\n },\n headerStyle() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".min("),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Math")]),s._v(".max("),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(" - "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY / "),a("span",{attrs:{class:"hljs-number"}},[s._v("40")]),s._v("))\n }\n},\n"),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n onScrollHandle(pos) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY = pos.y\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (pos.y > "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownStyle = "),a("span",{attrs:{class:"hljs-string"}},[s._v("`top:"),a("span",{attrs:{class:"hljs-subst"}},[s._v("${pos.y}")]),s._v("px`")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".pullDownY > "),a("span",{attrs:{class:"hljs-number"}},[s._v("90")]),s._v(") {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.topHeader.style.opacity = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".headerStyle\n },\n onPullingDown() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" ("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurpriseFlag) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".triggerSurprise = "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v("\n }\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.scroll.forceUpdate()\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n },\n ...\n}\n")])]),s._v(" "),a("p",[s._v("Through the scope parameters provided by the scoped slots, such as: "),a("code",{pre:!0},[s._v("beforePulldown")]),s._v(" and "),a("code",{pre:!0},[s._v("isPullingDown")]),s._v(", allows you control the animation process. Tht other scope parameters, see "),a("a",{attrs:{href:"#/en-US/docs/scroll#cube-Slot-anchor"}},[s._v("slots")]),s._v(". In a complete pulldown refresh, the status of "),a("code",{pre:!0},[s._v("beforePullDown")]),s._v(" and "),a("code",{pre:!0},[s._v("isPullingDown")]),s._v(" changes as follows:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("step")]),s._v(" "),a("th",[s._v("beforePulldown")]),s._v(" "),a("th",[s._v("isPullingDown")]),s._v(" "),a("th",[s._v("note")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("1. Untrigger pull-down refresh")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("Show pattern guide user continues to pull down")])]),s._v(" "),a("tr",[a("td",[s._v("2. Trigger pull-down refresh")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("Asynchronous request data,show loading")])]),s._v(" "),a("tr",[a("td",[s._v("3. Request data success")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("invoke "),a("code",{pre:!0},[s._v("forceUpdate(true)")]),s._v(", show success copy. And delay 'stopTime' into step 4")])]),s._v(" "),a("tr",[a("td",[s._v("4. A pull-down refresh complete")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])]),s._v(" "),a("li",[a("p",[a("strong",[s._v("5. Advanced usage - Fake TouTiao App")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("Scroll components can meet the scrolling needs of most mobile applications. In this example, using two Scroll components, one vertical and one horizontal, to imitates the Toutiao App's home page. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/toutiao.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[s._v(" "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-scroll-list-wrap"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"navScroll"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in navTxts"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"nav-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"more-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"more"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content-scroll-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content-scroll-list-wrap"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scrollWrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"contentScroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"content"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-down")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@pulling-up")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"onPullingUp"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"imgs-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in content"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"imgs-item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("img")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":src")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.url"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("template")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"pulldown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownRefresh"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-pulldown-wrapper"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.pullDownStyle"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-if")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.beforePullDown"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"before-trigger"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":style")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v("\"{paddingTop: props.bubbleY + 'px'}\"")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"{rotate: props.bubbleY > options.pullDownRefresh.threshold - 60}"')]),s._v(">")]),s._v("↓"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"after-trigger"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-else")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-show")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props.isPullingDown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"loading"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-loading")]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("transition")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("name")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"success"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-show")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"!props.isPullingDown"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"text-wrapper"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"refresh-text"')]),s._v(">")]),s._v("今日头条推荐引擎有x条更新"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("In contrast to faking JD App example, pulldown refreshing custom animations use "),a("code",{pre:!0},[s._v("pullDownStyle")]),s._v(" and "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" in pulldown scope slots to facilitate pulldown animations.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("The "),a("code",{pre:!0},[s._v("pullDownStyle")]),s._v(" is used to control the position of the pull-down content. The value is the string "),a("code",{pre:!0},[s._v("top: n px")]),s._v(" (n represents a number). The Scroll component controls the position of the pull-down content via the absolutely positioned "),a("code",{pre:!0},[s._v("top")]),s._v(" value. The initial state has a negative "),a("code",{pre:!0},[s._v("top")]),s._v(" value, and the value is just the height of the pull-down content, so the drop-down content is hidden above the scroll area. When the pull-down process is started, the Scroll component will gradually increase the "),a("code",{pre:!0},[s._v("top")]),s._v(" value and update the pull-down content position in real time. The maximum value of "),a("code",{pre:!0},[s._v("top")]),s._v(" is 0, that is, the "),a("code",{pre:!0},[s._v("top")]),s._v(" value no longer increases when the pull-down content is completely displayed. So, "),a("code",{pre:!0},[s._v("pullY - height <= top <= 0")]),s._v(". (pullY is the drop-down distance, height is the drop-down content height)")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is used to help implement custom animations. In the default animation, "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is used to control the length of the bubble tail; in the Toutiao example, is used to control the padding-top value of the arrow, to indirectly control the arrow position. The minimum value of "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" is 0. In the pull-down process, when the pull-down distance is greater than the height of the pull-down content, "),a("code",{pre:!0},[s._v("bubbleY")]),s._v(" starts to increase. That is, "),a("code",{pre:!0},[s._v("0 <= bubbleY <= pullY - height")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[a("strong",[s._v("Note:")]),s._v(" In this example, the "),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" configuration item does not have a "),a("code",{pre:!0},[s._v("stop")]),s._v(" value, but it is still able to bounce back to the correct location after the pulldown. The reason is that when the Scroll component is initialized, the pulldown height will be used as the "),a("code",{pre:!0},[s._v("stop")]),s._v(" default value when "),a("code",{pre:!0},[s._v("beforePullDown === false && isPullingDown === true")]),s._v(".")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("strong",[s._v("6. Vertical nested scrolls - Vertical Scrolls")]),a("sup",[s._v("1.12.0")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("The "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" component also supports nested scenes (currently only supports two levels of nesting). when there is scroll nest, you need to config the inner "),a("code",{pre:!0},[s._v("scroll")]),s._v(" component's "),a("code",{pre:!0},[s._v("nestMode")]),s._v(" prop,the options can be 'native' or 'free'. when set to 'native', nested "),a("code",{pre:!0},[s._v("Scroll")]),s._v(" has the same scrolling behavior as the browser's native nested scene. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/vertical-scrolls.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-outer-wrap"')]),s._v(">")]),s._v("\n ...\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll-list-outer-wrap"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("nest-mode")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"native"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-scroll-list"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cube-scroll-item border-bottom-1px"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"(item, index) in items2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"index"')]),s._v(">")]),s._v("{{item}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n ...\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[a("strong",[s._v("7. Horizontal nested scrolls - Horizontal Scrolls")]),a("sup",[s._v("1.12.0")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("You can also implement horizontal nested scrolling. In this example, we also set "),a("code",{pre:!0},[s._v("nestMode")]),s._v(" to "),a("code",{pre:!0},[s._v("free")]),s._v(". Different from "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, in "),a("code",{pre:!0},[s._v("free")]),s._v(" mode, as long as the boundary is triggered during the inner scrolling process, the outer scroll will be started. In the "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, it is only when the scrolling starts to determine whether it reaches the boundary, which is consistent with the browser's native nested scrolling. The complete sample code is "),a("a",{attrs:{href:"https://github.com/didi/cube-ui/blob/master/example/pages/scroll/horizontal-scrolls.vue"}},[s._v("here")]),s._v(".")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"outer-horizontal-scroll"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items1"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item inner-horizontal-scroll"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"scroll"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":data")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"items2"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"horizontal"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("nest-mode")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"free"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("ul")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-wrapper"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items2"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("li")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in items1"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"list-item"')]),s._v(">")]),s._v("{{ item }}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("data")]),s._v(" "),a("td",[s._v("data used for list rendering")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("scrolling direction")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("'vertical', 'horizontal'")]),s._v(" "),a("td",[s._v("'vertical'")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("the options of better-scroll, you could find details at "),a("a",{attrs:{href:"https://ustbhuangyi.github.io/better-scroll/doc/en/options.html"}},[s._v("BS Document")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v(" observeDOM: true,"),a("br"),s._v(" click: true,"),a("br"),s._v(" probeType: 1,"),a("br"),s._v(" scrollbar: false,"),a("br"),s._v(" pullDownRefresh: false,"),a("br"),s._v(" pullUpLoad: false"),a("br"),s._v("}")])]),s._v(" "),a("tr",[a("td",[s._v("scrollEvents"),a("sup",[s._v("1.9.0")])]),s._v(" "),a("td",[s._v("configure which scroll events need be triggered")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("could include: 'scroll', 'before-scroll-start', 'scroll-end'")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("listenScroll")]),s._v(" "),a("td",[s._v("whether to dispatch scroll event. "),a("code",{pre:!0},[s._v("Deprecated")]),s._v(", please use the property "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" instead.")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("listenBeforeScroll")]),s._v(" "),a("td",[s._v("whether to dispatch before-scroll-start event. "),a("code",{pre:!0},[s._v("Deprecated")]),s._v(", please use the property "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" instead.")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("refreshDelay")]),s._v(" "),a("td",[s._v("the delay of scroll refresh after "),a("code",{pre:!0},[s._v("data")]),s._v(" updating")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("20")])]),s._v(" "),a("tr",[a("td",[s._v("nestMode"),a("sup",[s._v("1.12.0")])]),s._v(" "),a("td",[s._v("Nested scroll mode, the default is "),a("code",{pre:!0},[s._v("none")]),s._v(" mode that do no thing when there is scroll nest. In "),a("code",{pre:!0},[s._v("native")]),s._v(" mode, only to determine whether to reach the boundary and start the outer scroll when starting scrolling, consistent with the browser's native nested scrolling. In the "),a("code",{pre:!0},[s._v("free")]),s._v(" mode, as long as the boundary is triggered during the inner scrolling process, the outer scrolling is turned on. In extreme cases, you can specify the "),a("code",{pre:!0},[s._v("none")]),s._v(" mode for the inner Scroll to disable nested processing logic.")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("'none', 'native', 'free'")]),s._v(" "),a("td",[s._v("'none'")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("p",[s._v("In "),a("code",{pre:!0},[s._v("options")]),s._v(", there are three frequently-used options, "),a("code",{pre:!0},[s._v("scrollbar")]),s._v("、"),a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v("、"),a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(", which could set as "),a("code",{pre:!0},[s._v("Boolean")]),s._v("("),a("code",{pre:!0},[s._v("false")]),s._v(" to disable the feature, "),a("code",{pre:!0},[s._v("true")]),s._v(" to enable the feature and use default sub configuration), or "),a("code",{pre:!0},[s._v("Object")]),s._v(" to enable the feature and customize the sub configuration.")])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("scrollbar")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("fade")]),s._v(" "),a("td",[s._v("whether to have fade-in-fade-out style")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("pullDownRefresh")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("threshold")]),s._v(" "),a("td",[s._v("the threshold of distance that pulling down for refreshing")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("90")])]),s._v(" "),a("tr",[a("td",[s._v("stop")]),s._v(" "),a("td",[s._v("the position where rebounding stays")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("Scroll component will calculate the height of pulldown element as default "),a("code",{pre:!0},[s._v("stop")]),s._v(" value")])]),s._v(" "),a("tr",[a("td",[s._v("stopTime")]),s._v(" "),a("td",[s._v("the time that keeps showing the text of refreshing success")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("600")])]),s._v(" "),a("tr",[a("td",[s._v("txt")]),s._v(" "),a("td",[s._v("the text is shown when refreshing successfully")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("'Refresh success'")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("code",{pre:!0},[s._v("pullUpLoad")]),s._v(" sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("threshold")]),s._v(" "),a("td",[s._v("the threshold of distance that pulling up for loading")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("txt")]),s._v(" "),a("td",[s._v("the text shown when pulling up loading")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{ more: '', noMore: '' }")])]),s._v(" "),a("tr",[a("td",[s._v("visible"),a("sup",[s._v("1.12.21")])]),s._v(" "),a("td",[s._v("txt visible or not when content is not more enough")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("When pullUpLoad is enabled and the content height is smaller than the container, by default, the copy "),a("code",{pre:!0},[s._v("pullUpLoad.txt")]),s._v(" needs to be pulled up to be seen. If you want to see the prompt copy without pulling up, you can set "),a("code",{pre:!0},[s._v("pullUpLoad.visible")]),s._v(" to "),a("code",{pre:!0},[s._v("true")]),s._v("。")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Scope Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("the list, rendering based on the value of property "),a("code",{pre:!0},[s._v("data")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("pulldown")]),s._v(" "),a("td",[s._v("located above the list and shown when pulling down refreshing")]),s._v(" "),a("td",[s._v("pullDownRefresh: whether to turn on pulling-down-refreshing function"),a("br"),s._v("pullDownStyle: the style of showing and fading"),a("br"),s._v("beforePullDown: whether in pulling down operation"),a("br"),s._v("isPullingDown: whether in the process of pulling in data"),a("br"),s._v("bubbleY: the distance of pulling down currently - 50")])]),s._v(" "),a("tr",[a("td",[s._v("pullup")]),s._v(" "),a("td",[s._v("located below the list and shown when pulling up loading")]),s._v(" "),a("td",[s._v("pullUpLoad: whether to turn on pulling-up-loading function"),a("br"),s._v("isPullUpLoad: whether the data is being loaded")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("click")]),s._v(" "),a("td",[s._v("triggers when clicking the list item")]),s._v(" "),a("td",[s._v("item - the data of the list item")])]),s._v(" "),a("tr",[a("td",[s._v("scroll")]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("scroll")]),s._v(", it will be triggered according to the value of probeType, if listenScroll is true")]),s._v(" "),a("td",[s._v("Object {x, y} - real-time scrolling coordinates")])]),s._v(" "),a("tr",[a("td",[s._v("before-scroll-start")]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("before-scroll-start")]),s._v(", it will be triggered before scrolling start")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("scroll-end"),a("sup",[s._v("1.9.0")])]),s._v(" "),a("td",[s._v("if "),a("code",{pre:!0},[s._v("scroll-events")]),s._v(" includes "),a("code",{pre:!0},[s._v("scroll-end")]),s._v(", it will be triggered when scroll end.")]),s._v(" "),a("td",[s._v("Object {x, y} - real-time scrolling coordinates")])]),s._v(" "),a("tr",[a("td",[s._v("pulling-down")]),s._v(" "),a("td",[s._v("triggers when the distance of pulling down exceeds the threshold, if pullDownRefresh is true")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("pulling-up")]),s._v(" "),a("td",[s._v("triggers when the distance of pulling up exceeds the threshold, if pullUpLoad is true")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("scrollTo(x, y, time, ease)")]),s._v(" "),a("td",[s._v("Scroll to specific position.")]),s._v(" "),a("td",[s._v("x: number, horizontal position"),a("br"),s._v(" y: number, vertical position"),a("br"),s._v(" time: number, transition time(ms)"),a("br"),s._v(" ease: easingFn, easing function")])]),s._v(" "),a("tr",[a("td",[s._v("forceUpdate(dirty, nomore"),a("sup",[s._v("1.12.21")]),s._v(")")]),s._v(" "),a("td",[s._v("Mark pull-up or pull-down end, force recalculation of scrollable distance")]),s._v(" "),a("td",[s._v("dirty: boolean, default to false, if true express has data update。"),a("br"),s._v("nomore"),a("sup",[s._v("1.12.21")]),s._v(": boolean, default to false, if true represent has no more data. When params nomore is true, when pullup shows the value of "),a("code",{pre:!0},[s._v("pullUpLoad.txt.nomore")]),s._v(", but when dirty is false, nomore is invalid.")])]),s._v(" "),a("tr",[a("td",[s._v("disable()")]),s._v(" "),a("td",[s._v("Disable scroll.")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("enable()")]),s._v(" "),a("td",[s._v("Enable scroll. It's enabled by default")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("resetPullUpTxt()")]),s._v(" "),a("td",[s._v("Reset pull up txt when pull up state changed from no data to data updated")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("refresh()")]),s._v(" "),a("td",[s._v("Refresh, computed height and called BetterScroll instance's refresh")]),s._v(" "),a("td",[s._v("-")])])])])}]}},a6IA:function(s,t,a){s.exports=a("nez3")},nez3:function(s,t,a){var e=a("VU/8")(null,a("SKvU"),null,null,null);s.exports=e.exports}}); \ No newline at end of file diff --git a/docs/js/66.d06cadf3890e07a93166.js b/docs/js/66.823b95ac74d60b67566a.js similarity index 89% rename from docs/js/66.d06cadf3890e07a93166.js rename to docs/js/66.823b95ac74d60b67566a.js index c40eb0658..b7f06e307 100644 --- a/docs/js/66.d06cadf3890e07a93166.js +++ b/docs/js/66.823b95ac74d60b67566a.js @@ -1 +1 @@ -webpackJsonp([66],{DeI1:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"ScrollNavBar"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-ScrollNavBar-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" ScrollNavBar")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("Scroll navigation bar component, like DiDi business navigation.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),s._m(2),s._v(" "),a("h3",{attrs:{id:"Slot"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Slot-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Slot")]),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"Instancemethods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Instancemethods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Instance methods")]),s._v(" "),s._m(5)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("New in 1.10.0+")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("Default horizontal")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("You can set the active item by "),a("code",{pre:!0},[s._v("current")]),s._v(" Prop. "),a("code",{pre:!0},[s._v("labels")]),s._v(" is the collection if all the item's keys. The "),a("code",{pre:!0},[s._v("change")]),s._v(" events will be triggered when active item changed.")])]),s._v(" "),a("li",[a("p",[s._v("Vertical")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"side-container"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"vertical"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":txts")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"txts"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("{{props.txt}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txts")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'1快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'4顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'5代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'6公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'7自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'8豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'9二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'10出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".side-container")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("300px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("margin-top")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("20px")]),s._v("\n")])]),s._v(" "),a("p",[s._v("If the "),a("code",{pre:!0},[s._v("direction")]),s._v(" Prop is "),a("code",{pre:!0},[s._v("vertical")]),s._v(" then the ScrollNavBar will be vertical style.")]),s._v(" "),a("p",[s._v("You can use "),a("code",{pre:!0},[s._v("txts")]),s._v(" Prop to defined the text of showcases, it's order is correspondence with "),a("code",{pre:!0},[s._v("labels")]),s._v(" Prop. The default "),a("code",{pre:!0},[s._v("txts")]),s._v(" value is "),a("code",{pre:!0},[s._v("labels")]),s._v(".")]),s._v(" "),a("p",[s._v("You can also use default scoped slot to defined your own item content.")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("direction, default horizontal")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("horizontal/vertical")]),s._v(" "),a("td",[s._v("horizontal")])]),s._v(" "),a("tr",[a("td",[s._v("labels")]),s._v(" "),a("td",[s._v("the collection if all the item's keys")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("txts")]),s._v(" "),a("td",[s._v("the text of showcases, it's order is correspondence with "),a("code",{pre:!0},[s._v("labels")]),s._v(", the item can be a HTML string value")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("default equals to "),a("code",{pre:!0},[s._v("labels")]),s._v(" Prop")])]),s._v(" "),a("tr",[a("td",[s._v("current")]),s._v(" "),a("td",[s._v("the key of the active item")]),s._v(" "),a("td",[s._v("String/Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Scope Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("default content")]),s._v(" "),a("td",[s._v("txt: item's text"),a("br"),s._v("index: item's index"),a("br"),s._v("active: the key of active item"),a("br"),s._v("label: item's label")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("change")]),s._v(" "),a("td",[s._v("triggers when active item changed")]),s._v(" "),a("td",[s._v("active - the key of active item")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method name")]),s._v(" "),a("th",[s._v("Description")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("refresh")]),s._v(" "),a("td",[s._v("You can call this method when content updated")])])])])}]}},lcM9:function(s,t,a){var r=a("VU/8")(null,a("DeI1"),null,null,null);s.exports=r.exports},vucU:function(s,t,a){s.exports=a("lcM9")}}); \ No newline at end of file +webpackJsonp([66],{DeI1:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"ScrollNavBar"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-ScrollNavBar-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" ScrollNavBar")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("Scroll navigation bar component, like DiDi business navigation.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),s._m(2),s._v(" "),a("h3",{attrs:{id:"Slot"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Slot-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Slot")]),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(4),s._v(" "),a("h3",{attrs:{id:"Instancemethods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Instancemethods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Instance methods")]),s._v(" "),s._m(5)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("New in 1.10.0+")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("Default horizontal")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("You can set the active item by "),a("code",{pre:!0},[s._v("current")]),s._v(" Prop. "),a("code",{pre:!0},[s._v("labels")]),s._v(" is the collection if all the item's keys. The "),a("code",{pre:!0},[s._v("change")]),s._v(" events will be triggered when active item changed.")])]),s._v(" "),a("li",[a("p",[s._v("Vertical")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("div")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"side-container"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-scroll-nav-bar")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("direction")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"vertical"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":current")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"current"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":labels")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"labels"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":txts")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"txts"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@change")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"changeHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("slot-scope")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"props"')]),s._v(">")]),s._v("{{props.txt}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("current")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("labels")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'出租车'")]),s._v("\n ],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("txts")]),s._v(": [\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'1快车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2小巴'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3专车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'4顺风车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'5代驾'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'6公交'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'7自驾租车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'8豪华车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'9二手车'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'10出租车'")]),s._v("\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n changeHandler(cur) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".current = cur\n }\n }\n}\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-stylus"}},[a("span",{attrs:{class:"hljs-selector-class"}},[s._v(".side-container")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("height")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("300px")]),s._v("\n "),a("span",{attrs:{class:"hljs-attribute"}},[s._v("margin-top")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("20px")]),s._v("\n")])]),s._v(" "),a("p",[s._v("If the "),a("code",{pre:!0},[s._v("direction")]),s._v(" Prop is "),a("code",{pre:!0},[s._v("vertical")]),s._v(" then the ScrollNavBar will be vertical style.")]),s._v(" "),a("p",[s._v("You can use "),a("code",{pre:!0},[s._v("txts")]),s._v(" Prop to defined the text of showcases, it's order is correspondence with "),a("code",{pre:!0},[s._v("labels")]),s._v(" Prop. The default "),a("code",{pre:!0},[s._v("txts")]),s._v(" value is "),a("code",{pre:!0},[s._v("labels")]),s._v(".")]),s._v(" "),a("p",[s._v("You can also use default scoped slot to defined your own item content.")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("direction")]),s._v(" "),a("td",[s._v("direction, default horizontal")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("horizontal/vertical")]),s._v(" "),a("td",[s._v("horizontal")])]),s._v(" "),a("tr",[a("td",[s._v("labels")]),s._v(" "),a("td",[s._v("the collection if all the item's keys")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])]),s._v(" "),a("tr",[a("td",[s._v("txts")]),s._v(" "),a("td",[s._v("the text of showcases, it's order is correspondence with "),a("code",{pre:!0},[s._v("labels")]),s._v(", the item can be a HTML string value")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("default equals to "),a("code",{pre:!0},[s._v("labels")]),s._v(" Prop")])]),s._v(" "),a("tr",[a("td",[s._v("current")]),s._v(" "),a("td",[s._v("the key of the active item")]),s._v(" "),a("td",[s._v("String/Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("the options of better-scroll, you could find details at "),a("a",{attrs:{href:"https://ustbhuangyi.github.io/better-scroll/doc/en/options.html"}},[s._v("BS Document")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Scope Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("default")]),s._v(" "),a("td",[s._v("default content")]),s._v(" "),a("td",[s._v("txt: item's text"),a("br"),s._v("index: item's index"),a("br"),s._v("active: the key of active item"),a("br"),s._v("label: item's label")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("change")]),s._v(" "),a("td",[s._v("triggers when active item changed")]),s._v(" "),a("td",[s._v("active - the key of active item")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method name")]),s._v(" "),a("th",[s._v("Description")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("refresh")]),s._v(" "),a("td",[s._v("You can call this method when content updated")])])])])}]}},lcM9:function(s,t,a){var r=a("VU/8")(null,a("DeI1"),null,null,null);s.exports=r.exports},vucU:function(s,t,a){s.exports=a("lcM9")}}); \ No newline at end of file diff --git a/docs/js/80.d3f5d07ed3f4fa726aeb.js b/docs/js/80.19c94a0ddf0ed2e20c37.js similarity index 86% rename from docs/js/80.d3f5d07ed3f4fa726aeb.js rename to docs/js/80.19c94a0ddf0ed2e20c37.js index 93fd6ee5e..767de533a 100644 --- a/docs/js/80.d3f5d07ed3f4fa726aeb.js +++ b/docs/js/80.19c94a0ddf0ed2e20c37.js @@ -1 +1 @@ -webpackJsonp([80],{"4+v0":function(s,t,a){var v=a("VU/8")(null,a("Bhil"),null,null,null);s.exports=v.exports},Bhil:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("CubeForm is a schema-based form generator component.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),a("h4",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h4",{attrs:{id:"FormGroup"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-FormGroup-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" FormGroup")]),s._v(" "),s._m(4),s._v(" "),a("h4",{attrs:{id:"FormItem"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-FormItem-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" FormItem")]),s._v(" "),s._m(5),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),a("h3",{attrs:{id:"Instancemethods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Instancemethods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Instance methods")]),s._v(" "),s._m(8)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("New in 1.7.0+")]),s._v(" "),a("p",[s._v("1.8.0+ supported trigger validating when blur and debounce. Supported async validate too because of Validator supported it.")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("default usage")]),s._v(" "),a("p",[s._v("This demo includes all cube-ui form fields.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":schema")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"schema"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":immediate-validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"false"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@reset")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"resetHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxGroupValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("radioValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("switchValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("textareaValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploadValue")]),s._v(": []\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("schema")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'基础'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Please check this field'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxGroupValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'CheckboxGroup'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// validating when blur")]),s._v("\n trigger: "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blur'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radio-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radioValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Radio'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'selectValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2015")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2016")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2017")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2019")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2020")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switchValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textareaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// debounce validate")]),s._v("\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if set to true, the default debounce time will be 200(ms)")]),s._v("\n debounce: "),a("span",{attrs:{class:"hljs-number"}},[s._v("100")]),s._v("\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'高级'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploadValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("events")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'file-removed'")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("...args")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'file removed'")]),s._v(", args)\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("val, config")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v(".all(val.map("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("file, i")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v("("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("resolve, reject")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (file.uploadedUrl) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" resolve()\n }\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// fake request")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (i % "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(") {\n reject("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Error")]),s._v("())\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n file.uploadedUrl = "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploaded/url'")]),s._v("\n resolve()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n })\n })).then("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n })\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'上传失败'")]),s._v("\n }\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Submit'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Reset'")]),s._v("\n }\n ]\n }\n ]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollToInvalidField")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("layout")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'standard'")]),s._v(" "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// classic fresh")]),s._v("\n }\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n e.preventDefault()\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(", e)\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n resetHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(", e)\n }\n }\n}\n")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("model")]),s._v(" is the model/target JSON object, "),a("code",{pre:!0},[s._v("schema")]),s._v(" is the schema object with fields, if "),a("code",{pre:!0},[s._v("immediate-validate")]),s._v(" is true, we will run validation after load.")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("submit")]),s._v(" is the submited event, the "),a("code",{pre:!0},[s._v("validate")]),s._v(" is the form validate event and the "),a("code",{pre:!0},[s._v("reset")]),s._v(" is the form reset event.")])]),s._v(" "),a("li",[a("p",[s._v("Custom usage")]),s._v(" "),a("p",[s._v("You can choose to use your own custom components, or use slots to custom your logic.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[0]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[1]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[2]"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@click")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"showDatePicker"')]),s._v(">")]),s._v("{{model.dateValue || 'Please select date'}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("date-picker")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"datePicker"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2008, 8, 8]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2020, 10, 20]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@select")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"dateSelectHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submit"')]),s._v(">")]),s._v("Submit"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-comment"}},[s._v("// province, city, area")]),s._v("\n"),a("span",{attrs:{class:"hljs-comment"}},[s._v("// select component")]),s._v("\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("const")]),s._v(" PCA = {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Array")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v("() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" []\n }\n }\n },\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selected")]),s._v(": []\n }\n },\n render(createElement) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" createElement("),a("span",{attrs:{class:"hljs-string"}},[s._v("'cube-button'")]),s._v(", {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("on")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("click")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".showPicker\n }\n }, "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.length ? "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.join("),a("span",{attrs:{class:"hljs-string"}},[s._v("' '")]),s._v(") : "),a("span",{attrs:{class:"hljs-string"}},[s._v("'placeholder'")]),s._v(")\n },\n mounted() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$createCascadePicker({\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("title")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCA Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("data")]),s._v(": cityData,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectedIndex")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".value,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("onSelect")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selectHandler\n })\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n showPicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker.show()\n },\n selectHandler(selectedVal, selectedIndex, selectedTxt) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected = selectedTxt\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$emit("),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(", selectedVal)\n }\n }\n}\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pcaValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("dateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("component")]),s._v(": PCA,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'pcaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCASelect'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请选择'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'dateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Date'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(")\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n showDatePicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.datePicker.show()\n },\n dateSelectHandler(selectedVal) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".model.dateValue = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Date")]),s._v("(selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v("], selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("] - "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("]).toDateString()\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("components")]),s._v(": {\n DatePicker\n }\n}\n")])]),s._v(" "),a("p",[s._v("Like the "),a("code",{pre:!0},[s._v("PCA")]),s._v(" component, you can use "),a("code",{pre:!0},[s._v("component")]),s._v(" to define your custom component. Or use slots, like use DatePicker component.")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("model")]),s._v(" "),a("td",[s._v("The model/target JSON object")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("schema")]),s._v(" "),a("td",[s._v("the schema object with fields")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("immediateValidate")]),s._v(" "),a("td",[s._v("If true, we will run validation after load")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("action")]),s._v(" "),a("td",[s._v("Form action value")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("undefined")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("Options for CubeForm")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v("scrollToInvalidField: false,"),a("br"),s._v(" layout: 'standard' // or: classic")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("schema")]),s._v(" sub configuration")]),s._v(" "),a("p",[s._v("The schema contains the fields of the form, optionally in groups.")]),s._v(" "),a("ul",[a("li",[a("p",[s._v("Without groups")]),s._v(" "),a("p",[s._v("Use "),a("code",{pre:!0},[s._v("fields")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("With groups")]),s._v(" "),a("p",[s._v("Use "),a("code",{pre:!0},[s._v("groups")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 1'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 2'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n }\n ]\n}\n")])])])]),s._v(" "),a("p",[s._v("A field in the schema defines an input element to a value of model. The common properties of field:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("Type of field")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("Default fields: "),a("code",{pre:!0},[s._v("button")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox-group")]),s._v(", "),a("code",{pre:!0},[s._v("input")]),s._v(", "),a("code",{pre:!0},[s._v("radio")]),s._v(", "),a("code",{pre:!0},[s._v("radio-group")]),s._v(", "),a("code",{pre:!0},[s._v("rate")]),s._v(", "),a("code",{pre:!0},[s._v("select")]),s._v(", "),a("code",{pre:!0},[s._v("switch")]),s._v(", "),a("code",{pre:!0},[s._v("textarea")]),s._v(", "),a("code",{pre:!0},[s._v("upload")]),s._v(". There are two special types: "),a("code",{pre:!0},[s._v("submit")]),s._v(" and "),a("code",{pre:!0},[s._v("reset")]),s._v(", they will be transformed to the corresponding type of "),a("code",{pre:!0},[s._v("button")]),s._v(".")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("component")]),s._v(" "),a("td",[s._v("Custom filed component to replace "),a("code",{pre:!0},[s._v("type")]),s._v(", the component should to work with "),a("code",{pre:!0},[s._v("v-model")])]),s._v(" "),a("td",[s._v("Object/String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("modelKey")]),s._v(" "),a("td",[s._v("Name of property in the "),a("code",{pre:!0},[s._v("form")]),s._v(" model")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("label")]),s._v(" "),a("td",[s._v("Label of field")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("props")]),s._v(" "),a("td",[s._v("This value will be the "),a("code",{pre:!0},[s._v("type")]),s._v(" or "),a("code",{pre:!0},[s._v("component")]),s._v(" props")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("events"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("This value will be the "),a("code",{pre:!0},[s._v("type")]),s._v(" or "),a("code",{pre:!0},[s._v("component")]),s._v(" custom events")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("rules")]),s._v(" "),a("td",[s._v("Validator rules, see "),a("a",{attrs:{href:"#/en-US/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("trigger"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("If set to 'blur' then will be validate this filed when blur")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("blur/change")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("debounce"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("Debounce validating time(ms). If "),a("code",{pre:!0},[s._v("trigger")]),s._v(" is 'blur' then the debounce will be ignored")]),s._v(" "),a("td",[s._v("Number/Boolean")]),s._v(" "),a("td",[s._v(">= 0, if set to true the time will be 200(ms)")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("messages")]),s._v(" "),a("td",[s._v("Validator messages, see "),a("a",{attrs:{href:"#/en-US/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("legend")]),s._v(" "),a("td",[s._v("Group legend")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("fields")]),s._v(" "),a("td",[s._v("Group fields")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("field")]),s._v(" "),a("td",[s._v("Field value")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters 1")]),s._v(" "),a("th",[s._v("Parameters 2")]),s._v(" "),a("th",[s._v("Parameters 3")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("Form submit, only trigged when the form's validation is ok. If only have sync validators, this event will not be prevented by default. If have async validators, this event will be prevented by default.")]),s._v(" "),a("td",[s._v("e - event")]),s._v(" "),a("td",[s._v("form model value")]),s._v(" "),a("td",[s._v("form model value with only fields "),a("code",{pre:!0},[s._v("modelKey")]),a("sup",[s._v("1.12.30+")])])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("Form reset")]),s._v(" "),a("td",[s._v("e - event")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate")]),s._v(" "),a("td",[s._v("Form validated")]),s._v(" "),a("td",[s._v("Properties: "),a("br"),s._v("{"),a("br"),s._v("validity,"),a("br"),s._v(" valid,"),a("br"),s._v(" invalid,"),a("br"),s._v(" dirty,"),a("br"),s._v(" firstInvalidFieldIndex"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Form valid")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("Form invalid")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("validate")]),s._v(" event parameters")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("validity")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Validity check, if not verified this value will be undefined, once checked this value will be true or false")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("Validity check, if not verified this value will be undefined, once checked this value will be true or false")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("When the form model changed then the form's dirty is true")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("firstInvalidFieldIndex")]),s._v(" "),a("td",[s._v("First invalid field index")]),s._v(" "),a("td",[s._v("Number")])])])]),s._v(" "),a("ul",[a("li",[a("p",[s._v("Validity result "),a("code",{pre:!0},[s._v("validity")])]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Is valid or not")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("result")]),s._v(" "),a("td",[s._v("Result, eg: "),a("br"),s._v("{"),a("br"),s._v(" required: {"),a("br"),s._v("  valid: false,"),a("br"),s._v("  invalid: true,"),a("br"),s._v("  message: 'Required.'"),a("br"),s._v(" }"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("The form model is changed or not")]),s._v(" "),a("td",[s._v("Boolean")])])])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")]),s._v(" "),a("th",[s._v("Returned value")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("submit form")]),s._v(" "),a("td",[s._v("skipValidate: default "),a("code",{pre:!0},[s._v("false")]),s._v(", if skipValidate is "),a("code",{pre:!0},[s._v("true")]),s._v(" then will be trigged submit event without validating"),a("sup",[s._v("1.12.2+")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("reset form")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate(cb)")]),s._v(" "),a("td",[s._v("validate form")]),s._v(" "),a("td",[s._v("cb: validated callback function, used to async validating cases normally. The arguments is the "),a("code",{pre:!0},[s._v("valid")]),s._v(" value")]),s._v(" "),a("td",[s._v("If supported Promise then the returned value will be Promise instance(Only have resolved state, the resolved value is "),a("code",{pre:!0},[s._v("valid")]),s._v("), otherwise the returned value is "),a("code",{pre:!0},[s._v("undefined")])])])])])}]}},nzGO:function(s,t,a){s.exports=a("4+v0")}}); \ No newline at end of file +webpackJsonp([80],{"4+v0":function(s,t,a){var v=a("VU/8")(null,a("Bhil"),null,null,null);s.exports=v.exports},Bhil:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(0),s._v(" "),a("p",[s._v("CubeForm is a schema-based form generator component.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(1),s._v(" "),a("h3",{attrs:{id:"Props"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Props-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props")]),s._v(" "),a("h4",{attrs:{id:"Form"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Form-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Form")]),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h4",{attrs:{id:"FormGroup"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-FormGroup-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" FormGroup")]),s._v(" "),s._m(4),s._v(" "),a("h4",{attrs:{id:"FormItem"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-FormItem-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" FormItem")]),s._v(" "),s._m(5),s._v(" "),a("h3",{attrs:{id:"Events"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Events-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Events")]),s._v(" "),s._m(6),s._v(" "),s._m(7),s._v(" "),a("h3",{attrs:{id:"Instancemethods"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Instancemethods-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Instance methods")]),s._v(" "),s._m(8)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("blockquote",[a("p",[s._v("New in 1.7.0+")]),s._v(" "),a("p",[s._v("1.8.0+ supported trigger validating when blur and debounce. Supported async validate too because of Validator supported it.")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("default usage")]),s._v(" "),a("p",[s._v("This demo includes all cube-ui form fields.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":schema")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"schema"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":immediate-validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"false"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@reset")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"resetHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("false")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkboxGroupValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("radioValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectValue")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("switchValue")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("textareaValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploadValue")]),s._v(": []\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("schema")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'基础'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Checkbox'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Please check this field'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkbox-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'checkboxGroupValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'CheckboxGroup'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// validating when blur")]),s._v("\n trigger: "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blur'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radio-group'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'radioValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Radio'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-string"}},[s._v("'1'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'2'")]),s._v(", "),a("span",{attrs:{class:"hljs-string"}},[s._v("'3'")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'selectValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2015")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2016")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2017")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2018")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2019")]),s._v(", "),a("span",{attrs:{class:"hljs-number"}},[s._v("2020")]),s._v("]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'switchValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Switch'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'textareaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Textarea'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// debounce validate")]),s._v("\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// if set to true, the default debounce time will be 200(ms)")]),s._v("\n debounce: "),a("span",{attrs:{class:"hljs-number"}},[s._v("100")]),s._v("\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'高级'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'rateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Rate'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploadValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Upload'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("events")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-string"}},[s._v("'file-removed'")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("...args")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'file removed'")]),s._v(", args)\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("val, config")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v(".all(val.map("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("file, i")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Promise")]),s._v("("),a("span",{attrs:{class:"hljs-function"}},[s._v("("),a("span",{attrs:{class:"hljs-params"}},[s._v("resolve, reject")]),s._v(") =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (file.uploadedUrl) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" resolve()\n }\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// fake request")]),s._v("\n setTimeout("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("if")]),s._v(" (i % "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(") {\n reject("),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Error")]),s._v("())\n } "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("else")]),s._v(" {\n file.uploadedUrl = "),a("span",{attrs:{class:"hljs-string"}},[s._v("'uploaded/url'")]),s._v("\n resolve()\n }\n }, "),a("span",{attrs:{class:"hljs-number"}},[s._v("1000")]),s._v(")\n })\n })).then("),a("span",{attrs:{class:"hljs-function"}},[a("span",{attrs:{class:"hljs-params"}},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n })\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("uploaded")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'上传失败'")]),s._v("\n }\n }\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Submit'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Reset'")]),s._v("\n }\n ]\n }\n ]\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("scrollToInvalidField")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("layout")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'standard'")]),s._v(" "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// classic fresh")]),s._v("\n }\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n e.preventDefault()\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(", e)\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n resetHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'reset'")]),s._v(", e)\n }\n }\n}\n")])]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("model")]),s._v(" is the model/target JSON object, "),a("code",{pre:!0},[s._v("schema")]),s._v(" is the schema object with fields, if "),a("code",{pre:!0},[s._v("immediate-validate")]),s._v(" is true, we will run validation after load.")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("submit")]),s._v(" is the submited event, the "),a("code",{pre:!0},[s._v("validate")]),s._v(" is the form validate event and the "),a("code",{pre:!0},[s._v("reset")]),s._v(" is the form reset event.")])]),s._v(" "),a("li",[a("p",[s._v("Custom usage")]),s._v(" "),a("p",[s._v("You can choose to use your own custom components, or use slots to custom your logic.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"model"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@validate")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"validateHandler"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@submit")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submitHandler"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[0]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[1]"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-item")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":field")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"fields[2]"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@click")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"showDatePicker"')]),s._v(">")]),s._v("{{model.dateValue || 'Please select date'}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("date-picker")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("ref")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"datePicker"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2008, 8, 8]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"[2020, 10, 20]"')]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("@select")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"dateSelectHandler"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-form-group")]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-button")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"submit"')]),s._v(">")]),s._v("Submit"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-comment"}},[s._v("// province, city, area")]),s._v("\n"),a("span",{attrs:{class:"hljs-comment"}},[s._v("// select component")]),s._v("\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("const")]),s._v(" PCA = {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Array")]),s._v(",\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v("() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" []\n }\n }\n },\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selected")]),s._v(": []\n }\n },\n render(createElement) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" createElement("),a("span",{attrs:{class:"hljs-string"}},[s._v("'cube-button'")]),s._v(", {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("on")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("click")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".showPicker\n }\n }, "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.length ? "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected.join("),a("span",{attrs:{class:"hljs-string"}},[s._v("' '")]),s._v(") : "),a("span",{attrs:{class:"hljs-string"}},[s._v("'placeholder'")]),s._v(")\n },\n mounted() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$createCascadePicker({\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("title")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCA Select'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("data")]),s._v(": cityData,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("selectedIndex")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".value,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("onSelect")]),s._v(": "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selectHandler\n })\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n showPicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".picker.show()\n },\n selectHandler(selectedVal, selectedIndex, selectedTxt) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".selected = selectedTxt\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$emit("),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(", selectedVal)\n }\n }\n}\n"),a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("validity")]),s._v(": {},\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("valid")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("undefined")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("model")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("inputValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("pcaValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("dateValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("props")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("placeholder")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请输入'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("component")]),s._v(": PCA,\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'pcaValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'PCASelect'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("messages")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'请选择'")]),s._v("\n }\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'dateValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Date'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("rules")]),s._v(": {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("required")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n }\n }\n ]\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("methods")]),s._v(": {\n submitHandler(e) {\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'submit'")]),s._v(")\n },\n validateHandler(result) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".validity = result.validity\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".valid = result.valid\n "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{attrs:{class:"hljs-string"}},[s._v("'validity'")]),s._v(", result.validity, result.valid, result.dirty, result.firstInvalidFieldIndex)\n },\n showDatePicker() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".$refs.datePicker.show()\n },\n dateSelectHandler(selectedVal) {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("this")]),s._v(".model.dateValue = "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("new")]),s._v(" "),a("span",{attrs:{class:"hljs-built_in"}},[s._v("Date")]),s._v("(selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v("], selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v("] - "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(", selectedVal["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("]).toDateString()\n }\n },\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("components")]),s._v(": {\n DatePicker\n }\n}\n")])]),s._v(" "),a("p",[s._v("Like the "),a("code",{pre:!0},[s._v("PCA")]),s._v(" component, you can use "),a("code",{pre:!0},[s._v("component")]),s._v(" to define your custom component. Or use slots, like use DatePicker component.")])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("model")]),s._v(" "),a("td",[s._v("The model/target JSON object")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("schema")]),s._v(" "),a("td",[s._v("the schema object with fields")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{}")])]),s._v(" "),a("tr",[a("td",[s._v("immediateValidate")]),s._v(" "),a("td",[s._v("If true, we will run validation after load")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("action")]),s._v(" "),a("td",[s._v("Form action value")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("undefined")])]),s._v(" "),a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("Options for CubeForm")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("{"),a("br"),s._v("scrollToInvalidField: false,"),a("br"),s._v(" layout: 'standard' // or: classic")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("schema")]),s._v(" sub configuration")]),s._v(" "),a("p",[s._v("The schema contains the fields of the form, optionally in groups.")]),s._v(" "),a("ul",[a("li",[a("p",[s._v("Without groups")]),s._v(" "),a("p",[s._v("Use "),a("code",{pre:!0},[s._v("fields")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("fields")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("With groups")]),s._v(" "),a("p",[s._v("Use "),a("code",{pre:!0},[s._v("groups")]),s._v(":")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[s._v("{\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("groups")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 1'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("legend")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Group 2'")]),s._v("\n fields: [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'input'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("modelKey")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'inputValue'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("label")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'Input'")]),s._v("\n },\n "),a("span",{attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n ]\n }\n ]\n}\n")])])])]),s._v(" "),a("p",[s._v("A field in the schema defines an input element to a value of model. The common properties of field:")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("Type of field")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("Default fields: "),a("code",{pre:!0},[s._v("button")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox")]),s._v(", "),a("code",{pre:!0},[s._v("checkbox-group")]),s._v(", "),a("code",{pre:!0},[s._v("input")]),s._v(", "),a("code",{pre:!0},[s._v("radio")]),s._v(", "),a("code",{pre:!0},[s._v("radio-group")]),s._v(", "),a("code",{pre:!0},[s._v("rate")]),s._v(", "),a("code",{pre:!0},[s._v("select")]),s._v(", "),a("code",{pre:!0},[s._v("switch")]),s._v(", "),a("code",{pre:!0},[s._v("textarea")]),s._v(", "),a("code",{pre:!0},[s._v("upload")]),s._v(". There are two special types: "),a("code",{pre:!0},[s._v("submit")]),s._v(" and "),a("code",{pre:!0},[s._v("reset")]),s._v(", they will be transformed to the corresponding type of "),a("code",{pre:!0},[s._v("button")]),s._v(".")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("component")]),s._v(" "),a("td",[s._v("Custom filed component to replace "),a("code",{pre:!0},[s._v("type")]),s._v(", the component should to work with "),a("code",{pre:!0},[s._v("v-model")])]),s._v(" "),a("td",[s._v("Object/String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("modelKey")]),s._v(" "),a("td",[s._v("Name of property in the "),a("code",{pre:!0},[s._v("form")]),s._v(" model")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("label")]),s._v(" "),a("td",[s._v("Label of field")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("props")]),s._v(" "),a("td",[s._v("This value will be the "),a("code",{pre:!0},[s._v("type")]),s._v(" or "),a("code",{pre:!0},[s._v("component")]),s._v(" props")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("events"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("This value will be the "),a("code",{pre:!0},[s._v("type")]),s._v(" or "),a("code",{pre:!0},[s._v("component")]),s._v(" custom events")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("rules")]),s._v(" "),a("td",[s._v("Validator rules, see "),a("a",{attrs:{href:"#/en-US/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("trigger"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("If set to 'blur' then will be validate this filed when blur")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("blur/change")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("debounce"),a("sup",[s._v("1.8.0+")])]),s._v(" "),a("td",[s._v("Debounce validating time(ms). If "),a("code",{pre:!0},[s._v("trigger")]),s._v(" is 'blur' then the debounce will be ignored")]),s._v(" "),a("td",[s._v("Number/Boolean")]),s._v(" "),a("td",[s._v(">= 0, if set to true the time will be 200(ms)")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("messages")]),s._v(" "),a("td",[s._v("Validator messages, see "),a("a",{attrs:{href:"#/en-US/docs/validator#cube-Props-anchor"}},[s._v("Validator")])]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])]),s._v(" "),a("li",[a("p",[a("code",{pre:!0},[s._v("options")]),s._v(" sub configuration")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("scrollToInvalidField")]),s._v(" "),a("td",[s._v("Whether to scroll to the first invalid fileld by default")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true/false")]),s._v(" "),a("td",[s._v("false")])]),s._v(" "),a("tr",[a("td",[s._v("layout")]),s._v(" "),a("td",[s._v("Form layout style")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("standard/classic/fresh")]),s._v(" "),a("td",[s._v("standard")])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("legend")]),s._v(" "),a("td",[s._v("Group legend")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("fields")]),s._v(" "),a("td",[s._v("Group fields")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("[]")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("field")]),s._v(" "),a("td",[s._v("Field value")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Event Name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters 1")]),s._v(" "),a("th",[s._v("Parameters 2")]),s._v(" "),a("th",[s._v("Parameters 3")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("Form submit, only trigged when the form's validation is ok. If only have sync validators, this event will not be prevented by default. If have async validators, this event will be prevented by default.")]),s._v(" "),a("td",[s._v("e - event")]),s._v(" "),a("td",[s._v("form model value")]),s._v(" "),a("td",[s._v("form model value with only fields "),a("code",{pre:!0},[s._v("modelKey")]),a("sup",[s._v("1.12.30+")])])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("Form reset")]),s._v(" "),a("td",[s._v("e - event")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate")]),s._v(" "),a("td",[s._v("Form validated")]),s._v(" "),a("td",[s._v("Properties: "),a("br"),s._v("{"),a("br"),s._v("validity,"),a("br"),s._v(" valid,"),a("br"),s._v(" invalid,"),a("br"),s._v(" dirty,"),a("br"),s._v(" firstInvalidFieldIndex"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Form valid")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("Form invalid")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[a("code",{pre:!0},[s._v("validate")]),s._v(" event parameters")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("validity")]),s._v(" "),a("td",[s._v("Validity result")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Validity check, if not verified this value will be undefined, once checked this value will be true or false")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("invalid")]),s._v(" "),a("td",[s._v("Validity check, if not verified this value will be undefined, once checked this value will be true or false")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("When the form model changed then the form's dirty is true")]),s._v(" "),a("td",[s._v("Boolean")])]),s._v(" "),a("tr",[a("td",[s._v("firstInvalidFieldIndex")]),s._v(" "),a("td",[s._v("First invalid field index")]),s._v(" "),a("td",[s._v("Number")])])])]),s._v(" "),a("ul",[a("li",[a("p",[s._v("Validity result "),a("code",{pre:!0},[s._v("validity")])]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("valid")]),s._v(" "),a("td",[s._v("Is valid or not")]),s._v(" "),a("td",[s._v("Boolean/Undefined")])]),s._v(" "),a("tr",[a("td",[s._v("result")]),s._v(" "),a("td",[s._v("Result, eg: "),a("br"),s._v("{"),a("br"),s._v(" required: {"),a("br"),s._v("  valid: false,"),a("br"),s._v("  invalid: true,"),a("br"),s._v("  message: 'Required.'"),a("br"),s._v(" }"),a("br"),s._v("}")]),s._v(" "),a("td",[s._v("Object")])]),s._v(" "),a("tr",[a("td",[s._v("dirty")]),s._v(" "),a("td",[s._v("The form model is changed or not")]),s._v(" "),a("td",[s._v("Boolean")])])])])])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Method name")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Parameters")]),s._v(" "),a("th",[s._v("Returned value")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("submit")]),s._v(" "),a("td",[s._v("submit form")]),s._v(" "),a("td",[s._v("skipValidate: default "),a("code",{pre:!0},[s._v("false")]),s._v(", if skipValidate is "),a("code",{pre:!0},[s._v("true")]),s._v(" then will be trigged submit event without validating"),a("sup",[s._v("1.12.2+")])]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("reset")]),s._v(" "),a("td",[s._v("reset form")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("validate(cb)")]),s._v(" "),a("td",[s._v("validate form")]),s._v(" "),a("td",[s._v("cb: validated callback function, used to async validating cases normally. The arguments is the "),a("code",{pre:!0},[s._v("valid")]),s._v(" value")]),s._v(" "),a("td",[s._v("If supported Promise then the returned value will be Promise instance(Only have resolved state, the resolved value is "),a("code",{pre:!0},[s._v("valid")]),s._v("), otherwise the returned value is "),a("code",{pre:!0},[s._v("undefined")])])])])])}]}},nzGO:function(s,t,a){s.exports=a("4+v0")}}); \ No newline at end of file diff --git a/docs/js/85.28ec757b39b8a7a933fb.js b/docs/js/85.aa58b8b72d71c6764b8a.js similarity index 64% rename from docs/js/85.28ec757b39b8a7a933fb.js rename to docs/js/85.aa58b8b72d71c6764b8a.js index a91d7d9a4..6d2404202 100644 --- a/docs/js/85.28ec757b39b8a7a933fb.js +++ b/docs/js/85.aa58b8b72d71c6764b8a.js @@ -1 +1 @@ -webpackJsonp([85],{P4Dd:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Checker"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Checker-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Checker")]),s._v(" "),a("p",[s._v("Checker is more flexible selection component, you can alse customize the layout.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Propsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Propsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props configuration")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"CubeCheckerItemPropsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeCheckerItemPropsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeCheckerItem Props configuration")]),s._v(" "),s._m(4),s._v(" "),s._m(5),s._v(" "),s._m(6)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("Basic usage")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("The value of "),a("code",{pre:!0},[s._v("options")]),s._v(" is an array. The default "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" value is "),a("code",{pre:!0},[s._v("''")]),s._v(",\nIf you clicked one option, the "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" will be set as the value of this option.")])]),s._v(" "),a("li",[a("p",[s._v("radio")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("If the "),a("code",{pre:!0},[s._v("type")]),s._v(" is set to "),a("code",{pre:!0},[s._v("'radio'")]),s._v(", the checker will be a radio type.\nThe default type is a "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(".")])]),s._v(" "),a("li",[a("p",[s._v("Use slot")]),s._v(" "),a("p",[s._v("You can use slot to implement custom layout.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.value"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":option")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"orange"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cubeic-alert"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("{{item.text}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("Use min & max prop")]),s._v(" "),a("p",[s._v("You can use "),a("code",{pre:!0},[s._v("min")]),s._v(" and "),a("code",{pre:!0},[s._v("max")]),s._v(" prop but the "),a("code",{pre:!0},[s._v("type")]),s._v(" must set to "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(".")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("max")]),s._v(" set the max number of checked items, "),a("code",{pre:!0},[s._v("min")]),s._v(" set the min number of checked items.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"2"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("disabled state "),a("sup",[s._v("1.12.19")])]),s._v(" "),a("p",[s._v("use "),a("code",{pre:!0},[s._v("disabled")]),s._v(" to set disabled state")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("option")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'first'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'second'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'third'")]),s._v("\n }\n ]\n }\n }\n}\n")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("a collection of configuration items")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("the type of checker")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("checkbox/radio")]),s._v(" "),a("td",[s._v("checkbox")])]),s._v(" "),a("tr",[a("td",[s._v("min")]),s._v(" "),a("td",[s._v("the min number")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("max")]),s._v(" "),a("td",[s._v("the max number")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("options length")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("options sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("the value of checker item")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("the text of checker item")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("disabled state of checker item")]),s._v(" "),a("td",[s._v("Boolean")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("option")]),s._v(" "),a("td",[s._v("item configuration object")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("option sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("the value of checker item")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("the text of checker item")]),s._v(" "),a("td",[s._v("String")])])])])}]}},YWVk:function(s,t,a){s.exports=a("nHuG")},nHuG:function(s,t,a){var v=a("VU/8")(null,a("P4Dd"),null,null,null);s.exports=v.exports}}); \ No newline at end of file +webpackJsonp([85],{P4Dd:function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",{attrs:{id:"Checker"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Checker-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Checker")]),s._v(" "),a("p",[s._v("Checker is more flexible selection component, you can alse customize the layout.")]),s._v(" "),a("h3",{attrs:{id:"Example"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Example-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Example")]),s._v(" "),s._m(0),s._v(" "),a("h3",{attrs:{id:"Propsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-Propsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" Props configuration")]),s._v(" "),s._m(1),s._v(" "),s._m(2),s._v(" "),s._m(3),s._v(" "),a("h3",{attrs:{id:"CubeCheckerItemPropsconfiguration"}},[a("a",{staticClass:"anchor",attrs:{href:"#cube-CubeCheckerItemPropsconfiguration-anchor","aria-hidden":"true"}},[a("svg",{attrs:{"aria-hidden":"true",height:"16",version:"1.1",viewBox:"0 0 16 16",width:"16"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}})])]),s._v(" CubeCheckerItem Props configuration")]),s._v(" "),s._m(4),s._v(" "),s._m(5),s._v(" "),s._m(6)])},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[a("p",[s._v("Basic usage")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("The value of "),a("code",{pre:!0},[s._v("options")]),s._v(" is an array. The default "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" value is "),a("code",{pre:!0},[s._v("''")]),s._v(",\nIf you clicked one option, the "),a("code",{pre:!0},[s._v("checkerValue")]),s._v(" will be set as the value of this option.")])]),s._v(" "),a("li",[a("p",[s._v("radio")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerValue"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(" />")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerValue")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("''")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])]),s._v(" "),a("p",[s._v("If the "),a("code",{pre:!0},[s._v("type")]),s._v(" is set to "),a("code",{pre:!0},[s._v("'radio'")]),s._v(", the checker will be a radio type.\nThe default type is a "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(".")])]),s._v(" "),a("li",[a("p",[s._v("Use slot")]),s._v(" "),a("p",[s._v("You can use slot to implement custom layout.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("type")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"radio"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker-item")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-for")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item in options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":key")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item.value"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":option")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"item"')]),s._v(">")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("span")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"orange"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("i")]),s._v(" "),a("span",{attrs:{class:"hljs-attr"}},[s._v("class")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"cubeic-alert"')]),s._v(">")]),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("{{item.text}}"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n "),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n"),a("span",{attrs:{class:"hljs-tag"}},[s._v("")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": [],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("0")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'AAAAA'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'BBBBB'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("Use min & max prop")]),s._v(" "),a("p",[s._v("You can use "),a("code",{pre:!0},[s._v("min")]),s._v(" and "),a("code",{pre:!0},[s._v("max")]),s._v(" prop but the "),a("code",{pre:!0},[s._v("type")]),s._v(" must set to "),a("code",{pre:!0},[s._v("'checkbox'")]),s._v(".")]),s._v(" "),a("p",[a("code",{pre:!0},[s._v("max")]),s._v(" set the max number of checked items, "),a("code",{pre:!0},[s._v("min")]),s._v(" set the min number of checked items.")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":min")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"1"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":max")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"2"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'red'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'yellow'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'blue'")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("4")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'green'")]),s._v("\n }\n ]\n }\n }\n}\n")])])]),s._v(" "),a("li",[a("p",[s._v("disabled state "),a("sup",[s._v("1.12.19")])]),s._v(" "),a("p",[s._v("use "),a("code",{pre:!0},[s._v("disabled")]),s._v(" to set disabled state")]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-html"}},[a("span",{attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{attrs:{class:"hljs-name"}},[s._v("cube-checker")]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("v-model")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"checkerList"')]),s._v("\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v(":options")]),s._v("="),a("span",{attrs:{class:"hljs-string"}},[s._v('"options"')]),s._v("/>")]),s._v("\n")])]),s._v(" "),a("pre",{pre:!0},[a("code",{attrs:{"v-pre":"",class:"language-js"}},[a("span",{attrs:{class:"hljs-keyword"}},[s._v("export")]),s._v(" "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{attrs:{class:"hljs-keyword"}},[s._v("return")]),s._v(" {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("checkerList")]),s._v(": ["),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v("],\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("options")]),s._v(": [\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("1")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'first'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("2")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'second'")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("disabled")]),s._v(": "),a("span",{attrs:{class:"hljs-literal"}},[s._v("true")]),s._v("\n },\n {\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("value")]),s._v(": "),a("span",{attrs:{class:"hljs-number"}},[s._v("3")]),s._v(",\n "),a("span",{attrs:{class:"hljs-attr"}},[s._v("text")]),s._v(": "),a("span",{attrs:{class:"hljs-string"}},[s._v("'third'")]),s._v("\n }\n ]\n }\n }\n}\n")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("options")]),s._v(" "),a("td",[s._v("a collection of configuration items")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])]),s._v(" "),a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("the type of checker")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("checkbox/radio")]),s._v(" "),a("td",[s._v("checkbox")])]),s._v(" "),a("tr",[a("td",[s._v("min")]),s._v(" "),a("td",[s._v("the min number")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("0")])]),s._v(" "),a("tr",[a("td",[s._v("max")]),s._v(" "),a("td",[s._v("the max number")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("options length")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("options sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("the value of checker item")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("the text of checker item")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("disabled state of checker item")]),s._v(" "),a("td",[s._v("Boolean")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")]),s._v(" "),a("th",[s._v("Accepted Values")]),s._v(" "),a("th",[s._v("Default")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("option")]),s._v(" "),a("td",[s._v("item configuration object")]),s._v(" "),a("td",[s._v("Object")]),s._v(" "),a("td",[s._v("-")]),s._v(" "),a("td",[s._v("-")])])])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ul",[a("li",[s._v("option sub configuration")])])},function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("table",[a("thead",[a("tr",[a("th",[s._v("Attribute")]),s._v(" "),a("th",[s._v("Description")]),s._v(" "),a("th",[s._v("Type")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("value")]),s._v(" "),a("td",[s._v("the value of checker item")]),s._v(" "),a("td",[s._v("String/Number")])]),s._v(" "),a("tr",[a("td",[s._v("text")]),s._v(" "),a("td",[s._v("the text of checker item")]),s._v(" "),a("td",[s._v("String")])]),s._v(" "),a("tr",[a("td",[s._v("disabled"),a("sup",[s._v("1.12.19")])]),s._v(" "),a("td",[s._v("disabled state of checker item")]),s._v(" "),a("td",[s._v("Boolean")])])])])}]}},YWVk:function(s,t,a){s.exports=a("nHuG")},nHuG:function(s,t,a){var v=a("VU/8")(null,a("P4Dd"),null,null,null);s.exports=v.exports}}); \ No newline at end of file diff --git a/docs/js/manifest.fe9480018cb6a18ac975.js b/docs/js/manifest.76739c52888ad08d51b9.js similarity index 84% rename from docs/js/manifest.fe9480018cb6a18ac975.js rename to docs/js/manifest.76739c52888ad08d51b9.js index d75100789..78fd05b36 100644 --- a/docs/js/manifest.fe9480018cb6a18ac975.js +++ b/docs/js/manifest.76739c52888ad08d51b9.js @@ -1 +1 @@ -!function(e){function a(c){if(b[c])return b[c].exports;var d=b[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,a),d.l=!0,d.exports}var c=window.webpackJsonp;window.webpackJsonp=function(b,f,n){for(var r,t,o,u=0,i=[];u1.12.19 | disabled state of checker item | Boolean | diff --git a/document/components/docs/en-US/form.md b/document/components/docs/en-US/form.md index a9b04d144..9b582c0d5 100644 --- a/document/components/docs/en-US/form.md +++ b/document/components/docs/en-US/form.md @@ -426,6 +426,13 @@ CubeForm is a schema-based form generator component. | debounce1.8.0+ | Debounce validating time(ms). If `trigger` is 'blur' then the debounce will be ignored | Number/Boolean | >= 0, if set to true the time will be 200(ms) | - | | messages | Validator messages, see Validator | String | - | - | +- `options` sub configuration + + | Attribute | Description | Type | Accepted Values | Default | + | - | - | - | - | - | + | scrollToInvalidField | Whether to scroll to the first invalid fileld by default | Boolean | true/false | false | + | layout | Form layout style | String | standard/classic/fresh | standard | + #### FormGroup | Attribute | Description | Type | Accepted Values | Default | diff --git a/document/components/docs/en-US/scroll-nav-bar.md b/document/components/docs/en-US/scroll-nav-bar.md index 9aa903f08..bed7021f6 100644 --- a/document/components/docs/en-US/scroll-nav-bar.md +++ b/document/components/docs/en-US/scroll-nav-bar.md @@ -112,6 +112,7 @@ Scroll navigation bar component, like DiDi business navigation. | labels | the collection if all the item's keys | Array | - | [] | | txts | the text of showcases, it's order is correspondence with `labels`, the item can be a HTML string value | Array | - | default equals to `labels` Prop | | current | the key of the active item | String/Number | - | '' | +| options | the options of better-scroll, you could find details at [BS Document](https://ustbhuangyi.github.io/better-scroll/doc/en/options.html) | Object | - | {} | ### Slot diff --git a/document/components/docs/en-US/scroll.md b/document/components/docs/en-US/scroll.md index 7d188cd64..3605fab87 100644 --- a/document/components/docs/en-US/scroll.md +++ b/document/components/docs/en-US/scroll.md @@ -411,7 +411,7 @@ Scroll components can meet the scrolling needs of most mobile applications. In t | - | - | - | - | - | | data | data used for list rendering | Array | - | [] | | direction | scrolling direction | String | 'vertical', 'horizontal' | 'vertical' | -| options | the options of better-scroll, you could find details at [BS Document](https://ustbhuangyi.github.io/better-scroll/doc/zh-hans/options.html) | Object | - | {
observeDOM: true,
click: true,
probeType: 1,
scrollbar: false,
pullDownRefresh: false,
pullUpLoad: false
} | +| options | the options of better-scroll, you could find details at [BS Document](https://ustbhuangyi.github.io/better-scroll/doc/en/options.html) | Object | - | {
observeDOM: true,
click: true,
probeType: 1,
scrollbar: false,
pullDownRefresh: false,
pullUpLoad: false
} | | scrollEvents1.9.0 | configure which scroll events need be triggered | Array | could include: 'scroll', 'before-scroll-start', 'scroll-end' | [] | | listenScroll | whether to dispatch scroll event. `Deprecated`, please use the property `scroll-events` instead. | Boolean | true/false | false | | listenBeforeScroll | whether to dispatch before-scroll-start event. `Deprecated`, please use the property `scroll-events` instead. | Boolean | true/false | false | diff --git a/document/components/docs/zh-CN/checker.md b/document/components/docs/zh-CN/checker.md index 02cc5e12a..c37f8c263 100644 --- a/document/components/docs/zh-CN/checker.md +++ b/document/components/docs/zh-CN/checker.md @@ -129,7 +129,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 data() { return { checkerList: [3], - option: [ + options: [ { value: 1, text: 'red' @@ -167,7 +167,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 data() { return { checkerList: [2], - option: [ + options: [ { value: 1, text: 'first', @@ -188,8 +188,6 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 } ``` - - ### Props 配置 | 参数 | 说明 | 类型 | 可选值 | 默认值 | @@ -219,3 +217,4 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 | - | - | - | | value | 选项的值 | String/Number | | text | 选项的文本 | String | +| disabled1.12.19 | 选项是否被禁用 | Boolean | diff --git a/document/components/docs/zh-CN/form.md b/document/components/docs/zh-CN/form.md index 1585cfe95..06b6c2733 100644 --- a/document/components/docs/zh-CN/form.md +++ b/document/components/docs/zh-CN/form.md @@ -426,6 +426,13 @@ | debounce1.8.0+ | 控制校验节奏,值为时间,单位 ms。如果 trigger 设置为 blur 则此项配置不生效 | Number/Boolean | >= 0,如果设置为 true,那么时间就是 200(ms) | - | | messages | 字段的校验消息,参见 Validator | String | - | - | +- `options` 子配置项 + + | 参数 | 说明 | 类型 | 可选值 | 默认值 | + | - | - | - | - | - | + | scrollToInvalidField | 是否默认滚动到第一个无效字段位置 | Boolean | true/false | false | + | layout | 表单何种布局方式 | String | standard/classic/fresh | standard | + #### CubeFormGroup | 参数 | 说明 | 类型 | 可选值 | 默认值 | diff --git a/document/components/docs/zh-CN/scroll-nav-bar.md b/document/components/docs/zh-CN/scroll-nav-bar.md index 68d57deed..76d22c8a7 100644 --- a/document/components/docs/zh-CN/scroll-nav-bar.md +++ b/document/components/docs/zh-CN/scroll-nav-bar.md @@ -110,6 +110,7 @@ | labels | 所有的 key 值集合 | Array | - | [] | | txts | 显示所有文案集合,和 labels 一一对应,每项可以是 HTML 字符串 | Array | - | 默认等于 labes | | current | 当前 active 的 key 值 | String/Number | - | '' | +| options | better-scroll 配置项,具体请参考[BS 官方文档](https://ustbhuangyi.github.io/better-scroll/doc/zh-hans/options.html) | Object | - | {} | ### 插槽 diff --git a/lib/cube.min.js b/lib/cube.min.js index 01a4a9f2b..2747341a7 100644 --- a/lib/cube.min.js +++ b/lib/cube.min.js @@ -3,9 +3,9 @@ * (c) 2016-2018 ustbhuangyi * Released under the MIT License. */ -var E=function(){function t(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),O=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e0,V=$&&document.createElement("div").style,R=function(){if(!$)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==V[t[e]])return e;return!1}(),A=a("transform"),H=$&&a("perspective")in V,N=$&&("ontouchstart"in window||I),L=!1!==A,Y=$&&a("transition")in V,F={transform:A,transitionTimingFunction:a("transitionTimingFunction"),transitionDuration:a("transitionDuration"),transitionDelay:a("transitionDelay"),transformOrigin:a("transformOrigin"),transitionEnd:a("transitionEnd")},X=1,B={touchstart:X,touchmove:X,touchend:X,mousedown:2,mousemove:2,mouseup:2},z={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:N,disableTouch:!N,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},U={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},W=function(){return $?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:x}(),G=function(){return $?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:x}(),q=1,K=-1,Z=1,J=-1,Q=1,tt=3;P.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},P.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},P.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var n=t?250:500;t=t?"1":"0",this.wrapperStyle[F.transitionDuration]=n+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},P.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[F.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var n=Math.round(this.sizeRatioX*this.scroller.x);if(n<0){this.transitionTime(500);var o=Math.max(this.indicatorWidth+3*n,8);this.indicatorStyle.width=o+"px",n=0}else if(n>this.maxPosX){this.transitionTime(500);var s=Math.max(this.indicatorWidth-3*(n-this.maxPosX),8);this.indicatorStyle.width=s+"px",n=this.maxPosX+this.indicatorWidth-s}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=n,this.scroller.options.useTransform?this.indicatorStyle[F.transform]="translateX("+n+"px)"+this.scroller.translateZ:this.indicatorStyle.left=n+"px"}},P.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[F.transitionDuration]=t+"ms"},P.prototype.transitionTimingFunction=function(t){this.indicatorStyle[F.transitionTimingFunction]=t},P.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},P.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=n(),this._handleMoveEvents(l),this.scroller.trigger("beforeScrollStart")},P.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var n=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var o=this.x+i,s=this.y+n;this._pos(o,s)},P.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(u);var e=this.scroller.options.snap;if(e){var i=e.speed,n=e.easing,o=void 0===n?U.bounce:n,s=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-s.x),1e3),Math.min(Math.abs(this.scroller.y-s.y),1e3)),300);this.scroller.x===s.x&&this.scroller.y===s.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=s,this.scroller.scrollTo(s.x,s.y,r,o))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},P.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},P.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},P.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},P.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},P.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t),this._handleMoveEvents(t)},P.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},P.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var et=2e3;M.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.wrapperEl.offsetHeight),n=this.anchorItem.index,o=i.index;e<0?(n-=30,o+=10):(n-=10,o+=30),this.fill(n,o),this.maybeRequestContent()},M.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;ethis.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},M.prototype._setupAnimations=function(t,e){var i=this;for(var n in t){var o=t[n];this.items[n].node.style.transform="translateY("+(this.anchorScrollTop+o[1])+"px) scale("+this.tombstoneWidth/this.items[n].width+", "+this.tombstoneHeight/this.items[n].height+")",this.items[n].node.offsetTop,o[0].offsetTop,this.items[n].node.style.transition="transform 200ms"}for(var s=this.firstAttachedItem;s0&&this.items[i-1].height;)e+=this.items[i-1].height,i--;n=Math.max(-i,Math.ceil(Math.min(e,0)/this.tombstoneHeight))}else{for(;e>0&&i=this.items.length||!this.items[i].height)&&(n=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return i+=n,e-=n*this.tombstoneHeight,{index:i,offset:e}},function(t){t.prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype.setScale=function(t){this.lastScale=s(this.scale)?t:this.scale,this.scale=t},t.prototype._handleOptions=function(t){this.options=o({},z,t),this.translateZ=this.options.HWCompositing&&H?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&Y,this.options.useTransform=this.options.useTransform&&L,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),N&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,F.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var n=t.scroller.children.length?t.scroller.children:[t.scroller],o=e&&!t.pulling?"none":"auto",s=0;sthis.minScrollX||this.xthis.minScrollY||this.y1&&this._zoomStart(t);break;case"touchmove":case"mousemove":this.options.zoom&&t.touches&&t.touches.length>1?this._zoom(t):this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this.scaled?this._zoomEnd(t):this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(h(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t="static"===window.getComputedStyle(this.wrapper,null).position,e=d(this.wrapper);this.wrapperWidth=e.width,this.wrapperHeight=e.height;var i=d(this.scroller);this.scrollerWidth=Math.round(i.width*this.scale),this.scrollerHeight=Math.round(i.height*this.scale),this.relativeX=i.left,this.relativeY=i.top,t&&(this.relativeX-=e.left,this.relativeY-=e.top),this.minScrollX=0,this.minScrollY=0;var n=this.options.wheel;n?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=n.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.options.infinity||(this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.maxScrollX<0?(this.maxScrollX-=this.relativeX,this.minScrollX=-this.relativeX):this.scale>1&&(this.maxScrollX=this.maxScrollX/2-this.relativeX,this.minScrollX=this.maxScrollX),this.maxScrollY<0?(this.maxScrollY-=this.relativeY,this.minScrollY=-this.relativeY):this.scale>1&&(this.maxScrollY=this.maxScrollY/2-this.relativeY,this.minScrollY=this.maxScrollY)),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollXthis.options.momentumLimitTime&&rr+this.options.directionLockThreshold?this.directionLocked="h":r>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);o=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,o=this.hasVerticalScroll?o:0,this.movingDirectionX=i>0?J:i<0?Z:0,this.movingDirectionY=o>0?K:o<0?q:0;var l=this.x+i,u=this.y+o,c=!1,f=!1,d=!1,h=!1,p=this.options.bounce;!1!==p&&(c=void 0===p.top||p.top,f=void 0===p.bottom||p.bottom,d=void 0===p.left||p.left,h=void 0===p.right||p.right),(l>this.minScrollX||lthis.minScrollX&&d||lthis.minScrollX?this.minScrollX:this.maxScrollX),(u>this.minScrollY||uthis.minScrollY&&c||uthis.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,u),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,this.options.probeType===Q&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>Q&&this.trigger("scroll",{x:this.x,y:this.y});var v=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,m=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,y=this.pointX-v,b=this.pointY-m;(y>document.documentElement.clientWidth-this.options.momentumLimitDistance||ydocument.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&B[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!h(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),o=e-this.absStartX,s=i-this.absStartY;if(this.directionX=o>0?J:o<0?Z:0,this.directionY=s>0?K:s<0?q:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,U.bounce)){this._translate(e,i),this.endTime=n();var r=this.endTime-this.startTime,a=Math.abs(e-this.startX),l=Math.abs(i-this.startY);if(this._events.flick&&rthis.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var c=!1,f=!1,d=!1,p=!1,v=this.options.bounce;!1!==v&&(c=void 0===v.top||v.top,f=void 0===v.bottom||v.bottom,d=void 0===v.left||v.left,p=void 0===v.right||v.right);var m=this.directionX===J&&d||this.directionX===Z&&p?this.wrapperWidth:0,y=this.directionY===K&&c||this.directionY===q&&f?this.wrapperHeight:0,b=this.hasHorizontalScroll?_(this.x,this.startX,r,this.maxScrollX,this.minScrollX,m,this.options):{destination:e,duration:0},g=this.hasVerticalScroll?_(this.y,this.startY,r,this.maxScrollY,this.minScrollY,y,this.options):{destination:i,duration:0};e=b.destination,i=g.destination,u=Math.max(b.duration,g.duration),this.isInTransition=!0}else this.options.wheel&&(i=Math.round(i/this.itemHeight)*this.itemHeight,u=this.options.wheel.adjustTime||400);var x=U.swipe;if(this.options.snap){var w=this._nearestSnap(e,i);this.currentPage=w,u=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-w.x),1e3),Math.min(Math.abs(i-w.y),1e3)),300),e=w.x,i=w.y,this.directionX=0,this.directionY=0,x=this.options.snap.easing||U.bounce}if(e!==this.x||i!==this.y)return(e>this.minScrollX||ethis.minScrollY||i0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[F.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e=d)return r.isAnimating=!1,r._translate(t,e,c),r.trigger("scroll",{x:r.x,y:r.y}),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));h=(h-f)/i;var p=o(h),v=(t-a)*p+a,m=(e-l)*p+l,y=(c-u)*p+u;r._translate(v,m,y),r.isAnimating&&(r.animateTimer=W(s)),r.options.probeType===tt&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,l=this.y,u=this.lastScale,c=this.scale,f=n(),d=f+i;this.isAnimating=!0,G(this.animateTimer),s()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:U.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,n)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:U.bounce;this.isInTransition=this.options.useTransition&&i>0&&(t!==this.x||e!==this.y),!i||this.options.useTransition?(this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===tt&&this._startProbe(),i||t===this.x&&e===this.y||(this.trigger("scroll",{x:t,y:e}),this._reflow=document.body.offsetHeight,this.resetPosition(this.options.bounceTime,U.bounce)||this.trigger("scrollEnd",{x:t,y:e})),this.options.wheel&&(e>this.minScrollY?this.selectedIndex=0:ethis.minScrollX?this.minScrollX:s.leftthis.minScrollY?this.minScrollY:s.top0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.bounce,i=this.x,n=Math.round(i);!this.hasHorizontalScroll||n>this.minScrollX?i=this.minScrollX:nthis.minScrollY?o=this.minScrollY:s2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(n,arguments)}var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var n=i.length;n--;)(i[n][0]===e||i[n][0]&&i[n][0].fn===e)&&(i[n][0]=void 0)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,n=[].concat(O(e)),o=0;o1?(y(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var n=e.el;"string"==typeof n&&(n=this.scroller.querySelectorAll(n)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,o=e.stepY||t.wrapperHeight,s=0,r=void 0,a=void 0,l=void 0,u=0,c=void 0,f=0,h=void 0,p=void 0;if(n)for(c=n.length,h=-1;ut.maxScrollX&&f++;else for(a=Math.round(i/2),l=Math.round(o/2);s>-t.scrollerWidth;){for(t.pages[u]=[],c=0,r=0;r>-t.scrollerHeight;)t.pages[u][c]={x:Math.max(s,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:i,height:o,cx:s-a,cy:r-l},r-=o,c++;s-=i,u++}t._checkSnapLoop();var v=e._loopX?1:0,m=e._loopY?1:0;t._goToPage(t.currentPage.pageX||v,t.currentPage.pageY||m,0);var y=e.threshold;y%1==0?(t.snapThresholdX=y,t.snapThresholdY=y):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*y),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*y))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(g(t.scroller,i[i.length-1]),g(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&this.pages.length&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&w("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>this.minScrollX?t=this.minScrollX:tthis.minScrollY?e=this.minScrollY:e=this.pages[i][0].cx){t=this.pages[i][0].x;break}n=this.pages[i].length;for(var o=0;o=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o===this.currentPage.pageY&&(o+=this.directionY,o<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],n=arguments[3],o=this.options.snap;if(o&&this.pages&&this.pages.length&&(n=n||o.easing||U.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;i=void 0===i?o.speed||Math.max(Math.max(Math.min(Math.abs(s-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):i,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,i,n)}},t.prototype.goToPage=function(t,e,i,n){var o=this.options.snap;if(o&&this.pages&&this.pages.length){if(o.loop){var s=void 0;o._loopX?(s=this.pages.length-2,t>=s?t=s-1:t<0&&(t=0),t+=1):(s=this.pages[0].length-2,e>=s?e=s-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,n)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this._goToPage(i,n,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,n--),this._goToPage(i,n,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?o({},this.currentPage,{pageX:this.currentPage.pageX-1}):o({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(C),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,w("wheel option selectedIndex is required!"))}}(C),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,n=void 0===i||i,o=e.interactive,s=void 0!==o&&o;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:T("horizontal"),direction:"horizontal",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new P(this,r))),this.options.scrollY&&(r={el:T("vertical"),direction:"vertical",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new P(this,r))),this.on("refresh",function(){for(var e=0;e0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1}}(C),function(t){t.prototype._initPullUp=function(){this.options.probeType=tt,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,n=void 0===i?0:i;this.movingDirectionY===q&&t.y<=this.maxScrollY+n&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(C),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(l),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),clearTimeout(t.mouseWheelEndTimer),t._handleMouseWheelEvent(u)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1;var i=this.options.mouseWheel,n=i.speed,o=void 0===n?20:n,s=i.invert,r=void 0!==s&&s,a=i.easeTime,l=void 0===a?300:a;clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||l||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var u=void 0,c=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(u=-t.deltaX*o,c=-t.deltaY*o):(u=-t.deltaX,c=-t.deltaY);break;case"wheelDeltaX"in t:u=t.wheelDeltaX/120*o,c=t.wheelDeltaY/120*o;break;case"wheelDelta"in t:u=c=t.wheelDelta/120*o;break;case"detail"in t:u=c=-t.detail/3*o;break;default:return}var f=r?-1:1;u*=f,c*=f,this.hasVerticalScroll||(u=c,c=0);var d=void 0,h=void 0;if(this.options.snap)return d=this.currentPage.pageX,h=this.currentPage.pageY,u>0?d--:u<0&&d++,c>0?h--:c<0&&h++,void this._goToPage(d,h);d=this.x+Math.round(this.hasHorizontalScroll?u:0),h=this.y+Math.round(this.hasVerticalScroll?c:0),this.movingDirectionX=this.directionX=u>0?-1:u<0?1:0,this.movingDirectionY=this.directionY=c>0?-1:c<0?1:0,d>this.minScrollX?d=this.minScrollX:dthis.minScrollY?h=this.minScrollY:hthis.minScrollX?s=this.minScrollX:sthis.minScrollY?r=this.minScrollY:rd&&(a=2*d*Math.pow(.5,d/a));var h=a/this.startScale,p=this.startX-(this.originX-this.relativeX)*(h-1),v=this.startY-(this.originY-this.relativeY)*(h-1);this.setScale(a),this.scrollTo(p,v,0)}},t.prototype._zoomEnd=function(t){if(this.enabled&&!this.destroyed&&B[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.isInTransition=!1,this.isAnimating=!1,this.initiated=0;var e=this.options.zoom,i=e.min,n=void 0===i?1:i,o=e.max,s=void 0===o?4:o,r=this.scale>s?s:this.scale0?o(n(t),9007199254740991):0}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(58)("keys"),o=i(43);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e,i){var n=i(1),o=i(3),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(34)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){e.f=i(4)},function(t,e,i){var n=i(3),o=i(1),s=i(34),r=i(60),a=i(14).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=s?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t){return t=String(t),t.replace(n,function(t,e){return e?e.toUpperCase():""})}function i(t){return t=String(t),t.replace(/([A-Z])/g,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=e,t.kebab=i;var n=/-(\w)/g})},function(t,e,i){function n(t){i(213)}var o=i(0)(i(214),i(215),n,null,null);t.exports=o.exports},function(t,e,i){"use strict";e.__esModule=!0;var n=i(231),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,r=o&&o.base64||"";return{name:t,size:e,url:r?"":s(o),base64:r,status:i,progress:n,file:o}}function s(t){return t&&a?a.createObjectURL(t):""}function r(t){if("function"==typeof t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;nl;)n(a,i=e[l++])&&(~s(u,i)||u.push(i));return u}},function(t,e,i){var n=i(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,i){"use strict";var n=i(34),o=i(10),s=i(82),r=i(17),a=i(26),l=i(142),u=i(44),c=i(144),f=i(4)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,i,p,v,m,y){l(i,e,p);var b,g,_,x=function(t){if(!d&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},w=e+" Iterator",S="values"==v,T=!1,P=t.prototype,k=P[f]||P["@@iterator"]||v&&P[v],M=k||x(v),C=v?S?x("entries"):M:void 0,E="Array"==e?P.entries||k:k;if(E&&(_=c(E.call(new t)))!==Object.prototype&&_.next&&(u(_,w,!0),n||"function"==typeof _[f]||r(_,f,h)),S&&k&&"values"!==k.name&&(T=!0,M=function(){return k.call(this)}),n&&!y||!d&&!T&&P[f]||r(P,f,M),a[e]=M,a[w]=h,v)if(b={values:S?M:x("values"),keys:m?M:x("keys"),entries:C},y)for(g in b)g in P||s(P,g,b[g]);else o(o.P+o.F*(d||T),e,b);return b}},function(t,e,i){t.exports=i(17)},function(t,e,i){var n=i(15),o=i(143),s=i(59),r=i(57)("IE_PROTO"),a=function(){},l=function(){var t,e=i(52)("iframe"),n=s.length;for(e.style.display="none",i(84).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("