07 2020 档案

摘要:const elequery = wx.createSelectorQuery().in(this);elequery.selectAll('.goods-info').boundingClientRect((res)=>{ console.log(res)}).exec(); goods-info 阅读全文
posted @ 2020-07-30 15:27 一只螺 阅读(760) 评论(0) 推荐(0) 编辑
摘要:div::after{ content: "";display: block;position: absolute;top: 50%;right: 50rpx;margin-top: -8rpx;width: 14rpx;height: 14rpx;border-width: 2rpx 2rpx 0 阅读全文
posted @ 2020-07-16 18:15 一只螺 阅读(307) 评论(0) 推荐(0) 编辑
摘要:父组件 var info = { message: "Hello Son!" }; //现有模板的数值 let templatelistvalue //发送跨域信息 function sendInfo(){ var sonIframe= document.getElementById("ifra2" 阅读全文
posted @ 2020-07-08 15:25 一只螺 阅读(1461) 评论(1) 推荐(1) 编辑
摘要:1、方法一 /** * 设置粘贴板数据 * @param {String} text 要设置的字符串 * 如果未设置参数,则清空数据 */ function setClipboardText(text){ try{ var os = plus.os.name; text = text||''; if 阅读全文
posted @ 2020-07-06 14:06 一只螺 阅读(11046) 评论(0) 推荐(0) 编辑
摘要:使用 页面生命周期 onReachBottom ,滚动条滚动到底部的时候就会触发 , 还可以设置 滚动条跟 底部 之间 触发函数的距离 详情:https://uniapp.dcloud.io/collocation/frame/lifecycle?id=%e9%a1%b5%e9%9d%a2%e7%9 阅读全文
posted @ 2020-07-01 17:59 一只螺 阅读(2964) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示