摘要: wx.checkIsSupportFacialRecognition({success:res=>{ wx.startFacialRecognitionVerifyAndUploadVideo({success:res=>{ var verifyResult = res.verifyResult / 阅读全文
posted @ 2020-05-06 14:22 就想来看看 阅读(733) 评论(2) 推荐(0) 编辑
摘要: 1.代码尽量复用 2.调用高德地图,直辖市等,省字段一定有值,市可能为空(pro:'北京市',city:[]) 3.支付密码不用组件 <template> <view> <view style="color:#333;margin: 60rpx 0 0 50rpx">{{message}}</vie 阅读全文
posted @ 2020-04-29 16:34 就想来看看 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000017020710 阅读全文
posted @ 2020-04-20 10:08 就想来看看 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1.js用for循环生成一个ul列表,然后在列表上绑定一个事件的方式-事件委托,事件委托是什么原理,什么是事件冒泡 4个 2.一串字符串,怎么去判断某个字母存在且只存在一次,再来一种?indexOf用js怎么实现 3个 3.循环除了for循环还有几种 1个 4.小程序一个功能页面由哪几部分组成,底部 阅读全文
posted @ 2020-04-14 16:21 就想来看看 阅读(369) 评论(1) 推荐(0) 编辑
摘要: js this.children[1].className=""this.firstChild.className = ""this.lastChild.className = ""this.children[1].style.fontWeight="bold" jq $(this).sibling 阅读全文
posted @ 2020-04-09 17:19 就想来看看 阅读(652) 评论(1) 推荐(0) 编辑
摘要: 父组件拿子组件值,调用子组建方法。 父组件:<child ref="lueluelue"></child> <el-button @click="onclick">dianji</el-button> onclick(){ let child = this.$refs.lueluelue conso 阅读全文
posted @ 2020-04-08 15:34 就想来看看 阅读(195) 评论(3) 推荐(0) 编辑
摘要: 解决:把所要下载的文件放到static文件下,具体原因-静态文件放在static内,否则webpack会打包。 阅读全文
posted @ 2020-04-08 15:10 就想来看看 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: 1.外边距合并/border合并 若边框为1PX, 则给合并的div添加margin-right:-1px; margin-bottom:-1px; 表格边框合并:table{border-collapse:collapse;} 2.浅拷贝和深拷贝 最简单的深拷贝:aa = JSON.parse( 阅读全文
posted @ 2020-03-31 14:34 就想来看看 阅读(169) 评论(3) 推荐(0) 编辑
摘要: 1.JS判断当前浏览器是什么浏览器 console.log(navigator) const explorer = navigator.userAgent; var Browser; // IE 判断浏览器是否支持ActiveX控件,如果浏览器支持ActiveX控件可以利用, if (!!windo 阅读全文
posted @ 2020-03-26 15:05 就想来看看 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1.vue获取数据一般在哪个周期函数 created/beforeMount/mount 皆可,要操作DOM肯定mounted才可以 2.详细说明VUE生命周期的理解 8个阶段beforeCreate/created/beforeMount/mounted/beforeUpdate/Updated/ 阅读全文
posted @ 2020-03-25 13:41 就想来看看 阅读(176) 评论(1) 推荐(0) 编辑