1.0a91420605116fb4fa53.js 1.7 KB

1
  1. webpackJsonp([1],{SZpN:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("oDqC"),a={name:"icons",data:function(){return{iconsMap:[]}},mounted:function(){var n=o.a.state.iconsMap.map(function(n){return n.default.id.split("-")[1]});this.iconsMap=n},methods:{generateIconCode:function(n){return'<svg-icon icon-class="'+n+'" />'}}},i={render:function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"icons-container"},[e("div",{staticClass:"icons-wrapper"},n._l(n.iconsMap,function(t){return e("div",{key:t},[e("el-tooltip",{attrs:{placement:"top"}},[e("div",{attrs:{slot:"content"},slot:"content"},[n._v("\n "+n._s(n.generateIconCode(t))+"\n ")]),n._v(" "),e("div",{staticClass:"icon-item"},[e("svg-icon",{attrs:{"class-name":"disabled","icon-class":t}}),n._v(" "),e("span",[n._v(n._s(t))])],1)])],1)}))])},staticRenderFns:[]};var s=e("VU/8")(a,i,!1,function(n){e("WWQJ")},"data-v-0d812e77",null);t.default=s.exports},WWQJ:function(n,t,e){var o=e("cFQN");"string"==typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);e("rjj0")("3e19cd46",o,!0)},cFQN:function(n,t,e){(n.exports=e("FZ+f")(!1)).push([n.i,"\n.icons-container[data-v-0d812e77] {\n margin: 10px 20px 0;\n overflow: hidden;\n}\n.icons-container .icons-wrapper[data-v-0d812e77] {\n margin: 0 auto;\n}\n.icons-container .icon-item[data-v-0d812e77] {\n margin: 20px;\n height: 110px;\n text-align: center;\n width: 110px;\n float: left;\n font-size: 30px;\n color: #24292e;\n cursor: pointer;\n}\n.icons-container span[data-v-0d812e77] {\n display: block;\n font-size: 24px;\n margin-top: 10px;\n}\n.icons-container .disabled[data-v-0d812e77] {\n pointer-events: none;\n}\n",""])}});