\n {{item}}\n \n \n \n \n icon大小\n \n \n \n {{item}}\n \n \n \n \n icon颜色\n \n \n \n {{item}}\n \n \n \n\n\n";
var JS_CODE = "import { versionCompare } from '../../utils';\nPage({\n onShareAppMessage() {\n return {\n title: 'icon',\n path: 'page/component/text/index'\n }\n },\n onShow() {\n ks.getSystemInfo().then((res) => {\n const { SDKVersion } = res;\n // 比较当前版本是否大于等于1.32.1\n const flag = versionCompare(SDKVersion, '1.32.1');\n if (flag >= 0) {\n this.data.icon.type.push('loading');\n this.setData({\n icon: {...this.data.icon},\n })\n }\n });\n },\n data: {\n icon:{\n type:['success', 'success_no_circle', 'info', 'warn', 'waiting', 'cancel', 'download', 'search', 'clear'],\n color:['red','yellow','blue','green','pink','orange'],\n size:[20,30,40,50,60,70]\n }\n }\n})";
var STYLE_CODE = ".title{\n font-size: 18px;\n}\n.content{\n margin-top: 10px;\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n align-content: center;\n}\n.con{\n margin-top: 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}";
var COMPONENT = "icon";