ソースを参照

更新字体图标

gcz 3 年 前
コミット
b59850ecac
3 ファイル変更20 行追加5 行削除
  1. 3 2
      README.md
  2. 1 1
      pages/center/index.vue
  3. 16 2
      static/css/iconfont.css

+ 3 - 2
README.md

@@ -1,3 +1,4 @@
 ## 城市智慧停车
-
-
+#### iconfont
+- [iconfont 自定义图标](https://www.uviewui.com/guide/customIcon.html)
+- [字体默认不再生成 .eot、.svg 和 Base64](https://github.com/thx/iconfont-plus/issues/1948)

+ 1 - 1
pages/center/index.vue

@@ -63,7 +63,7 @@
 		<view class="u-m-t-20">
 			<u-cell-group>
 				<u-cell-item title="消息中心" @click="openPage('pages/message/message')">
-					<u-icon slot="icon" custom-prefix="custom-icon" size="35" name="message"></u-icon>
+					<u-icon slot="icon" custom-prefix="custom-icon" size="35" name="xiaoxi"></u-icon>
 				</u-cell-item>
 			</u-cell-group>
 		</view>

ファイルの差分が大きいため隠しています
+ 16 - 2
static/css/iconfont.css