
uni-app
star星辉
这个作者很懒,什么都没留下…
展开
-
uniapp在H5端实现复制功能,封装方法
uniapp在H5端不支持剪切板,这里通过clipboard实现 第一步:安装 npm iclipboard --save 第二步:封装复制函数 import Clipboard from 'clipboard' export function handleClipboard (text, event, onSuccess, onError) { event = event |...原创 2020-04-15 15:05:25 · 4836 阅读 · 3 评论 -
uniapp引入腾讯防水墙
目前只开发了H5端 第一步 在public/index.html的head中引入js文件 <script src="https://ssl.captcha.qq.com/TCaptcha.js"></script> 第二步 在需要验证的页面生命周期mounted中写以下方法 mounted() { let self = this this.captcha...原创 2020-03-30 14:18:39 · 1151 阅读 · 1 评论 -
uni-app使用腾讯地图的-地图选点组件
需求:在H5实现地图选点功能 使用:腾讯地图的开放地图选点组件 步骤: 1、官方文档有详细介绍https://lbs.qq.com/tool/component-picker.html 2、个人操作步骤: 申请你的key 官方地址:https://lbs.qq.com/guides/startup.html 在index.html 设置 <meta name="v...原创 2019-12-25 11:19:06 · 10414 阅读 · 11 评论