会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shuihanxiao
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
18
下一页
2025年10月1日
词云组件
摘要: 效果图: 组件代码: <template> <div class="post"> <div class="portal-title flex-h justify-between"> <div class="flex-h"> <img class="icon" :src="iconSrc" alt="
阅读全文
posted @ 2025-10-01 13:57 shuihanxiao
阅读(6)
评论(0)
推荐(0)
2025年5月13日
批量下载功能,下载压缩包
摘要: 注意: 先安装 npm 安装 jszip file-saver /** * 下载并压缩文件到 ZIP 文件中 * @param urls 要下载的文件的 URL 数组 * @param rootFolderName ZIP 文件中的根文件夹名称 * @param zipFileName 生成的 ZI
阅读全文
posted @ 2025-05-13 09:42 shuihanxiao
阅读(19)
评论(0)
推荐(0)
2024年10月28日
Vue项目在安装依赖时报错:“this[kHandle] = new _Hash(algorithm, xofLen);“
摘要: 问题:Vue项目在安装依赖时报错:"this[kHandle] = new _Hash(algorithm, xofLen);" 原因:这个错误通常是由于Node.js版本更新导致的。新版本的Node.js包含了OpenSSL 3.0,它对加密算法和密钥大小有更严格的限制,可能会影响一些旧项目。 解
阅读全文
posted @ 2024-10-28 16:02 shuihanxiao
阅读(708)
评论(0)
推荐(0)
2024年9月19日
小程序canvas画图,图片和文字合并成一张图片
摘要: async onLoad(ops) { this.makeResImg(); } /** * CANVAS画布生成图片 */ makeResImg() { wx.showLoading({ title: "生成中", mask: true }); this.setCanvasCtx(()=>{ th
阅读全文
posted @ 2024-09-19 10:23 shuihanxiao
阅读(217)
评论(0)
推荐(0)
2024年7月12日
uniapp自定义卡片轮播图
摘要: 1,组件封装 <template> <view> <!-- 自定义卡片轮播 --> <swiper class="swiperBox" :previous-margin="swiper.margin" :next-margin='swiper.margin' :circular="true" @ch
阅读全文
posted @ 2024-07-12 13:55 shuihanxiao
阅读(489)
评论(0)
推荐(0)
2024年6月26日
微信小程序内嵌H5,发布后无法打开页面
摘要: 微信小程序内嵌H5,发布后无法打开页面 解决方法 一、在微信公众平台,登录微信小程序的帐号。 二、配置业务域名 进入【开发-开发管理-开发设置-业务域名】中,开始配置业务域名(配置业务域名需小程序管理员扫码验证) 填写需要跳转的域名,然后点击下载校验文件,并将其放置在需要跳转的域名的根目录下。 注意
阅读全文
posted @ 2024-06-26 10:15 shuihanxiao
阅读(1721)
评论(0)
推荐(0)
2024年5月27日
小程序自定义swiper的指示点样式及颜色
摘要: 1图居中、圆边角、指示点颜色更改、指示点样式更改 下图是样式不好看的组件 要修改成这样:: wxml: <swiper class="bd" indicator-dots="{{true}}" indicator-active-color="#ff8f00" autoplay="{{true}}"
阅读全文
posted @ 2024-05-27 15:26 shuihanxiao
阅读(1212)
评论(0)
推荐(0)
微信小程序—轮播图+背景变化
摘要: <view class="tab-list-movie" style="background:{{bgColor[swiperIndex]}}"> <swiper class="movie-swiper" autoplay interval="3000" circular indicator-dot
阅读全文
posted @ 2024-05-27 14:43 shuihanxiao
阅读(160)
评论(0)
推荐(0)
2024年4月26日
微信小程序 生成跳转体验版url,可直接跳转到体验版小程序(可通过此方法测试模板消息)
摘要: https://open.weixin.qq.com/sns/getexpappinfo?appid=这里填写你的appId&path=需要跳转的小程序地址 注意:需要跳转的小程序地址,需要在 地址最后 参数前 增加.html 例如我需要跳转体验版的小程序地址为 pages/home/index?n
阅读全文
posted @ 2024-04-26 10:54 shuihanxiao
阅读(756)
评论(0)
推荐(0)
2024年4月18日
el-input 限制number类型,输入中文,光标不垂直居中问题
摘要: ::v-deep .el-input { input[type="number"] { padding-right: 0px; -moz-appearance: textfield; -webkit-appearance: textfield; // 解决el-input设置类型为number时,中
阅读全文
posted @ 2024-04-18 10:23 shuihanxiao
阅读(263)
评论(0)
推荐(0)
1
2
3
4
5
···
18
下一页
公告