上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 1、前提:已经有uni-app项目 2、小程序版 Vant Weapp文档地址:https://youzan.github.io/vant-weapp/#/home 3、在项目中创建一个文件夹叫 wxcomponents,注意这个文件和pages文件夹平级。 4、前往https://github.c 阅读全文
posted @ 2021-06-08 10:12 小阿飞ZJF 阅读(2265) 评论(1) 推荐(1) 编辑
摘要: 一、安装clipboard npm install clipboard --save 二、引入 1、全局引入 import Clipboard from 'clipboard'; Vue.prototype.Clipboard=Clipboard; 2、单页面引入 import Clipboard 阅读全文
posted @ 2021-06-04 17:53 小阿飞ZJF 阅读(310) 评论(0) 推荐(1) 编辑
摘要: 1、includes() 方法用来判断一个数组是否包含一个指定的值,如果是返回 true,否则false。 语法:arr.includes(searchElement, fromIndex) searchElement:必须。需要查找的元素值。 fromIndex:可选。从该索引处开始查找 sear 阅读全文
posted @ 2021-06-02 18:24 小阿飞ZJF 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 一、安装 npm install vue-video-player --save 1、全局引用, 在main.js里面导入并引用 import VideoPlayer from 'vue-video-player' import 'vue-video-player/src/custom-theme. 阅读全文
posted @ 2021-06-02 13:47 小阿飞ZJF 阅读(903) 评论(0) 推荐(0) 编辑
摘要: 视频常用属性及方法 <video id="video" src="vue-mobile/media/sh.mp4" controls poster="vue-mobile/media/video-bg.jpg" x5-playsinline="true" webkit-playsinline="tr 阅读全文
posted @ 2021-06-01 17:46 小阿飞ZJF 阅读(638) 评论(0) 推荐(0) 编辑
摘要: document.documentElement || document.body 是为了消除标准模式和怪异模式之间的差别而做的兼容 document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 docu 阅读全文
posted @ 2021-06-01 15:43 小阿飞ZJF 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: 一、总结 其中 export default、export、import 属于ES6产物,module.exports和require属于node.js产物。 require:node 和 es6 都支持的引入 (CommonJS规范) export / import:只有es6 支持的导出引入 m 阅读全文
posted @ 2021-06-01 13:19 小阿飞ZJF 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 可以在上面编写JavaScript或TypeScript代码,并且获得即时反馈。它的左边是代码区域,右边是输出结果的地方。目前支持主流的macOS、Windows、Debian和Universal Linux平台。 这样可以作为一个训练你写JavaScript代码的调试器,当你有一个想法要用JS代码 阅读全文
posted @ 2021-06-01 09:28 小阿飞ZJF 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 场景一: devServer: { proxy: { '/api': 'http://localhost:3000' } } 请求到 /api/xxx 现在会被代理到请求 http://localhost:3000/api/xxx, 例如 /api/user 现在会被代理到请求 http://loc 阅读全文
posted @ 2021-05-11 10:04 小阿飞ZJF 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 在input标签中加入 :<i slot="suffix" style="font-style:normal;margin-right: 10px;">℃</i> <el-form-item label="温度:" class="layout"> <el-input v-model="form.te 阅读全文
posted @ 2021-05-10 10:45 小阿飞ZJF 阅读(575) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页