上一页 1 2 3 4 5 6 7 8 ··· 29 下一页
摘要: ##直接贴代码 ``` /** * 截取视频画面 * @param {*} url 视频播放链接 * @param {*} width 画面的截取宽度 * @param {*} height 图片的截取高度 */ export function cutVideoCover(url, width = 阅读全文
posted @ 2023-08-09 13:15 huihuihero 阅读(479) 评论(0) 推荐(0)
摘要: ##1、在项目根目录中加入此文件 https://files.cnblogs.com/files/huihuihero/.prettierrc.js ![](https://img2023.cnblogs.com/blog/1669868/202308/1669868-202308071907030 阅读全文
posted @ 2023-08-07 19:15 huihuihero 阅读(225) 评论(0) 推荐(0)
摘要: 转自: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)
摘要: https://blog.51cto.com/u_15417308/4513895 阅读全文
posted @ 2023-07-24 17:19 huihuihero 阅读(15) 评论(0) 推荐(0)
摘要: ###直播协议HLS和RTMP 直播技术一般有两种协议方式,分别是HLS和RTMP,两种协议分别的解释: HLS ,是苹果公司实现的基于 HTTP 的流媒体传输协议,全称 HTTP Live Streaming,可支持流媒体的直播和点播,主要应用在 iOS 系统,为 iOS 设备(如 iPhone、 阅读全文
posted @ 2023-07-24 16:13 huihuihero 阅读(1096) 评论(0) 推荐(0)
摘要: ####如何实现横向滚动(兼容safari,微信,浏览器) ``` 实现横向滚动需要以下几点: 1、父级盒子要overflow-y:hidden;overflow-x:auto来防止页面宽度溢出,以及实现左右滚动效果 2、::-webkit-scrollbar { display: none;}隐藏 阅读全文
posted @ 2023-07-19 13:34 huihuihero 阅读(1000) 评论(0) 推荐(0)
摘要: 直接贴代码 <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)
摘要: ###官方文档 https://docxtemplater.com/ ###博客 https://juejin.cn/post/7088221762965471269 阅读全文
posted @ 2023-05-05 15:34 huihuihero 阅读(195) 评论(0) 推荐(0)
摘要: 在项目根目录下创建 jsconfig.js 并配置以下代码 { "compilerOptions": { "baseUrl": "./", "paths": { "@/*": ["src/*"] } }, "exclude": ["node_modules", "dist"], "include": 阅读全文
posted @ 2023-04-21 09:56 huihuihero 阅读(355) 评论(0) 推荐(0)
摘要: 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 下一页