uniapp
「已注销」
几年前 我杀死了自己 现在我是一个逍遥法外的逃犯
展开
-
## 小程序安全底部
小程序安全底部 底部按钮 <view :class="['dontBnt', is_ios ? 'safespace' : '']" @click="dontCoupon()">不使用优惠券</view> 获取手机信息 getUserSystemInfo() { const _this = this; uni.getSystemInfo({ success: function(res) { if (res.system.indexOf('iOS') =原创 2021-08-28 16:29:51 · 198 阅读 · 0 评论 -
uniapp 前端富文本处理
uniapp 前端富文本处理 formatRichText(html) { //控制小程序中图片大小 let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) { console.log(match.search(/style=/gi)); if (match.search(/style=/gi) == -1) { match = match.replace(/\&l原创 2021-08-28 16:22:55 · 663 阅读 · 0 评论 -
uniapp 实现手写签名
uniapp 实现手写签名 <template> <view > <canvas class="mycanvas" canvas-id="mycanvas" @touchstart="touchstart" @touchmove="touchmove" @touchend="touchend"></canvas> <view class="footer"> <view class="left" @click="finish"原创 2021-08-28 16:21:16 · 836 阅读 · 0 评论