| 12 |
- /*! NutUI v1.3.0 Thu Aug 09 2018 11:27:14 GMT+0800 (CST) */
- webpackJsonpnutui([8],{1063:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,s=e(189);(a=s)&&a.__esModule;t.default={data:function(){return{path:"",packages:[],version:"",searchKeyWork:"",reslouts:[],resloutempty:"",timeOut:null}},computed:{total:function(){return this.packages.length||"--"}},methods:{clearSearch:function(){this.searchKeyWork=null,this.reslouts=[]}},watch:{$route:{immediate:!0,handler:function(n,t){this.path=n.path}},searchKeyWork:function(n){var t=this.packages,e=[],a=this.timeOut,s=this;a&&clearTimeout(a),setTimeout(function(){for(var a,r=0;a=t[r];r++){var i=!1;for(var o in a)a[o]&&"string"==typeof a[o]&&a[o].toLowerCase().indexOf(n.toLowerCase())>-1&&(i=!0);i&&e.push(a)}0==e.length?(s.resloutempty="未匹配到相关内容...",s.reslouts=[]):(s.resloutempty="",s.reslouts=e)},200)}},created:function(){this.packages=this.NUTCONF.packages,this.version=this.NUTCONF.version}}},1102:function(n,t,e){(n.exports=e(1)()).push([n.i,"\ninput[data-v-32f50000]::-webkit-input-placeholder {\n color: #ccc;\n}\ninput[data-v-32f50000]::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: #ccc;\n}\ninput[data-v-32f50000]:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: #ccc;\n}\ninput[data-v-32f50000]:-ms-input-placeholder {\n /* Internet Explorer 10-11 */\n color: #ccc;\n}\na[data-v-32f50000] {\n text-decoration: none;\n}\n.current[data-v-32f50000] {\n color: #ff0000;\n}\n.chnn[data-v-32f50000] {\n margin-left: 5px;\n color: #999;\n font-size: 12px;\n}\n.pcdemo[data-v-32f50000] {\n display: none;\n}\n.info[data-v-32f50000] {\n color: #999;\n padding: 8px 0;\n margin-bottom: 10px;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: baseline;\n -webkit-align-items: baseline;\n align-items: baseline;\n -webkit-box-pack: justify;\n -webkit-justify-content: space-between;\n justify-content: space-between;\n position: relative;\n}\n.info .s-b[data-v-32f50000] {\n display: block;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-flex: 2;\n -webkit-flex-grow: 2;\n flex-grow: 2;\n margin: 0;\n border-radius: 20px;\n padding: 0 .5rem;\n box-sizing: border-box;\n text-indent: 15px;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n font-size: 14px;\n border: 1px solid rgba(233, 230, 230, 0.72);\n}\n.info .c-l[data-v-32f50000] {\n position: absolute;\n right: 10px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.l-s[data-v-32f50000] {\n list-style: none;\n text-align: center;\n color: #999;\n height: 100px;\n font-size: 14px;\n line-height: 100px;\n}\n.tot[data-v-32f50000] {\n font-size: 12px;\n}\n@media (max-width: 415px) {\n.pcdemo[data-v-32f50000] {\n display: list-item;\n}\n}\n",""])},1233:function(n,t){n.exports={render:function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"nav"},[e("div",{staticClass:"info"},[e("input",{directives:[{name:"model",rawName:"v-model",value:n.searchKeyWork,expression:"searchKeyWork"}],staticClass:"s-b",attrs:{placeholder:"请输入搜索内容",type:"search"},domProps:{value:n.searchKeyWork},on:{click:function(n){n.stopPropagation()},input:function(t){t.target.composing||(n.searchKeyWork=t.target.value)}}}),n._v(" "),n.searchKeyWork?e("svg",{staticClass:"c-l",attrs:{width:"18",height:"18"},on:{click:function(t){return t.stopPropagation(),n.clearSearch(t)}}},[e("use",{attrs:{"xlink:href":"#close3"}})]):n._e()]),n._v(" "),n.searchKeyWork?n._e():e("ul",[e("li",[e("router-link",{class:{current:"/intro"==n.path},attrs:{to:"/intro"}},[n._v("指南")])],1),n._v(" "),e("li",{staticClass:"nutdemo"},[e("router-link",{class:{current:"/nutdemo"==n.path},attrs:{to:"/nutdemo"}},[n._v("手机示例")])],1),n._v(" "),n._m(0),n._v(" "),e("li",[n._v("\n 组件/Components\n "),e("ul",n._l(n.packages,function(t){return-1!==["component","method"].indexOf(t.type)?e("li",[e("router-link",{class:{current:n.path=="/"+t.name},attrs:{to:{name:t.name}}},[n._v(n._s(t.name)),e("span",{staticClass:"chnn"},[n._v(n._s(t.chnName||"组件"))])])],1):n._e()}))]),e("li",[n._v("过滤器/Filters\n "),e("ul",n._l(n.packages,function(t){return"filter"===t.type?e("li",[e("router-link",{class:{current:n.path=="/"+t.name},attrs:{to:{name:t.name}}},[n._v(n._s(t.name)),e("span",{staticClass:"chnn"},[n._v(n._s(t.chnName||"组件"))])])],1):n._e()}))]),n._v(" "),e("li",[n._v("指令/Directives\n "),e("ul",n._l(n.packages,function(t){return"directive"===t.type?e("li",[e("router-link",{class:{current:n.path=="/"+t.name},attrs:{to:"/"+t.name}},[n._v(n._s(t.name)),e("span",{staticClass:"chnn"},[n._v(n._s(t.chnName||"组件"))])])],1):n._e()}))])]),n._v(" "),n.searchKeyWork?e("ul",[n._l(n.reslouts,function(t,a){return e("li",{key:a},[e("router-link",{class:{current:n.path=="/"+t.name},attrs:{to:{name:t.name}}},[n._v(n._s(t.name)),e("span",{staticClass:"chnn"},[n._v(n._s(t.chnName||"组件"))])])],1)}),n._v(" "),n.resloutempty?e("li",{staticClass:"l-s"},[n._v(n._s(n.resloutempty))]):n._e()],2):n._e()])},staticRenderFns:[function(){var n=this.$createElement,t=this._self._c||n;return t("li",{staticClass:"pcdemo"},[t("a",{attrs:{href:"./demo.html"}},[this._v("示例")])])}]}},1332:function(n,t,e){var a=e(1102);"string"==typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);e(3)("45a65ba2",a,!0,{})},852:function(n,t,e){var a=e(2)(e(1063),e(1233),function(n){e(1332)},"data-v-32f50000",null);n.exports=a.exports}});
|