摘要: 快速转台 js随机生成验证码:https://www.cnblogs.com/1748sb/p/13944681.html PDF在线预览 http://view.xdocin.com/xdoc?_xdoc=你的文档地址 (必须是公开的文件外网能访问) pre标签自动换行样式 margin: 0; 阅读全文
posted @ 2020-11-01 16:37 小泽沐优声 阅读(255) 评论(0) 推荐(0) 编辑
摘要: ## 直接上代码片段 ``` const options = [{ title: "颜色", values: ["红色", "蓝色", "绿色"] }, { title: "尺寸", values: ["S", "M", "L"] }, { title: "材质", values: ["棉", "丝 阅读全文
posted @ 2023-08-31 15:11 小泽沐优声 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 安卓 别的程序没有试 问题1 我在app.vue页面里onLaunch生命周期写了‘uni.getStorageSync()’, 导致我在其它页面返回上一页的时候‘onShow’出现了‘uni.getStorageSync()’获取得到,但视图不刷新问题。 解决: 不在app.vue页面调用‘uni 阅读全文
posted @ 2022-10-23 00:22 小泽沐优声 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: nvue跟随软件 uni.onKeyboardHeightChange(item => { // 获取系统信息 let _sysInfo = uni.getSystemInfoSync(); let _heightDiff = _sysInfo.screenHeight - _sysInfo.win 阅读全文
posted @ 2022-10-22 23:08 小泽沐优声 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 转载 超详细:https://blog.csdn.net/qq_42691298/article/details/127227807 阅读全文
posted @ 2022-10-18 17:01 小泽沐优声 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 转载 很详细:https://blog.csdn.net/weixin_61370021/article/details/126788606 阅读全文
posted @ 2022-10-17 14:38 小泽沐优声 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 二维码 下载文件 文件地址:weapp.qrcode.min.js 导入文件 import drawQrcode from '@/utils/weapp.qrcode.min.js' 使用方法 drawQrcode({ width: 150, height: 150, x: 0, y: 0, can 阅读全文
posted @ 2022-07-26 17:37 小泽沐优声 阅读(1725) 评论(0) 推荐(0) 编辑
摘要: 启动/禁用 启动指令 `net start mysql` 禁用指令 `net stop mysql` 启动问题 输入启动/禁用指令后 找不到尝试以下指令 mysqld -romve mysqld -install 完成后重新执行启动指令就没问题了。 mysql 数据查询指令 select 查询的字段 阅读全文
posted @ 2022-05-11 16:46 小泽沐优声 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 公司盖章 <html> <head> <meta charset="utf-8"> </head> <style type="text/css" name="文字盖章"> .seal-content { width: 300px; min-height: 60px; vertical-align: 阅读全文
posted @ 2022-05-09 17:34 小泽沐优声 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 端口操作 查看某个端 netstat -and | grep 端口 过滤查看某个端口 netstat -tnlp | grep 端口 杀死某个端口 kill -6 ***** 要列出正在侦听的所有 TCP 或 UDP 端口,包括使用端口和套接字状态的服务 netstat -tunlp 使用 ss 检 阅读全文
posted @ 2022-04-29 22:34 小泽沐优声 阅读(40) 评论(0) 推荐(0) 编辑
摘要: Base64转Blob下载 Base64转成Blob Base64通过此方法转成Blob dataurl有前缀,前缀可参考最下面的表格 /** * @param {String} dataurl 传进来的要有文件格式 * @return {Blob} 返回Blob * */ function dat 阅读全文
posted @ 2022-04-19 16:32 小泽沐优声 阅读(223) 评论(4) 推荐(0) 编辑