会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Wayhome😲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2021年7月14日
微信小程序点击保存到手机相册
摘要: clickCanvas() { console.log("点击按钮保存"); let rpx = this.rpx; let that = this; // let width = 357 * rpx; // let height = 579 * rpx; let width = that.canv
阅读全文
posted @ 2021-07-14 14:22 Wayhome'
阅读(408)
评论(0)
推荐(0)
2021年7月12日
CComb使用
摘要: cssComb自动化格式 "csscomb.preset": { "exclude": [ ".git/**", "node_modules/**", "bower_components/**" ], "always-semicolon": true, // 在每个样式后面加“;” "block-i
阅读全文
posted @ 2021-07-12 14:17 Wayhome'
阅读(123)
评论(0)
推荐(0)
2021年7月10日
小程序获取参数的多种方式
摘要: 小程序获取参数 let obj = wx.getLaunchOptionsSync(); //获取参数 console.log("我是mounted", obj); let arr = getCurrentPages(); //获取页面栈 console.log("页面栈", arr); onLoa
阅读全文
posted @ 2021-07-10 15:37 Wayhome'
阅读(1931)
评论(0)
推荐(0)
2021年7月9日
(v-for绑定了重复key)vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: '116817'. This may cause an update error.
摘要: vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: '116817'. This may cause an update error. found in > at src/pages/sort/childComps/ScrollGo
阅读全文
posted @ 2021-07-09 20:04 Wayhome'
阅读(873)
评论(0)
推荐(0)
小程序自定义头部
摘要: <template> <!-- 自定义顶部导航条 --> <view class="CustomTopNav"> <view class="CustomContent" :style="{ height: navBarHeight + 'px',backgroundColor:backgroundC
阅读全文
posted @ 2021-07-09 11:40 Wayhome'
阅读(210)
评论(0)
推荐(0)
2021年7月7日
微信小程序 rich-text 修改node内部样式
摘要: <template> <!-- 商品描述 --> <view class='ProductDesc'> <view class="title">— 商品详情 —</view> <!-- 商品图片 开始 --> <view class="goodsImg"> <!-- <image class="im
阅读全文
posted @ 2021-07-07 10:30 Wayhome'
阅读(1836)
评论(0)
推荐(0)
2021年7月6日
微信小程序bug
摘要: 一、小程序分享到好友,需要带上path 微信小程序分享给好友 //分享微信小程序给好友 onShareAppMessage(res) { if (res.from "button") { // 来自页面内转发按钮 this.isShare = false; } return { title: thi
阅读全文
posted @ 2021-07-06 20:07 Wayhome'
阅读(139)
评论(0)
推荐(0)
2021年7月1日
微信小程序 swiper自定义滑动点
摘要: https://blog.csdn.net/weixin_42063951/article/details/111059699
阅读全文
posted @ 2021-07-01 14:45 Wayhome'
阅读(200)
评论(0)
推荐(0)
2021年6月28日
加密手机号
摘要: encryptPhone(phone) { return phone.replace(/^(\d{3})(\d{4})(\d{4})$/g, "$1****$3"); } ``
阅读全文
posted @ 2021-06-28 16:41 Wayhome'
阅读(305)
评论(0)
推荐(0)
微信小程序 rich-text 富文本 图片宽度
摘要: formatRichText(html) { let newContent = html.replace(/<img[^>]*>/gi, function( match, capture ) { match = match .replace(/style="[^"]+"/gi, "") .repla
阅读全文
posted @ 2021-06-28 13:55 Wayhome'
阅读(181)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
公告
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css