浏览代码

自定义iconfont引入

zhuth 7 年之前
父节点
当前提交
6bf03eede1

+ 2 - 1
frontend/saas-web/app.json

@@ -20,7 +20,8 @@
         "font-awesome",
         "ux",
         "modern-locale",
-        "charts"
+        "charts",
+        "font-saas"
     ],
     "locale":"zh_CN",
 

+ 1 - 0
frontend/saas-web/packages/font-saas/Readme.md

@@ -0,0 +1 @@
+# font-saas

+ 37 - 0
frontend/saas-web/packages/font-saas/build.xml

@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project name="font-ios" default=".help">
+    <!--
+    The build-impl.xml file imported here contains the guts of the build process. It is
+    a great idea to read that file to understand how the process works, but it is best to
+    limit your changes to this file.
+    -->
+    <import file="${basedir}/.sencha/package/build-impl.xml"/>
+
+    <!--
+    The following targets can be provided to inject logic before and/or after key steps
+    of the build process:
+
+        The "init-local" target is used to initialize properties that may be personalized
+        for the local machine.
+
+            <target name="-before-init-local"/>
+            <target name="-after-init-local"/>
+
+        The "clean" target is used to clean build output from the build.dir.
+
+            <target name="-before-clean"/>
+            <target name="-after-clean"/>
+
+        The general "init" target is used to initialize all other properties, including
+        those provided by Sencha Cmd.
+
+            <target name="-before-init"/>
+            <target name="-after-init"/>
+        
+        The "build" target performs the call to Sencha Cmd to build the application.
+
+            <target name="-before-build"/>
+            <target name="-after-build"/>
+    -->
+
+</project>

+ 2 - 0
frontend/saas-web/packages/font-saas/index.js

@@ -0,0 +1,2 @@
+// This file was intentionally left blank.
+// This file is used by require.resolve to property locate this module.

+ 32 - 0
frontend/saas-web/packages/font-saas/package.json

@@ -0,0 +1,32 @@
+{
+    "name": "@extjs/ext-font-saas",
+    "ext-react-name": "@extjs/ext-react-font-saas",
+    "ext-name": "@extjs/ext-font-saas",
+    "SenchaExtName": "@sencha/ext-font-saas",
+    "SenchaExtReactName": "@sencha/ext-react-font-saas",
+    "version": "6.6.0.258",
+    "sencha": {
+        "name": "font-saas",
+        "namespace": "Ext",
+        "type": "code",
+        "creator": "Sencha",
+        "summary": "saas iconfont",
+        "detailedDescription": "Saas iconfont from http://www.iconfont.cn/",
+        "version": "6.6.0.258",
+        "compatVersion": "6.2.0",
+        "format": "1",
+        "output": "${framework.dir}/build/packages/${package.name}",
+        "local": true,
+        "sass" : {
+            "namespace": "Ext",
+            "etc": "${package.dir}/sass/etc/all.scss",
+            "var": "${package.dir}/sass/var",
+            "src": [
+                "${package.dir}/sass/src",
+                "${package.dir}/sass/src/all.scss"
+            ]
+        },
+        "classpath": "${package.dir}/src",
+        "overrides": "${package.dir}/overrides"
+    }
+}

二进制
frontend/saas-web/packages/font-saas/resources/fonts/iconfont.eot


文件差异内容过多而无法显示
+ 0 - 0
frontend/saas-web/packages/font-saas/resources/fonts/iconfont.js


文件差异内容过多而无法显示
+ 22 - 0
frontend/saas-web/packages/font-saas/resources/fonts/iconfont.svg


二进制
frontend/saas-web/packages/font-saas/resources/fonts/iconfont.ttf


二进制
frontend/saas-web/packages/font-saas/resources/fonts/iconfont.woff


文件差异内容过多而无法显示
+ 5 - 0
frontend/saas-web/packages/font-saas/sass/src/all.scss


+ 1 - 1
frontend/saas-web/resources/json/navigation.json

@@ -256,7 +256,7 @@
     }]
 },{
     "text": "设置",
-    "iconCls": "x-fa fa-cog",
+    "iconCls": "x-sa sa-setting",
     "items": [{
         "text": "系统设置",
         "items": [{

部分文件因为文件数量过多而无法显示