会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
山河&统一
博客园
首页
新随笔
联系
订阅
管理
2022年10月18日
动态计算rem
摘要: 在根文件中添加 <script> (function(w,d) { function setSize() { var screenWidth = d.documentElement.clientWidth; var currentFontSize = screenWidth * 100 / 750;
阅读全文
posted @ 2022-10-18 12:31 山河&统一
阅读(25)
评论(0)
推荐(0)
2022年2月16日
android开发工具地址
摘要: https://www.androiddevtools.cn/index.html
阅读全文
posted @ 2022-02-16 17:52 山河&统一
阅读(21)
评论(0)
推荐(0)
h5页面开启本地服务
摘要: 1,在页面文件夹按下shift+右键打开PowerShell窗口 2,再执行live-server --port=8000 端口顺便写
阅读全文
posted @ 2022-02-16 09:21 山河&统一
阅读(318)
评论(0)
推荐(0)
2022年2月14日
关于富文本上传图片多选的处理
摘要: image: function image() { var _this3 = this; const input = document.createElement('input'); let limit = 500; //上传图片限制500K let imgArr = []; let backupC
阅读全文
posted @ 2022-02-14 09:50 山河&统一
阅读(186)
评论(0)
推荐(0)
2021年9月18日
es6-类
摘要: 类的声明: class People { constructor() { } 类的成员属性和方法: class People { //成员属性,一般定义在构造函数上 constructor(name, height) { this.name = name; this.height = height;
阅读全文
posted @ 2021-09-18 16:26 山河&统一
阅读(44)
评论(0)
推荐(0)
npm更换华为镜像
摘要: npm config set registry https://mirrors.huaweicloud.com/repository/npm/ 查看镜像: npm config get registry
阅读全文
posted @ 2021-09-18 16:25 山河&统一
阅读(497)
评论(0)
推荐(0)
公告