vant/docs/build/0.js
2017-03-02 19:27:40 +08:00

7 lines
223 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([0],[,,function(s,t,a){var n=a(43)("wks"),e=a(46),l=a(3).Symbol,i="function"==typeof l,v=s.exports=function(s){return n[s]||(n[s]=i&&l[s]||(i?l:e)("Symbol."+s))};v.store=n},function(s,t){var a=s.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)},,,function(s,t,a){var n=a(19);s.exports=function(s){if(!n(s))throw TypeError(s+" is not an object!");return s}},function(s,t,a){var n=a(20),e=a(42);s.exports=a(10)?function(s,t,a){return n.f(s,t,e(1,a))}:function(s,t,a){return s[t]=a,s}},,function(s,t){var a=s.exports={version:"2.4.0"};"number"==typeof __e&&(__e=a)},function(s,t,a){s.exports=!a(32)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(s,t){s.exports={}},,,,,function(s,t){var a={}.toString;s.exports=function(s){return a.call(s).slice(8,-1)}},function(s,t,a){var n=a(21);s.exports=function(s,t,a){if(n(s),void 0===t)return s;switch(a){case 1:return function(a){return s.call(t,a)};case 2:return function(a,n){return s.call(t,a,n)};case 3:return function(a,n,e){return s.call(t,a,n,e)}}return function(){return s.apply(t,arguments)}}},function(s,t){var a={}.hasOwnProperty;s.exports=function(s,t){return a.call(s,t)}},function(s,t){s.exports=function(s){return"object"==typeof s?null!==s:"function"==typeof s}},function(s,t,a){var n=a(6),e=a(115),l=a(134),i=Object.defineProperty;t.f=a(10)?Object.defineProperty:function(s,t,a){if(n(s),t=l(t,!0),n(a),e)try{return i(s,t,a)}catch(s){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(s[t]=a.value),s}},function(s,t){s.exports=function(s){if("function"!=typeof s)throw TypeError(s+" is not a function!");return s}},function(s,t){s.exports=function(s){if(void 0==s)throw TypeError("Can't call method on "+s);return s}},function(s,t,a){var n=a(19),e=a(3).document,l=n(e)&&n(e.createElement);s.exports=function(s){return l?e.createElement(s):{}}},function(s,t,a){var n=a(20).f,e=a(18),l=a(2)("toStringTag");s.exports=function(s,t,a){s&&!e(s=a?s:s.prototype,l)&&n(s,l,{configurable:!0,value:t})}},function(s,t,a){var n=a(43)("keys"),e=a(46);s.exports=function(s){return n[s]||(n[s]=e(s))}},function(s,t){var a=Math.ceil,n=Math.floor;s.exports=function(s){return isNaN(s=+s)?0:(s>0?n:a)(s)}},function(s,t,a){var n=a(117),e=a(22);s.exports=function(s){return n(e(s))}},,,,function(s,t,a){var n=a(3),e=a(9),l=a(17),i=a(7),v="prototype",_=function(s,t,a){var c,r,o,p=s&_.F,u=s&_.G,h=s&_.S,d=s&_.P,C=s&_.B,f=s&_.W,j=u?e:e[t]||(e[t]={}),g=j[v],m=u?n:h?n[t]:(n[t]||{})[v];u&&(a=t);for(c in a)r=!p&&m&&void 0!==m[c],r&&c in j||(o=r?m[c]:a[c],j[c]=u&&"function"!=typeof m[c]?a[c]:C&&r?l(o,n):f&&m[c]==o?function(s){var t=function(t,a,n){if(this instanceof s){switch(arguments.length){case 0:return new s;case 1:return new s(t);case 2:return new s(t,a)}return new s(t,a,n)}return s.apply(this,arguments)};return t[v]=s[v],t}(o):d&&"function"==typeof o?l(Function.call,o):o,d&&((j.virtual||(j.virtual={}))[c]=o,s&_.R&&g&&!g[c]&&i(g,c,o)))};_.F=1,_.G=2,_.S=4,_.P=8,_.B=16,_.W=32,_.U=64,_.R=128,s.exports=_},function(s,t){s.exports=function(s){try{return!!s()}catch(s){return!0}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(145),l=n(e);t.default=l.default},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{findParentByComponentName:function(s){if(!this.parentGroup){for(var t=this.$parent;t;){if(t.$options.name===s){this.parentGroup=t;break}t=t.$parent}return this.parentGroup}}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(4),l=(n(e),a(36)),i=n(l),v=a(106),_=n(v),c=1,r=function s(t){return 3===t.nodeType&&(t=t.nextElementSibling||t.nextSibling,s(t)),t};t.default={props:{value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1},closeOnClickOverlay:{type:Boolean,default:!1},zIndex:[String,Number],lockOnScroll:{type:Boolean,default:!0}},watch:{value:function(s){if(s){if(this.opening)return;this.open()}else{if(this.closing)return;this.close()}}},beforeMount:function(){this._popupId="popup-"+c++,_.default.register(this._popupId,this)},data:function(){return{opening:!1,opened:!1,closing:!1,bodyOverflow:null}},methods:{open:function(s){if(!this.opened){this.opening=!0,this.$emit("input",!0);var t=r(this.$el),a=(0,i.default)({},this,s),n=a.zIndex;n&&(_.default.zIndex=n),this.overlay&&(this.closing&&(_.default.closeModal(this._popupId),this.closing=!1),_.default.openModal(this._popupId,_.default.nextZIndex(),t),this.lockOnScroll&&(this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overlay="hidden")),t.style.zIndex=_.default.nextZIndex(),this.opened=!0,this.opening=!1}},close:function(){var s=this;this.closing||(this.closing=!0,this.$emit("input",!1),this.lockOnScroll&&setTimeout(function(){s.modal&&"hidden"!==s.bodyOverflow&&(document.body.style.overflow=s.bodyOverflow),s.bodyOverflow=null},200),this.opened=!1,this.doAfterClose())},doAfterClose:function(){this.closing=!1,_.default.closeModal(this._popupId)}},beforeDestroy:function(){_.default.deregister(this._popupId),_.default.closeModal(this._popupId),this.modal&&null!==this.bodyOverflow&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.bodyOverflow=null}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(s){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];for(var e=0;e<a.length;e++){var l=a[e]||{};for(var i in l)if(l.hasOwnProperty(i)){var v=l[i];void 0!==v&&(s[i]=v)}}return s}},function(s,t,a){var n=a(16),e=a(2)("toStringTag"),l="Arguments"==n(function(){return arguments}()),i=function(s,t){try{return s[t]}catch(s){}};s.exports=function(s){var t,a,v;return void 0===s?"Undefined":null===s?"Null":"string"==typeof(a=i(t=Object(s),e))?a:l?n(t):"Object"==(v=n(t))&&"function"==typeof t.callee?"Arguments":v}},function(s,t){s.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(s,t,a){s.exports=a(3).document&&document.documentElement},function(s,t,a){"use strict";var n=a(41),e=a(31),l=a(129),i=a(7),v=a(18),_=a(11),c=a(120),r=a(24),o=a(126),p=a(2)("iterator"),u=!([].keys&&"next"in[].keys()),h="@@iterator",d="keys",C="values",f=function(){return this};s.exports=function(s,t,a,j,g,m,b){c(a,t,j);var z,x,y,w=function(s){if(!u&&s in P)return P[s];switch(s){case d:return function(){return new a(this,s)};case C:return function(){return new a(this,s)}}return function(){return new a(this,s)}},k=t+" Iterator",S=g==C,O=!1,P=s.prototype,M=P[p]||P[h]||g&&P[g],E=M||w(g),$=g?S?w("entries"):E:void 0,F="Array"==t?P.entries||M:M;if(F&&(y=o(F.call(new s)),y!==Object.prototype&&(r(y,k,!0),n||v(y,p)||i(y,p,f))),S&&M&&M.name!==C&&(O=!0,E=function(){return M.call(this)}),n&&!b||!u&&!O&&P[p]||i(P,p,E),_[t]=E,_[k]=f,g)if(z={values:S?E:w(C),keys:m?E:w(d),entries:$},b)for(x in z)x in P||l(P,x,z[x]);else e(e.P+e.F*(u||O),t,z);return z}},function(s,t){s.exports=!0},function(s,t){s.exports=function(s,t){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:t}}},function(s,t,a){var n=a(3),e="__core-js_shared__",l=n[e]||(n[e]={});s.exports=function(s){return l[s]||(l[s]={})}},function(s,t,a){var n,e,l,i=a(17),v=a(116),_=a(39),c=a(23),r=a(3),o=r.process,p=r.setImmediate,u=r.clearImmediate,h=r.MessageChannel,d=0,C={},f="onreadystatechange",j=function(){var s=+this;if(C.hasOwnProperty(s)){var t=C[s];delete C[s],t()}},g=function(s){j.call(s.data)};p&&u||(p=function(s){for(var t=[],a=1;arguments.length>a;)t.push(arguments[a++]);return C[++d]=function(){v("function"==typeof s?s:Function(s),t)},n(d),d},u=function(s){delete C[s]},"process"==a(16)(o)?n=function(s){o.nextTick(i(j,s,1))}:h?(e=new h,l=e.port2,e.port1.onmessage=g,n=i(l.postMessage,l,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts?(n=function(s){r.postMessage(s+"","*")},r.addEventListener("message",g,!1)):n=f in c("script")?function(s){_.appendChild(c("script"))[f]=function(){_.removeChild(this),j.call(s)}}:function(s){setTimeout(i(j,s,1),0)}),s.exports={set:p,clear:u}},function(s,t,a){var n=a(26),e=Math.min;s.exports=function(s){return s>0?e(n(s),9007199254740991):0}},function(s,t){var a=0,n=Math.random();s.exports=function(s){return"Symbol(".concat(void 0===s?"":s,")_",(++a+n).toString(36))}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}var e=a(80),l=n(e),i=a(100),v=n(i),_=a(88),c=n(_),r=a(96),o=n(r),p=a(33),u=n(p),h=a(89),d=n(h),C=a(83),f=n(C),j=a(94),g=n(j),m=a(86),b=n(m),z=a(92),x=n(z),y=a(95),w=n(y),k=a(102),S=n(k),O=a(90),P=n(O),M=a(91),E=n(M),$=a(82),F=n($),T=a(99),R=n(T),V=a(101),A=n(V),N=a(85),I=n(N),B=a(84),D=n(B),L=a(78),G=n(L),H=a(79),X=n(H),U=a(97),K=n(U),W=a(98),q=n(W),Z=function s(t){s.installed||(t.component(l.default.name,l.default),t.component(v.default.name,v.default),t.component(c.default.name,c.default),t.component(o.default.name,o.default),t.component(u.default.name,u.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default),t.component(g.default.name,g.default),t.component(x.default.name,x.default),t.component(w.default.name,w.default),t.component(P.default.name,P.default),t.component(E.default.name,E.default),t.component(F.default.name,F.default),t.component(R.default.name,R.default),t.component(A.default.name,A.default),t.component(I.default.name,I.default),t.component(D.default.name,D.default),t.component(G.default.name,G.default),t.component(X.default.name,X.default),t.component(K.default.name,K.default),t.component(q.default.name,q.default))};s.exports={install:Z,version:"0.0.11",Button:l.default,Switch:v.default,Field:c.default,Radio:o.default,Cell:u.default,Icon:d.default,CellGroup:f.default,Popup:g.default,Dialog:b.default,Picker:x.default,RadioGroup:w.default,Waterfall:S.default,Loading:P.default,Panel:E.default,Card:F.default,Steps:R.default,Tag:A.default,Checkbox:I.default,CheckboxGroup:D.default,BadgeGroup:G.default,Badge:X.default,Search:K.default,Step:q.default}},,,,,,,function(s,t,a){var n=a(127),e=a(38);s.exports=Object.keys||function(s){return n(s,e)}},function(s,t,a){var n=a(22);s.exports=function(s){return Object(n(s))}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-badge-group",props:{activeKey:{type:[Number,String],default:0}},data:function(){return{computedActiveKey:this.activeKey}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-badge",props:{mark:{type:[Number,String],required:!0},title:{type:String,required:!0},url:{type:String},info:{type:String}},methods:{handleClick:function(){this.$parent.computedActiveKey=this.mark}},computed:{classNames:function(){return{"is-select":this.mark===this.$parent.computedActiveKey}}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-card",props:{thumb:{type:String,required:!0},title:String,desc:String}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-cell-group"}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-cell",props:{icon:String,title:String,value:[String,Number],url:String,label:String,isLink:Boolean},methods:{handleClick:function(){this.$emit("click")}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-checkbox-group",props:{value:{},disabled:Boolean},watch:{value:function(s){this.$emit("change",s)}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(34),l=n(e);t.default={name:"zan-checkbox",mixins:[l.default],props:{disabled:Boolean,value:{},name:[String,Number]},computed:{isGroup:function(){return!!this.findParentByComponentName("zan-checkbox-group")},currentValue:{get:function(){return this.isGroup&&this.parentGroup?this.parentGroup.value.indexOf(this.name)!==-1:this.value},set:function(s){if(this.isGroup&&this.parentGroup){var t=this.parentGroup.value.slice();if(s)t.indexOf(this.name)===-1&&(t.push(this.name),this.parentGroup.$emit("input",t));else{var a=t.indexOf(this.name);a!==-1&&(t.splice(a,1),this.parentGroup.$emit("input",t))}}else this.$emit("input",s)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.currentValue)?this.currentValue:Array.isArray(this.currentValue)?this.currentValue.indexOf(this.name)>-1:void 0},isDisabled:function(){return this.isGroup&&this.parentGroup?this.parentGroup.disabled||this.disabled:this.disabled}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(35),l=n(e),i="取消",v="确认";t.default={name:"zan-dialog",mixins:[l.default],props:{overlay:{default:!0},closeOnClickOverlay:{default:!0},lockOnScroll:{default:!0}},data:function(){return{title:"",message:"",type:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonText:v,cancelButtonText:i,callback:null}},methods:{handleAction:function(s){this.value=!1,this.callback&&this.callback(s)},close:function(){var s=this;this.closing||(this.closing=!0,this.value=!1,this.lockOnScroll&&setTimeout(function(){s.modal&&"hidden"!==s.bodyOverflow&&(document.body.style.overflow=s.bodyOverflow,document.body.style.paddingRight=s.bodyPaddingRight),s.bodyOverflow=null,s.bodyPaddingRight=null},200),this.opened=!1,this.doAfterClose())}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(33),l=n(e);t.default={name:"zan-field",components:{zCell:l.default},props:{type:{type:String,default:"text"},placeholder:String,value:String,label:String,disabled:Boolean,readonly:Boolean,maxlength:[String,Number]},data:function(){return{currentValue:this.value}},watch:{value:function(s){this.currentValue=s},currentValue:function(s){this.$emit("input",s),console.log(s)}},methods:{handleInput:function(s){this.currentValue=s.target.value}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-icon",props:{name:String}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-loading"}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-panel",props:{title:String,desc:String,status:String}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(108),l=n(e),i=a(93),v=n(i),_=44;t.default={name:"zan-picker-column",props:{visibileColumnCount:{type:Number,default:5},values:{type:Array,default:function(){return[]}},className:{type:String,default:""},itemHeight:{type:Number,default:_},value:{}},data:function(){return{currentValue:this.value,currentValues:this.values,isDragging:!1}},watch:{values:function(s){this.currentValues=s},currentValues:function(s){this.valueIndex===-1&&(this.currentValue=(s||[])[0])},currentValue:function(s){this.doOnValueChange(),this.$emit("change",this)}},computed:{visibleContentHeight:function(){return this.itemHeight*this.visibileColumnCount},valueIndex:function(){return this.currentValues.indexOf(this.currentValue)},dragRange:function(){var s=this.currentValues,t=this.visibileColumnCount,a=this.itemHeight;return[-a*(s.length-Math.ceil(t/2)),a*Math.floor(t/2)]},classNames:function(){return this.className.split(" ")}},mounted:function(){this.initEvents(),this.doOnValueChange()},methods:{value2Translate:function(s){var t=this.currentValues,a=t.indexOf(s),n=Math.floor(this.visibileColumnCount/2),e=this.itemHeight;if(a!==-1)return(a-n)*-e},translate2Value:function(s){var t=this.itemHeight;s=Math.round(s/t)*t;var a=-(s-Math.floor(this.visibileColumnCount/2)*t)/t;return this.currentValues[a]},initEvents:function(){var s,t,a,n=this,e=this.$refs.wrapper,i={};(0,v.default)(e,{start:function(s){i={range:n.dragRange,start:new Date,startLeft:s.pageX,startTop:s.pageY,startTranslateTop:l.default.getElementTranslate(e).top},a=e.querySelectorAll(".zan-picker-item")},drag:function(a){n.isDragging=!0,i.left=a.pageX,i.top=a.pageY;var v=i.top-i.startTop,_=i.startTranslateTop+v;l.default.translateElement(e,null,_),s=_-t||_,t=_},end:function(){if(n.isDragging){n.isDragging=!1;var t,a=7,v=l.default.getElementTranslate(e).top,_=new Date-i.start;_<300&&(t=v+s*a);var c=i.range;n.$nextTick(function(){var s,a=n.itemHeight;s=t?Math.round(t/a)*a:Math.round(v/a)*a,s=Math.max(Math.min(s,c[1]),c[0]),l.default.translateElement(e,null,s),n.currentValue=n.translate2Value(s)})}i={}}})},doOnValueChange:function(){var s=this.currentValue,t=this.$refs.wrapper;this.$emit("input",this.currentValue),l.default.translateElement(t,null,this.value2Translate(s))}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(153),l=n(e),i=44;t.default={name:"zan-picker",components:{PickerColumn:l.default},props:{visibileColumnCount:{type:Number,default:5},itemHeight:{type:Number,default:i},columns:{type:Array,default:function(){return[]}},showToolbar:{type:Boolean,default:!0}},computed:{values:function s(){var t=this.columns||[],s=[];return t.forEach(function(t){s.push(t.value||t.values[t.defaultIndex||0])}),s}},methods:{columnValueChange:function(){this.$emit("change",this,this.values)},getColumn:function(s){var t=this.$children.filter(function(s){return"zan-picker-column"===s.$options.name});return t[s]},getColumnValue:function(s){var t=this.getColumn(s);return t&&t.values[t.valueIndex]},setColumnValue:function(s,t){var a=this.getColumn(s);a&&(a.currentValue=t)},getColumnValues:function(s){var t=this.getColumn(s);return t&&t.currentValues},setColumnValues:function(s,t){var a=this.getColumn(s);a&&(a.currentValues=t)},getValues:function(){return this.values},setValues:function(s){var t=this;s.forEach(function(s,a){t.setColumnValue(a,s)})}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(35),l=n(e);t.default={name:"zan-popup",mixins:[l.default],props:{overlay:{default:!0},lockOnScroll:{default:!1},closeOnClickOverlay:{default:!0},transition:{type:String,default:"popup-slide"},position:{type:String,default:""}},data:function(){return{currentValue:!1,currentTransition:this.transition}},watch:{currentValue:function(s){this.$emit("input",s)},value:function(s){this.currentValue=s}},beforeMount:function(){"popup-fade"!==this.transition&&(this.currentTransition="popup-slide-"+this.position)},mounted:function(){this.value&&(this.currentValue=!0,this.open())}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-radio-group",props:{value:{},disabled:Boolean},watch:{value:function(s){this.$emit("change",s)}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(34),l=n(e);t.default={name:"zan-radio",mixins:[l.default],props:{disabled:Boolean,value:{},name:[String,Number]},computed:{isGroup:function(){return!!this.findParentByComponentName("zan-radio-group")},currentValue:{get:function(){return this.isGroup&&this.parentGroup?this.parentGroup.value:this.value},set:function(s){this.isGroup&&this.parentGroup?this.parentGroup.$emit("input",s):this.$emit("input",s)}},isDisabled:function(){return this.isGroup&&this.parentGroup?this.parentGroup.disabled||this.disabled:this.disabled}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-search",props:{placeholder:{type:String}},data:function(){return{value:"",focusStatus:!1,isFocus:!1}},directives:{refocus:{update:function(s,t){t.value&&s.focus()}}},methods:{handleFocus:function(){this.isFocus=!0},handleClean:function(){this.value="",this.focusStatus=!0},handleBack:function(){this.value="",this.focusStatus=!1,this.isFocus=!1},handleSearch:function(){this.$emit("search",this.value)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-step",beforeCreate:function(){this.$parent.steps.push(this)},computed:{status:function(){var s=this.$parent.steps.indexOf(this),t=this.$parent.active;return s===-1?"":s<t?"finish":s===t?"process":void 0}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-steps",props:{active:Number,icon:String,iconClass:{type:String,default:""},title:String,description:String},computed:{computedIconClass:function(){var s="zan-icon-"+this.icon,t=this.iconClass.split(" ");return t.push(s),t}},data:function(){return{steps:[]}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-switch",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onChange:{type:Function,default:function(){}}},computed:{switchState:function s(){var s=this.checked?["is-on"]:["is-off"];return this.disabled&&s.push("is-disabled"),this.loading&&s.push("is-loading"),s}},methods:{toggleState:function(){this.disabled||this.loading||this.onChange(!this.checked)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"zan-tag",props:{type:String,mark:Boolean,plain:Boolean}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(141),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(142),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(81),l=n(e);t.default=l.default},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=["mini","small","normal","large"],e=["default","danger","primary"];t.default={name:"zan-button",props:{disabled:Boolean,loading:Boolean,block:Boolean,tag:{type:String,default:"button"},nativeType:String,type:{type:String,default:"default",validator:function(s){return e.indexOf(s)>-1}},size:{type:String,default:"normal",validator:function(s){return n.indexOf(s)>-1}}},methods:{handleClick:function(){this.$emit("click")}},render:function(s){var t=this.type,a=this.nativeType,n=this.size,e=this.disabled,l=this.loading,i=this.block,v=this.tag;return s(v,{attrs:{type:a,disabled:e},class:["zan-button","zan-button--"+t,"zan-button--"+n,{"z-button--disabled":e,"z-button--loading":l,"z-button--block":i}],on:{click:this.handleClick}},[l?s("i",{class:"zan-icon-loading"},[]):null,s("span",{class:"zan-button-text"},[this.$slots.default])])}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(143),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(144),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(146),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(147),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(87),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(109),l=n(e),i=a(4),v=n(i),_=a(148),c=n(_),r=a(36),o=n(r),p=v.default.extend(c.default),u=void 0,h=void 0,d=[],C=function(s){if(u){var t=u.callback;"function"==typeof t&&t(s),u.resolve&&"confirm"===s?u.resolve(s):u.reject&&"cancel"===s&&u.reject(s)}},f=function(){h=new p({el:document.createElement("div")}),h.callback=C},j=function(){if(h||f(),!h.value&&d.length>0){u=d.shift();var s=u.options;for(var t in s)s.hasOwnProperty(t)&&(h[t]=s[t]);void 0===s.callback&&(h.callback=C),document.body.appendChild(h.$el),v.default.nextTick(function(){h.value=!0})}},g=function(s){return new l.default(function(t,a){d.push({options:(0,o.default)({},s),callback:s.callback,resolve:t,reject:a}),j()})};g.alert=function(s){return g((0,o.default)({type:"alert",closeOnClickOverlay:!1,showCancelButton:!1},s))},g.confirm=function(s){return g((0,o.default)({type:"confirm",closeOnClickOverlay:!0,showCancelButton:!0},s))},g.close=function(){h.value=!1,d=[],u=null},t.default=g},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(149),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(150),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(151),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(152),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(154),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(s,t){var a=function(s){t.drag&&t.drag(v?s.changedTouches[0]||s.touches[0]:s)},n=function s(n){v||(document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",s)),document.onselectstart=null,document.ondragstart=null,i=!1,t.end&&t.end(v?n.changedTouches[0]||n.touches[0]:n)};s.addEventListener(v?"touchstart":"mousedown",function(s){i||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},v||(document.addEventListener("mousemove",a),document.addEventListener("mouseup",n)),i=!0,t.start&&(s.preventDefault(),t.start(v?s.changedTouches[0]||s.touches[0]:s)))}),v&&(s.addEventListener("touchmove",a),s.addEventListener("touchend",n),s.addEventListener("touchcancel",n))};var e=a(4),l=n(e),i=!1,v=!l.default.prototype.$isServer&&"ontouchstart"in window},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(155),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(156),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(157),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(158),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(159),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(160),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(161),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(162),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(104),l=n(e);t.default=l.default},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}function e(){var s=this;this.scrollEventListener=v.default.debounce(l.bind(this),200),this.scrollEventTarget=v.default.getScrollEventTarget(this.el);var t=this.el.getAttribute("waterfall-disabled"),a=!1;t&&(this.vm.$watch(t,function(t){s.disabled=t}),a=Boolean(this.vm[t])),this.disabled=a;var n=this.el.getAttribute("waterfall-offset");this.offset=Number(n)||c,this.scrollEventTarget.addEventListener("scroll",this.scrollEventListener),this.scrollEventListener()}function l(){var s=this.el,t=this.scrollEventTarget;if(!this.disabled){var a=v.default.getScrollTop(t),n=a+v.default.getVisibleHeight(t),e=!1;if(s===t)e=t.scollHeight-n<this.offset;else{var l=v.default.getElementTop(s)-v.default.getElementTop(t)+v.default.getVisibleHeight(s);e=l-v.default.getVisibleHeight(t)<this.offset}e&&this.cb.lower&&this.cb.lower({target:t,top:a});var i=!1;if(s===t)i=a<this.offset;else{var _=v.default.getElementTop(s)-v.default.getElementTop(t);i=_+this.offset>0}i&&this.cb.upper&&this.cb.upper({target:t,top:a})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(s){return{bind:function(t,a,n){t[_]||(t[_]={el:t,vm:n.context,cb:{}}),t[_].cb[s]=a.value,n.context.$on("hook:mounted",function(){v.default.isAttached(t)&&e.call(t[_])})},update:function(s){s[_].scrollEventListener()},unbind:function(s){var t=s[_];t.scrollEventTarget.removeEventListener("scroll",t.scrollEventListener)}}};var i=a(105),v=n(i),_="@@Waterfall",c=300},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(103),l=n(e),i=a(4),v=n(i),_=function(s){s.directive("WaterfallLower",(0,l.default)("lower")),s.directive("WaterfallUpper",(0,l.default)("upper"))};v.default.prototype.$isServer||v.default.use(_),l.default.install=_,t.default=l.default},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={debounce:function(s,t,a){var n,e,l,i,v;return function(){l=this,e=arguments,i=new Date;var a=function a(){var _=new Date-i;_<t?n=setTimeout(a,t-_):(n=null,v=s.apply(l,e))};return n||(n=setTimeout(a,t)),v}},getScrollEventTarget:function(s){for(var t=s;t&&"HTML"!==t.tagName&&"BODY"!==t.tagName&&1===t.nodeType;){var a=this.getComputedStyle(t).overflowY;if("scroll"===a||"auto"===a)return t;t=t.parentNode}return window},isAttached:function(s){for(var t=s.parentNode;t;){if("HTML"===t.tagName)return!0;if(11===t.nodeType)return!1;t=t.parentNode}return!1},getScrollTop:function(s){return"scrollTop"in s?s.scrollTop:s.pageYOffset},getElementTop:function(s){return s===window?this.getScrollTop(window):s.getBoundingClientRect().top+this.getScrollTop(window)},getVisibleHeight:function(s){return s===window?s.innerHeight:s.getBoundingClientRect().height},getComputedStyle:document.defaultView.getComputedStyle.bind(document.defaultView)}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(107),e=!1,l=function(){var s=v.modalDom;return s?e=!0:(e=!1,s=document.createElement("div"),v.modalDom=s,s.addEventListener("touchmove",function(s){s.preventDefault(),s.stopPropagation()}),s.addEventListener("click",function(){v.handleOverlayClick&&v.handleOverlayClick()})),s},i={},v={zIndex:2e3,modalStack:[],nextZIndex:function(){return this.zIndex++},getInstance:function(s){return i[s]},register:function(s,t){s&&t&&(i[s]=t)},deregister:function(s){s&&(i[s]=null,delete i[s])},handleOverlayClick:function(){var s=v.modalStack[v.modalStack.length-1];if(s){var t=v.getInstance(s.id);t&&t.closeOnClickOverlay&&t.close();
}},openModal:function(s,t,a){if(s&&void 0!==t){for(var e=this.modalStack,i=0,v=e.length;i<v;i++){var _=e[i];if(_.id===s)return}var c=l();(0,n.addClass)(c,"zan-modal"),a&&a.parentNode&&11!==a.parentNode.nodeType?a.parentNode.appendChild(c):document.body.appendChild(c),t&&(c.style.zIndex=t),c.style.display="",this.modalStack.push({id:s,zIndex:t})}},closeModal:function(s){var t=this,a=this.modalStack,n=l();if(a.length>0){var e=a[a.length-1];if(e.id===s)a.pop(),a.length>0&&(n.style.zIndex=a[a.length-1].zIndex);else for(var i=a.length-1;i>=0;i--)if(a[i].id===s){a.splice(i,1);break}}0===a.length&&setTimeout(function(){0===a.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",t.modalDom=null)},200)}};t.default=v},function(s,t,a){"use strict";function n(s,t){if(!s||!t)return!1;if(t.indexOf(" ")!==-1)throw new Error("className should not contain space.");return s.classList?s.classList.contains(t):(" "+s.className+" ").indexOf(" "+t+" ")>-1}function e(s,t){if(s){for(var a=s.className,e=(t||"").split(" "),l=0,i=e.length;l<i;l++){var v=e[l];v&&(s.classList?s.classList.add(v):n(s,v)||(a+=" "+v))}s.classList||(s.className=a)}}function l(s,t){if(s&&t){for(var a=t.split(" "),e=" "+s.className+" ",l=0,v=a.length;l<v;l++){var _=a[l];_&&(s.classList?s.classList.remove(_):n(s,_)&&(e=e.replace(" "+_+" "," ")))}s.classList||(s.className=i(e))}}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=n,t.addClass=e,t.removeClass=l;var i=function(s){return(s||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(4),l=n(e),i={};if(!l.default.prototype.$isServer){var v,_=document.documentElement.style,c=!1;window.opera&&"[object Opera]"===Object.prototype.toString.call(window.opera)?v="presto":"MozAppearance"in _?v="gecko":"WebkitAppearance"in _?v="webkit":"string"==typeof navigator.cpuClass&&(v="trident");var r={trident:"-ms-",gecko:"-moz-",webkit:"-webkit-",presto:"-o-"}[v],o={trident:"ms",gecko:"Moz",webkit:"Webkit",presto:"O"}[v],p=document.createElement("div"),u=o+"Perspective",h=o+"Transform",d=r+"transform",C=o+"Transition",f=r+"transition",j=o.toLowerCase()+"TransitionEnd";void 0!==p.style[u]&&(c=!0);var g=function(s){var t={left:0,top:0};if(null===s||null===s.style)return t;var a=s.style[h],n=/translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/gi.exec(a);return n&&(t.left=+n[1],t.top=+n[3]),t},m=function(s,t,a){if((null!==t||null!==a)&&null!==s&&void 0!==s&&null!==s.style&&(s.style[h]||0!==t||0!==a)){if(null===t||null===a){var n=g(s);null===t&&(t=n.left),null===a&&(a=n.top)}b(s),c?s.style[h]+=" translate("+(t?t+"px":"0px")+","+(a?a+"px":"0px")+") translateZ(0px)":s.style[h]+=" translate("+(t?t+"px":"0px")+","+(a?a+"px":"0px")+")"}},b=function(s){if(null!==s&&null!==s.style){var t=s.style[h];t&&(t=t.replace(/translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/g,""),s.style[h]=t)}};i={transformProperty:h,transformStyleName:d,transitionProperty:C,transitionStyleName:f,transitionEndProperty:j,getElementTranslate:g,translateElement:m,cancelTranslateElement:b}}t.default=i},function(s,t,a){s.exports={default:a(110),__esModule:!0}},function(s,t,a){a(137),a(139),a(140),a(138),s.exports=a(9).Promise},function(s,t){s.exports=function(){}},function(s,t){s.exports=function(s,t,a,n){if(!(s instanceof t)||void 0!==n&&n in s)throw TypeError(a+": incorrect invocation!");return s}},function(s,t,a){var n=a(27),e=a(45),l=a(133);s.exports=function(s){return function(t,a,i){var v,_=n(t),c=e(_.length),r=l(i,c);if(s&&a!=a){for(;c>r;)if(v=_[r++],v!=v)return!0}else for(;c>r;r++)if((s||r in _)&&_[r]===a)return s||r||0;return!s&&-1}}},function(s,t,a){var n=a(17),e=a(119),l=a(118),i=a(6),v=a(45),_=a(135),c={},r={},t=s.exports=function(s,t,a,o,p){var u,h,d,C,f=p?function(){return s}:_(s),j=n(a,o,t?2:1),g=0;if("function"!=typeof f)throw TypeError(s+" is not iterable!");if(l(f)){for(u=v(s.length);u>g;g++)if(C=t?j(i(h=s[g])[0],h[1]):j(s[g]),C===c||C===r)return C}else for(d=f.call(s);!(h=d.next()).done;)if(C=e(d,j,h.value,t),C===c||C===r)return C};t.BREAK=c,t.RETURN=r},function(s,t,a){s.exports=!a(10)&&!a(32)(function(){return 7!=Object.defineProperty(a(23)("div"),"a",{get:function(){return 7}}).a})},function(s,t){s.exports=function(s,t,a){var n=void 0===a;switch(t.length){case 0:return n?s():s.call(a);case 1:return n?s(t[0]):s.call(a,t[0]);case 2:return n?s(t[0],t[1]):s.call(a,t[0],t[1]);case 3:return n?s(t[0],t[1],t[2]):s.call(a,t[0],t[1],t[2]);case 4:return n?s(t[0],t[1],t[2],t[3]):s.call(a,t[0],t[1],t[2],t[3])}return s.apply(a,t)}},function(s,t,a){var n=a(16);s.exports=Object("z").propertyIsEnumerable(0)?Object:function(s){return"String"==n(s)?s.split(""):Object(s)}},function(s,t,a){var n=a(11),e=a(2)("iterator"),l=Array.prototype;s.exports=function(s){return void 0!==s&&(n.Array===s||l[e]===s)}},function(s,t,a){var n=a(6);s.exports=function(s,t,a,e){try{return e?t(n(a)[0],a[1]):t(a)}catch(t){var l=s.return;throw void 0!==l&&n(l.call(s)),t}}},function(s,t,a){"use strict";var n=a(124),e=a(42),l=a(24),i={};a(7)(i,a(2)("iterator"),function(){return this}),s.exports=function(s,t,a){s.prototype=n(i,{next:e(1,a)}),l(s,t+" Iterator")}},function(s,t,a){var n=a(2)("iterator"),e=!1;try{var l=[7][n]();l.return=function(){e=!0},Array.from(l,function(){throw 2})}catch(s){}s.exports=function(s,t){if(!t&&!e)return!1;var a=!1;try{var l=[7],i=l[n]();i.next=function(){return{done:a=!0}},l[n]=function(){return i},s(l)}catch(s){}return a}},function(s,t){s.exports=function(s,t){return{value:t,done:!!s}}},function(s,t,a){var n=a(3),e=a(44).set,l=n.MutationObserver||n.WebKitMutationObserver,i=n.process,v=n.Promise,_="process"==a(16)(i);s.exports=function(){var s,t,a,c=function(){var n,e;for(_&&(n=i.domain)&&n.exit();s;){e=s.fn,s=s.next;try{e()}catch(n){throw s?a():t=void 0,n}}t=void 0,n&&n.enter()};if(_)a=function(){i.nextTick(c)};else if(l){var r=!0,o=document.createTextNode("");new l(c).observe(o,{characterData:!0}),a=function(){o.data=r=!r}}else if(v&&v.resolve){var p=v.resolve();a=function(){p.then(c)}}else a=function(){e.call(n,c)};return function(n){var e={fn:n,next:void 0};t&&(t.next=e),s||(s=e,a()),t=e}}},function(s,t,a){var n=a(6),e=a(125),l=a(38),i=a(25)("IE_PROTO"),v=function(){},_="prototype",c=function(){var s,t=a(23)("iframe"),n=l.length,e="<",i=">";for(t.style.display="none",a(39).appendChild(t),t.src="javascript:",s=t.contentWindow.document,s.open(),s.write(e+"script"+i+"document.F=Object"+e+"/script"+i),s.close(),c=s.F;n--;)delete c[_][l[n]];return c()};s.exports=Object.create||function(s,t){var a;return null!==s?(v[_]=n(s),a=new v,v[_]=null,a[i]=s):a=c(),void 0===t?a:e(a,t)}},function(s,t,a){var n=a(20),e=a(6),l=a(54);s.exports=a(10)?Object.defineProperties:function(s,t){e(s);for(var a,i=l(t),v=i.length,_=0;v>_;)n.f(s,a=i[_++],t[a]);return s}},function(s,t,a){var n=a(18),e=a(55),l=a(25)("IE_PROTO"),i=Object.prototype;s.exports=Object.getPrototypeOf||function(s){return s=e(s),n(s,l)?s[l]:"function"==typeof s.constructor&&s instanceof s.constructor?s.constructor.prototype:s instanceof Object?i:null}},function(s,t,a){var n=a(18),e=a(27),l=a(113)(!1),i=a(25)("IE_PROTO");s.exports=function(s,t){var a,v=e(s),_=0,c=[];for(a in v)a!=i&&n(v,a)&&c.push(a);for(;t.length>_;)n(v,a=t[_++])&&(~l(c,a)||c.push(a));return c}},function(s,t,a){var n=a(7);s.exports=function(s,t,a){for(var e in t)a&&s[e]?s[e]=t[e]:n(s,e,t[e]);return s}},function(s,t,a){s.exports=a(7)},function(s,t,a){"use strict";var n=a(3),e=a(9),l=a(20),i=a(10),v=a(2)("species");s.exports=function(s){var t="function"==typeof e[s]?e[s]:n[s];i&&t&&!t[v]&&l.f(t,v,{configurable:!0,get:function(){return this}})}},function(s,t,a){var n=a(6),e=a(21),l=a(2)("species");s.exports=function(s,t){var a,i=n(s).constructor;return void 0===i||void 0==(a=n(i)[l])?t:e(a)}},function(s,t,a){var n=a(26),e=a(22);s.exports=function(s){return function(t,a){var l,i,v=String(e(t)),_=n(a),c=v.length;return _<0||_>=c?s?"":void 0:(l=v.charCodeAt(_),l<55296||l>56319||_+1===c||(i=v.charCodeAt(_+1))<56320||i>57343?s?v.charAt(_):l:s?v.slice(_,_+2):(l-55296<<10)+(i-56320)+65536)}}},function(s,t,a){var n=a(26),e=Math.max,l=Math.min;s.exports=function(s,t){return s=n(s),s<0?e(s+t,0):l(s,t)}},function(s,t,a){var n=a(19);s.exports=function(s,t){if(!n(s))return s;var a,e;if(t&&"function"==typeof(a=s.toString)&&!n(e=a.call(s)))return e;if("function"==typeof(a=s.valueOf)&&!n(e=a.call(s)))return e;if(!t&&"function"==typeof(a=s.toString)&&!n(e=a.call(s)))return e;throw TypeError("Can't convert object to primitive value")}},function(s,t,a){var n=a(37),e=a(2)("iterator"),l=a(11);s.exports=a(9).getIteratorMethod=function(s){if(void 0!=s)return s[e]||s["@@iterator"]||l[n(s)]}},function(s,t,a){"use strict";var n=a(111),e=a(122),l=a(11),i=a(27);s.exports=a(40)(Array,"Array",function(s,t){this._t=i(s),this._i=0,this._k=t},function(){var s=this._t,t=this._k,a=this._i++;return!s||a>=s.length?(this._t=void 0,e(1)):"keys"==t?e(0,a):"values"==t?e(0,s[a]):e(0,[a,s[a]])},"values"),l.Arguments=l.Array,n("keys"),n("values"),n("entries")},function(s,t){},function(s,t,a){"use strict";var n,e,l,i=a(41),v=a(3),_=a(17),c=a(37),r=a(31),o=a(19),p=a(21),u=a(112),h=a(114),d=a(131),C=a(44).set,f=a(123)(),j="Promise",g=v.TypeError,m=v.process,b=v[j],m=v.process,z="process"==c(m),x=function(){},y=!!function(){try{var s=b.resolve(1),t=(s.constructor={})[a(2)("species")]=function(s){s(x,x)};return(z||"function"==typeof PromiseRejectionEvent)&&s.then(x)instanceof t}catch(s){}}(),w=function(s,t){return s===t||s===b&&t===l},k=function(s){var t;return!(!o(s)||"function"!=typeof(t=s.then))&&t},S=function(s){return w(b,s)?new O(s):new e(s)},O=e=function(s){var t,a;this.promise=new s(function(s,n){if(void 0!==t||void 0!==a)throw g("Bad Promise constructor");t=s,a=n}),this.resolve=p(t),this.reject=p(a)},P=function(s){try{s()}catch(s){return{error:s}}},M=function(s,t){if(!s._n){s._n=!0;var a=s._c;f(function(){for(var n=s._v,e=1==s._s,l=0,i=function(t){var a,l,i=e?t.ok:t.fail,v=t.resolve,_=t.reject,c=t.domain;try{i?(e||(2==s._h&&F(s),s._h=1),i===!0?a=n:(c&&c.enter(),a=i(n),c&&c.exit()),a===t.promise?_(g("Promise-chain cycle")):(l=k(a))?l.call(a,v,_):v(a)):_(n)}catch(s){_(s)}};a.length>l;)i(a[l++]);s._c=[],s._n=!1,t&&!s._h&&E(s)})}},E=function(s){C.call(v,function(){var t,a,n,e=s._v;if($(s)&&(t=P(function(){z?m.emit("unhandledRejection",e,s):(a=v.onunhandledrejection)?a({promise:s,reason:e}):(n=v.console)&&n.error&&n.error("Unhandled promise rejection",e)}),s._h=z||$(s)?2:1),s._a=void 0,t)throw t.error})},$=function(s){if(1==s._h)return!1;for(var t,a=s._a||s._c,n=0;a.length>n;)if(t=a[n++],t.fail||!$(t.promise))return!1;return!0},F=function(s){C.call(v,function(){var t;z?m.emit("rejectionHandled",s):(t=v.onrejectionhandled)&&t({promise:s,reason:s._v})})},T=function(s){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=s,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},R=function(s){var t,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===s)throw g("Promise can't be resolved itself");(t=k(s))?f(function(){var n={_w:a,_d:!1};try{t.call(s,_(R,n,1),_(T,n,1))}catch(s){T.call(n,s)}}):(a._v=s,a._s=1,M(a,!1))}catch(s){T.call({_w:a,_d:!1},s)}}};y||(b=function(s){u(this,b,j,"_h"),p(s),n.call(this);try{s(_(R,this,1),_(T,this,1))}catch(s){T.call(this,s)}},n=function(s){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=a(128)(b.prototype,{then:function(s,t){var a=S(d(this,b));return a.ok="function"!=typeof s||s,a.fail="function"==typeof t&&t,a.domain=z?m.domain:void 0,this._c.push(a),this._a&&this._a.push(a),this._s&&M(this,!1),a.promise},catch:function(s){return this.then(void 0,s)}}),O=function(){var s=new n;this.promise=s,this.resolve=_(R,s,1),this.reject=_(T,s,1)}),r(r.G+r.W+r.F*!y,{Promise:b}),a(24)(b,j),a(130)(j),l=a(9)[j],r(r.S+r.F*!y,j,{reject:function(s){var t=S(this),a=t.reject;return a(s),t.promise}}),r(r.S+r.F*(i||!y),j,{resolve:function(s){if(s instanceof b&&w(s.constructor,this))return s;var t=S(this),a=t.resolve;return a(s),t.promise}}),r(r.S+r.F*!(y&&a(121)(function(s){b.all(s).catch(x)})),j,{all:function(s){var t=this,a=S(t),n=a.resolve,e=a.reject,l=P(function(){var a=[],l=0,i=1;h(s,!1,function(s){var v=l++,_=!1;a.push(void 0),i++,t.resolve(s).then(function(s){_||(_=!0,a[v]=s,--i||n(a))},e)}),--i||n(a)});return l&&e(l.error),a.promise},race:function(s){var t=this,a=S(t),n=a.reject,e=P(function(){h(s,!1,function(s){t.resolve(s).then(a.resolve,n)})});return e&&n(e.error),a.promise}})},function(s,t,a){"use strict";var n=a(132)(!0);a(40)(String,"String",function(s){this._t=String(s),this._i=0},function(){var s,t=this._t,a=this._i;return a>=t.length?{value:void 0,done:!0}:(s=n(t,a),this._i+=s.length,{value:s,done:!1})})},function(s,t,a){a(136);for(var n=a(3),e=a(7),l=a(11),i=a(2)("toStringTag"),v=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],_=0;_<5;_++){var c=v[_],r=n[c],o=r&&r.prototype;o&&!o[i]&&e(o,i,c),l[c]=l.Array}},function(s,t,a){var n=a(1)(a(56),a(179),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(57),a(166),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(58),a(168),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(59),a(171),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(60),a(177),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(61),a(167),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(62),a(173),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(63),a(172),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(64),a(180),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(65),a(176),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(66),a(178),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(67),a(175),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(68),a(183),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(69),a(169),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(70),a(184),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(71),a(163),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(72),a(181),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(73),a(170),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(74),a(165),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(75),a(174),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(76),a(182),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(77),a(164),null,null);s.exports=n.exports},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-radio-group"},[s._t("default")],2)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("span",{staticClass:"zan-tag",class:[s.type?"zan-tag--"+s.type:"",{"is-plain":s.plain,"is-mark":s.mark}]},[s._t("default")],2)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-step",class:"zan-step--"+s.status},[a("div",{staticClass:"zan-step__circle-container"},["process"!==s.status?a("i",{staticClass:"zan-step__circle"}):a("i",{staticClass:"zan-icon zan-icon-checked"})]),s._v(" "),a("p",{staticClass:"zan-step__title"},[s._t("default")],2),s._v(" "),a("div",{staticClass:"zan-step__line"})])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("a",{staticClass:"zan-badge",class:s.classNames,attrs:{href:s.url},on:{click:s.handleClick}},[a("div",{staticClass:"zan-badge__active"}),s._v(" "),s.info?a("div",{staticClass:"zan-badge__info"},[s._v(s._s(s.info))]):s._e(),s._v("\n "+s._s(s.title)+"\n")])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-checkbox-group"},[s._t("default")],2)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-card"},[a("img",{staticClass:"zan-card__img",attrs:{src:s.thumb,alt:""}}),s._v(" "),a("div",{staticClass:"zan-card__content",class:{"is-center":!this.$slots.footer}},[a("div",{staticClass:"zan-card__info"},[s._t("title",[a("h4",{staticClass:"zan-card__title",domProps:{textContent:s._s(s.title)}})]),s._v(" "),s._t("desc",[s.desc?a("p",{staticClass:"zan-card__title",domProps:{textContent:s._s(s.desc)}}):s._e()]),s._v(" "),s._t("tags")],2),s._v(" "),s._t("footer")],2)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-picker"},[a("div",{staticClass:"zan-picker__toolbar"},[s._t("default")],2),s._v(" "),a("div",{staticClass:"zan-picker__columns",class:["zan-picker__columns--"+s.columns.length]},[s._l(s.columns,function(t,n){return a("picker-column",{attrs:{values:t.values,"class-name":t.className,itemHeight:s.itemHeight,"visible-item-count":s.visibleItemCount},on:{change:s.columnValueChange},model:{value:s.values[n],callback:function(t){var a=s.values,e=n;Array.isArray(a)?a.splice(e,1,t):s.values[n]=t}}})}),s._v(" "),a("div",{staticClass:"zan-picker-center-highlight",style:{height:s.itemHeight+"px",marginTop:-s.itemHeight/2+"px"}})],2)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-search",class:{"is-focus":s.isFocus}},[a("div",{staticClass:"zan-search__input-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.value,expression:"value"},{name:"refocus",rawName:"v-refocus",value:s.focusStatus,expression:"focusStatus"}],attrs:{type:"text",placeholder:s.placeholder},domProps:{value:s.value},on:{focus:s.handleFocus,keyup:function(t){return s._k(t.keyCode,"enter",13)?null:void s.handleSearch(t)},input:function(t){t.target.composing||(s.value=t.target.value)}}}),s._v(" "),a("span",{staticClass:"zan-icon zan-icon-close",on:{click:s.handleClean}})]),s._v(" "),a("div",{staticClass:"zan-search__cancel",class:{"is-focus":s.isFocus},on:{click:s.handleBack}},[s._v("取消")])])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-cell-group"},[s._t("default")],2)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("transition",{attrs:{name:"dialog-bounce"}},[a("div",{staticClass:"zan-dialog-wrapper"},[a("div",{directives:[{name:"show",rawName:"v-show",value:s.value,expression:"value"}],staticClass:"zan-dialog"},[s.title?a("div",{staticClass:"zan-dialog__header"},[a("div",{staticClass:"zan-dialog__title",domProps:{textContent:s._s(s.title)}})]):s._e(),s._v(" "),s.message?a("div",{staticClass:"zan-dialog__content"},[a("div",{staticClass:"zan-dialog__message",domProps:{innerHTML:s._s(s.message)}})]):s._e(),s._v(" "),a("div",{staticClass:"zan-dialog__footer",class:{"is-twobtn":s.showCancelButton&&s.showConfirmButton}},[a("button",{directives:[{name:"show",rawName:"v-show",value:s.showCancelButton,expression:"showCancelButton"}],staticClass:"zan-dialog__btn zan-dialog__cancel",on:{click:function(t){s.handleAction("cancel")}}},[s._v(s._s(s.cancelButtonText))]),s._v(" "),a("button",{directives:[{name:"show",rawName:"v-show",value:s.showConfirmButton,expression:"showConfirmButton"}],staticClass:"zan-dialog__btn zan-dialog__confirm",on:{click:function(t){s.handleAction("confirm")}}},[s._v(s._s(s.confirmButtonText))])])])])])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-checkbox",class:{"is-disabled":s.isDisabled}},[a("span",{staticClass:"zan-checkbox__input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.currentValue,expression:"currentValue"}],staticClass:"zan-checkbox__control",attrs:{type:"checkbox",disabled:s.isDisabled},domProps:{checked:Array.isArray(s.currentValue)?s._i(s.currentValue,null)>-1:s.currentValue},on:{__c:function(t){var a=s.currentValue,n=t.target,e=!!n.checked;if(Array.isArray(a)){var l=null,i=s._i(a,l);e?i<0&&(s.currentValue=a.concat(l)):i>-1&&(s.currentValue=a.slice(0,i).concat(a.slice(i+1)))}else s.currentValue=e}}}),s._v(" "),a("span",{staticClass:"zan-icon",class:{"zan-icon-checked":s.isChecked,"zan-icon-check":!s.isChecked}})]),s._v(" "),a("span",{staticClass:"zan-checkbox__label"},[s._t("default")],2)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-steps",class:"zan-steps--"+s.steps.length},[s.icon?a("div",{staticClass:"zan-steps__status"},[a("i",{staticClass:"zan-icon zan-steps__icon",class:s.computedIconClass}),s._v(" "),a("div",{staticClass:"zan-steps__message"},[a("div",{staticClass:"zan-steps__message-wrapper"},[a("h4",{staticClass:"zan-steps__title",domProps:{textContent:s._s(s.title)}}),s._v(" "),a("p",{staticClass:"zan-steps__desc",domProps:{textContent:s._s(s.description)}})])]),s._v(" "),s._t("message-extra")],2):s._e(),s._v(" "),a("div",{staticClass:"zan-steps__items"},[s._t("default")],2)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-panel"},[a("div",{staticClass:"zan-panel__header"},[s._t("header",[a("h4",{staticClass:"zan-panel__title",domProps:{textContent:s._s(s.title)}}),s._v(" "),s.desc?a("span",{staticClass:"zan-panel__desc",domProps:{textContent:s._s(s.desc)}}):s._e(),s._v(" "),s.status?a("span",{staticClass:"zan-panel__status",domProps:{textContent:s._s(s.status)}}):s._e()])],2),s._v(" "),a("div",{staticClass:"zan-panel__content"},[s._t("default")],2),s._v(" "),this.$slots.footer?a("div",{staticClass:"zan-panel__footer"},[s._t("footer")],2):s._e()])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("i",{staticClass:"zanui-icon",class:"zan-icon-"+s.name})},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("a",{staticClass:"zan-cell",attrs:{href:s.url},on:{click:s.handleClick}},[a("div",{staticClass:"zan-cell__title"},[s._t("icon",[s.icon?a("i",{staticClass:"zan-icon",class:"zan-icon-"+s.icon}):s._e()]),s._v(" "),s._t("title",[a("span",{staticClass:"zan-cell__text",domProps:{textContent:s._s(s.title)}}),s._v(" "),s.label?a("span",{staticClass:"zan-cell__label",domProps:{textContent:s._s(s.label)}}):s._e()])],2),s._v(" "),a("div",{staticClass:"zan-cell__value",class:{"is-link":s.isLink,"is-alone":!this.$slots.title&&!s.title&&!s.label}},[s._t("default",[a("span",{domProps:{textContent:s._s(s.value)}})])],2),s._v(" "),s.isLink?a("i",{staticClass:"zan-icon zan-icon-arrow"}):s._e()])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-loading"},[a("span",{staticClass:"zan-spinner"})])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-badge-group"},[s._t("default")],2)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("zan-cell",{staticClass:"zan-field",class:{"is-textarea":"textarea"===s.type,"is-nolabel":!s.label},attrs:{title:s.label}},["textarea"===s.type?a("textarea",{directives:[{name:"model",rawName:"v-model",value:s.currentValue,expression:"currentValue"}],staticClass:"zan-field__control",attrs:{placeholder:s.placeholder,maxlength:s.maxlength,disabled:s.disabled,readonly:s.readonly},domProps:{value:s.currentValue},on:{change:function(t){s.$emit("change",s.currentValue)},input:function(t){t.target.composing||(s.currentValue=t.target.value)}}}):a("input",{staticClass:"zan-field__control",attrs:{type:s.type,placeholder:s.placeholder,maxlength:s.maxlength,disabled:s.disabled,readonly:s.readonly},domProps:{value:s.currentValue},on:{change:function(t){s.$emit("change",s.currentValue)},input:s.handleInput}})])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-radio",class:{"is-disabled":s.isDisabled}},[a("span",{staticClass:"zan-radio__input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.currentValue,expression:"currentValue"}],staticClass:"zan-radio__control",attrs:{type:"radio",disabled:s.isDisabled},domProps:{value:s.name,checked:s._q(s.currentValue,s.name)},on:{__c:function(t){s.currentValue=s.name}}}),s._v(" "),a("span",{staticClass:"zan-icon",class:{"zan-icon-checked":s.currentValue===s.name,"zan-icon-check":s.currentValue!==s.name}})]),s._v(" "),a("span",{staticClass:"zan-radio__label"},[s._t("default")],2)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-switch",class:s.switchState,on:{click:s.toggleState}},[a("div",{staticClass:"zan-switch__node",class:s.switchState},[s.loading?a("zan-loading",{staticClass:"zan-switch__loading"}):s._e()],1)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"zan-picker-column",class:s.classNames},[a("div",{ref:"wrapper",staticClass:"zan-picker-column-wrapper",class:{dragging:s.isDragging},style:{height:s.visibleContentHeight+"px"}},s._l(s.currentValues,function(t){return a("div",{staticClass:"zan-picker-column__item",class:{"zan-picker-column__item--selected":t===s.currentValue},style:{height:s.itemHeight+"px",lineHeight:s.itemHeight+"px"}},[s._v("\n "+s._s(t)+"\n ")])}))])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("transition",{attrs:{name:s.currentTransition}},[a("div",{directives:[{name:"show",rawName:"v-show",value:s.currentValue,expression:"currentValue"}],staticClass:"zan-popup",class:[s.position?"zan-popup--"+s.position:""]},[s._t("default")],2)])},staticRenderFns:[]}},function(s,t,a){function n(s){return a(e(s))}function e(s){var t=l[s];if(!(t+1))throw new Error("Cannot find module '"+s+"'.");return t}var l={"./examples/badge.vue":262,"./examples/button.vue":263,"./examples/card.vue":264,"./examples/cell.vue":265,"./examples/checkbox.vue":266,"./examples/dialog.vue":267,"./examples/field.vue":268,"./examples/loading.vue":269,"./examples/panel.vue":270,"./examples/picker.vue":271,"./examples/popup.vue":272,"./examples/radio.vue":273,"./examples/search.vue":274,"./examples/steps.vue":275,"./examples/switch.vue":276,"./examples/tag.vue":277,"./examples/waterfall.vue":278};n.keys=function(){return Object.keys(l)},n.resolve=e,s.exports=n,n.id=185},function(s,t,a){function n(s){return a(e(s))}function e(s){var t=l[s];if(!(t+1))throw new Error("Cannot find module '"+s+"'.");return t}var l={"./examples-docs/badge.md":352,"./examples-docs/button.md":353,"./examples-docs/card.md":354,"./examples-docs/cell.md":355,"./examples-docs/checkbox.md":356,"./examples-docs/dialog.md":357,"./examples-docs/field.md":358,"./examples-docs/install.md":359,"./examples-docs/loading.md":360,"./examples-docs/panel.md":361,"./examples-docs/picker.md":362,"./examples-docs/popup.md":363,"./examples-docs/quickstart.md":364,"./examples-docs/radio.md":365,"./examples-docs/search.md":366,"./examples-docs/steps.md":367,"./examples-docs/switch.md":368,"./examples-docs/tag.md":369,"./examples-docs/waterfall.md":370};n.keys=function(){return Object.keys(l)},n.resolve=e,s.exports=n,n.id=186},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{handleClick:function(){console.log("cell click")}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{checkbox1:!0,checkbox2:!0,list:["a","b","c"],result:["a","b"]}},watch:{result:function(s){console.log(s)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(47);t.default={methods:{handleAlertClick:function(){n.Dialog.alert({title:"alert标题",message:"弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。"}).then(function(s){console.log(s)})},handleConfirmClick:function(){n.Dialog.confirm({title:"confirm标题",message:"弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。"}).then(function(s){console.log(s)},function(s){console.log(s)})}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{name:""}},methods:{handleChange:function(){console.log(this.name)}}}},function(s,t,a){"use strict";function n(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(t,"__esModule",{value:!0});var e=a(241),l=n(e),i={"浙江":["杭州","宁波","温州","嘉兴","湖州","绍兴","金华","衢州","舟山","台州","丽水"],"福建":["福州","厦门","莆田","三明","泉州","漳州","南平","龙岩","宁德"],"湖南":["长沙","株洲","湘潭","衡阳","邵阳","岳阳","常德","张家界","益阳","郴州","永州","怀化","娄底","湘西土家族苗族自治州"]};t.default={data:function(){return{pickerColumns:[{values:(0,l.default)(i),className:"column1"},{values:["杭州","宁波","温州","嘉兴","湖州","绍兴","金华","衢州","舟山","台州","丽水"],className:"column2"}]}},methods:{handlePickerChange:function(s,t){s.setColumnValues(1,i[t[0]])}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{popupShow1:!1,popupShow2:!1,popupShow3:!1,popupShow4:!1}},watch:{popupShow2:function(s){var t=this;s&&setTimeout(function(){t.popupShow2=!1},2e3)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{radio1:"1",radio2:"2",radio3:"1",radio4:"1"}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{goSearch:function(s){alert(s)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{active:0}},methods:{nextStep:function(){++this.active>3&&(this.active=0)}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{switchState:!0}},computed:{switchStateText:function(){return this.switchState?"ON":"OFF"}},methods:{updateState:function(s){this.switchState=s}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{list:[1,2,3,4,5],loading:!1,finished:!1}},methods:{loadMore:function(){var s=this;return this.list.length>=200?void(this.finished=!0):(this.loading=!0,void setTimeout(function(){for(var t=s.list[s.list.length-1],a=0;a<5;a++)t+=1,s.list.push(t);s.loading=!1},2500))},loadMoreUpper:function(){this.list[0]<0||this.list.unshift(-1)}},computed:{isWaterfallDisabled:function(){return this.loading||this.finished}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{handleClick:function(){console.log("cell click")}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(47);t.default={methods:{handleAlertClick:function(){n.Dialog.alert({title:"alert标题",message:"弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。"}).then(function(s){console.log(s)})},handleConfirmClick:function(){n.Dialog.confirm({title:"confirm标题",message:"弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。"}).then(function(s){console.log(s)},function(s){console.log(s)})}}}},function(s,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={
data:function(){return{radio:"1"}}}},function(s,t,a){s.exports={default:a(242),__esModule:!0}},function(s,t,a){a(244),s.exports=a(9).Object.keys},function(s,t,a){var n=a(31),e=a(9),l=a(32);s.exports=function(s,t){var a=(e.Object||{})[s]||Object[s],i={};i[s]=t(a),n(n.S+n.F*l(function(){a(1)}),"Object",i)}},function(s,t,a){var n=a(55),e=a(54);a(243)("keys",function(){return function(s){return e(n(s))}})},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-sub-title{padding:15px}",""])},,function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-sub-title{padding:20px 15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".steps-success{color:#06bf04}.page-steps{.page-sub-title{padding:20px 15px}.zan-button{margin-left:15px}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".checkbox-demo-wrapper{padding:0 15px;.zan-checkbox{margin:10px 0}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".official-img{width:31px;vertical-align:middle;border:0}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,"@component-namespace page{@b dialog{padding:0 15px;.zan-button-1{margin-bottom:10px}}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-badge{padding:0 15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".official-img{width:31px;vertical-align:middle;border:0}.page-sub-title{padding:25px 15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".zan-popup-1{width:100%;height:200px}.zan-popup-2{width:100%;line-height:44px;background-color:rgba(0,0,0,.701961);text-align:center;color:#fff}.zan-popup-3{width:100%;height:100%;background-color:#fff}.zan-popup-4{width:50%;height:200px;background:#fff;border-radius:10px}.page-popup .zan-button-1{margin-bottom:10px}.page-sub-title{padding:20px 15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-sub-title{padding:25px 15px}.tags-container{padding:5px 15px;.zan-tag+.zan-tag{margin-left:10px}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-sub-title{padding:15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".page-badge{padding:0 15px}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,"@component-namespace page{@b button{padding:0 20px}}@component-namespace zan{@b button-group{.zan-button-1{margin-bottom:10px}}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".radio-demo-wrapper{padding:0 15px;.zan-radio{margin:10px 0}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,".zan-panel-sum{background:#fff;text-align:right;font-size:14px;color:#333;line-height:30px;padding-right:15px;span{color:red}}.zan-panel-buttons{text-align:right;.zan-button{margin-left:5px}}",""])},function(s,t,a){t=s.exports=a(0)(),t.push([s.i,"@component-namespace page{@component switch{padding:0 15px 15px;@descendent wrapper{width:33.33%;float:left;text-align:center}@descendent text{margin:20px 0}}}",""])},function(s,t,a){a(342);var n=a(1)(null,a(315),null,null);s.exports=n.exports},function(s,t,a){a(348);var n=a(1)(null,a(324),null,null);s.exports=n.exports},function(s,t,a){a(335);var n=a(1)(null,a(298),null,null);s.exports=n.exports},function(s,t,a){a(343);var n=a(1)(a(226),a(317),null,null);s.exports=n.exports},function(s,t,a){a(339);var n=a(1)(a(227),a(309),null,null);s.exports=n.exports},function(s,t,a){a(341);var n=a(1)(a(228),a(313),null,null);s.exports=n.exports},function(s,t,a){a(337);var n=a(1)(a(229),a(306),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(314),null,null);s.exports=n.exports},function(s,t,a){a(350);var n=a(1)(null,a(331),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(230),a(312),null,null);s.exports=n.exports},function(s,t,a){a(344);var n=a(1)(a(231),a(318),null,null);s.exports=n.exports},function(s,t,a){a(349);var n=a(1)(a(232),a(328),null,null);s.exports=n.exports},function(s,t,a){a(347);var n=a(1)(a(233),a(322),null,null);s.exports=n.exports},function(s,t,a){a(338);var n=a(1)(a(234),a(308),null,null);s.exports=n.exports},function(s,t,a){a(351);var n=a(1)(a(235),a(332),null,null);s.exports=n.exports},function(s,t,a){a(345);var n=a(1)(a(236),a(319),null,null);s.exports=n.exports},function(s,t,a){a(346);var n=a(1)(a(237),a(320),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(333),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(305),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(310),null,null);s.exports=n.exports},function(s,t,a){a(340);var n=a(1)(a(238),a(311),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(323),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(239),a(321),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(304),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(326),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(307),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(329),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(301),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(330),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(334),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(a(240),a(327),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(303),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(316),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(299),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(325),null,null);s.exports=n.exports},function(s,t,a){var n=a(1)(null,a(302),null,null);s.exports=n.exports},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-card"},[a("h1",{staticClass:"page-title"},[s._v("Card")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-card",{attrs:{title:"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余",desc:"描述",thumb:"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"}}),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("高级用法")]),s._v(" "),a("zan-card",{attrs:{title:"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余",desc:"商品SKU1商品SKU2",thumb:"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"}},[a("div",{staticClass:"zan-card__row",slot:"title"},[a("h4",{staticClass:"zan-card__title"},[s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余")]),s._v(" "),a("span",{staticClass:"zan-card__price"},[s._v("¥ 2.00")])]),s._v(" "),a("div",{staticClass:"zan-card__row",slot:"desc"},[a("h4",{staticClass:"zan-card__desc"},[s._v("商品sku")]),s._v(" "),a("span",{staticClass:"zan-card__num"},[s._v("x 2")])]),s._v(" "),a("div",{staticClass:"zan-card__footer",slot:"footer"},[a("zan-button",{attrs:{size:"mini"}},[s._v("按钮一")]),s._v(" "),a("zan-button",{attrs:{size:"mini"}},[s._v("按钮二")])],1)])],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Switch组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h1")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-title"')]),s._v(">")]),s._v("Switch"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h1")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h2")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-sub-title"')]),s._v(">")]),s._v("基础用法"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h2")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__wrapper"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":checked")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"switchState"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":on-change")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"updateState"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__text"')]),s._v(">")]),a("span",[s._v("{{")]),s._v("switchStateText"),a("span",[s._v("}}")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__wrapper"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":checked")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":disabled")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__text"')]),s._v(">")]),s._v("ON, DISABLED"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__wrapper"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":checked")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"false"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":disabled")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__text"')]),s._v(">")]),s._v("OFF, DISABLED"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__wrapper"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":checked")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":loading")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__text"')]),s._v(">")]),s._v("ON, LOADING"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__wrapper"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":checked")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"false"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":loading")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-switch")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-switch__text"')]),s._v(">")]),s._v("OFF, LOADING"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("switchState")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("true")]),s._v("\n };\n },\n "),a("span",{staticClass:"hljs-attr"},[s._v("computed")]),s._v(": {\n switchStateText() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".switchState ? "),a("span",{staticClass:"hljs-string"},[s._v("' ON'")]),s._v(" : "),a("span",{staticClass:"hljs-string"},[s._v("'OFF'")]),s._v(";\n }\n },\n "),a("span",{staticClass:"hljs-attr"},[s._v("methods")]),s._v(": {\n updateState(newState) {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".switchState = newState;\n }\n }\n}; \n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("checked")]),s._v(" "),a("td",[s._v("开关状态")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("true, false")])]),s._v(" "),a("tr",[a("td",[s._v("loading")]),s._v(" "),a("td",[s._v("loading状态")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("true, false")])]),s._v(" "),a("tr",[a("td",[s._v("disabled")]),s._v(" "),a("td",[s._v("禁用状态")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("true, false")])]),s._v(" "),a("tr",[a("td",[s._v("onChange")]),s._v(" "),a("td",[s._v("回调")]),s._v(" "),a("td",[s._v("function")]),s._v(" "),a("td",[s._v("function{}")]),s._v(" "),a("td",[s._v("-")])])])])])}]}},,function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Picker组件")]),s._v(" "),a("p",[s._v("模仿iOS中的"),a("code",[s._v("UIPickerView")]),s._v("。")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-picker")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":columns")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"pickerColumns"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@change")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"handlePickerChange"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-picker")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("visibileColumnCount")]),s._v(" "),a("td",[s._v("每一列可见备选元素的个数")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("5")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("itemHeight")]),s._v(" "),a("td",[s._v("选中元素区高度")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("44")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("columns")]),s._v(" "),a("td",[s._v("对象数组,配置每一列显示的数据")]),s._v(" "),a("td",[s._v("Array")]),s._v(" "),a("td"),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("showToolbar")]),s._v(" "),a("td",[s._v("是否在组件顶部显示一个toolbar")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("true")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("columns")]),s._v(" "),a("p",[a("code",[s._v("API")]),s._v("中的"),a("code",[s._v("columns")]),s._v("为一个对象数组,数组中的每一个对象配置每一列,每一列有以下"),a("code",[s._v("key")]),s._v("")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("key")]),s._v(" "),a("th",[s._v("说明")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("values")]),s._v(" "),a("td",[s._v("列中对应的备选值")])]),s._v(" "),a("tr",[a("td",[s._v("defaultIndex")]),s._v(" "),a("td",[s._v("初始选中值的索引默认为0")])]),s._v(" "),a("tr",[a("td",[s._v("className")]),s._v(" "),a("td",[s._v("为对应列添加特殊的"),a("code",[s._v("class")])])])])]),s._v(" "),a("h3",[s._v("change事件")]),s._v(" "),a("p",[s._v("在"),a("code",[s._v("change")]),s._v("事件中,可以获取到"),a("code",[s._v("picker")]),s._v("实例,对"),a("code",[s._v("picker")]),s._v("进行相应的更新等操作:")]),s._v(" "),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("getColumnValue(index)")]),s._v(" "),a("td",[s._v("获取对应列中选中的值")])]),s._v(" "),a("tr",[a("td",[s._v("setColumnValue(index, value)")]),s._v(" "),a("td",[s._v("设置对应列中选中的值")])]),s._v(" "),a("tr",[a("td",[s._v("getColumnValues(index)")]),s._v(" "),a("td",[s._v("获取对应列中所有的备选值")])]),s._v(" "),a("tr",[a("td",[s._v("setColumnValues(index, values)")]),s._v(" "),a("td",[s._v("设置对应列中所有的备选值")])]),s._v(" "),a("tr",[a("td",[s._v("getValues()")]),s._v(" "),a("td",[s._v("获取所有列中被选中的值,返回一个数组")])]),s._v(" "),a("tr",[a("td",[s._v("setValues(values)")]),s._v(" "),a("td",[a("code",[s._v("values")]),s._v("为一个数组,设置所有列中被选中的值")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Waterfall 瀑布流")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"waterfall"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("v-waterfall-lower")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"loadMore"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("v-waterfall-upper")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"loadMoreUpper"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("waterfall-disabled")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"isWaterfallDisabled"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("waterfall-offset")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"400"')]),s._v("\n >")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"waterfall-item"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("v-for")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item in list"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("style")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"text-align: center;"')]),s._v("\n >")]),s._v("\n "),a("span",[s._v("{{")]),s._v(" item "),a("span",[s._v("}}")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-if")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"loading"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("style")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"text-align: center;"')]),s._v(">")]),s._v("\n loading\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("list")]),s._v(": ["),a("span",{staticClass:"hljs-number"},[s._v("1")]),s._v(", "),a("span",{staticClass:"hljs-number"},[s._v("2")]),s._v(", "),a("span",{staticClass:"hljs-number"},[s._v("3")]),s._v(", "),a("span",{staticClass:"hljs-number"},[s._v("4")]),s._v(", "),a("span",{staticClass:"hljs-number"},[s._v("5")]),s._v("],\n "),a("span",{staticClass:"hljs-attr"},[s._v("loading")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("finished")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v("\n };\n },\n "),a("span",{staticClass:"hljs-attr"},[s._v("methods")]),s._v(": {\n loadMore() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("if")]),s._v(" ("),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list.length >= "),a("span",{staticClass:"hljs-number"},[s._v("200")]),s._v(") {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".finished = "),a("span",{staticClass:"hljs-literal"},[s._v("true")]),s._v(";\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(";\n }\n\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".loading = "),a("span",{staticClass:"hljs-literal"},[s._v("true")]),s._v(";\n setTimeout("),a("span",{staticClass:"hljs-function"},[a("span",{staticClass:"hljs-params"},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("let")]),s._v(" lastNumber = "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list["),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list.length - "),a("span",{staticClass:"hljs-number"},[s._v("1")]),s._v("];\n "),a("span",{staticClass:"hljs-keyword"},[s._v("for")]),s._v(" ("),a("span",{staticClass:"hljs-keyword"},[s._v("let")]),s._v(" i = "),a("span",{staticClass:"hljs-number"},[s._v("0")]),s._v("; i < "),a("span",{staticClass:"hljs-number"},[s._v("5")]),s._v("; i ++) {\n lastNumber += "),a("span",{staticClass:"hljs-number"},[s._v("1")]),s._v(";\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list.push(lastNumber);\n }\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".loading = "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(";\n }, "),a("span",{staticClass:"hljs-number"},[s._v("2500")]),s._v(");\n },\n loadMoreUpper() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("if")]),s._v(" ("),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list["),a("span",{staticClass:"hljs-number"},[s._v("0")]),s._v("] < "),a("span",{staticClass:"hljs-number"},[s._v("0")]),s._v(") "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(";\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".list.unshift("),a("span",{staticClass:"hljs-number"},[s._v("-1")]),s._v(");\n }\n },\n "),a("span",{staticClass:"hljs-attr"},[s._v("computed")]),s._v(": {\n "),a("span",{staticClass:"hljs-attr"},[s._v("isWaterfallDisabled")]),s._v(": "),a("span",{staticClass:"hljs-function"},[a("span",{staticClass:"hljs-keyword"},[s._v("function")]),s._v("("),a("span",{staticClass:"hljs-params"}),s._v(") ")]),s._v("{\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".loading || "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".finished;\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("waterfall-disabled")]),s._v(" "),a("td",[s._v("是否禁止瀑布流触发")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("waterfall-offset")]),s._v(" "),a("td",[s._v("触发瀑布流加载的阈值")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("300")]),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Search 组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-search")]),s._v(" \n "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品名称"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("@search")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"goSearch"')]),s._v("\n>")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-search")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("pre",[a("code",{staticClass:"language-javascript"},[a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("methods")]),s._v(": {\n goSearch(value) {\n alert(value)\n }\n }\n};\n")])]),s._v(" "),a("h3",[s._v("API")]),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("placeholder")]),s._v(" "),a("td",[s._v("input的placeholder文案")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td"),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Field组件")]),s._v(" "),a("p",[s._v("表单中"),a("code",[s._v("input")]),s._v("或"),a("code",[s._v("textarea")]),s._v("的输入框。")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("p",[s._v("根据"),a("code",[s._v("type")]),s._v("属性显示不同的输入框。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"text"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"用户名:"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"请输入用户名"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{
staticClass:"hljs-name"},[s._v("zan-field")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"password"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"密码:"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"请输入密码"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"textarea"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"个人介绍:"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"请输入个人介绍"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("无label的输入框")]),s._v(" "),a("p",[s._v("不传入"),a("code",[s._v("label")]),s._v("属性即可。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"text"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"请输入用户名"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("监听change事件")]),s._v(" "),a("p",[s._v("监听组件的"),a("code",[s._v("change")]),s._v("事件。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"text"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"用户名:"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("placeholder")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"请输入用户名"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@change")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"handleChange"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-field")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("text")]),s._v(" "),a("td",[s._v("text, number, email, url, tel, date, datetime, password, textarea")])]),s._v(" "),a("tr",[a("td",[s._v("placeholder")]),s._v(" "),a("td",[s._v("输入框placeholder")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("value")]),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(" "),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(" "),a("tr",[a("td",[s._v("disabled")]),s._v(" "),a("td",[s._v("是否禁用输入框")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("readonly")]),s._v(" "),a("td",[s._v("输入框是否只读")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("maxlength")]),s._v(" "),a("td",[s._v("输入框maxlength")]),s._v(" "),a("td",[s._v("[String, Number]")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Button组件")]),s._v(" "),a("h3",[s._v("按钮功能")]),s._v(" "),a("p",[s._v("只接受primary, default, danger三种类型默认default。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("default"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"primary"')]),s._v(">")]),s._v("primary"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"danger"')]),s._v(">")]),s._v("danger"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("禁用状态")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("disabled")]),s._v(">")]),s._v("diabled"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("按钮尺寸")]),s._v(" "),a("p",[s._v("只接受large, normal, small, mini四种尺寸默认normal。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"large"')]),s._v(">")]),s._v("large"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":style")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v("\"{ width: '50%' }\"")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-3"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"primary"')]),s._v(">")]),s._v("normal"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-3"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(">")]),s._v("small"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-3"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("mini"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n\n")])]),s._v(" "),a("h3",[s._v("自定义按钮标签")]),s._v(" "),a("p",[s._v("按钮默认是button标签可以使用tag属性修改为一个a标签。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("tag")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"a"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"primary"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("href")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"https://www.youzan.com"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("target")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"_blank"')]),s._v(">")]),s._v("a标签按钮"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("button group")]),s._v(" "),a("p",[s._v("一组按钮。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-group"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"primary"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(">")]),s._v("确认付款"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(">")]),s._v("确认收货"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(">")]),s._v("取消订单"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("'default'")]),s._v(" "),a("td",[s._v("'primary', 'danger'")])]),s._v(" "),a("tr",[a("td",[s._v("size")]),s._v(" "),a("td",[s._v("按钮尺寸")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("'normal'")]),s._v(" "),a("td",[s._v("'large', 'small', 'mini'")])]),s._v(" "),a("tr",[a("td",[s._v("tag")]),s._v(" "),a("td",[s._v("按钮标签")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("'button'")]),s._v(" "),a("td",[s._v("'a', 'span', ...")])]),s._v(" "),a("tr",[a("td",[s._v("diabled")]),s._v(" "),a("td",[s._v("按钮是否禁用")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td"),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("block")]),s._v(" "),a("td",[s._v("按钮是否显示为块级元素")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td"),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-field"},[a("h1",{staticClass:"page-title"},[s._v("Field")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-cell-group",[a("zan-field",{attrs:{type:"text",label:"用户名:",placeholder:"请输入用户名"}}),s._v(" "),a("zan-field",{attrs:{type:"password",label:"密码:",placeholder:"请输入密码"}}),s._v(" "),a("zan-field",{attrs:{type:"textarea",label:"个人介绍:",placeholder:"请输入个人介绍"}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("无label的输入框")]),s._v(" "),a("zan-cell-group",[a("zan-field",{attrs:{type:"text",placeholder:"请输入用户名"}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("监听change事件")]),s._v(" "),a("zan-cell-group",[a("zan-field",{attrs:{type:"text",label:"用户名:",placeholder:"请输入用户名"},on:{change:s.handleChange}})],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("p",[s._v("l## Switch组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("template")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-loading"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h1")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-title"')]),s._v(">")]),s._v("Loading"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h1")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h2")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-sub-title"')]),s._v(">")]),s._v("Loading展示"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h2")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"page-loading__example1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-loading")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"some-customized-class"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("style")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"padding-top: 50px; text-align: center;"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-loading")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("template")]),s._v(">")]),s._v("\n")])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-steps"},[a("h1",{staticClass:"page-title"},[s._v("Steps")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-steps",{attrs:{active:s.active,icon:"certificate","icon-class":"steps-success",title:"等待商家发货",description:"等待商家发货等待商家发货等待商家发货等待商家发货等待商家发货"}},[a("zan-step",[s._v("买家下单")]),s._v(" "),a("zan-step",[s._v("商家接单")]),s._v(" "),a("zan-step",[s._v("买家提货")]),s._v(" "),a("zan-step",[s._v("交易完成")])],1),s._v(" "),a("zan-button",{on:{click:s.nextStep}},[s._v("下一步")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("只显示步骤条")]),s._v(" "),a("zan-steps",{attrs:{active:s.active}},[a("zan-step",[s._v("买家下单")]),s._v(" "),a("zan-step",[s._v("商家接单")]),s._v(" "),a("zan-step",[s._v("买家提货")]),s._v(" "),a("zan-step",[s._v("交易完成")])],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-checkbox"},[a("h1",{staticClass:"page-title"},[s._v("Checkbox")]),s._v(" "),a("div",{staticClass:"checkbox-demo-wrapper"},[a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-checkbox",{model:{value:s.checkbox1,callback:function(t){s.checkbox1=t}}},[s._v("复选框1")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("禁用状态")]),s._v(" "),a("zan-checkbox",{attrs:{disabled:""},model:{value:s.checkbox2,callback:function(t){s.checkbox2=t}}},[s._v("复选框2")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("Checkbox组")]),s._v(" "),a("zan-checkbox-group",{model:{value:s.result,callback:function(t){s.result=t}}},s._l(s.list,function(t){return a("zan-checkbox",{attrs:{name:t}},[s._v("复选框"+s._s(t))])})),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("禁用Checkbox组")]),s._v(" "),a("zan-checkbox-group",{attrs:{disabled:""},model:{value:s.result,callback:function(t){s.result=t}}},s._l(s.list,function(t){return a("zan-checkbox",{attrs:{name:t}},[s._v("复选框"+s._s(t))])})),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("与Cell组件一起使用")])],1),s._v(" "),a("zan-checkbox-group",{model:{value:s.result,callback:function(t){s.result=t}}},[a("zan-cell-group",s._l(s.list,function(t){return a("zan-cell",[a("zan-checkbox",{attrs:{name:t}},[s._v("复选框"+s._s(t))])],1)}))],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Card 图文组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("p",[s._v("当没有底部按钮时,右侧内容会居中显示。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"描述"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("thumb")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"')]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v(">")]),s._v("\n\n")])]),s._v(" "),a("h3",[s._v("高级用法")]),s._v(" "),a("p",[s._v("可以使用具名"),a("code",[s._v("slot")]),s._v("重写标题等信息,其中包含"),a("code",[s._v("title")]),s._v("、"),a("code",[s._v("desc")]),s._v("、"),a("code",[s._v("footer")]),s._v("和"),a("code",[s._v("tag")]),s._v("四个"),a("code",[s._v("slot")]),s._v("。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品SKU1商品SKU2"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("thumb")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"title"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__title"')]),s._v(">")]),s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__price"')]),s._v(">")]),s._v("¥ 2.00"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"desc"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__desc"')]),s._v(">")]),s._v("商品sku"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__num"')]),s._v(">")]),s._v("x 2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__footer"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"footer"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮一"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮二"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("thumb")]),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("title")]),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("desc")]),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("h3",[s._v("Slot")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("name")]),s._v(" "),a("th",[s._v("描述")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("title")]),s._v(" "),a("td",[s._v("自定义标题")])]),s._v(" "),a("tr",[a("td",[s._v("desc")]),s._v(" "),a("td",[s._v("自定义描述")])]),s._v(" "),a("tr",[a("td",[s._v("tags")]),s._v(" "),a("td",[s._v("自定义tags")])]),s._v(" "),a("tr",[a("td",[s._v("footer")]),s._v(" "),a("td",[s._v("自定义footer")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Cell 组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格1"')]),s._v(" "),a("span",{
staticClass:"hljs-attr"},[s._v("value")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格1内容"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("value")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格2内容"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("标题带描述信息")]),s._v(" "),a("p",[s._v("传入"),a("code",[s._v("label")]),s._v("属性,属性值为描述信息的值。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格1"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"描述信息"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("is-link")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"javascript:void(0)"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"handleClick"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"单元格2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("label")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"描述信息"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("带图标")]),s._v(" "),a("p",[s._v("传入"),a("code",[s._v("icon")]),s._v("属性。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"起码运动馆"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"home"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"线下门店"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"location"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("可点击的链接")]),s._v(" "),a("p",[s._v("传入"),a("code",[s._v("url")]),s._v("属性,传入"),a("code",[s._v("isLink")]),s._v("属性则会在右侧显示箭头。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"起码运动馆"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("value")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"进入店铺"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"home"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"http://youzan.com"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("is-link")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"线下门店"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"location"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"http://youzan.com"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("is-link")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("高级用法")]),s._v(" "),a("p",[s._v("如以上用法不能满足你的需求,可以使用对应的"),a("code",[s._v("slot")]),s._v("来自定义显示的内容。包含三个"),a("code",[s._v("slot")]),s._v(",默认"),a("code",[s._v("slot")]),s._v(""),a("code",[s._v("icon")]),s._v("和"),a("code",[s._v("title")]),s._v("的"),a("code",[s._v("slot")]),s._v("。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("value")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"进入店铺"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"home"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"http://youzan.com"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("is-link")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("template")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"title"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-cell-text"')]),s._v(">")]),s._v("起码运动馆"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("img")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("src")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"//su.yzcdn.cn/v2/image/account/icon_guan_160421.png"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"official-img"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("template")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"线下门店"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"location"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"http://youzan.com"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("is-link")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("icon")]),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("title")]),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("value")]),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("isLink")]),s._v(" "),a("td",[s._v("是否为链接,链接会在右侧出现箭头")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("url")]),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("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("h3",[s._v("Slot")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("name")]),s._v(" "),a("th",[s._v("描述")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("-")]),s._v(" "),a("td",[s._v("自定义显示内容")])]),s._v(" "),a("tr",[a("td",[s._v("icon")]),s._v(" "),a("td",[s._v("自定义icon")])]),s._v(" "),a("tr",[a("td",[s._v("title")]),s._v(" "),a("td",[s._v("自定义title")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-picker"},[a("h1",{staticClass:"page-title"},[s._v("Picker")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-picker",{attrs:{columns:s.pickerColumns},on:{change:s.handlePickerChange}})],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-dialog"},[a("h1",{staticClass:"page-title"},[s._v("Dialog")]),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:s.handleAlertClick}},[s._v("点击我打开alert提示框")])],1),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:s.handleConfirmClick}},[s._v("点击我打开confirm提示框")])],1)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-loading"},[a("h1",{staticClass:"page-title"},[s._v("Loading")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("Loading展示")]),s._v(" "),a("div",{staticClass:"page-loading__example1"},[a("zan-loading",{staticClass:"some-customized-class",staticStyle:{"padding-top":"50px","text-align":"center"}})],1)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-badge"},[a("h1",{staticClass:"page-title"},[s._v("Badge")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-badge-group",{attrs:{"active-key":"2"}},[a("zan-badge",{attrs:{mark:"0",title:"热销榜",info:"8",url:"http://baidu.com"}}),s._v(" "),a("zan-badge",{attrs:{mark:"1",title:"花式寿司",info:"99"}}),s._v(" "),a("zan-badge",{attrs:{mark:"2",title:"火炽寿司"}}),s._v(" "),a("zan-badge",{attrs:{mark:"3",title:"手握寿司",info:"199"}})],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Steps 步骤条")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-steps")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":active")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"active"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"certificate"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("icon-class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"steps-success"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"等待商家发货"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("description")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"等待商家发货等待商家发货等待商家发货等待商家发货等待商家发货"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("买家下单"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("商家接单"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("买家提货"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("交易完成"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-steps")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("active")]),s._v(": "),a("span",{staticClass:"hljs-number"},[s._v("0")]),s._v("\n };\n },\n\n "),a("span",{staticClass:"hljs-attr"},[s._v("methods")]),s._v(": {\n nextStep() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("if")]),s._v(" (++"),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".active > "),a("span",{staticClass:"hljs-number"},[s._v("3")]),s._v(") "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".active = "),a("span",{staticClass:"hljs-number"},[s._v("0")]),s._v(";\n }\n }\n}\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("只显示步骤条")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-steps")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":active")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"active"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("买家下单"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("商家接单"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("买家提货"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("交易完成"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-step")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-steps")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("Steps API")]),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("active")]),s._v(" "),a("td",[s._v("当前激活的步骤从0开始")]),s._v(" "),a("td",[s._v("Number")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("icon")]),s._v(" "),a("td",[s._v("当前步骤的icon")]),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("iconClass")]),s._v(" "),a("td",[s._v("当前步骤栏为icon添加的类")]),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("title")]),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("description")]),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("h3",[s._v("Steps Slot")]),s._v(" "),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("message-extra")]),s._v(" "),a("td",[s._v("状态栏添加额外的元素")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-cell"},[a("h1",{staticClass:"page-title"},[s._v("Cell")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-cell-group",[a("zan-cell",{attrs:{title:"单元格1",value:"单元格1内容"}}),s._v(" "),a("zan-cell",{attrs:{title:"单元格2",value:"单元格2内容"}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("标题带描述信息")]),s._v(" "),a("zan-cell-group",[a("zan-cell",{attrs:{title:"单元格1",label:"描述信息","is-link":"",url:"javascript:void(0)"},on:{click:s.handleClick}}),s._v(" "),a("zan-cell",{attrs:{title:"单元格2",label:"描述信息"}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("带图标")]),s._v(" "),a("zan-cell-group",[a("zan-cell",{attrs:{title:"起码运动馆",icon:"home"}}),s._v(" "),a("zan-cell",{attrs:{title:"线下门店",icon:"location"}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("可点击的链接")]),s._v(" "),a("zan-cell-group",[a("zan-cell",{attrs:{title:"起码运动馆",value:"进入店铺",icon:"home",url:"http://youzan.com","is-link":""}}),s._v(" "),a("zan-cell",{attrs:{title:"线下门店",icon:"location",url:"http://youzan.com","is-link":""}})],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("高级用法")]),s._v(" "),a("zan-cell-group",[a("zan-cell",{attrs:{value:"进入店铺",icon:"home",url:"http://youzan.com","is-link":""}},[a("template",{slot:"title"},[a("span",{staticClass:"zan-cell-text"},[s._v("起码运动馆")]),s._v(" "),a("img",{staticClass:"official-img",attrs:{src:"//su.yzcdn.cn/v2/image/account/icon_guan_160421.png"}})])],2),s._v(" "),a("zan-cell",{attrs:{title:"线下门店",icon:"location",url:"http://youzan.com","is-link":""}})],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-popup"},[a("h1",{staticClass:"page-title"},[s._v("Popup")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:function(t){s.popupShow1=!0}}},[s._v("从下方弹出popup")])],1),s._v(" "),a("zan-popup",{staticClass:"zan-popup-1",attrs:{position:"bottom"},model:{value:s.popupShow1,callback:function(t){s.popupShow1=t}}},[s._v("\n xxxx\n ")]),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:function(t){s.popupShow2=!0}}},[s._v("从上方方弹出popup")])],1),s._v(" "),a("zan-popup",{staticClass:"zan-popup-2",attrs:{position:"top",overlay:!1},model:{value:s.popupShow2,callback:function(t){s.popupShow2=t}}},[s._v("\n 更新成功\n ")]),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:function(t){s.popupShow3=!0}}},[s._v("从右方弹出popup")])],1),s._v(" "),a("zan-popup",{staticClass:"zan-popup-3",attrs:{position:"right",overlay:!1},model:{value:s.popupShow3,callback:function(t){s.popupShow3=t}}},[a("zan-button",{nativeOn:{click:function(t){s.popupShow3=!1}}},[s._v("关闭 popup")])],1),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{on:{click:function(t){s.popupShow4=!0}}},[s._v("从中间弹出popup")])],1),s._v(" "),a("zan-popup",{staticClass:"zan-popup-4",attrs:{transition:"popup-fade"},model:{value:s.popupShow4,callback:function(t){s.popupShow4=t}}},[s._v("\n 一些内容\n ")])],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-cell"},[a("h1",{staticClass:"page-title"},[s._v("Tag")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("div",[a("div",{staticClass:"tags-container"},[a("zan-tag",[s._v("返现")]),s._v(" "),a("zan-tag",{attrs:{plain:!0}},[s._v("返现")])],1),s._v(" "),a("div",{staticClass:"tags-container"},[a("zan-tag",{attrs:{type:"danger"}},[s._v("返现")]),s._v(" "),a("zan-tag",{attrs:{type:"danger"}},[s._v("四字标签")]),s._v(" "),a("zan-tag",{attrs:{type:"danger"}},[s._v("一")])],1),s._v(" "),a("div",{staticClass:"tags-container"},[a("zan-tag",{attrs:{type:"danger"}},[s._v("返现")]),s._v(" "),a("zan-tag",{attrs:{plain:!0,type:"danger"}},[s._v("返现")])],1),s._v(" "),a("div",{staticClass:"tags-container"},[a("zan-tag",{attrs:{type:"primary"}},[s._v("返现")]),s._v(" "),a("zan-tag",{attrs:{plain:!0,type:"primary"}},[s._v("返现")])],1),s._v(" "),a("div",{staticClass:"tags-container"},[a("zan-tag",{attrs:{type:"success"}},[s._v("返现")]),s._v(" "),a("zan-tag",{attrs:{plain:!0,type:"success"}},[s._v("返现")])],1),s._v(" "),a("div",{staticClass:"tags-container"},[a("zan-tag",{attrs:{type:"danger",mark:!0}},[s._v("返现")])],1)])])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-card"},[a("h1",{staticClass:"page-title"},[s._v("Waterfall")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("div",[a("div",{directives:[{name:"waterfall-lower",rawName:"v-waterfall-lower",value:s.loadMore,expression:"loadMore"},{name:"waterfall-upper",rawName:"v-waterfall-upper",value:s.loadMoreUpper,expression:"loadMoreUpper"}],attrs:{"waterfall-disabled":"isWaterfallDisabled","waterfall-offset":"400"}},[s._l(s.list,function(t){return a("div",{staticClass:"zan-cell",staticStyle:{"text-align":"center"}},[s._v(s._s(t))])}),s._v(" "),a("div",{staticStyle:{"text-align":"center"}},[s._v("loading")])],2)])])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Dialog组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"handleAlertClick"')]),s._v(">")]),s._v("alert"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"handleConfirmClick"')]),s._v(">")]),s._v("confirm"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("import")]),s._v(" { Dialog } "),a("span",{staticClass:"hljs-keyword"},[s._v("from")]),s._v(" "),a("span",{staticClass:"hljs-string"},[s._v("'src/index'")]),s._v(";\n\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("methods")]),s._v(": {\n handleAlertClick() {\n Dialog.alert({\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'alert标题'")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("message")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。'")]),s._v("\n }).then("),a("span",{staticClass:"hljs-function"},[s._v("("),a("span",{staticClass:"hljs-params"},[s._v("action")]),s._v(") =>")]),s._v(" {\n "),a("span",{staticClass:"hljs-built_in"},[s._v("console")]),s._v(".log(action);\n });\n },\n\n handleConfirmClick() {\n Dialog.confirm({\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'confirm标题'")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("message")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。'")]),s._v("\n }).then("),a("span",{staticClass:"hljs-function"},[s._v("("),a("span",{staticClass:"hljs-params"},[s._v("action")]),s._v(") =>")]),s._v(" {\n "),a("span",{staticClass:"hljs-built_in"},[s._v("console")]),s._v(".log(action);\n }, (error) => {\n "),a("span",{staticClass:"hljs-built_in"},[s._v("console")]),s._v(".log(error);\n });\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("title")]),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(" "),a("tr",[a("td",[s._v("message")]),s._v(" "),a("td",[s._v("内容")]),s._v(" "),a("td",[s._v("String")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-search"},[a("h1",{staticClass:"page-title"},[s._v("Search")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-search",{attrs:{placeholder:"商品名称"},on:{search:s.goSearch}})],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Checkbox组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"checkbox1"')]),s._v(">")]),s._v("复选框1"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("checkbox1")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("true")]),s._v("\n };\n }\n}; \n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("禁用状态")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"checkbox2"')]),s._v(">")]),s._v("复选框2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("checkbox2")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("true")]),s._v("\n };\n }\n}; \n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("Checkbox组")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"result"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-for")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item in list"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item"')]),s._v(">")]),s._v("复选框"),a("span",[s._v("{{")]),s._v("item"),a("span",[s._v("}}")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(">")]),s._v("\n"),a("span",{
staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("list")]),s._v(": [\n "),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'c'")]),s._v("\n ],\n "),a("span",{staticClass:"hljs-attr"},[s._v("result")]),s._v(": ["),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(", "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v("]\n };\n },\n\n "),a("span",{staticClass:"hljs-attr"},[s._v("watch")]),s._v(": {\n result(val) {\n "),a("span",{staticClass:"hljs-built_in"},[s._v("console")]),s._v(".log(val);\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("禁用Checkbox组")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"result"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("disabled")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-for")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item in list"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item"')]),s._v(">")]),s._v("复选框"),a("span",[s._v("{{")]),s._v("item"),a("span",[s._v("}}")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("list")]),s._v(": [\n "),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'c'")]),s._v("\n ],\n "),a("span",{staticClass:"hljs-attr"},[s._v("result")]),s._v(": ["),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(", "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v("]\n };\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("与Cell组件一起使用")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"result"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-for")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item in list"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"item"')]),s._v(">")]),s._v("复选框"),a("span",[s._v("{{")]),s._v("item"),a("span",[s._v("}}")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-checkbox-group")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("list")]),s._v(": [\n "),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v(",\n "),a("span",{staticClass:"hljs-string"},[s._v("'c'")]),s._v("\n ],\n "),a("span",{staticClass:"hljs-attr"},[s._v("result")]),s._v(": ["),a("span",{staticClass:"hljs-string"},[s._v("'a'")]),s._v(", "),a("span",{staticClass:"hljs-string"},[s._v("'b'")]),s._v("]\n };\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("Checkbox API")]),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("disabled")]),s._v(" "),a("td",[s._v("是否禁用单选框")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("name")]),s._v(" "),a("td",[s._v("根据这个来判断radio是否选中")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("CheckboxGroup API")]),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("disabled")]),s._v(" "),a("td",[s._v("是否禁用单选框")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("CheckboxGroup Event")]),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("change")]),s._v(" "),a("td",[s._v("当绑定值变化时触发的事件")]),s._v(" "),a("td",[s._v("当前组件的值")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-button"},[a("h1",{staticClass:"page-title"},[s._v("Button")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("按钮功能")]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("div",{staticClass:"zan-button-1"},[a("zan-button",[s._v("default")])],1),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{attrs:{type:"primary"}},[s._v("primary")])],1),s._v(" "),a("div",{staticClass:"zan-button-1"},[a("zan-button",{attrs:{type:"danger"}},[s._v("danger")])],1)]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("禁用状态")]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("div",{staticClass:"zan-button-1"},[a("zan-button",{attrs:{disabled:""}},[s._v("diabled")])],1)]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("按钮尺寸")]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("div",{staticClass:"zan-button-1"},[a("zan-button",{attrs:{size:"large"}},[s._v("large")])],1)]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("div",{staticClass:"zan-button-3"},[a("zan-button",{attrs:{type:"primary"}},[s._v("normal")])],1),s._v(" "),a("div",{staticClass:"zan-button-3"},[a("zan-button",{attrs:{size:"small"}},[s._v("small")])],1),s._v(" "),a("div",{staticClass:"zan-button-3"},[a("zan-button",{attrs:{size:"mini"}},[s._v("mini")])],1)]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("自定义按钮标签")]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("div",{staticClass:"zan-button-1"},[a("zan-button",{attrs:{tag:"a",type:"primary",href:"https://www.youzan.com",target:"_blank"}},[s._v("a标签按钮")])],1)]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("button group")]),s._v(" "),a("div",{staticClass:"zan-button-group"},[a("zan-button",{attrs:{type:"primary",size:"small"}},[s._v("确认付款")]),s._v(" "),a("zan-button",{attrs:{size:"small"}},[s._v("确认收货")]),s._v(" "),a("zan-button",{attrs:{size:"small"}},[s._v("取消订单")])],1)])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Tag 组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("返现"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":plain")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),s._v("返现"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("高级用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"danger"')]),s._v(">")]),s._v("返现"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"success"')]),s._v(">")]),s._v("返现"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"success"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":plain")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"true"')]),s._v(">")]),s._v("返现"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-tag")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("plain")]),s._v(" "),a("td",[s._v("是否是空心tag")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("mark")]),s._v(" "),a("td",[s._v("是否是标记")]),s._v(" "),a("td",[s._v("boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td",[s._v("''")])]),s._v(" "),a("tr",[a("td",[s._v("type")]),s._v(" "),a("td",[s._v("tag类型")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td",[s._v("'primary', 'success', 'danger'")])])])]),s._v(" "),a("h3",[s._v("Slot")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("name")]),s._v(" "),a("th",[s._v("描述")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("-")]),s._v(" "),a("td",[s._v("自定义tag显示内容")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("安装")]),s._v(" "),a("h3",[s._v("ynpm安装")]),s._v(" "),a("pre",[a("code",[s._v("npm i @youzan/zanui-vue -S\n")])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Radio组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"1"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio1"')]),s._v(">")]),s._v("单选框1"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio1"')]),s._v(">")]),s._v("单选框2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("radio1")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'1'")]),s._v("\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("禁用状态")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"1"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("disabled")]),s._v(">")]),s._v("未选中禁用"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("disabled")]),s._v(">")]),s._v("选中且禁用"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("radio2")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'2'")]),s._v("\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("radio组")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio3"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"1"')]),s._v(">")]),s._v("单选框1"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(">")]),s._v("单选框2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio-group")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("radio3")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'1'")]),s._v("\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("与Cell组件一起使用")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"radio4"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"1"')]),s._v(">")]),s._v("单选框1"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("name")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(">")]),s._v("单选框2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio")]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-cell-group")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-radio-group")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("radio4")]),s._v(": "),a("span",{staticClass:"hljs-string"},[s._v("'1'")]),s._v("\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("Radio API")]),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("disabled")]),s._v(" "),a("td",[s._v("是否禁用单选框")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("name")]),s._v(" "),a("td",[s._v("根据这个来判断radio是否选中")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("RadioGroup API")]),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("disabled")]),s._v(" "),a("td",[s._v("是否禁用单选框")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("false")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("RadioGroup Event")]),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("change")]),s._v(" "),a("td",[s._v("当绑定值变化时触发的事件")]),s._v(" "),a("td",[s._v("当前组件的值")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-radio"},[a("h1",{staticClass:"page-title"},[s._v("Radio")]),s._v(" "),a("div",{staticClass:"radio-demo-wrapper"},[a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-radio",{attrs:{name:"1"},model:{value:s.radio1,callback:function(t){s.radio1=t}}},[s._v("单选框1")]),s._v(" "),a("zan-radio",{attrs:{name:"2"},model:{value:s.radio1,callback:function(t){s.radio1=t}}},[s._v("单选框2")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("禁用状态")]),s._v(" "),a("zan-radio",{attrs:{name:"1",disabled:""},model:{value:s.radio2,callback:function(t){s.radio2=t}}},[s._v("未选中禁用")]),s._v(" "),a("zan-radio",{attrs:{name:"2",disabled:""},model:{value:s.radio2,callback:function(t){s.radio2=t}}},[s._v("选中且禁用")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("radio组")]),s._v(" "),a("zan-radio-group",{model:{value:s.radio3,callback:function(t){s.radio3=t}}},[a("zan-radio",{attrs:{name:"1"}},[s._v("单选框1")]),s._v(" "),a("zan-radio",{attrs:{name:"2"}},[s._v("单选框2")])],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("禁用radio组")]),s._v(" "),a("zan-radio-group",{attrs:{disabled:""},model:{value:s.radio3,callback:function(t){s.radio3=t}}},[a("zan-radio",{attrs:{name:"1"}},[s._v("单选框1")]),s._v(" "),a("zan-radio",{attrs:{name:"2"}},[s._v("单选框2")])],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("与Cell组件一起使用")])],1),s._v(" "),a("zan-radio-group",{model:{value:s.radio4,callback:function(t){s.radio4=t}}},[a("zan-cell-group",[a("zan-cell",[a("zan-radio",{attrs:{name:"1"}},[s._v("单选框1")])],1),s._v(" "),a("zan-cell",[a("zan-radio",{attrs:{name:"2"}},[s._v("单选框2")])],1)],1)],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Panel 面板")]),s._v(" "),a("p",[s._v("面板只是一个容器,里面可以放入自定义的内容。")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-panel")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"标题"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"标题描述"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("status")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"状态"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品SKU1商品SKU2"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("thumb")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"title"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__title"')]),s._v(">")]),s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__price"')]),s._v(">")]),s._v("¥ 2.00"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"desc"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__desc"')]),s._v(">")]),s._v("商品sku"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__num"')]),s._v(">")]),s._v("x 2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__footer"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"footer"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮一"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮二"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-panel-sum"')]),s._v(">")]),s._v("\n 合计:"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("¥ 1999.90"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-panel")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("高级用法")]),s._v(" "),a("p",[s._v("使用具名"),a("code",[s._v("slot")]),s._v("自定义内容。")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-panel")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"标题"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"标题描述"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("status")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"状态"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("desc")]),s._v("="),a("span",{
staticClass:"hljs-string"},[s._v('"商品SKU1商品SKU2"')]),s._v("\n "),a("span",{staticClass:"hljs-attr"},[s._v("thumb")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"title"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__title"')]),s._v(">")]),s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__price"')]),s._v(">")]),s._v("¥ 2.00"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__row"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"desc"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__desc"')]),s._v(">")]),s._v("商品sku"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("h4")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__num"')]),s._v(">")]),s._v("x 2"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-card__footer"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"footer"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮一"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"mini"')]),s._v(">")]),s._v("按钮二"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-card")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-panel-sum"')]),s._v(">")]),s._v("\n 合计:"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("¥ 1999.90"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("span")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-panel-buttons"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("slot")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"footer"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(">")]),s._v("按钮一"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("size")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"small"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("type")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"danger"')]),s._v(">")]),s._v("按钮二"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-panel")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("title")]),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("desc")]),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("status")]),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("h3",[s._v("Slot")]),s._v(" "),a("table",[a("thead",[a("tr",[a("th",[s._v("name")]),s._v(" "),a("th",[s._v("描述")])])]),s._v(" "),a("tbody",[a("tr",[a("td",[s._v("-")]),s._v(" "),a("td",[s._v("自定义内容")])]),s._v(" "),a("tr",[a("td",[s._v("header")]),s._v(" "),a("td",[s._v("自定义header")])]),s._v(" "),a("tr",[a("td",[s._v("footer")]),s._v(" "),a("td",[s._v("自定义footer")])])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Popup组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow1 = true"')]),s._v(">")]),s._v("从下方弹出popup"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow1"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("position")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"bottom"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-popup-1"')]),s._v(">")]),s._v("\n xxxx\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow2 = true"')]),s._v(">")]),s._v("从上方方弹出popup"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("position")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"top"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-popup-2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":overlay")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"false"')]),s._v(">")]),s._v("\n 更新成功\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow3 = true"')]),s._v(">")]),s._v("从右方弹出popup"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow3"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("position")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"right"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-popup-3"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v(":overlay")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"false"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click.native")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow3 = false"')]),s._v(">")]),s._v("关闭 popup"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-button-1"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("@click")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow4 = true"')]),s._v(">")]),s._v("从中间弹出popup"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-button")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("div")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("v-model")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popupShow4"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("transition")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"popup-fade"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("class")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"zan-popup-4"')]),s._v(">")]),s._v("\n 一些内容\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-popup")]),s._v(">")]),s._v("\n\n"),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),a("span",{staticClass:"javascript"},[s._v("\n"),a("span",{staticClass:"hljs-keyword"},[s._v("export")]),s._v(" "),a("span",{staticClass:"hljs-keyword"},[s._v("default")]),s._v(" {\n data() {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("return")]),s._v(" {\n "),a("span",{staticClass:"hljs-attr"},[s._v("popupShow1")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("popupShow2")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("popupShow3")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(",\n "),a("span",{staticClass:"hljs-attr"},[s._v("popupShow4")]),s._v(": "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v("\n }\n },\n\n "),a("span",{staticClass:"hljs-attr"},[s._v("watch")]),s._v(": {\n popupShow2(val) {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("if")]),s._v(" (val) {\n setTimeout("),a("span",{staticClass:"hljs-function"},[a("span",{staticClass:"hljs-params"},[s._v("()")]),s._v(" =>")]),s._v(" {\n "),a("span",{staticClass:"hljs-keyword"},[s._v("this")]),s._v(".popupShow2 = "),a("span",{staticClass:"hljs-literal"},[s._v("false")]),s._v(";\n }, "),a("span",{staticClass:"hljs-number"},[s._v("2000")]),s._v(");\n }\n }\n }\n};\n")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("script")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("API")]),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("value")]),s._v(" "),a("td",[s._v("利用"),a("code",[s._v("v-model")]),s._v("绑定当前组件是否显示")]),s._v(" "),a("td",[s._v("Boolean")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-panel"},[a("h1",{staticClass:"page-title"},[s._v("Panel")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("zan-panel",{attrs:{title:"标题",desc:"标题描述",status:"状态"}},[a("zan-card",{attrs:{title:"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余",desc:"商品SKU1商品SKU2",thumb:"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"}},[a("div",{staticClass:"zan-card__row",slot:"title"},[a("h4",{staticClass:"zan-card__title"},[s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余")]),s._v(" "),a("span",{staticClass:"zan-card__price"},[s._v("¥ 2.00")])]),s._v(" "),a("div",{staticClass:"zan-card__row",slot:"desc"},[a("h4",{staticClass:"zan-card__desc"},[s._v("商品sku")]),s._v(" "),a("span",{staticClass:"zan-card__num"},[s._v("x 2")])]),s._v(" "),a("div",{staticClass:"zan-card__footer",slot:"footer"},[a("zan-button",{attrs:{size:"mini"}},[s._v("按钮一")]),s._v(" "),a("zan-button",{attrs:{size:"mini"}},[s._v("按钮二")])],1)]),s._v(" "),a("div",{staticClass:"zan-panel-sum"},[s._v("\n 合计:"),a("span",[s._v("¥ 1999.90")])])],1),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("高级用法")]),s._v(" "),a("zan-panel",{attrs:{title:"标题",desc:"标题描述",status:"状态"}},[a("zan-card",{attrs:{title:"商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余",desc:"商品SKU1商品SKU2",thumb:"https://img.yzcdn.cn/upload_files/2017/02/17/FnDwvwHmU-OiqsbjAO5X7wh1KWrR.jpg!100x100.jpg"}},[a("div",{staticClass:"zan-card__row",slot:"title"},[a("h4",{staticClass:"zan-card__title"},[s._v("商品名称是什么,两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余两行显示状态如效果图,多余多余多余")]),s._v(" "),a("span",{staticClass:"zan-card__price"},[s._v("¥ 2.00")])]),s._v(" "),a("div",{staticClass:"zan-card__row",slot:"desc"},[a("h4",{staticClass:"zan-card__desc"},[s._v("商品sku")]),s._v(" "),a("span",{staticClass:"zan-card__num"},[s._v("x 2")])]),s._v(" "),a("div",{staticClass:"zan-card__footer",slot:"footer"},[a("zan-button",{attrs:{size:"mini"}},[s._v("按钮一")]),s._v(" "),a("zan-button",{attrs:{size:"mini"}},[s._v("按钮二")])],1)]),s._v(" "),a("div",{staticClass:"zan-panel-sum"},[s._v("\n 合计:"),a("span",[s._v("¥ 1999.90")])]),s._v(" "),a("div",{staticClass:"zan-panel-buttons",slot:"footer"},[a("zan-button",{attrs:{size:"small"}},[s._v("按钮一")]),s._v(" "),a("zan-button",{attrs:{size:"small",type:"danger"}},[s._v("按钮二")])],1)],1)],1)},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-switch"},[a("h1",{staticClass:"page-title"},[s._v("Switch")]),s._v(" "),a("h2",{staticClass:"page-sub-title"},[s._v("基础用法")]),s._v(" "),a("div",{staticClass:"page-switch"},[a("div",{staticClass:"page-switch__wrapper"},[a("zan-switch",{staticClass:"some-customized-class",attrs:{checked:s.switchState,"on-change":s.updateState}}),s._v(" "),a("div",{staticClass:"page-switch__text"},[s._v(s._s(s.switchStateText))])],1),s._v(" "),a("div",{staticClass:"page-switch__wrapper"},[a("zan-switch",{staticClass:"some-customized-class",attrs:{checked:!0,disabled:!0}}),s._v(" "),a("div",{staticClass:"page-switch__text"},[s._v("ON, DISABLED")])],1),s._v(" "),a("div",{staticClass:"page-switch__wrapper"},[a("zan-switch",{staticClass:"some-customized-class",attrs:{checked:!1,disabled:!0}}),s._v(" "),a("div",{staticClass:"page-switch__text"},[s._v("OFF, DISABLED")])],1),s._v(" "),a("div",{staticClass:"page-switch__wrapper"},[a("zan-switch",{staticClass:"some-customized-class",attrs:{checked:!0,loading:!0}}),s._v(" "),a("div",{staticClass:"page-switch__text"},[s._v("ON, LOADING")])],1),s._v(" "),a("div",{staticClass:"page-switch__wrapper"},[a("zan-switch",{staticClass:"some-customized-class",attrs:{checked:!1,loading:!0}}),s._v(" "),a("div",{staticClass:"page-switch__text"},[s._v("OFF, LOADING")])],1)])])},staticRenderFns:[]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("Badge 组件")]),s._v(" "),a("h3",[s._v("基础用法")]),s._v(" "),a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge-group")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("active-key")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("mark")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"0"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"热销榜"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("info")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"8"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("url")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"http://baidu.com"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("mark")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"1"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"花式寿司"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("info")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"99"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("mark")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"2"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"火炽寿司"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(">")]),s._v("\n "),a("span",{staticClass:"hljs-tag"},[s._v("<"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("mark")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"3"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("title")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"手握寿司"')]),s._v(" "),a("span",{staticClass:"hljs-attr"},[s._v("info")]),s._v("="),a("span",{staticClass:"hljs-string"},[s._v('"199"')]),s._v(">")]),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge")]),s._v(">")]),s._v("\n"),a("span",{staticClass:"hljs-tag"},[s._v("</"),a("span",{staticClass:"hljs-name"},[s._v("zan-badge-group")]),s._v(">")]),s._v("\n")])]),s._v(" "),a("h3",[s._v("z-badge-group API")]),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("active-key")]),s._v(" "),a("td",[s._v("激活的badge的索引")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("'0'但必须子badge里的mark是有0位索引")]),s._v(" "),a("td")])])]),s._v(" "),a("h3",[s._v("z-badge API")]),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("mark")]),s._v(" "),a("td",[s._v("badge的唯一key值")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td",[s._v("required")])]),s._v(" "),a("tr",[a("td",[s._v("title")]),s._v(" "),a("td",[s._v("badge的文案标题")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td",[s._v("required")])]),s._v(" "),a("tr",[a("td",[s._v("info")]),s._v(" "),a("td",[s._v("当前badge的提示消息数量")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("''")]),s._v(" "),a("td")]),s._v(" "),a("tr",[a("td",[s._v("url")]),s._v(" "),a("td",[s._v("跳转链接")]),s._v(" "),a("td",[s._v("string")]),s._v(" "),a("td",[s._v("全连接直接跳转或者hash")]),s._v(" "),a("td")])])])])}]}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement;s._self._c||t;return s._m(0)},staticRenderFns:[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("快速上手")]),s._v(" "),a("h3",[s._v("完整引入")]),s._v(" "),a("pre",[a("code",[s._v("import Vue from 'vue';\nimport ZanUI from '@youzan/zanui-vue';\nimport '@youzan/zanui-vue/lib/zanui-css/index.css';\n\nVue.use(ZanUI);\n")])]),s._v(" "),a("h3",[s._v("按需引入")]),s._v(" "),a("pre",[a("code",[s._v("import Vue from 'vue';\nimport { Button, Cell } from '@youzan/zanui-vue';\nimport '@youzan/zanui-vue/lib/zanui-css/button.css';\nimport '@youzan/zanui-vue/lib/zanui-css/cell.css';\n\nVue.component(Button.name, Button);\nVue.component(Cell.name, Cell);\n")])])])}]}},function(s,t,a){var n=a(245);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("2eeab910",n,!0)},,function(s,t,a){var n=a(247);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("e685bc1e",n,!0)},function(s,t,a){var n=a(248);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("689c17f4",n,!0)},function(s,t,a){var n=a(249);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("9ce34130",n,!0)},function(s,t,a){var n=a(250);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("2980cef7",n,!0)},function(s,t,a){var n=a(251);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("b92eb2a6",n,!0)},function(s,t,a){var n=a(252);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("ca84493e",n,!0)},function(s,t,a){var n=a(253);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("748b945c",n,!0)},function(s,t,a){var n=a(254);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("1698a083",n,!0)},function(s,t,a){var n=a(255);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("a0b3217a",n,!0)},function(s,t,a){var n=a(256);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("9223f4d8",n,!0)},function(s,t,a){var n=a(257);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("40bd7ec8",n,!0)},function(s,t,a){var n=a(258);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("24155ca9",n,!0)},function(s,t,a){var n=a(259);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("1239ad5e",n,!0)},function(s,t,a){var n=a(260);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("b0a0a58e",n,!0)},function(s,t,a){var n=a(261);"string"==typeof n&&(n=[[s.i,n,""]]),n.locals&&(s.exports=n.locals);a(15)("278a1df7",n,!0)},function(s,t,a){s.exports=a(279)},function(s,t,a){s.exports=a(280)},function(s,t,a){s.exports=a(281)},function(s,t,a){s.exports=a(282)},function(s,t,a){s.exports=a(283)},function(s,t,a){s.exports=a(284)},function(s,t,a){s.exports=a(285)},function(s,t,a){s.exports=a(286)},function(s,t,a){s.exports=a(287)},function(s,t,a){s.exports=a(288)},function(s,t,a){s.exports=a(289)},function(s,t,a){s.exports=a(290)},function(s,t,a){s.exports=a(291)},function(s,t,a){s.exports=a(292)},function(s,t,a){s.exports=a(293)},function(s,t,a){s.exports=a(294)},function(s,t,a){s.exports=a(295)},function(s,t,a){s.exports=a(296)},function(s,t,a){s.exports=a(297)}]);