摘要: export const loadView = (view) => { return () => require(`@/views/${view}`) } 改为 export const loadView = (view) => { return (resolve) => require([`@/v 阅读全文
posted @ 2020-07-09 14:31 假装学习 阅读(1857) 评论(0) 推荐(0) 编辑
摘要: 页面截图,快照vue使用 第一步 npm install html2canvas 第二步 在使用的页面引入 import html2canvas from 'html2canvas'; 页面 截图内容外框 id nodeBox <template> <div class="app-container 阅读全文
posted @ 2020-07-09 14:22 假装学习 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 中文转拼音-友好提示:中文有同音字请留意 创建js文件,放入以下代码 var PinYin = { "a": "\u554a\u963f\u9515", "ai": "\u57c3\u6328\u54ce\u5509\u54c0\u7691\u764c\u853c\u77ee\u827e\u788d 阅读全文
posted @ 2020-07-01 15:38 假装学习 阅读(798) 评论(0) 推荐(0) 编辑
摘要: nui app有月份选择日历 <uni-calendar ref="calendar" :date="date" :topTabCur="topTabCur" :insert="false" :lunar="false" :disable-before="true" :showMonth="fals 阅读全文
posted @ 2020-06-30 17:18 假装学习 阅读(2018) 评论(0) 推荐(0) 编辑
摘要: this.wxInfo.redirect_uri = encodeURIComponent(window.location.href); var h = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + this.wxInf 阅读全文
posted @ 2020-06-30 16:56 假装学习 阅读(2165) 评论(0) 推荐(0) 编辑
摘要: uni app +vue 引用 百度地图API取位置,VUE用百度地图获取当前位置(城市) 1.在index.html 引入 百度js <script src="http://api.map.baidu.com/api?v=2.0&ak=你的密钥" type="text/javascript"></ 阅读全文
posted @ 2020-06-17 09:55 假装学习 阅读(8808) 评论(0) 推荐(0) 编辑
摘要: 富文本编辑器(ckeditor)中配置能上传视频和音频,视频上传都采用的是flash+flvplayer.swf返回swf地址及视频上传地址来实现功能 flash一直有问题,换个方式 html5video,htmlvideo(视频)是由html5audio(音频插件)转换而来 ckeditor 是可 阅读全文
posted @ 2020-04-17 17:05 假装学习 阅读(651) 评论(0) 推荐(0) 编辑
摘要: Telerik Fiddler 是一款专业的网络抓包工具,它可以帮助用户轻松进行网络抓包工作,软件支持记录并可以检测电脑与互联网之间的http通讯,它比其他的网络调试器要更加简单 特点:可以进行http协议的调试任务,可以支持大部分的http协议的调试,是http协议调试的极佳工具,同时具有非常好的 阅读全文
posted @ 2020-04-08 11:18 假装学习 阅读(3973) 评论(0) 推荐(0) 编辑
摘要: 注意: 1. 此处的标准时间格式为 2018-03-23 13:35:47 2. 此处的毫秒为 js中getTime(); 3. 时间戳是指格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总 秒 数 4. getTime() 返回 1 阅读全文
posted @ 2020-04-03 10:00 假装学习 阅读(12323) 评论(0) 推荐(2) 编辑
摘要: vuedraggable 拖拽 应用 不同列表之间的拖拽 npm install vuedraggablemain.js 文件 import VueDraggable from 'vuedraggable'; Vue.use(VueDraggable); <template> <div> <el-r 阅读全文
posted @ 2020-03-17 14:12 假装学习 阅读(2069) 评论(0) 推荐(0) 编辑