上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 44 下一页
摘要: 子组件的写法 父组件的写法 阅读全文
posted @ 2020-03-26 15:07 龙卷风吹毁停车场 阅读(205) 评论(0) 推荐(0)
摘要: 父组件的写法 子组件怎么接收了,如下 阅读全文
posted @ 2020-03-26 15:01 龙卷风吹毁停车场 阅读(336) 评论(0) 推荐(0)
摘要: 使用组件之前我们先创建组件,在src文件下随便新建一个xxxxx .js的文件 然后再index.js里面引入该组件 阅读全文
posted @ 2020-03-26 14:52 龙卷风吹毁停车场 阅读(148) 评论(0) 推荐(0)
摘要: 第一步:全局安装create-react-app cnpm i -g create-react-app 第二步:创建项目 create-react-app my_react my_react是项目名字 第三步:启动项目 cd my_react cnpm start 使用准备 删除src文件下的所有文 阅读全文
posted @ 2020-03-26 14:21 龙卷风吹毁停车场 阅读(192) 评论(0) 推荐(0)
摘要: 本以为使用getUserMedia调取摄像头之后,它自己会打开摄像头的拍照权限,但是结果令人失望,在查询了各种资料后发现h5+app开发文档有一个调取摄像头扫码的api(官方链接:https://www.html5plus.org/doc/zh_cn/barcode.html#plus.barcod 阅读全文
posted @ 2020-03-19 16:40 龙卷风吹毁停车场 阅读(3913) 评论(0) 推荐(0)
摘要: 原文地址:https://blog.csdn.net/yxh1157686920/article/details/90240332// 扩展API加载完毕后调用onPlusReady回调函数 document.addEventListener("plusready", onPlusReady, fa 阅读全文
posted @ 2020-03-19 14:03 龙卷风吹毁停车场 阅读(527) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-16 22:49 龙卷风吹毁停车场 阅读(617) 评论(0) 推荐(0)
摘要: 亲测有用 <template> <div id="app"> <video id="video" autoplay></video> <canvas id='canvas' width='500' height='500' style="border:1px solid #ccc"></canvas 阅读全文
posted @ 2020-03-09 09:30 龙卷风吹毁停车场 阅读(972) 评论(0) 推荐(0)
摘要: 先来看度过动画,和效果吧 注意:在页面中慎用:position:absolute; 会导致无法返回到上次浏览位置 使用:include需要设置name属性 在需要缓存的页面添加如下代码,还有上面的name属性 scrollY 在data里面定义 scrollY:0,这点我就偷个懒 activated 阅读全文
posted @ 2020-03-09 09:22 龙卷风吹毁停车场 阅读(919) 评论(0) 推荐(0)
摘要: 图片效果 红色部门效果是向下滑出,和向上滑入 html部分 <div class="viewhistory-buttom animate_active" :style="editBtnShow==1?'bottom:0;':''"> //editBtnShow默认不能为1(就是不显示),为1就滑出来 阅读全文
posted @ 2020-03-06 17:46 龙卷风吹毁停车场 阅读(3652) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 44 下一页