会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
想吃水煮麻辣鱼
博客园
首页
新随笔
联系
订阅
管理
2024年12月24日
vue 登录时的验证码的封装
摘要: <template> <div class="s-canvas"> <canvas id="s-canvas" :width="contentWidth" :height="contentHeight" :style={height:codeheight}></canvas> </div> </te
阅读全文
posted @ 2024-12-24 15:35 想吃水煮麻辣鱼
阅读(17)
评论(0)
推荐(0)
2024年11月21日
vue.config.js 部分配置
摘要:
阅读全文
posted @ 2024-11-21 11:21 想吃水煮麻辣鱼
阅读(8)
评论(0)
推荐(0)
2024年10月14日
uniapp小程序使用文字转语音播报类似支付宝收款播报小程序语音识别和朗读
摘要: 第一步:登陆微信公众平台,侧边栏的设置 第三方设置 插件管理 添加插件(搜索–同声传译) 第二步:打开 hbiuider-x,找到当前项目,打开manifest.json,找到源码视图,配置插件 代码块: // provider是你查看详情以后的appId "plugins": { "WechatS
阅读全文
posted @ 2024-10-14 10:01 想吃水煮麻辣鱼
阅读(1276)
评论(0)
推荐(0)
2024年3月20日
grid
摘要: https://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html
阅读全文
posted @ 2024-03-20 11:34 想吃水煮麻辣鱼
阅读(16)
评论(0)
推荐(0)
2024年1月25日
通过id找父节点、通过某个节点获取完整路径
摘要: 1、通过某个节点的id,找出其所有的父节点 /** * 1、根据节点id,获取其所有父节点 * @param {*} list 完整的树结构数组 * @param {*} id 当前点击的id * @param {*} name 需要对比的id 的属性节点 * @param {*} child 子节
阅读全文
posted @ 2024-01-25 18:13 想吃水煮麻辣鱼
阅读(200)
评论(0)
推荐(0)
2023年4月24日
vue-下载本地项目中的文件
摘要: vue-下载本地项目中的文件 文件放在public下 新建了一个文件夹statics import axios from 'axios' downs(name) { axios.get('statics/' + name, { //静态资源文件夹public responseType: 'blob'
阅读全文
posted @ 2023-04-24 14:22 想吃水煮麻辣鱼
阅读(790)
评论(0)
推荐(0)
2023年2月13日
盒子左上角三角形 css
摘要: <div class="pcode"><span class="picon"></span><span class="pimg">5.5折</span></div> .pcode { position:relative; width: 100%; background-color: #ccc; he
阅读全文
posted @ 2023-02-13 10:21 想吃水煮麻辣鱼
阅读(111)
评论(0)
推荐(0)
2023年2月9日
vue 基于vue-seamless-scroll无缝滚动
摘要: npm install vue-seamless-scroll --save 全代码 <!-- 文件描述:无缝滚动组件 --> <template> <div class="" style="padding: 50px;"> <div class="page-example3" style="">
阅读全文
posted @ 2023-02-09 15:01 想吃水煮麻辣鱼
阅读(314)
评论(0)
推荐(0)
2022年12月1日
新技能
摘要: 让页面直接变黑白。 .div{ -webkit-filter: grayscale(100%); } 细数那些惊艳一时的 CSS 属性 https://mp.weixin.qq.com/s/HMLO6q99puII8fdgVqIaKw 各种互相拖拽 https://sortablejs.github
阅读全文
posted @ 2022-12-01 10:54 想吃水煮麻辣鱼
阅读(29)
评论(0)
推荐(0)
2022年10月27日
打印的js
摘要: // 打印类属性、方法定义 /* eslint-disable */ const Print = function(dom, options) { if (!(this instanceof Print)) return new Print(dom, options); this.options =
阅读全文
posted @ 2022-10-27 11:17 想吃水煮麻辣鱼
阅读(22)
评论(0)
推荐(0)
下一页
公告