03 2022 档案

摘要:<script> let URL = "http://www.baidu.com?name=elephant&age=25&sex=male&num=100" function queryURLParams(URL) { // const url = location.search; // 项目中可 阅读全文
posted @ 2022-03-21 11:45 JaneLifeVlog 阅读(112) 评论(0) 推荐(0)
摘要:input_blur(event) { //获取唯一值 var _type = event.currentTarget.dataset.type; this.setData({ ['form.' + _type]: event.detail }) }, 阅读全文
posted @ 2022-03-10 13:38 JaneLifeVlog 阅读(132) 评论(0) 推荐(0)
摘要:1、在scroll-view标签中写(和滚动在一个标签中) :scroll-top="scrollTop 2、在data中写 scrollTop : 0 3、在相对应的点击跳转的方法内写 this.scrollTop = Math.random() 阅读全文
posted @ 2022-03-09 13:47 JaneLifeVlog 阅读(51) 评论(0) 推荐(0)