摘要: 在根文件中添加 <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)
摘要: https://www.androiddevtools.cn/index.html 阅读全文
posted @ 2022-02-16 17:52 山河&统一 阅读(21) 评论(0) 推荐(0)
摘要: 1,在页面文件夹按下shift+右键打开PowerShell窗口 2,再执行live-server --port=8000 端口顺便写 阅读全文
posted @ 2022-02-16 09:21 山河&统一 阅读(318) 评论(0) 推荐(0)
摘要: 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)
摘要: 类的声明: class People { constructor() { } 类的成员属性和方法: class People { //成员属性,一般定义在构造函数上 constructor(name, height) { this.name = name; this.height = height; 阅读全文
posted @ 2021-09-18 16:26 山河&统一 阅读(44) 评论(0) 推荐(0)
摘要: npm config set registry https://mirrors.huaweicloud.com/repository/npm/ 查看镜像: npm config get registry 阅读全文
posted @ 2021-09-18 16:25 山河&统一 阅读(497) 评论(0) 推荐(0)