会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
挽你手
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
10
下一页
2025年4月17日
手机号脱敏处理
摘要: data(){ return{ nameList: ['12345678934', '12345678934', '12345678934', '12345678934', '12345678934'], } } cerated(){ this.nameList = this.desensitize
阅读全文
posted @ 2025-04-17 10:41 挽你手
阅读(38)
评论(0)
推荐(0)
2025年4月15日
判断两个数组,相同元素重新放入一个数组中
摘要: function updateArrayWithMatchingIds(A, B) { // 创建一个新数组来存储具有相同id的B数组中的元素 let matchingElements = []; // 遍历数组B for (let i = 0; i < B.length; i++) { // 检查
阅读全文
posted @ 2025-04-15 18:06 挽你手
阅读(29)
评论(0)
推荐(0)
2025年4月9日
Hbuilder打包app
摘要: 测试版 找一个项目放入hbuilder中。点击“发行”——>“App-Android/iOS-云打包" 也可查看打包指南:https://uniapp.dcloud.net.cn/tutorial/build/SafePack.html 如果点击“打包”有红色字体提示让下载Ba-TTS插件可在插件市
阅读全文
posted @ 2025-04-09 14:15 挽你手
阅读(46)
评论(0)
推荐(0)
2025年3月22日
判断域名值
摘要: // 获取当前URL var href = window.location.href // 创建URL对象 var urlObj = new URL(href) // 获取域名 var domain = urlObj.hostname const params = domain.substring(
阅读全文
posted @ 2025-03-22 14:13 挽你手
阅读(8)
评论(0)
推荐(0)
2025年3月5日
tabbar css样式半凹圆弧
摘要: .uni-tabbar__item{ background: radial-gradient(circle at 50% -10rpx, transparent 0, transparent 60rpx, #fff 70rpx, #fff); } tabbar半圆弧动态效果:https://www.
阅读全文
posted @ 2025-03-05 15:36 挽你手
阅读(76)
评论(0)
推荐(0)
2024年3月18日
js数组中数据相同合并数据
摘要: 方法一: function mergeSimilarItems(arr) { return arr.reduce((acc, current) => { const existingItemIndex = acc.findIndex(item => item.name current.name);
阅读全文
posted @ 2024-03-18 17:01 挽你手
阅读(1024)
评论(0)
推荐(0)
2024年2月29日
vue悬浮拖拽
摘要: <template> <div class="callback float" @click="onClick" @mousedown="down" @touchstart="down" @mousemove="move" @touchmove="move" @mouseup="end" @touch
阅读全文
posted @ 2024-02-29 14:32 挽你手
阅读(40)
评论(0)
推荐(0)
2024年1月11日
div滚动加载数据
摘要: <template> <div style="border:1px solid #ccc;max-height:280px;width:100%;overflow-y: auto;" v-if="recordList.length > 0" @scroll="onScroll"> <div v-fo
阅读全文
posted @ 2024-01-11 16:07 挽你手
阅读(25)
评论(0)
推荐(0)
2024年1月6日
base64转二进制
摘要: methods:{ dataURLtoFile(baseurl) { let arr = baseurl.split(","), mime = arr[0].match(/:(.*?);/)[1], bstr = atob(arr[1]), n = bstr.length, u8arr = new
阅读全文
posted @ 2024-01-06 17:49 挽你手
阅读(190)
评论(0)
推荐(0)
2023年9月22日
表格动态合并,序号连续
摘要: 效果: <el-table :data="tableData" style="width: 100%" v-loading="tableDataLoading" :header-cell-style="{ background: '#FAFAFA' }" :span-method="objectSp
阅读全文
posted @ 2023-09-22 11:52 挽你手
阅读(93)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告