i-rubik
Version:
A Vue.js 2.0+ UI Components Framework
1 lines • 4.34 kB
JavaScript
webpackJsonp([13,29],{237:function(t,n,c){c(323);var a=c(0)(c(264),c(350),"data-v-c67cdd4a",null);t.exports=a.exports},264:function(t,n,c){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"icons",data:function(){return{}}}},300:function(t,n,c){n=t.exports=c(59)(),n.push([t.i,".icon-content[data-v-c67cdd4a]{overflow:hidden}.icon[data-v-c67cdd4a]{margin:10px;color:#bbb}.icon[data-v-c67cdd4a]:nth-child(1){color:red}.icon[data-v-c67cdd4a]:nth-child(2){color:#00f}.icon[data-v-c67cdd4a]:nth-child(3){color:#f0f}.icon[data-v-c67cdd4a]:nth-child(4){color:#9c0}.icon[data-v-c67cdd4a]:nth-child(5){color:#005}","",{version:3,sources:["/./example/views/Icon.vue"],names:[],mappings:"AACA,+BACE,eAAiB,CAClB,AACD,uBACE,YAAa,AACb,UAAY,CACb,AACD,oCACE,SAAY,CACb,AACD,oCACE,UAAY,CACb,AACD,oCACE,UAAY,CACb,AACD,oCACE,UAAY,CACb,AACD,oCACE,UAAY,CACb",file:"Icon.vue",sourcesContent:["\n.icon-content[data-v-c67cdd4a] {\n overflow: hidden;\n}\n.icon[data-v-c67cdd4a] {\n margin: 10px;\n color: #bbb;\n}\n.icon[data-v-c67cdd4a]:nth-child(1) {\n color: #f00;\n}\n.icon[data-v-c67cdd4a]:nth-child(2) {\n color: #00f;\n}\n.icon[data-v-c67cdd4a]:nth-child(3) {\n color: #f0f;\n}\n.icon[data-v-c67cdd4a]:nth-child(4) {\n color: #9c0;\n}\n.icon[data-v-c67cdd4a]:nth-child(5) {\n color: #005;\n}"],sourceRoot:"webpack://"}])},323:function(t,n,c){var a=c(300);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);c(226)("d97c9de8",a,!0)},350:function(t,n){t.exports={render:function(){var t=this,n=t.$createElement,c=t._self._c||n;return c("article",[c("h1",[t._v("图标 ICON")]),t._v(" "),t._m(0),t._v(" "),c("h2",[t._v("例子")]),t._v(" "),c("h3",[t._v("Basic")]),t._v(" "),c("div",{staticClass:"icon-content"},[c("r-icon",[t._v("3d_rotation")]),t._v(" "),c("r-icon",[t._v("check")]),t._v(" "),c("r-icon",[t._v("delete")]),t._v(" "),c("r-icon",[t._v("android")]),t._v(" "),c("r-icon",[t._v("call")])],1),t._v(" "),c("h3",[t._v("medium")]),t._v(" "),c("div",{staticClass:"icon-content"},[c("r-icon",{attrs:{medium:""}},[t._v("3d_rotation")]),t._v(" "),c("r-icon",{attrs:{medium:""}},[t._v("check")]),t._v(" "),c("r-icon",{attrs:{medium:""}},[t._v("delete")]),t._v(" "),c("r-icon",{attrs:{medium:""}},[t._v("android")]),t._v(" "),c("r-icon",{attrs:{medium:""}},[t._v("call")])],1),t._v(" "),c("h3",[t._v("large")]),t._v(" "),c("div",{staticClass:"icon-content"},[c("r-icon",{attrs:{large:""}},[t._v("3d_rotation")]),t._v(" "),c("r-icon",{attrs:{large:""}},[t._v("check")]),t._v(" "),c("r-icon",{attrs:{large:""}},[t._v("delete")]),t._v(" "),c("r-icon",{attrs:{large:""}},[t._v("android")]),t._v(" "),c("r-icon",{attrs:{large:""}},[t._v("call")])],1),t._v(" "),c("h3",[t._v("xLarge")]),t._v(" "),c("div",{staticClass:"icon-content"},[c("r-icon",{attrs:{xLarge:""}},[t._v("3d_rotation")]),t._v(" "),c("r-icon",{attrs:{xLarge:""}},[t._v("check")]),t._v(" "),c("r-icon",{attrs:{xLarge:""}},[t._v("delete")]),t._v(" "),c("r-icon",{attrs:{xLarge:""}},[t._v("android")]),t._v(" "),c("r-icon",{attrs:{xLarge:""}},[t._v("call")])],1),t._v(" "),c("h2",[t._v("API")]),t._v(" "),c("h3",[t._v("props")]),t._v(" "),t._m(1),t._v(" "),c("Markup",{attrs:{lang:"html"}},[t._v("\n <r-icon>call</r-icon>\n\n <r-icon medium>call</r-icon>\n\n <r-icon large>call</r-icon>\n\n <r-icon xLarge>call</r-icon>\n ")])],1)},staticRenderFns:[function(){var t=this,n=t.$createElement,c=t._self._c||n;return c("p",[t._v("\n 图标直接采用 Material Design 官方提供的 "),c("a",{staticClass:"demo-link",attrs:{href:"https://material.io/icons/",target:"_blank"}},[t._v("图标库")])])},function(){var t=this,n=t.$createElement,c=t._self._c||n;return c("table",{staticClass:"bordered responsive-table"},[c("thead",[c("th",[t._v("属性")]),t._v(" "),c("th",[t._v("说明")]),t._v(" "),c("th",[t._v("类型")]),t._v(" "),c("th",[t._v("默认值")])]),t._v(" "),c("tbody",[c("tr",[c("td",[t._v("medium")]),t._v(" "),c("td",[t._v("中等尺寸")]),t._v(" "),c("td",[t._v("Boolean")]),t._v(" "),c("td",[t._v("-")])]),t._v(" "),c("tr",[c("td",[t._v("large")]),t._v(" "),c("td",[t._v("大尺寸")]),t._v(" "),c("td",[t._v("Boolean")]),t._v(" "),c("td",[t._v("-")])]),t._v(" "),c("tr",[c("td",[t._v("xLarge")]),t._v(" "),c("td",[t._v("特大尺寸")]),t._v(" "),c("td",[t._v("Boolean")]),t._v(" "),c("td",[t._v("-")])])])])}]}}});