1 line
89 KiB
JavaScript
1 line
89 KiB
JavaScript
webpackJsonp([119],{"/aar":function(e,o,t){o=e.exports=t("FZ+f")(!0),o.push([e.i,".default-doc-demo{margin-bottom:20px}.default-doc-demo .doc-demo-box-info{padding:15px}.default-doc-demo .doc-demo-box-info .doc-demo-title{display:flex;align-items:center;font-size:14px;font-weight:500}.default-doc-demo .doc-demo-box-info .doc-demo-describe{margin-top:10px;color:#999;font-size:14px;font-weight:400}.default-doc-demo .doc-demo-box-info .doc-demo-message{display:inline-block;width:100%;box-sizing:border-box;border-left:.3em solid #2f86f6;padding:1em;margin-left:0;margin-top:10px;background:rgba(252,145,83,.05);border-radius:4px;font-weight:400}.doc-demo-box{position:relative;padding-bottom:24px;border:1px solid #efefef;border-radius:2px;transition:all .3s;overflow:hidden}.doc-demo-box:hover .doc-demo-box-toggle span{transform:translateX(0)}.doc-demo-box.active .doc-demo-box-code,.doc-demo-box.active .doc-demo-box-toggle{display:block}.demo-codesandbox{width:16px;height:16px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAMAAAAgsQpJAAAAh1BMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwrRDr0AAAALHRSTlMA++Lla1M79+mNGhII793RXTIM2cXCn30grqV0SikjA764smVF81jHhZeVkzsH/ogAAAG8SURBVDjLnZTZloIwDECDsssiIIuioAIuY/7/+wZbUoVWnDP3iQO3TZOGgIx7Siv4TuxoiNrPCuapdRsZXenNefsEBYvLR83c4Ihwr9SKHUqcD4ocUEnmjr3SR0RNZVo3DwSXgGtWmqVCcOgotk45hMhJMtODiGd0X70lFxi9Vm2Rb7fcXniVjQBPQxLrBXLSCIJnGET/VBbiDlsPiFwbNgWfbXh1IlDjZky1YckP3IAair5g4nNN0qq0NmGfSSxYQkcpenTEnm0hRKrErpDvdGMCCPEVxBF9uHLYgfYAExHq5tmKPu9DT/fZndQwFjnxzRr60AjYLccAU5HiZay5ttQ3siiojsg4HgBmROqR0AT4KkKDaIBaHK/Xp6JLIv0bajF2LBKp0kqRVZeLHKusFWIbIAqRWMtifcW/iZD+Q7RnRTFkluDPiPUhwAEfjAU9b9yJ6DY7jSL3b7y8Q46Wv4urvUPn73KP1/5BC5drEr0oDxE1DcfjtzjjwNVkYqWfesdi11tJPxxnlyM+Mn/QUlMeyyEKbBb148zVqaZMo3mnIi67l2blMXzGdagAdxdmoHlJA3KeKExMkPgFSQZ1ZV06NgQAAAAASUVORK5CYII=\") no-repeat;background-size:contain}.demo-codesandbox a{float:left;width:100%;height:100%;margin:0}.doc-demo-box-preview{position:relative;float:left;width:100%;padding:10px 0;box-sizing:border-box;border-top:1px solid #ebebeb;background:#f9fafb}.doc-demo-box-preview .doc-demo-box-preview-box{position:relative;width:100%;max-width:450px;margin:0 auto;overflow:hidden}.doc-demo-box-preview .doc-demo-box-preview-box .md-example-child{zoom:.6}.doc-demo-box-preview .doc-demo-box-preview-box ul>li{list-style:none!important}.doc-demo-box-code{position:relative;display:none;width:100%;overflow:hidden;box-sizing:border-box;border-top:1px dashed #ebebeb}.doc-demo-box-code pre{margin-bottom:0;padding-bottom:0;background:#fff;transition:all .3s}.doc-demo-box-code pre code:after{left:5px;right:auto!important}.doc-demo-box-toggle{position:absolute;bottom:0;left:0;right:0;z-index:1102;width:100%;height:24px;border-top:1px solid #ebebeb;cursor:pointer;text-align:center;line-height:24px;font-size:12px;color:#ccc;transition:background .3s;background:#fff;overflow:hidden}.doc-demo-box-toggle i{font-size:24px;line-height:24px}.doc-demo-box-toggle span{position:absolute;top:0;right:20px;transform:translateX(200%);transition:transform .3s ease-in-out;font-weight:500}.doc-demo-box-toggle:hover{background:#fafafa;i:,span;color:#256fa3}.doc-demo-box-toggle.is-stricky{position:fixed;bottom:0}.doc-demo-box-code-operate{position:absolute;top:0;right:0;z-index:100;padding:10px 0;cursor:pointer}.doc-demo-box-code-operate i{float:right;margin-right:10px;font-size:16px;color:#ccc;transition:all .3s}.doc-demo-box-code-operate i:active,.doc-demo-box-code-operate i:focus,.doc-demo-box-code-operate i:visited{box-shadow:none;outline:none}@media (max-width:1500px){.doc-demo-box-preview-box{max-width:400px!important}.doc-demo-box-preview-box .md-example-child{zoom:.533!important}}@media (max-width:1200px){.doc-demo-box-preview-box{max-width:350px!important}.doc-demo-box-preview-box .md-example-child{zoom:.467!important}}@media (max-width:1000px){.doc-demo-box-preview-box{width:100%!important}.doc-demo-box-code{position:static;float:left;width:100%;border-left:none!important}}","",{version:3,sources:["/Users/huangbingcheng/Work/Code/mand-mobile/site/theme/default/components/Demo.vue"],names:[],mappings:"AACA,kBACE,kBAAoB,CACrB,AACD,qCACE,YAAc,CACf,AACD,qDACE,aAAc,AACd,mBAAoB,AACpB,eAAgB,AAChB,eAAiB,CAClB,AACD,wDACE,gBAAiB,AACjB,WAAY,AACZ,eAAgB,AAChB,eAAiB,CAClB,AACD,uDACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,+BAAiC,AACjC,YAAa,AACb,cAAe,AACf,gBAAiB,AACjB,gCAAkC,AAClC,kBAAmB,AACnB,eAAiB,CAClB,AACD,cACE,kBAAmB,AACnB,oBAAqB,AACrB,yBAA0B,AAC1B,kBAAmB,AACnB,mBAAqB,AACrB,eAAiB,CAClB,AACD,8CACE,uBAAyB,CAC1B,AACD,kFAEE,aAAe,CAChB,AACD,kBACE,WAAY,AACZ,YAAa,AACb,+9BAAg+B,AACh+B,uBAAyB,CAC1B,AACD,oBACE,WAAY,AACZ,WAAY,AACZ,YAAa,AACb,QAAU,CACX,AACD,sBACE,kBAAmB,AACnB,WAAY,AACZ,WAAY,AACZ,eAAgB,AAChB,sBAAuB,AACvB,6BAA8B,AAC9B,kBAAoB,CACrB,AACD,gDACE,kBAAmB,AACnB,WAAY,AACZ,gBAAiB,AACjB,cAAe,AACf,eAAiB,CAClB,AACD,kEACE,OAAU,CACX,AACD,sDACE,yBAA4B,CAC7B,AACD,mBACE,kBAAmB,AACnB,aAAc,AACd,WAAY,AACZ,gBAAiB,AACjB,sBAAuB,AACvB,6BAA+B,CAChC,AACD,uBACE,gBAAiB,AACjB,iBAAkB,AAClB,gBAAiB,AACjB,kBAAqB,CACtB,AACD,kCACE,SAAU,AACV,oBAAuB,CACxB,AACD,qBACE,kBAAmB,AACnB,SAAU,AACV,OAAQ,AACR,QAAS,AACT,aAAc,AACd,WAAY,AACZ,YAAa,AACb,6BAA8B,AAC9B,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAgB,AAChB,WAAY,AACZ,0BAA4B,AAC5B,gBAAiB,AACjB,eAAiB,CAClB,AACD,uBACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,0BACE,kBAAmB,AACnB,MAAO,AACP,WAAY,AACZ,2BAA4B,AAC5B,qCAAuC,AACvC,eAAiB,CAClB,AACD,2BACE,mBAAoB,AACpB,QAAU,AACV,aAAe,CAChB,AACD,gCACE,eAAgB,AAChB,QAAU,CACX,AACD,2BACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,YAAa,AACb,eAAgB,AAChB,cAAgB,CACjB,AACD,6BACE,YAAa,AACb,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,kBAAqB,CACtB,AACD,4GAGE,gBAAiB,AACjB,YAAc,CACf,AACD,0BACA,0BACI,yBAA4B,CAC/B,AACD,4CACI,mBAAuB,CAC1B,CACA,AACD,0BACA,0BACI,yBAA4B,CAC/B,AACD,4CACI,mBAAuB,CAC1B,CACA,AACD,0BACA,0BACI,oBAAuB,CAC1B,AACD,mBACI,gBAAiB,AACjB,WAAY,AACZ,WAAY,AACZ,0BAA6B,CAChC,CACA",file:"Demo.vue",sourcesContent:["\n.default-doc-demo {\n margin-bottom: 20px;\n}\n.default-doc-demo .doc-demo-box-info {\n padding: 15px;\n}\n.default-doc-demo .doc-demo-box-info .doc-demo-title {\n display: flex;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n}\n.default-doc-demo .doc-demo-box-info .doc-demo-describe {\n margin-top: 10px;\n color: #999;\n font-size: 14px;\n font-weight: 400;\n}\n.default-doc-demo .doc-demo-box-info .doc-demo-message {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n border-left: 0.3em solid #2f86f6;\n padding: 1em;\n margin-left: 0;\n margin-top: 10px;\n background: rgba(252,145,83,0.05);\n border-radius: 4px;\n font-weight: 400;\n}\n.doc-demo-box {\n position: relative;\n padding-bottom: 24px;\n border: solid 1px #efefef;\n border-radius: 2px;\n transition: all 0.3s;\n overflow: hidden;\n}\n.doc-demo-box:hover .doc-demo-box-toggle span {\n transform: translateX(0);\n}\n.doc-demo-box.active .doc-demo-box-code,\n.doc-demo-box.active .doc-demo-box-toggle {\n display: block;\n}\n.demo-codesandbox {\n width: 16px;\n height: 16px;\n background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAMAAAAgsQpJAAAAh1BMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwrRDr0AAAALHRSTlMA++Lla1M79+mNGhII793RXTIM2cXCn30grqV0SikjA764smVF81jHhZeVkzsH/ogAAAG8SURBVDjLnZTZloIwDECDsssiIIuioAIuY/7/+wZbUoVWnDP3iQO3TZOGgIx7Siv4TuxoiNrPCuapdRsZXenNefsEBYvLR83c4Ihwr9SKHUqcD4ocUEnmjr3SR0RNZVo3DwSXgGtWmqVCcOgotk45hMhJMtODiGd0X70lFxi9Vm2Rb7fcXniVjQBPQxLrBXLSCIJnGET/VBbiDlsPiFwbNgWfbXh1IlDjZky1YckP3IAair5g4nNN0qq0NmGfSSxYQkcpenTEnm0hRKrErpDvdGMCCPEVxBF9uHLYgfYAExHq5tmKPu9DT/fZndQwFjnxzRr60AjYLccAU5HiZay5ttQ3siiojsg4HgBmROqR0AT4KkKDaIBaHK/Xp6JLIv0bajF2LBKp0kqRVZeLHKusFWIbIAqRWMtifcW/iZD+Q7RnRTFkluDPiPUhwAEfjAU9b9yJ6DY7jSL3b7y8Q46Wv4urvUPn73KP1/5BC5drEr0oDxE1DcfjtzjjwNVkYqWfesdi11tJPxxnlyM+Mn/QUlMeyyEKbBb148zVqaZMo3mnIi67l2blMXzGdagAdxdmoHlJA3KeKExMkPgFSQZ1ZV06NgQAAAAASUVORK5CYII=\") no-repeat;\n background-size: contain;\n}\n.demo-codesandbox a {\n float: left;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.doc-demo-box-preview {\n position: relative;\n float: left;\n width: 100%;\n padding: 10px 0;\n box-sizing: border-box;\n border-top: solid 1px #ebebeb;\n background: #f9fafb;\n}\n.doc-demo-box-preview .doc-demo-box-preview-box {\n position: relative;\n width: 100%;\n max-width: 450px;\n margin: 0 auto;\n overflow: hidden;\n}\n.doc-demo-box-preview .doc-demo-box-preview-box .md-example-child {\n zoom: 0.6;\n}\n.doc-demo-box-preview .doc-demo-box-preview-box ul>li {\n list-style: none !important;\n}\n.doc-demo-box-code {\n position: relative;\n display: none;\n width: 100%;\n overflow: hidden;\n box-sizing: border-box;\n border-top: dashed 1px #ebebeb;\n}\n.doc-demo-box-code pre {\n margin-bottom: 0;\n padding-bottom: 0;\n background: #fff;\n transition: all 0.3s;\n}\n.doc-demo-box-code pre code:after {\n left: 5px;\n right: auto !important;\n}\n.doc-demo-box-toggle {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 1102;\n width: 100%;\n height: 24px;\n border-top: solid 1px #ebebeb;\n cursor: pointer;\n text-align: center;\n line-height: 24px;\n font-size: 12px;\n color: #ccc;\n transition: background 0.3s;\n background: #fff;\n overflow: hidden;\n}\n.doc-demo-box-toggle i {\n font-size: 24px;\n line-height: 24px;\n}\n.doc-demo-box-toggle span {\n position: absolute;\n top: 0;\n right: 20px;\n transform: translateX(200%);\n transition: transform 0.3s ease-in-out;\n font-weight: 500;\n}\n.doc-demo-box-toggle:hover {\n background: #fafafa;\n i: , span;\n color: #256fa3;\n}\n.doc-demo-box-toggle.is-stricky {\n position: fixed;\n bottom: 0;\n}\n.doc-demo-box-code-operate {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 100;\n padding: 10px 0;\n cursor: pointer;\n}\n.doc-demo-box-code-operate i {\n float: right;\n margin-right: 10px;\n font-size: 16px;\n color: #ccc;\n transition: all 0.3s;\n}\n.doc-demo-box-code-operate i:active,\n.doc-demo-box-code-operate i:visited,\n.doc-demo-box-code-operate i:focus {\n box-shadow: none;\n outline: none;\n}\n@media (max-width: 1500px) {\n.doc-demo-box-preview-box {\n max-width: 400px !important;\n}\n.doc-demo-box-preview-box .md-example-child {\n zoom: 0.533 !important;\n}\n}\n@media (max-width: 1200px) {\n.doc-demo-box-preview-box {\n max-width: 350px !important;\n}\n.doc-demo-box-preview-box .md-example-child {\n zoom: 0.467 !important;\n}\n}\n@media (max-width: 1000px) {\n.doc-demo-box-preview-box {\n width: 100% !important;\n}\n.doc-demo-box-code {\n position: static;\n float: left;\n width: 100%;\n border-left: none !important;\n}\n}"],sourceRoot:""}])},Fh92:function(e,o){"use strict";o.a={render:function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"mfe-blog-theme-default-doc-container"},[t("mb-docer",{attrs:{info:e.info,body:e.body,toc:e.toc,demos:e.demos}})],1)},staticRenderFns:[]}},JCvF:function(e,o){"use strict";o.a={render:function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"mfe-blog-theme-default-doc doc-template"},[t("div",{staticClass:"default-doc-content"},[t("div",{staticClass:"doc-content-top"},[e.info.title?t("p",{staticClass:"doc-content-title",domProps:{innerHTML:e._s(e.info.title)}}):e._e(),e._v(" "),e.info.preview?t("p",{staticClass:"doc-content-qrcode",on:{mouseover:function(){e.isQrcodeShow=!0},mouseleave:function(){e.isQrcodeShow=!1}}},[t("i",{staticClass:"icon-qr-code",class:{active:e.isQrcodeShow}}),e._v(" "),t("transition",{attrs:{name:"slide-fade"}},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.isQrcodeShow,expression:"isQrcodeShow"}],staticClass:"qrcode-box"},["en-US"===e.lang?t("i",[e._v("Scan QR code to preview")]):t("i",[e._v("\u626B\u7801\u9884\u89C8")]),e._v(" "),t("qr-code",{attrs:{text:e.info.preview}})],1)])],1):e._e()]),e._v(" "),e.info.describe?t("div",{staticClass:"doc-content-describe",domProps:{innerHTML:e._s(e.info.describe)}}):e._e(),e._v(" "),t("div",{staticClass:"doc-content-paragraph head",domProps:{innerHTML:e._s(e.bodyHead)}}),e._v(" "),e.demos&&e.demos.length?[t("div",{staticClass:"default-doc-demo-container"},[e.demos[0].component.simple?[t(e.demos[0].component,{tag:"component"})]:[t("div",{staticClass:"default-doc-demo-list is-block"},[e._l(e.demos,function(o,i){return["center"===o.component.align?t("md-demo",{key:i,attrs:{demo:o,lang:e.lang,codeShow:e.demoBoxShowStat[i]},on:{toggle:function(){return e.toggleDemoBox(i)},edit:function(){return e.goToDemo(i)}}}):e._e()]})],2),e._v(" "),t("div",{staticClass:"default-doc-demo-list is-left"},[e._l(e.demos,function(o,i){return["left"===o.component.align||0==i%2&&"right"!==o.component.align&&"center"!==o.component.align?t("md-demo",{key:i,attrs:{demo:o,lang:e.lang,codeShow:e.demoBoxShowStat[i]},on:{toggle:function(){return e.toggleDemoBox(i)},edit:function(){return e.goToDemo(i)}}}):e._e()]})],2),e._v(" "),t("div",{staticClass:"default-doc-demo-list is-right"},[e._l(e.demos,function(o,i){return["right"===o.component.align||0!=i%2&&"left"!==o.component.align&&"center"!==o.component.align?t("md-demo",{key:i,attrs:{demo:o,lang:e.lang,codeShow:e.demoBoxShowStat[i]},on:{toggle:function(){return e.toggleDemoBox(i)},edit:function(){return e.goToDemo(i)}}}):e._e()]})],2)]],2)]:e._e(),e._v(" "),e.bodyTail?t("div",{staticClass:"doc-content-paragraph tail",domProps:{innerHTML:e._s(e.bodyTail)}}):e._e(),e._v(" "),t("div",{staticClass:"doc-content-bottom"},[e.prevRoute?t("router-link",{staticClass:"prev",attrs:{to:e.prevRoute.path}},[t("i",[e._v("Prev")]),e._v(" "),t("p",{domProps:{innerHTML:e._s(e.prevRoute.meta.text)}})]):e._e(),e._v(" "),e.nextRoute?t("router-link",{staticClass:"next",attrs:{to:e.nextRoute.path}},[t("i",[e._v("Next")]),e._v(" "),t("p",{domProps:{innerHTML:e._s(e.nextRoute.meta.text)}})]):e._e()],1)],2),e._v(" "),e.hiddenToc?e._e():t("div",{staticClass:"default-doc-toc",domProps:{innerHTML:e._s(e.toc)}})])},staticRenderFns:[]}},LLIv:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("tyZS"),d=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(o,e,function(){return i[e]})}(a);var c=t("JCvF"),l=t("VU/8"),s=l(d.a,c.a,!1,function(){t("hdRM")},null,null);o["default"]=s.exports},NdXk:function(e,o,t){var i=t("/aar");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);t("rjj0")("011ddbea",i,!0,{})},"Ome+":function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("ukR+"),d=function(e){return e&&e.__esModule?e:{default:e}}(i);o.default={props:{text:{type:String,required:!0},size:{type:Number,required:!1,default:256},color:{type:String,required:!1,default:"#000"},bgColor:{type:String,required:!1,default:"#FFF"},errorLevel:{type:String,validator:function(e){return"L"===e||"M"===e||"Q"===e||"H"===e},required:!1,default:"H"}},watch:{text:function(){this.clear(),this.makeCode(this.text)}},data:function(){return{qrCode:{}}},mounted:function(){this.qrCode=new d.default(this.$el,{text:this.text,width:this.size,height:this.size,colorDark:this.color,colorLight:this.bgColor,correctLevel:d.default.CorrectLevel[this.errorLevel]})},methods:{clear:function(){this.qrCode.clear()},makeCode:function(e){this.qrCode.makeCode(e)}}}},QAM3:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("nkX0"),d=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(o,e,function(){return i[e]})}(a);var c=t("lPXM"),l=t("VU/8"),s=l(d.a,c.a,!1,function(){t("NdXk")},null,null);o["default"]=s.exports},Tdtq:function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});o.demos=[]},YyQY:function(e,o,t){o=e.exports=t("FZ+f")(!0),o.push([e.i,".default-content-wrapper.stricky .default-doc-toc{position:fixed;top:20px;right:0}.mfe-blog-theme-default-doc{position:relative;padding-right:12%;border-left:1px solid #e8e8e8}.mfe-blog-theme-default-doc,.mfe-blog-theme-default-doc .default-doc-content,.mfe-blog-theme-default-doc .doc-content-describe,.mfe-blog-theme-default-doc .doc-content-paragraph,.mfe-blog-theme-default-doc .doc-content-top{float:left;width:100%;box-sizing:border-box}.mfe-blog-theme-default-doc .doc-content-top{margin-bottom:20px}.mfe-blog-theme-default-doc .doc-content-top .doc-content-title{font-size:28px;font-weight:500;color:#1f2f3d}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode,.mfe-blog-theme-default-doc .doc-content-top .doc-content-title{float:left;line-height:1}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode{position:relative;margin-top:4px;margin-left:10px}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code{font-size:22px;color:#999}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code.active{color:#3ca0e6}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span{position:absolute;left:-61px;top:30px;z-index:2;width:150px;padding:10px 15px;box-sizing:border-box;background:#fff;box-shadow:0 4px 8px rgba(0,0,0,.08);border-radius:4px;border:1px solid #f0f0f0}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span i{display:inline-block;width:100%;text-align:center;font-size:12px;color:#999;font-style:normal}.mfe-blog-theme-default-doc .doc-content-top .doc-content-describe{font-size:16px;font-weight:400;color:#666;margin-top:20px}.mfe-blog-theme-default-doc .doc-content-bottom{float:left;width:100%;position:absolute;left:0;bottom:0;padding:20px 64px;box-sizing:border-box}.mfe-blog-theme-default-doc .doc-content-bottom a{text-decoration:none}.mfe-blog-theme-default-doc .doc-content-bottom a i{color:#999;font-size:12px;font-style:normal}.mfe-blog-theme-default-doc .doc-content-bottom a p{margin-top:5px;color:#2f86f6;font-size:14px}.mfe-blog-theme-default-doc .doc-content-bottom a.prev{float:left;text-align:left}.mfe-blog-theme-default-doc .doc-content-bottom a.next{float:right;text-align:right}.mfe-blog-theme-default-doc .default-doc-content{position:relative;min-height:800px;padding:0 64px 87px}.mfe-blog-theme-default-doc .default-doc-demo-container{float:left;width:100%}.mfe-blog-theme-default-doc .default-doc-demo-list{float:left;width:49%}.mfe-blog-theme-default-doc .default-doc-demo-list.is-right{margin-left:2%}.mfe-blog-theme-default-doc .default-doc-demo-list.is-block{width:100%;margin:0}.mfe-blog-theme-default-doc .default-doc-demo-list.is-block .doc-demo-box-preview-box{max-width:100%}.mfe-blog-theme-default-doc .default-doc-demo,.mfe-blog-theme-default-doc .doc-demo-box,.mfe-blog-theme-default-doc .doc-demo-box-info,.mfe-blog-theme-default-doc .doc-demo-describe,.mfe-blog-theme-default-doc .doc-demo-title{float:left;width:100%;box-sizing:border-box}@media (max-width:1500px){.default-doc-demo-list.is-block .doc-demo-box-preview-box{max-width:100%!important}}@media (max-width:1200px){.default-doc-demo-list.is-block .doc-demo-box-preview-box{max-width:100%!important}}@media (max-width:1000px){.default-doc-demo-list{width:100%!important}.default-doc-demo-list.is-right{margin-left:0!important}.mfe-blog-theme-default-doc{padding-right:0!important}.default-doc-toc{display:none}}@media (max-width:750px){.default-content .default-content-wrapper .mfe-blog-theme-default-doc{padding:0}.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content{padding:15px 15px 100px!important}.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-title{font-size:22px!important}.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-qrcode i.icon-qr-code{font-size:16px!important}.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-bottom{padding:20px 15px!important}}","",{version:3,sources:["/Users/huangbingcheng/Work/Code/mand-mobile/site/theme/default/components/Doc.vue"],names:[],mappings:"AACA,kDACE,eAAgB,AAChB,SAAU,AACV,OAAS,CACV,AACD,4BACE,kBAAmB,AAGnB,kBAAmB,AACnB,6BAA+B,CAEhC,AACD,+NANE,WAAY,AACZ,WAAY,AAGZ,qBAAuB,CASxB,AACD,6CACE,kBAAoB,CACrB,AACD,gEACE,eAAgB,AAChB,gBAAiB,AACjB,aAAe,CAChB,AACD,iIAEE,WAAY,AACZ,aAAe,CAChB,AACD,iEACE,kBAAmB,AACnB,eAAgB,AAChB,gBAAkB,CACnB,AACD,gFACE,eAAgB,AAChB,UAAY,CACb,AACD,uFACE,aAAe,CAChB,AACD,sEACE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,sBAAuB,AACvB,gBAAiB,AACjB,qCAAuC,AACvC,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,wEACE,qBAAsB,AACtB,WAAY,AACZ,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,iBAAmB,CACpB,AACD,mEACE,eAAgB,AAChB,gBAAiB,AACjB,WAAY,AACZ,eAAiB,CAClB,AACD,gDACE,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,OAAQ,AACR,SAAU,AACV,kBAAmB,AACnB,qBAAuB,CACxB,AACD,kDACE,oBAAsB,CACvB,AACD,oDACE,WAAY,AACZ,eAAgB,AAChB,iBAAmB,CACpB,AACD,oDACE,eAAgB,AAChB,cAAe,AACf,cAAgB,CACjB,AACD,uDACE,WAAY,AACZ,eAAiB,CAClB,AACD,uDACE,YAAa,AACb,gBAAkB,CACnB,AACD,iDACE,kBAAmB,AACnB,iBAAkB,AAClB,mBAAqB,CACtB,AACD,wDACE,WAAY,AACZ,UAAY,CACb,AACD,mDACE,WAAY,AACZ,SAAW,CACZ,AACD,4DACE,cAAgB,CACjB,AACD,4DACE,WAAY,AACZ,QAAU,CACX,AACD,sFACE,cAAgB,CACjB,AACD,kOAKE,WAAY,AACZ,WAAY,AACZ,qBAAuB,CACxB,AACD,0BACA,0DACI,wBAA2B,CAC9B,CACA,AACD,0BACA,0DACI,wBAA2B,CAC9B,CACA,AACD,0BACA,uBACI,oBAAuB,CAC1B,AACD,gCACI,uBAA0B,CAC7B,AACD,4BACI,yBAA4B,CAC/B,AACD,iBACI,YAAc,CACjB,CACA,AACD,yBACA,sEACI,SAAW,CACd,AACD,2FACI,iCAAyC,CAC5C,AACD,8GACI,wBAA2B,CAC9B,AACD,8HACI,wBAA2B,CAC9B,AACD,+GACI,2BAA8B,CACjC,CACA",file:"Doc.vue",sourcesContent:["\n.default-content-wrapper.stricky .default-doc-toc {\n position: fixed;\n top: 20px;\n right: 0;\n}\n.mfe-blog-theme-default-doc {\n position: relative;\n float: left;\n width: 100%;\n padding-right: 12%;\n border-left: solid 1px #e8e8e8;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-top,\n.mfe-blog-theme-default-doc .doc-content-describe,\n.mfe-blog-theme-default-doc .default-doc-content,\n.mfe-blog-theme-default-doc .doc-content-paragraph {\n float: left;\n width: 100%;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-top {\n margin-bottom: 20px;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-title {\n font-size: 28px;\n font-weight: 500;\n color: #1f2f3d;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-title,\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode {\n float: left;\n line-height: 1;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode {\n position: relative;\n margin-top: 4px;\n margin-left: 10px;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code {\n font-size: 22px;\n color: #999;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code.active {\n color: #3ca0e6;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span {\n position: absolute;\n left: -61px;\n top: 30px;\n z-index: 2;\n width: 150px;\n padding: 10px 15px;\n box-sizing: border-box;\n background: #fff;\n box-shadow: 0 4px 8px rgba(0,0,0,0.08);\n border-radius: 4px;\n border: solid 1px #f0f0f0;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span i {\n display: inline-block;\n width: 100%;\n text-align: center;\n font-size: 12px;\n color: #999;\n font-style: normal;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-describe {\n font-size: 16px;\n font-weight: 400;\n color: #666;\n margin-top: 20px;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom {\n float: left;\n width: 100%;\n position: absolute;\n left: 0;\n bottom: 0;\n padding: 20px 64px;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a {\n text-decoration: none;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a i {\n color: #999;\n font-size: 12px;\n font-style: normal;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a p {\n margin-top: 5px;\n color: #2f86f6;\n font-size: 14px;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a.prev {\n float: left;\n text-align: left;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a.next {\n float: right;\n text-align: right;\n}\n.mfe-blog-theme-default-doc .default-doc-content {\n position: relative;\n min-height: 800px;\n padding: 0 64px 87px;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-container {\n float: left;\n width: 100%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list {\n float: left;\n width: 49%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list.is-right {\n margin-left: 2%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list.is-block {\n width: 100%;\n margin: 0;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list.is-block .doc-demo-box-preview-box {\n max-width: 100%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo,\n.mfe-blog-theme-default-doc .doc-demo-box-info,\n.mfe-blog-theme-default-doc .doc-demo-title,\n.mfe-blog-theme-default-doc .doc-demo-describe,\n.mfe-blog-theme-default-doc .doc-demo-box {\n float: left;\n width: 100%;\n box-sizing: border-box;\n}\n@media (max-width: 1500px) {\n.default-doc-demo-list.is-block .doc-demo-box-preview-box {\n max-width: 100% !important;\n}\n}\n@media (max-width: 1200px) {\n.default-doc-demo-list.is-block .doc-demo-box-preview-box {\n max-width: 100% !important;\n}\n}\n@media (max-width: 1000px) {\n.default-doc-demo-list {\n width: 100% !important;\n}\n.default-doc-demo-list.is-right {\n margin-left: 0 !important;\n}\n.mfe-blog-theme-default-doc {\n padding-right: 0 !important;\n}\n.default-doc-toc {\n display: none;\n}\n}\n@media (max-width: 750px) {\n.default-content .default-content-wrapper .mfe-blog-theme-default-doc {\n padding: 0;\n}\n.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content {\n padding: 15px 15px 100px 15px !important;\n}\n.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-title {\n font-size: 22px !important;\n}\n.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-qrcode i.icon-qr-code {\n font-size: 16px !important;\n}\n.default-content .default-content-wrapper .mfe-blog-theme-default-doc .default-doc-content .doc-content-bottom {\n padding: 20px 15px !important;\n}\n}"],sourceRoot:""}])},ZKQu:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("LLIv"),d=function(e){return e&&e.__esModule?e:{default:e}}(i),a=t("roeg"),c=t("Tdtq");o.default={name:"mfe-blog-theme-default-doc-container",data:function(){return{info:a.info,body:a.body,toc:a.toc,demos:c.demos}},components:{MbDocer:d.default}}},aUl7:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("ZKQu"),d=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(o,e,function(){return i[e]})}(a);var c=t("Fh92"),l=t("VU/8"),s=l(d.a,c.a,!1,null,null,null);o["default"]=s.exports},hdRM:function(e,o,t){var i=t("YyQY");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);t("rjj0")("8dfc8702",i,!0,{})},lPXM:function(e,o){"use strict";o.a={render:function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"default-doc-demo"},[t("div",{staticClass:"doc-demo-box",class:[e.codeShow?"active":""]},[t("div",{staticClass:"doc-demo-box-info"},["en-US"===e.lang?[t("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(e.demo.component.titleEnUS||e.demo.component.title||"Basic")}}),e._v(" "),e.demo.component.describeEnUS||e.demo.component.describe?t("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(e.demo.component.describeEnUS||e.demo.component.describe)}}):e._e(),e._v(" "),e.demo.component.messageEnUS||e.demo.component.message?t("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(e.demo.component.messageEnUS||e.demo.component.message)}}):e._e()]:[t("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(e.demo.component.title||"\u57FA\u672C")}}),e._v(" "),e.demo.component.describe?t("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(e.demo.component.describe)}}):e._e(),e._v(" "),e.demo.component.message?t("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(e.demo.component.message)}}):e._e()]],2),e._v(" "),t("div",{staticClass:"doc-demo-box-preview",style:{background:e.demo.component.background||"#f9fafb"}},[t("div",{staticClass:"doc-demo-box-preview-box",style:{minHeight:e.demo.component.height+"px"}},[t(e.demo.component,{tag:"component"})],1)]),e._v(" "),t("div",{staticClass:"doc-demo-box-code"},[t("div",{staticClass:"doc-demo-box-code-operate"},[t("i",{staticClass:"icon-hollowError",on:{click:e.toggleDemoBox}}),e._v(" "),"en-US"===e.lang?[t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"Copied":"Copy Code",offset:5},expression:"{content: isCopySuccess ? 'Copied' : 'Copy Code', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(e.demo.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),e.demo.component.codeSandBox?t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Open in CodeSandBox",offset:5},expression:"{content: 'Open in CodeSandBox', offset: 5}"}],staticClass:"demo-codesandbox"},[t("a",{attrs:{href:e.demo.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Edit this page on Github",offset:5},expression:"{content: 'Edit this page on Github', offset: 5}"}],staticClass:"icon-edit",on:{click:e.goToDemo}})]:[t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"\u590D\u5236\u4EE3\u7801\u6210\u529F":"\u590D\u5236\u4EE3\u7801",offset:5},expression:"{content: isCopySuccess ? '\u590D\u5236\u4EE3\u7801\u6210\u529F' : '\u590D\u5236\u4EE3\u7801', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(e.demo.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),e.demo.component.codeSandBox?t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728CodeSandBox\u6253\u5F00",offset:5},expression:"{content: '\u5728CodeSandBox\u6253\u5F00', offset: 5}"}],staticClass:"demo-codesandbox"},[t("a",{attrs:{href:e.demo.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),t("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875",offset:5},expression:"{content: '\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875', offset: 5}"}],staticClass:"icon-edit",on:{click:e.goToDemo}})]],2),e._v(" "),t("pre",[e._v(" "),t("code",{staticClass:"lang-vue",domProps:{innerHTML:e._s(e.demo.code)}}),e._v("\n ")])]),e._v(" "),t("div",{staticClass:"doc-demo-box-toggle",on:{click:e.toggleDemoBox}},[e.codeShow?[t("i",{staticClass:"icon-triangle-up"}),e._v(" "),"en-US"===e.lang?t("span",[e._v("Hide Code")]):t("span",[e._v("\u4EE3\u7801\u6536\u8D77")])]:[t("i",{staticClass:"icon-triangle-down"}),e._v(" "),"en-US"===e.lang?t("span",[e._v("Show Code")]):t("span",[e._v("\u4EE3\u7801\u5C55\u793A")])]],2)])])},staticRenderFns:[]}},lwwV:function(e,o){"use strict";o.a={render:function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div")},staticRenderFns:[]}},nkX0:function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={props:{lang:{type:String},codeShow:{type:Boolean,default:!1},demo:{type:Object}},data:function(){return{isCopySuccess:!1}},methods:{onCopySuccess:function(){var e=this;this.isCopySuccess=!0,setTimeout(function(){e.isCopySuccess=!1},1e3)},toggleDemoBox:function(){this.$emit("toggle")},goToDemo:function(){this.$emit("edit")}}}},oCGI:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t("Ome+"),d=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(o,e,function(){return i[e]})}(a);var c=t("lwwV"),l=t("VU/8"),s=l(d.a,c.a,!1,null,null,null);o["default"]=s.exports},roeg:function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=o.info={title:"Change Log",toc:"hidden"},i=o.body="<h3 id=\"2.5.20\">2.5.20<a href=\"javascript:jumpAnchor('2.5.20')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-07-22</code></p>\n<ul>\n<li>Feat<ul>\n<li>Add more i18n support in the project</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.19\">2.5.19<a href=\"javascript:jumpAnchor('2.5.19')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-05-14</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem of incorrect image size modification by <code>image-reader</code></li>\n<li>Fix the problem that <code>stepper</code> can't enter the decimal point</li>\n<li>Fix the problem that the <code>process.env.MAND_ENV</code> environment variable is not injected correctly</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.18\">2.5.18<a href=\"javascript:jumpAnchor('2.5.18')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-04-02</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem that the initial value of <code>stepper</code> is <code>-</code> <code>.</code> incorrectly parsed</li>\n<li>Fix the problem of incorrect image size modification by <code>image-reader</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.17\">2.5.17<a href=\"javascript:jumpAnchor('2.5.17')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-03-02</code></p>\n<ul>\n<li>Feat<ul>\n<li>Add i18n support in the project</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.16\">2.5.16<a href=\"javascript:jumpAnchor('2.5.16')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-02-26</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the issue of picture angle correction</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.15\">2.5.15<a href=\"javascript:jumpAnchor('2.5.15')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-02-04</code></p>\n<ul>\n<li>Fix<ul>\n<li>Replace <code>NODE_ENV</code> with <code>MAND_ENV</code> in some components</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.14\">2.5.14<a href=\"javascript:jumpAnchor('2.5.14')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2021-01-15</code></p>\n<ul>\n<li>Feat<ul>\n<li><code>Dialog</code> supports passing in <code>transition</code> when using static methods<a href=\"https://github.com/didi/mand-mobile/issues/716\">#716</a></li>\n</ul>\n</li>\n<li>Fix<ul>\n<li>Fix <code>Tip</code> error when no attributes in subcomponent</li>\n<li>Fix the conflict of <code>InputItem</code> component instance method sharing <code>debounce</code> internal variables</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.13\">2.5.13<a href=\"javascript:jumpAnchor('2.5.13')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-09-17</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>TextareaItem</code> support formation<a href=\"https://github.com/didi/mand-mobile/issues/699\">#699</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix spelling errors in the document<a href=\"https://github.com/didi/mand-mobile/issues/690\">#690</a></li>\n<li>Fix the bug of <code>DatePicker</code> unit test</li>\n<li>Fix the type check of <code>RadioGroup</code> to <code>value</code><a href=\"https://github.com/didi/mand-mobile/issues/693\">#693</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.12\">2.5.12<a href=\"javascript:jumpAnchor('2.5.12')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-07-24</code></p>\n<ul>\n<li>Fix<ul>\n<li>Avoid repeated triggering of click and touchstart in <code>NumberKeyboard</code> component</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.11\">2.5.11<a href=\"javascript:jumpAnchor('2.5.11')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-05-29</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the issue of incorrect Chinese currency unit of <code>Amount</code> component<a href=\"https://github.com/didi/mand-mobile/issues/675\">#675</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.10\">2.5.10<a href=\"javascript:jumpAnchor('2.5.10')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-04-30</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the issue of incorrect font line-height of <code>Button</code> under text link type<a href=\"https://github.com/didi/mand-mobile/issues/663\">#663</a></li>\n<li>Fix the issue that <code>jpgencoder</code> in<code>ImageReader</code> may be repeatedly loaded (such as in micro front-end mode)</li>\n<li>Fix <code>TabBar</code> size calculation compatibility issue</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.9\">2.5.9<a href=\"javascript:jumpAnchor('2.5.9')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-03-26</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>CheckGroup</code> adds method <code>toggleAll</code>, used to Select All or Deselect<a href=\"https://github.com/didi/mand-mobile/issues/648\">#648</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix <code>TextAreaItem</code> has wrong height,when it's filled with asynchronous content</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.8\">2.5.8<a href=\"javascript:jumpAnchor('2.5.8')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2020-02-04</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>Captcha</code> add prop <code>auto-send</code>, used to control whether the <code>send</code> event is automatically triggered when the captcha popup is first displayed</li>\n<li><code>ResultPage</code> props add dynamic change response</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the issue of <code>Picker</code> and <code>DatePicker</code> that when scrolled multiple columns, the selected item was abnormal<a href=\"https://github.com/didi/mand-mobile/issues/632\">#632</a></li>\n<li>Fix the incorrect timing of the refreshActive event in <code>ScrollViewRefresh</code><a href=\"https://github.com/didi/mand-mobile/issues/642\">#642</a></li>\n<li>Fix <code>Amount</code> displaying wrong numbers with thousands characters<a href=\"https://github.com/didi/mand-mobile/issues/644\">#644</a></li>\n<li>Fix the issue that the size calculation of <code>TextAreaItem</code> is incorrect when nesting in<code>Popup</code></li>\n<li>Fix the issue that auto-play would not work when sliding up and down in <code>Swiper</code></li>\n<li>Fix <code>Tip</code> incorrect placement in ScrollView</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.7\">2.5.7<a href=\"javascript:jumpAnchor('2.5.7')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-12-26</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>Landscape</code> add prop <code>transition</code>, used to customize the display animation</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the reflowing issue that <code>Tabs</code> may cause when switching tabs<a href=\"https://github.com/didi/mand-mobile/issues/627\">#627</a></li>\n<li>Fix the problem of scrolling accidentally when <code>NoticeBar</code> dynamically changed content<a href=\"https://github.com/didi/mand-mobile/issues/628\">#628</a></li>\n<li>Fix safe area white space compatible writing of <code>ActionBar</code>, <code>NumberKeyboard</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.6\">2.5.6<a href=\"javascript:jumpAnchor('2.5.6')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-11-23</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix <code>Stepper</code> has initial values, maximum and minimum values are the problem of not being able to enter numbers, and optimized boundary check logic<a href=\"https://github.com/didi/mand-mobile/issues/614\">#614</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.5\">2.5.5<a href=\"javascript:jumpAnchor('2.5.5')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-11-08</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem of size exception caused by window size change when <code>TabBar</code> were used in <code>keep-alive</code><a href=\"https://github.com/didi/mand-mobile/issues/608\">#608</a></li>\n<li>Fix <code>Skeleton</code> title exception shows when it is empty</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.4\">2.5.4<a href=\"javascript:jumpAnchor('2.5.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-11-02</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>ScrollView</code> adds method<code>getOffsets</code>, used to get scroll distance</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the problem that <code>Swiper</code> changes back to the first screen due to window size change<a href=\"https://github.com/didi/mand-mobile/issues/596\">#596</a></li>\n<li>Fix the problem of size exception caused by window size change when <code>Swiper</code> and <code>TabBar</code> were used in <code>keep-alive</code><a href=\"https://github.com/didi/mand-mobile/issues/599\">#599</a></li>\n<li>Fix <code>TabBar</code> size calculation compatibility issue</li>\n<li>Update the presentation logic of the <code>TextareaItem</code> empty button, only when the form value is not empty and focused<a href=\"https://github.com/didi/mand-mobile/issues/589\">#589</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.3\">2.5.3<a href=\"javascript:jumpAnchor('2.5.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-10-11</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>TextareaItem</code> add prop <code>clearable</code><a href=\"https://github.com/didi/mand-mobile/issues/589\">#589</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the problem that <code>TabPicker</code> could not be dragged when the text was too long<a href=\"https://github.com/didi/mand-mobile/issues/590\">#590</a></li>\n<li>Remove some non-required reset styles<a href=\"https://github.com/didi/mand-mobile/issues/586\">#586</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.2\">2.5.2<a href=\"javascript:jumpAnchor('2.5.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-09-20</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li><code>Picker</code> and <code>DatePicker</code> add prop <code>keep-index</code>, used to set the last stop position when the column data changes</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the problem that <code>Toast</code> is covered by <code>Landscape</code></li>\n<li>Fix the problem of <code>TabBar</code> rendering crash<a href=\"https://github.com/didi/mand-mobile/issues/567\">#567</a></li>\n<li>Remove the useless style variables of <code>Textarea</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.5.1\">2.5.1<a href=\"javascript:jumpAnchor('2.5.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-09-04</code></p>\n<ul>\n<li><p>Feat</p>\n<ul>\n<li>Add part of global <a href=\"https://github.com/didi/mand-mobile/pull/539/files\">reset style</a></li>\n<li>Add new component <code>Skeleton</code></li>\n<li>Add new component <code>TextareaItem</code></li>\n<li>Add new components <code>RadioGroup</code> and <code>RadioBox</code></li>\n<li>Add options <code>type</code>, <code>plain</code>, <code>round</code>, <code>inactive</code>, <code>loading</code>, <code>icon</code>, <code>iconSvg</code> to <code>ActionBar</code> and <code>ResultPage</code> button configration<a href=\"https://github.com/didi/mand-mobile/issues/544\">#544</a></li>\n<li>Add handlers <code>onShow</code> and <code>onHide</code> to singleton mode <code>Dialog</code></li>\n<li><code>InputItem</code> add prop <code>preview-type</code>, used to set the type of pre-filled impression</li>\n</ul>\n<pre><code class=\"language-html\"><span class=\"xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">md-input-item</span>\n <span class=\"hljs-attr\">type</span>=<span class=\"hljs-string\">\"bankCard\"</span> <!<span class=\"hljs-attr\">--</span> <span class=\"hljs-attr\">type</span> <span class=\"hljs-attr\">when</span> <span class=\"hljs-attr\">entering</span> <span class=\"hljs-attr\">normally</span> <span class=\"hljs-attr\">--</span>></span>\n preview-type=\"text\" <span class=\"hljs-comment\"><!-- type when pre-filling display --></span>\n title=\"\u94F6\u884C\u5361\u53F7\"\n value=\"6222 **** **** 1234\" <span class=\"hljs-comment\"><!-- pre-filled value with mask --></span>\n><span class=\"hljs-tag\"></<span class=\"hljs-name\">md-input-item</span>></span></span></code></pre>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>fix page flipping problem when sliding out of touch area in <code>Swiper</code><a href=\"https://github.com/didi/mand-mobile/issues/540\">#540</a></li>\n<li>modify button background color setting property to <code>background</code> and the container element to <code>div</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.4.2\">2.4.2<a href=\"javascript:jumpAnchor('2.4.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-08-13</code></p>\n<ul>\n<li>Fix<ul>\n<li>fix style issues with <code>FieldItem</code> and <code>InputItem</code> headers and content alignment<a href=\"https://github.com/didi/mand-mobile/issues/528\">#528</a></li>\n<li>bolder font weight in android devices of <code>FieldItem</code> and <code>InputItem</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.4.1\">2.4.1<a href=\"javascript:jumpAnchor('2.4.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-08-03</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem that <code>InputItem</code> cannot limit the max length of characters when using virtual keyboard input<a href=\"https://github.com/didi/mand-mobile/issues/524\">#524</a></li>\n<li>Fix <code>Amount</code> with the loss of precision in animation mode</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.4.0\">2.4.0<a href=\"javascript:jumpAnchor('2.4.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-07-29</code></p>\n<ul>\n<li><p>Design</p>\n<ul>\n<li>\uD83C\uDF6DFinancial design specification update, the title bar <code>border-radius</code> of <code>Popup</code> based components changed from <code>8px</code> to <code>40px</code> (Large-Radius pattern), <code>border-radius</code> of <code>Dialog</code> changed from <code>8px</code> to <code>12px</code></li>\n</ul>\n<p><img src=\"https://pt-starimg.didistatic.com/static/starimg/img/FLXmXRBcDX1564369346467.jpg\" alt=\"Design\"></p>\n</li>\n<li><p>Feature</p>\n<ul>\n<li><p><code>PopupTitleBar</code> adds following Props:</p>\n<ul>\n<li><code>large-radius</code> for supporting Large-Radius pattern</li>\n<li><code>only-close</code>, used to quickly set a single close button</li>\n<li><code>title-align</code>, used to set the position of title and description(left/right/center)</li>\n</ul>\n</li>\n<li><p><code>Picker</code>, <code>DatePicker</code>, <code>TabPicker</code>, <code>Selector</code>, <code>Cashier</code> add Prop <code>large-radius</code> for supporting Large-Radius pattern</p>\n</li>\n<li><p><code>Selector</code> adds Prop <code>hide-title-bar</code>, used to support hiding the title bar in no confirmation mode, and adds slots <code>header</code>\uFF0C<code>footer</code></p>\n</li>\n<li><p><code>Button</code> adds Prop <code>loading</code>, used to set the loading status</p>\n</li>\n<li><p><code>Dialog</code> Prop <code>btns</code> adds two status settings <code>disabled</code>/<code>loading</code>, and passing back the <code>btn</code> instance in <code>handler</code><a href=\"https://github.com/didi/mand-mobile/issues/500\">#500</a></p>\n<pre><code class=\"language-javascript\"><span class=\"hljs-builtin-name\">export</span><span class=\"hljs-built_in\"> default </span>{\n data () {\n return {\n btns: [{\n text: <span class=\"hljs-string\">'Search'</span>,\n handler: this.btnHandler\n }]\n }\n },\n methods: {\n btnHandler (btn) {\n this.<span class=\"hljs-variable\">$set</span>(btn, <span class=\"hljs-string\">'loading'</span>, <span class=\"hljs-literal\">true</span>)\n this.<span class=\"hljs-variable\">$set</span>(btn, <span class=\"hljs-string\">'text'</span>, <span class=\"hljs-string\">'Searching'</span>)\n },\n }\n}</code></pre>\n</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>fix <code>InputItem</code> and <code>Stepper</code> with default values will trigger the <code>change</code> event when the component is initialized<a href=\"https://github.com/didi/mand-mobile/issues/495\">#495</a></li>\n<li><code>Amount</code> capital mode is compatible with negative numbers<a href=\"https://github.com/didi/mand-mobile/issues/510\">#510</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.3.3\">2.3.3<a href=\"javascript:jumpAnchor('2.3.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-07-18</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix compatibility issues when fixing <code>Toast</code> custom positions<a href=\"https://github.com/didi/mand-mobile/issues/485\">#485</a></li>\n<li>Fix <code>TabPicker</code> when setting <code>default-value</code>, <code>TabBar</code> can't automatically select the last item<a href=\"https://github.com/didi/mand-mobile/issues/488\">#488</a></li>\n<li>Fix <code>Selector</code> and <code>CheckList</code> click icons can't select current item<a href=\"https://github.com/didi/mand-mobile/issues/491\">#491</a></li>\n<li>Fix this problem <code>Popup</code> can't cover <code>NoticeBar</code><a href=\"https://github.com/didi/mand-mobile/issues/492\">#492</a></li>\n<li>Fix partial <code>stylus</code> variable assignment error in <code>Stepper</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.3.2\">2.3.2<a href=\"javascript:jumpAnchor('2.3.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-07-05</code></p>\n<ul>\n<li>Fix<ul>\n<li>fix <code>Codebox</code> value could not be assigned when initializing</li>\n<li>fix the problem that the <code>NumberKeyboard</code> keys may be clicked incorrectly<a href=\"https://github.com/didi/mand-mobile/issues/477\">#477</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.3.1\">2.3.1<a href=\"javascript:jumpAnchor('2.3.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-06-22</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>NumberKeyboard</code> adds property <code>isHideConfirm</code>, used to control whether the confirmation button click action automatically hides the keyboard<a href=\"https://github.com/didi/mand-mobile/issues/474\">#474</a></li>\n<li><code>NumberKeyboard</code> add default slot</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>fix 'Slider` progress bar width calculation error<a href=\"https://github.com/didi/mand-mobile/issues/472\">#472</a></li>\n<li>fix the problem that the <code>NumberKeyboard</code> keys may be clicked incorrectly<a href=\"https://github.com/didi/mand-mobile/issues/477\">#477</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.3.0\">2.3.0<a href=\"javascript:jumpAnchor('2.3.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-06-13</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>Check</code> and <code>CheckList</code> increase the icon size, location and other related configuration properties<a href=\"https://github.com/didi/mand-mobile/issues/383\">#383</a></li>\n<li><code>CheckList</code> slot adds <code>index</code>, <code>selected</code> field</li>\n</ul>\n<pre><code class=\"language-html\"><span class=\"xml\"> <span class=\"hljs-tag\"><<span class=\"hljs-name\">template</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">md-check-list</span> <span class=\"hljs-attr\">:options</span>=<span class=\"hljs-string\">\"data\"</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">template</span> <span class=\"hljs-attr\">slot-scope</span>=<span class=\"hljs-string\">\"</span></span></span><span class=\"hljs-template-variable\">{ option, index, selected }</span><span class=\"xml\"><span class=\"hljs-tag\"><span class=\"hljs-string\">\"</span>></span>\n <span class=\"hljs-comment\"><!-- xxx --></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">template</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">md-check-list</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">template</span>></span></span></code></pre>\n<ul>\n<li><code>RadioList</code> slot adds <code>index</code>, <code>selected</code> fields, and does not display icons when <code>icon</code> is empty</li>\n<li><code>Selector</code> adds property <code>multi</code> to support multiple selections<a href=\"https://github.com/didi/mand-mobile/issues/296\">#296</a></li>\n<li><code>Toast</code> adds the attribute <code>component</code>, which is used and customized in component form<a href=\"https://github.com/didi/mand-mobile/issues/445\">#445</a></li>\n<li>ScrollView<code>adds property</code>is-prevent` to support setting whether to prevent the default behavior when scrolling in non-scrollable areas<a href=\"https://github.com/didi/mand-mobile/issues/454\">#454</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix autoplay invalidation when <code>Swiper</code> property isLoop is true<a href=\"https://github.com/didi/mand-mobile/issues/452\">#452</a></li>\n<li>Fix error caused by closing dialog, when <code>Dialog</code> property <code>maskClosable</code> is true<a href=\"https://github.com/didi/mand-mobile/issues/471\">#471</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.2.4\">2.2.4<a href=\"javascript:jumpAnchor('2.2.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-05-26</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem that the first and last items of <code>TabBar</code> cannot be automatically repaired after they are selected<a href=\"https://github.com/didi/mand-mobile/issues/434\">#434</a></li>\n<li>Texts of <code>TabBar</code> items cannot be selected</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.2.3\">2.2.3<a href=\"javascript:jumpAnchor('2.2.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-05-25</code></p>\n<ul>\n<li>Fix<ul>\n<li>Utility style <code>hairline</code> replaces <code>width</code> and <code>height</code> with <code>border</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.2.2\">2.2.2<a href=\"javascript:jumpAnchor('2.2.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-05-11</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>TabPicker</code>add event <code>select</code><a href=\"https://github.com/didi/mand-mobile/issues/436\">#436</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>When the option in the tab list of each level of <code>TabPicker</code> is selected, the internal container is reset to the top</li>\n<li><code>RadioList</code> automatically clears the filled out text box when switching to a non-text option</li>\n<li><code>DatePicker</code> prop <code>custom-types</code> support <code>HH</code><a href=\"https://github.com/didi/mand-mobile/issues/433\">#433</a></li>\n<li>Add <code>onCancel</code> to the type declaration of <code>Dialog</code></li>\n<li>Optimize some components documentation</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.2.1\">2.2.1<a href=\"javascript:jumpAnchor('2.2.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-04-22</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>Stepper</code> add slots <code>unreached</code>\u3001<code>icon</code><a href=\"https://github.com/didi/mand-mobile/issues/405\">#405</a></li>\n<li><code>InputItem</code> add prop <code>solid</code>, used to set the title with unfixed width<a href=\"https://github.com/didi/mand-mobile/issues/411\">#411</a></li>\n<li><code>Ruler</code> add props <code>stepTextPosition</code>\u3001<code>stepTextRender</code></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix the exception thrown by <code>Picker</code> when setting a wrong <code>default-index</code><a href=\"https://github.com/didi/mand-mobile/issues/416\">#416</a></li>\n<li>Optimize some component styles</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.2.0\">2.2.0<a href=\"javascript:jumpAnchor('2.2.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-04-13</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li>New <code>Ruler</code> Component</li>\n<li><code>ScrollViewRefresh</code> add prop <code>rollerColor</code>, used to set the progress bar color of pull-down refreshing<a href=\"https://github.com/didi/mand-mobile/issues/399\">#399</a></li>\n<li>Optimize <code>WaterMark</code> component by using <code>canvas</code> to render watermark</li>\n<li><code>Stepper</code> add <code>increase</code>, <code>decrease</code> events</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li><code>Swiper</code> incorrect index jumping with method <code>goto</code><a href=\"https://github.com/didi/mand-mobile/issues/366\">#366</a></li>\n<li><code>Progress</code> hide inner circle when value is <code>0</code><a href=\"https://github.com/didi/mand-mobile/issues/381\">#381</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.7\">2.1.7<a href=\"javascript:jumpAnchor('2.1.7')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-03-22</code></p>\n<ul>\n<li>Fix<ul>\n<li><code>InputItem</code> not update when slots change</li>\n<li><code>Codebox</code> bottom border not shown on some devices</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.6\">2.1.6<a href=\"javascript:jumpAnchor('2.1.6')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-03-15</code></p>\n<ul>\n<li>Fix<ul>\n<li><code>Swiper</code> not destroy properly<a href=\"https://github.com/didi/mand-mobile/issues/338\">#338</a></li>\n<li><code>InputItem</code> support string type <code>virtual-keyboard-vm</code> prop<a href=\"https://github.com/didi/mand-mobile/issues/355\">#355</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.4\">2.1.4<a href=\"javascript:jumpAnchor('2.1.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-03-08</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li>Optimize <code>Swiper</code> gestures</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Some build bugs</li>\n<li><code>ScrollView</code> move out screen not trigger scroll end action</li>\n<li><code>Popup</code> synchronously operate problem<a href=\"https://github.com/didi/mand-mobile/issues/341\">#341</a></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.2\">2.1.2<a href=\"javascript:jumpAnchor('2.1.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-02-25</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix <code>ScrollView</code> is not able to trigger the problem when the content is not full.<a href=\"https://github.com/didi/mand-mobile/issues/335\">#335</a></li>\n<li>Fixed a problem with the line break when the <code>InputItem</code> title floated</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.1\">2.1.1<a href=\"javascript:jumpAnchor('2.1.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-02-23</code></p>\n<ul>\n<li>Fix<ul>\n<li>Fix the problem that <code>postcss</code> is not in effect at build time, causing assets such as images in <code>mand-mobile.css</code> not to be processed by url inline\u3002</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.1.0\">2.1.0<a href=\"javascript:jumpAnchor('2.1.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-02-22</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>Seletor</code>: <code>defaultValue</code> prop remove type limits<a href=\"https://github.com/didi/mand-mobile/issues/305\">#305</a></li>\n<li><code>ScrollView</code>: add <code>immediateCheckEndReaching</code> prop\uFF0Cin order to check reach bottom immediately and emit <code>endReached</code> event<a href=\"https://github.com/didi/mand-mobile/issues/312\">#312</a></li>\n<li><code>Picker</code> and <code>DatePicker</code>: add <code>lineHeight</code> prop, which is used to customize option line height<a href=\"https://github.com/didi/mand-mobile/issues/323\">#323</a></li>\n<li><code>ScrollView</code>: add <code>touchAngle</code> prop, in order to control scroll angle<a href=\"https://github.com/didi/mand-mobile/issues/326\">#326</a></li>\n<li><code>Amount</code>: use system default font</li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Update type declaration</li>\n<li><code>WaterMark</code>: fix can not click content area<a href=\"https://github.com/didi/mand-mobile/issues/304\">#304</a></li>\n<li><code>Swiper</code>: fix when set <code>isLoop</code> as <code>false</code> and <code>transition</code> as <code>slideY</code>, can not scroll problem<a href=\"https://github.com/didi/mand-mobile/issues/311\">#311</a></li>\n<li><code>TabPicker</code>: fix scroll and click bug<a href=\"https://github.com/didi/mand-mobile/issues/319\">#319</a></li>\n<li><code>InputItem</code>: fix wrong cursor position<a href=\"https://github.com/didi/mand-mobile/issues/322\">#322</a></li>\n<li><code>InputItem</code>: fix bug at <code>Vue 2.6+</code><a href=\"https://github.com/didi/mand-mobile/issues/324\">#324</a></li>\n<li>Update docs</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.0.0\">2.0.0<a href=\"javascript:jumpAnchor('2.0.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-01-30</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li><code>DetailItem</code> increase supported types of <code>content</code><a href=\"https://github.com/didi/mand-mobile/issues/285\">#285</a></li>\n<li><code>Dialog</code> add default value <code>true</code> of <code>preventScroll</code><a href=\"https://github.com/didi/mand-mobile/issues/286\">#286</a></li>\n<li><code>Radio</code> increase supported types of <code>value</code><a href=\"https://github.com/didi/mand-mobile/issues/289\">#289</a></li>\n<li><code>Icon</code> font type increases without prefix class name<a href=\"https://github.com/didi/mand-mobile/issues/295\">#295</a></li>\n<li><code>Check</code>\uFF0C<code>CheckBox</code>increase supported types of <code>name</code> and <code>value</code><a href=\"https://github.com/didi/mand-mobile/issues/297\">#297</a></li>\n<li><code>InputItem</code> add prop <code>virtual-keyboard-vm</code>, used to support external custom financial keyboards</li>\n<li><code>Cashier</code> add scoped slot <code>footer</code> and <code>channels</code> add property <code>img</code></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li><code>InputItem</code> remove setting cursor for native type <a href=\"https://github.com/didi/mand-mobile/issues/268\">#268</a></li>\n<li>supplement <code>index.d.ts</code></li>\n<li>fix part of components style issues</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.0.0-rc.5\">2.0.0-rc.5<a href=\"javascript:jumpAnchor('2.0.0-rc.5')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2019-01-04</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li>Add <code>PascalCase</code> name to global components<a href=\"https://github.com/didi/mand-mobile/issues/261\">#261</a></li>\n<li><code>ScrollView</code> add prop <code>manual-init</code> and method <code>init</code></li>\n<li><code>TabBar</code>, <code>Tabs</code> add prop <code>immediate</code></li>\n<li><code>Swiper</code> add prop <code>transition-duration</code></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>fix part of components style issues</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.0.0-rc.4\">2.0.0-rc.4<a href=\"javascript:jumpAnchor('2.0.0-rc.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2018-12-21</code></p>\n<ul>\n<li><p>Feature</p>\n<ul>\n<li>Optimize <code>NumberKeyboard</code> input experience</li>\n<li><code>Cashier</code> adds slot <code>scene</code></li>\n<li><code>Picker</code> adds prop <code>default-value</code><a href=\"https://github.com/didi/mand-mobile/issues/255\">#255</a></li>\n</ul>\n</li>\n<li><p>Fix</p>\n<ul>\n<li>Fix <code>Popup</code> continuous "show & hide" invalidation problem</li>\n<li>Fix <code>Steps</code> style compatibility issues</li>\n<li>Fix <code>InputItem</code> style problem, increase close button click area</li>\n<li><code>setError</code> of <code>Captcha</code> no longer clears codes</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"2.0.0-rc.3\">2.0.0-rc.3<a href=\"javascript:jumpAnchor('2.0.0-rc.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p><code>2018-12-14</code></p>\n<p>\uD83C\uDF89\uD83C\uDF89\uD83C\uDF89 \uD83D\uDC4F\uD83D\uDC4F\uD83D\uDC4F Learn more in the<a href=\"#/en-US/docs/migration\">Migration from 1.x</a>.</p>\n<h3 id=\"1.x\">1.x<a href=\"javascript:jumpAnchor('1.x')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><p>Visit <a href=\"https://github.com/didi/mand-mobile/blob/1.x/CHANGELOG.en-US.md\">GitHub</a> to read <code>1.x</code> change logs.</p>\n",d=o.toc="<a href=\"javascript:jumpAnchor('2.5.20')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.20</a><a href=\"javascript:jumpAnchor('2.5.19')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.19</a><a href=\"javascript:jumpAnchor('2.5.18')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.18</a><a href=\"javascript:jumpAnchor('2.5.17')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.17</a><a href=\"javascript:jumpAnchor('2.5.16')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.16</a><a href=\"javascript:jumpAnchor('2.5.15')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.15</a><a href=\"javascript:jumpAnchor('2.5.14')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.14</a><a href=\"javascript:jumpAnchor('2.5.13')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.13</a><a href=\"javascript:jumpAnchor('2.5.12')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.12</a><a href=\"javascript:jumpAnchor('2.5.11')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.11</a><a href=\"javascript:jumpAnchor('2.5.10')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.10</a><a href=\"javascript:jumpAnchor('2.5.9')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.9</a><a href=\"javascript:jumpAnchor('2.5.8')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.8</a><a href=\"javascript:jumpAnchor('2.5.7')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.7</a><a href=\"javascript:jumpAnchor('2.5.6')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.6</a><a href=\"javascript:jumpAnchor('2.5.5')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.5</a><a href=\"javascript:jumpAnchor('2.5.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.4</a><a href=\"javascript:jumpAnchor('2.5.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.3</a><a href=\"javascript:jumpAnchor('2.5.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.2</a><a href=\"javascript:jumpAnchor('2.5.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.5.1</a><a href=\"javascript:jumpAnchor('2.4.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.4.2</a><a href=\"javascript:jumpAnchor('2.4.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.4.1</a><a href=\"javascript:jumpAnchor('2.4.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.4.0</a><a href=\"javascript:jumpAnchor('2.3.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.3.3</a><a href=\"javascript:jumpAnchor('2.3.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.3.2</a><a href=\"javascript:jumpAnchor('2.3.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.3.1</a><a href=\"javascript:jumpAnchor('2.3.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.3.0</a><a href=\"javascript:jumpAnchor('2.2.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.2.4</a><a href=\"javascript:jumpAnchor('2.2.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.2.3</a><a href=\"javascript:jumpAnchor('2.2.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.2.2</a><a href=\"javascript:jumpAnchor('2.2.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.2.1</a><a href=\"javascript:jumpAnchor('2.2.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.2.0</a><a href=\"javascript:jumpAnchor('2.1.7')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.7</a><a href=\"javascript:jumpAnchor('2.1.6')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.6</a><a href=\"javascript:jumpAnchor('2.1.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.4</a><a href=\"javascript:jumpAnchor('2.1.2')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.2</a><a href=\"javascript:jumpAnchor('2.1.1')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.1</a><a href=\"javascript:jumpAnchor('2.1.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.1.0</a><a href=\"javascript:jumpAnchor('2.0.0')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.0.0</a><a href=\"javascript:jumpAnchor('2.0.0-rc.5')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.0.0-rc.5</a><a href=\"javascript:jumpAnchor('2.0.0-rc.4')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.0.0-rc.4</a><a href=\"javascript:jumpAnchor('2.0.0-rc.3')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">2.0.0-rc.3</a><a href=\"javascript:jumpAnchor('1.x')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">1.x</a>"},tyZS:function(e,o,t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(o,"__esModule",{value:!0});var d=t("oCGI"),a=i(d),c=t("QAM3"),l=i(c);o.default={components:{"qr-code":a.default,MdDemo:l.default},props:["info","body","toc","demos"],data:function(){return{demoBoxShowStat:[],activeDemoBoxZoonPos:{},isTocStricky:!1,isQrcodeShow:!1,isCopySuccess:!1}},computed:{bodyHead:function(){return this.body.split("<!-- DEMO -->")[0]},bodyTail:function(){return this.body.split("<!-- DEMO -->")[1]},demoBox:function(){return $(".doc-demo-box")},previewBox:function(){return $(".doc-demo-box-preview")},codeBox:function(){return $(".doc-demo-box-code")},curRouteIndex:function(){return this.$route.meta.index},prevRoute:function(){return this.findRoute(this.curRouteIndex-1,-1)},nextRoute:function(){return this.findRoute(this.curRouteIndex+1,1)},lang:function(){return~this.$route.path.indexOf("zh-CN")?"zh-CN":"en-US"},hiddenToc:function(){return"hidden"===this.info.toc}},mounted:function(){if(location.hash){var e=location.hash.substr(1);location.hash="",location.hash=e}},methods:{findRoute:function(e){for(var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,t=window.$routes[this.lang];0<=e&&e<=t.length-1&&(!t[e].meta.src&&!t[e].meta.markdown||t[e].redirect);)e+=o;return t[e]},toggleDemoBox:function(e){var o=$(".doc-demo-box-"+e),t=o.find(".doc-demo-box-toggle"),i=!this.demoBoxShowStat[e];i?t.addClass("active"):t.removeClass("active"),this.$set(this.demoBoxShowStat,e,i)},goToDemo:function(e){var o=this.info.preview.split("#")[1];o&&window.open("https://github.com/didi/mand-mobile/edit/master/components/"+o+"/demo/cases/demo"+e+".vue")},onCopySuccess:function(){var e=this;this.isCopySuccess=!0,setTimeout(function(){e.isCopySuccess=!1},1e3)}}}},"ukR+":function(e,o,t){(function(e){var o;(function(){function e(e){this.mode=m.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var o=0,t=this.data.length;o<t;o++){var i=[],d=this.data.charCodeAt(o);65536<d?(i[0]=240|(1835008&d)>>>18,i[1]=128|(258048&d)>>>12,i[2]=128|(4032&d)>>>6,i[3]=128|63&d):2048<d?(i[0]=224|(61440&d)>>>12,i[1]=128|(4032&d)>>>6,i[2]=128|63&d):128<d?(i[0]=192|(1984&d)>>>6,i[1]=128|63&d):i[0]=d,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,o){this.typeNumber=e,this.errorCorrectLevel=o,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function d(e,o){if(void 0==e.length)throw new Error(e.length+"/"+o);for(var t=0;t<e.length&&0==e[t];)t++;this.num=Array(e.length-t+o);for(var d=0;d<e.length-t;d++)this.num[d]=e[d+t]}function a(e,o){this.totalCount=e,this.dataCount=o}function c(){this.buffer=[],this.length=0}function l(){var e=!1,o=navigator.userAgent;if(/android/i.test(o)){e=!0;var t=o.toString().match(/android ([0-9]\.[0-9])/i);t&&t[1]&&(e=parseFloat(t[1]))}return e}function s(e,o){for(var t,d=1,a=n(e),c=0,i=f.length;c<=i&&(t=0,o===p.L?t=f[c][0]:o===p.M?t=f[c][1]:o===p.Q?t=f[c][2]:o===p.H?t=f[c][3]:void 0,!(a<=t));c++)d++;if(d>f.length)throw new Error("Too long data");return d}function n(e){var o=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return o.length+(o.length==e?0:3)}var r=Math.floor;e.prototype={getLength:function(){return this.parsedData.length},write:function(e){for(var o=0,t=this.parsedData.length;o<t;o++)e.put(this.parsedData[o],8)}},t.prototype={addData:function(o){var t=new e(o);this.dataList.push(t),this.dataCache=null},isDark:function(e,o){if(0>e||this.moduleCount<=e||0>o||this.moduleCount<=o)throw new Error(e+","+o);return this.modules[e][o]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,o){this.moduleCount=4*this.typeNumber+17,this.modules=Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++)this.modules[i][d]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,o),7<=this.typeNumber&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,o)},setupPositionProbePattern:function(e,o){for(var t=-1;7>=t;t++)if(!(-1>=e+t||this.moduleCount<=e+t))for(var i=-1;7>=i;i++)-1>=o+i||this.moduleCount<=o+i||(this.modules[e+t][o+i]=!!(0<=t&&6>=t&&(0==i||6==i)||0<=i&&6>=i&&(0==t||6==t)||2<=t&&4>=t&&2<=i&&4>=i))},getBestMaskPattern:function(){for(var e=0,o=0,t=0;8>t;t++){this.makeImpl(!0,t);var i=u.getLostPoint(this);(0==t||e>i)&&(e=i,o=t)}return o},createMovieClip:function(e,o,t){var i=e.createEmptyMovieClip(o,t),d=1;this.make();for(var a,c=0;c<this.modules.length;c++){a=c*d;for(var l=0;l<this.modules[c].length;l++){var s=l*d,n=this.modules[c][l];n&&(i.beginFill(0,100),i.moveTo(s,a),i.lineTo(s+d,a),i.lineTo(s+d,a+d),i.lineTo(s,a+d),i.endFill())}}return i},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=0==e%2);for(var o=8;o<this.moduleCount-8;o++)null==this.modules[6][o]&&(this.modules[6][o]=0==o%2)},setupPositionAdjustPattern:function(){for(var e=u.getPatternPosition(this.typeNumber),o=0;o<e.length;o++)for(var t=0;t<e.length;t++){var i=e[o],d=e[t];if(null==this.modules[i][d])for(var a=-2;2>=a;a++)for(var l=-2;2>=l;l++)this.modules[i+a][d+l]=-2==a||2==a||-2==l||2==l||0==a&&0==l}},setupTypeNumber:function(e){for(var o,t=u.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++)o=!e&&1==(1&t>>d),this.modules[r(d/3)][d%3+this.moduleCount-8-3]=o;for(var o,d=0;18>d;d++)o=!e&&1==(1&t>>d),this.modules[d%3+this.moduleCount-8-3][r(d/3)]=o},setupTypeInfo:function(e,o){for(var t,d=this.errorCorrectLevel<<3|o,a=u.getBCHTypeInfo(d),c=0;15>c;c++)t=!e&&1==(1&a>>c),6>c?this.modules[c][8]=t:8>c?this.modules[c+1][8]=t:this.modules[this.moduleCount-15+c][8]=t;for(var t,c=0;15>c;c++)t=!e&&1==(1&a>>c),8>c?this.modules[8][this.moduleCount-c-1]=t:9>c?this.modules[8][15-c-1+1]=t:this.modules[8][15-c-1]=t;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,o){for(var t=-1,i=this.moduleCount-1,d=7,a=0,l=this.moduleCount-1;0<l;l-=2)for(6==l&&l--;;){for(var s=0;2>s;s++)if(null==this.modules[i][l-s]){var c=!1;a<e.length&&(c=1==(1&e[a]>>>d));var n=u.getMask(o,i,l-s);n&&(c=!c),this.modules[i][l-s]=c,d--,-1==d&&(a++,d=7)}if(i+=t,0>i||this.moduleCount<=i){i-=t,t=-t;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,o,d){for(var l,s=a.getRSBlocks(e,o),n=new c,r=0;r<d.length;r++)l=d[r],n.put(l.mode,4),n.put(l.getLength(),u.getLengthInBits(l.mode,e)),l.write(n);for(var i=0,r=0;r<s.length;r++)i+=s[r].dataCount;if(n.getLengthInBits()>8*i)throw new Error("code length overflow. ("+n.getLengthInBits()+">"+8*i+")");for(n.getLengthInBits()+4<=8*i&&n.put(0,4);0!=n.getLengthInBits()%8;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*i)&&(n.put(t.PAD0,8),!(n.getLengthInBits()>=8*i));)n.put(t.PAD1,8);return t.createBytes(n,s)},t.createBytes=function(e,o){for(var t=Math.max,a=0,c=0,l=0,s=Array(o.length),n=Array(o.length),m=0;m<o.length;m++){var r=o[m].dataCount,p=o[m].totalCount-r;c=t(c,r),l=t(l,p),s[m]=Array(r);for(var h=0;h<s[m].length;h++)s[m][h]=255&e.buffer[h+a];a+=r;var i=u.getErrorCorrectPolynomial(p),A=new d(s[m],i.getLength()-1),g=A.mod(i);n[m]=Array(i.getLength()-1);for(var f,h=0;h<n[m].length;h++)f=h+g.getLength()-n[m].length,n[m][h]=0<=f?g.get(f):0}for(var b=0,h=0;h<o.length;h++)b+=o[h].totalCount;for(var C=Array(b),x=0,h=0;h<c;h++)for(var m=0;m<o.length;m++)h<s[m].length&&(C[x++]=s[m][h]);for(var h=0;h<l;h++)for(var m=0;m<o.length;m++)h<n[m].length&&(C[x++]=n[m][h]);return C};for(var m={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},p={L:1,M:0,Q:3,H:2},h={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},u={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var o=e<<10;0<=u.getBCHDigit(o)-u.getBCHDigit(u.G15);)o^=u.G15<<u.getBCHDigit(o)-u.getBCHDigit(u.G15);return(e<<10|o)^u.G15_MASK},getBCHTypeNumber:function(e){for(var o=e<<12;0<=u.getBCHDigit(o)-u.getBCHDigit(u.G18);)o^=u.G18<<u.getBCHDigit(o)-u.getBCHDigit(u.G18);return e<<12|o},getBCHDigit:function(e){for(var o=0;0!=e;)o++,e>>>=1;return o},getPatternPosition:function(e){return u.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,o,t){switch(e){case h.PATTERN000:return 0==(o+t)%2;case h.PATTERN001:return 0==o%2;case h.PATTERN010:return 0==t%3;case h.PATTERN011:return 0==(o+t)%3;case h.PATTERN100:return 0==(r(o/2)+r(t/3))%2;case h.PATTERN101:return 0==o*t%2+o*t%3;case h.PATTERN110:return 0==(o*t%2+o*t%3)%2;case h.PATTERN111:return 0==(o*t%3+(o+t)%2)%2;default:throw new Error("bad maskPattern:"+e);}},getErrorCorrectPolynomial:function(e){for(var o=new d([1],0),t=0;t<e;t++)o=o.multiply(new d([1,A.gexp(t)],0));return o},getLengthInBits:function(e,o){if(1<=o&&10>o)switch(e){case m.MODE_NUMBER:return 10;case m.MODE_ALPHA_NUM:return 9;case m.MODE_8BIT_BYTE:return 8;case m.MODE_KANJI:return 8;default:throw new Error("mode:"+e);}else if(27>o)switch(e){case m.MODE_NUMBER:return 12;case m.MODE_ALPHA_NUM:return 11;case m.MODE_8BIT_BYTE:return 16;case m.MODE_KANJI:return 10;default:throw new Error("mode:"+e);}else if(41>o)switch(e){case m.MODE_NUMBER:return 14;case m.MODE_ALPHA_NUM:return 13;case m.MODE_8BIT_BYTE:return 16;case m.MODE_KANJI:return 12;default:throw new Error("mode:"+e);}else throw new Error("type:"+o)},getLostPoint:function(e){for(var o=e.getModuleCount(),t=0,i=0;i<o;i++)for(var d=0;d<o;d++){for(var a=0,l=e.isDark(i,d),s=-1;1>=s;s++)if(!(0>i+s||o<=i+s))for(var n=-1;1>=n;n++)0>d+n||o<=d+n||(0!=s||0!=n)&&l==e.isDark(i+s,d+n)&&a++;5<a&&(t+=3+a-5)}for(var i=0;i<o-1;i++)for(var c,d=0;d<o-1;d++)c=0,e.isDark(i,d)&&c++,e.isDark(i+1,d)&&c++,e.isDark(i,d+1)&&c++,e.isDark(i+1,d+1)&&c++,(0==c||4==c)&&(t+=3);for(var i=0;i<o;i++)for(var d=0;d<o-6;d++)e.isDark(i,d)&&!e.isDark(i,d+1)&&e.isDark(i,d+2)&&e.isDark(i,d+3)&&e.isDark(i,d+4)&&!e.isDark(i,d+5)&&e.isDark(i,d+6)&&(t+=40);for(var d=0;d<o;d++)for(var i=0;i<o-6;i++)e.isDark(i,d)&&!e.isDark(i+1,d)&&e.isDark(i+2,d)&&e.isDark(i+3,d)&&e.isDark(i+4,d)&&!e.isDark(i+5,d)&&e.isDark(i+6,d)&&(t+=40);for(var r=0,d=0;d<o;d++)for(var i=0;i<o;i++)e.isDark(i,d)&&r++;var m=Math.abs(100*r/o/o-50)/5;return t+=10*m,t}},A={glog:function(e){if(1>e)throw new Error("glog("+e+")");return A.LOG_TABLE[e]},gexp:function(e){for(;0>e;)e+=255;for(;256<=e;)e-=255;return A.EXP_TABLE[e]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},g=0;8>g;g++)A.EXP_TABLE[g]=1<<g;for(var g=8;256>g;g++)A.EXP_TABLE[g]=A.EXP_TABLE[g-4]^A.EXP_TABLE[g-5]^A.EXP_TABLE[g-6]^A.EXP_TABLE[g-8];for(var g=0;255>g;g++)A.LOG_TABLE[A.EXP_TABLE[g]]=g;d.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(o){for(var e=Array(this.getLength()+o.getLength()-1),t=0;t<this.getLength();t++)for(var i=0;i<o.getLength();i++)e[t+i]^=A.gexp(A.glog(this.get(t))+A.glog(o.get(i)));return new d(e,0)},mod:function(o){if(0>this.getLength()-o.getLength())return this;for(var e=A.glog(this.get(0))-A.glog(o.get(0)),t=Array(this.getLength()),a=0;a<this.getLength();a++)t[a]=this.get(a);for(var a=0;a<o.getLength();a++)t[a]^=A.gexp(A.glog(o.get(a))+e);return new d(t,0).mod(o)}},a.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],a.getRSBlocks=function(e,o){var t=a.getRsBlockTable(e,o);if(void 0==t)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+o);for(var d=t.length/3,c=[],l=0;l<d;l++)for(var i=t[3*l+0],s=t[3*l+1],n=t[3*l+2],r=0;r<i;r++)c.push(new a(s,n));return c},a.getRsBlockTable=function(e,o){return o===p.L?a.RS_BLOCK_TABLE[4*(e-1)+0]:o===p.M?a.RS_BLOCK_TABLE[4*(e-1)+1]:o===p.Q?a.RS_BLOCK_TABLE[4*(e-1)+2]:o===p.H?a.RS_BLOCK_TABLE[4*(e-1)+3]:void 0},c.prototype={get:function(e){var o=r(e/8);return 1==(1&this.buffer[o]>>>7-e%8)},put:function(e,o){for(var t=0;t<o;t++)this.putBit(1==(1&e>>>o-t-1))},getLengthInBits:function(){return this.length},putBit:function(e){var o=r(this.length/8);this.buffer.length<=o&&this.buffer.push(0),e&&(this.buffer[o]|=128>>>this.length%8),this.length++}};var f=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],b=function(){var e=function(e,o){this._el=e,this._htOption=o};return e.prototype.draw=function(e){function o(e,o){var t=document.createElementNS("http://www.w3.org/2000/svg",e);for(var i in o)o.hasOwnProperty(i)&&t.setAttribute(i,o[i]);return t}var t=this._htOption,i=this._el,d=e.getModuleCount(),a=r(t.width/d),c=r(t.height/d);this.clear();var l=o("svg",{viewBox:"0 0 "+(d+" ")+(d+""),width:"100%",height:"100%",fill:t.colorLight});l.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.appendChild(l),l.appendChild(o("rect",{fill:t.colorLight,width:"100%",height:"100%"})),l.appendChild(o("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var s=0;s<d;s++)for(var n=0;n<d;n++)if(e.isDark(s,n)){var m=o("use",{x:s+"",y:n+""});m.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),l.appendChild(m)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),i="svg"===document.documentElement.tagName.toLowerCase(),C=i?b:function(){return"undefined"!=typeof CanvasRenderingContext2D}()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.setProperty("display","block","important"),this._elCanvas.style.setProperty("display","none","important")}function o(e,o){var t=this;if(t._fFail=o,t._fSuccess=e,null===t._bSupportDataURI){var i=document.createElement("img"),d=function(){t._bSupportDataURI=!1,t._fFail&&t._fFail.call(t)},a=function(){t._bSupportDataURI=!0,t._fSuccess&&t._fSuccess.call(t)};return i.onabort=d,i.onerror=d,i.onload=a,void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===t._bSupportDataURI&&t._fSuccess?t._fSuccess.call(t):!1===t._bSupportDataURI&&t._fFail&&t._fFail.call(t)}if(this._android&&2.1>=this._android){var t=1/window.devicePixelRatio,d=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,o,a,c,l,s,n,r){if("nodeName"in e&&/img/i.test(e.nodeName))for(var m=arguments.length-1;1<=m;m--)arguments[m]*=t;else"undefined"==typeof r&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);d.apply(this,arguments)}}var i=function(e,o){this._bIsPainted=!1,this._android=l(),this._htOption=o,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=o.width,this._elCanvas.height=o.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.setProperty("display","none","important"),this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var o=Math.ceil,t=Math.round,i=this._elImage,d=this._oContext,a=this._htOption,c=e.getModuleCount(),l=a.width/c,s=a.height/c,n=t(l),m=t(s);i.style.setProperty("display","none","important"),this.clear();for(var p=0;p<c;p++)for(var h=0;h<c;h++){var u=e.isDark(p,h),A=h*l,g=p*s;d.strokeStyle=u?a.colorDark:a.colorLight,d.lineWidth=1,d.fillStyle=u?a.colorDark:a.colorLight,d.fillRect(A,g,l,s),d.strokeRect(r(A)+.5,r(g)+.5,n,m),d.strokeRect(o(A)-.5,o(g)-.5,n,m)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&o.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?r(1e3*e)/1e3:e},i}():function(){var e=function(e,o){this._el=e,this._htOption=o};return e.prototype.draw=function(e){for(var o=this._htOption,t=this._el,i=e.getModuleCount(),d=r(o.width/i),a=r(o.height/i),c=["<table style=\"border:0;border-collapse:collapse;\">"],l=0;l<i;l++){c.push("<tr>");for(var s=0;s<i;s++)c.push("<td style=\"border:0;border-collapse:collapse;padding:0;margin:0;width:"+d+"px;height:"+a+"px;background-color:"+(e.isDark(l,s)?o.colorDark:o.colorLight)+";\"></td>");c.push("</tr>")}c.push("</table>"),t.innerHTML=c.join("");var n=t.childNodes[0],m=(o.width-n.offsetWidth)/2,p=(o.height-n.offsetHeight)/2;0<m&&0<p&&(n.style.margin=p+"px "+m+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();o=function(e,o){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:p.H},"string"==typeof o&&(o={text:o}),o)for(var t in o)this._htOption[t]=o[t];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(C=b),this._android=l(),this._el=e,this._oQRCode=null,this._oDrawing=new C(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},o.prototype.makeCode=function(e){this._oQRCode=new t(s(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},o.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()},o.prototype.clear=function(){this._oDrawing.clear()},o.CorrectLevel=p})(),e&&e.exports&&(e.exports=o)}).call(o,t("3IRH")(e))}}); |