1.下载到本地解压
2.新建要使用的css文件
3.复制iconfont.css内容到自己的css文件
4.iconfont网站里选择Unicode模式复制代码并替换自己css的@font-face
5.引入自己的css就可以用了
https://zhuanlan.zhihu.c...
蚂蚁
5年前 (2020-12-01)
1145℃
0评论
0喜欢
https://uniapp.dcloud.io/frame?id=css%E5%8F%98%E9%87%8F
var(--status-bar-height) 此变量在微信小程序环境为固定 25px,在 App 里为手机实际状态栏高度。
当设置 "navigationStyl...
蚂蚁
5年前 (2020-11-30)
1407℃
0评论
0喜欢
微信小程序批量导入iconfont下的SVG图片
前几天在写微信小程序,由于小程序不直接支持SVG标签,所以后来使用PNG作为素材。但是在发布的时候提示包体积超过2M,为了优化包体积与加载速度,于是我开始想办法处理。
var fs = require("fs");
var ...
蚂蚁
5年前 (2020-11-21)
1238℃
0评论
0喜欢
git init
git add .
git commit -m "first commit"
git remote add origin http://172.16.90.250:3000/cqcarbon/cqcarbonwxapp.git
...
蚂蚁
5年前 (2020-11-20)
1356℃
0评论
0喜欢
文档
微信 JS 接口签名校验工具
缺少参数 package 请检查传的参数是否正确
转载请注明:有爱前端 » 微信 invalid signature 签名错误...
蚂蚁
5年前 (2020-11-18)
1148℃
0评论
0喜欢
前端时间格式2020-02-11T12:24:18.000+0000转化成正常格式
关于 微信小程序转换时间 "2020-03-18T01:57:23.000+0000" 后 在ios系统中显示NAN问题
解决js newDate()苹果手机日期格式显示NaN
var dep...
蚂蚁
5年前 (2020-11-18)
914℃
0评论
0喜欢
找到iconfont.css font-face url前添加
~@/static/iconfont/
栗子
/iconfont.eot
变成
~@/static/iconfont/iconfont.eot
转载请注明:有爱前端 » unia...
蚂蚁
5年前 (2020-11-13)
1669℃
0评论
1喜欢
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewpo...
蚂蚁
5年前 (2020-10-27)
2285℃
0评论
3喜欢
转自:https://zhuanlan.zhihu.com/p/141031060
数组 Array
数组去重
function noRepeat(arr) {
return [...new Set(arr)];
}
查找数组最大
function arrayM...
蚂蚁
5年前 (2020-10-16)
1288℃
0评论
2喜欢
<?php
function consoleLog($val){
$debug = debug_backtrace();
...
蚂蚁
5年前 (2020-07-25)
1653℃
0评论
41喜欢