会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huihuihero
From zero to hero
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
29
下一页
2023年8月9日
js canvas截取视频画面首帧
摘要: ##直接贴代码 ``` /** * 截取视频画面 * @param {*} url 视频播放链接 * @param {*} width 画面的截取宽度 * @param {*} height 图片的截取高度 */ export function cutVideoCover(url, width =
阅读全文
posted @ 2023-08-09 13:15 huihuihero
阅读(479)
评论(0)
推荐(0)
2023年8月7日
vscode项目开发中如何统一代码风格
摘要: ##1、在项目根目录中加入此文件 https://files.cnblogs.com/files/huihuihero/.prettierrc.js 
评论(0)
推荐(0)
2023年7月25日
css实现文末展开收起功能
摘要: 转自:https://blog.csdn.net/qq_32429257/article/details/122339194 注:也可以用vant的组件 TextEllipsis 文本省略 https://vant-contrib.gitee.io/vant/#/zh-CN/text-ellipsi
阅读全文
posted @ 2023-07-25 10:57 huihuihero
阅读(145)
评论(0)
推荐(0)
2023年7月24日
前端干货
摘要: https://blog.51cto.com/u_15417308/4513895
阅读全文
posted @ 2023-07-24 17:19 huihuihero
阅读(15)
评论(0)
推荐(0)
hls和flv兼容性及使用
摘要: ###直播协议HLS和RTMP 直播技术一般有两种协议方式,分别是HLS和RTMP,两种协议分别的解释: HLS ,是苹果公司实现的基于 HTTP 的流媒体传输协议,全称 HTTP Live Streaming,可支持流媒体的直播和点播,主要应用在 iOS 系统,为 iOS 设备(如 iPhone、
阅读全文
posted @ 2023-07-24 16:13 huihuihero
阅读(1096)
评论(0)
推荐(0)
2023年7月19日
移动端实现横向滚动(隐藏横向滚动条)
摘要: ####如何实现横向滚动(兼容safari,微信,浏览器) ``` 实现横向滚动需要以下几点: 1、父级盒子要overflow-y:hidden;overflow-x:auto来防止页面宽度溢出,以及实现左右滚动效果 2、::-webkit-scrollbar { display: none;}隐藏
阅读全文
posted @ 2023-07-19 13:34 huihuihero
阅读(1000)
评论(0)
推荐(0)
2023年6月28日
vue 扫码枪获取条形码逻辑
摘要: 直接贴代码 <template> <div class="demo-container"> <el-input onkeyup="value=value.replace(/\D|/g,'')" v-model="codeValue" ref="codeInputElem" placeholder="
阅读全文
posted @ 2023-06-28 18:00 huihuihero
阅读(1052)
评论(0)
推荐(0)
2023年5月5日
vue + docxtemplater实现将数据导出为word文档
摘要: ###官方文档 https://docxtemplater.com/ ###博客 https://juejin.cn/post/7088221762965471269
阅读全文
posted @ 2023-05-05 15:34 huihuihero
阅读(195)
评论(0)
推荐(0)
2023年4月21日
配置 vscode 能识别@开头的文件路径
摘要: 在项目根目录下创建 jsconfig.js 并配置以下代码 { "compilerOptions": { "baseUrl": "./", "paths": { "@/*": ["src/*"] } }, "exclude": ["node_modules", "dist"], "include":
阅读全文
posted @ 2023-04-21 09:56 huihuihero
阅读(355)
评论(0)
推荐(0)
2023年4月20日
测试环境chrome控制台关于source map的一系列警告解决
摘要: DevTools failed to load source map: Could not load content for webpack:///node_modules/element-plus/es/index.mjs.map: Fetch through target failed: Uns
阅读全文
posted @ 2023-04-20 10:22 huihuihero
阅读(662)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
29
下一页
公告