上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 90 下一页
摘要: 1、不要出现多个滚动条:体验不好, 比如,父容器有滚动条,子元素某个元素也有滚动条,不知道滚动的是那个, 2、移动端开发最后不限制高度为100vh,会出现父容器有滚动条,子元素也有滚动条的问题 阅读全文
posted @ 2021-03-24 15:50 Running00 阅读(33) 评论(0) 推荐(0)
摘要: taro 开发单位问题; 按照设计稿的宽度设置单位px即可,设计稿(宽度750px输出)taro中可进行配置,自动计算vw; 1、View 2、Image 3、Swiper 4、生命周期: onlaunch componentDidShow 程序启动,或切换前台时触发 componentDidHid 阅读全文
posted @ 2021-03-24 15:35 Running00 阅读(217) 评论(0) 推荐(0)
摘要: 1、以750px像素的设计稿,按照设计稿的尺寸单位设置使用rpx; 阅读全文
posted @ 2021-03-24 14:31 Running00 阅读(11) 评论(0) 推荐(0)
摘要: 1、image:解释:图片,支持 JPG、PNG、GIF、BMP、WEBP 等格式。image 组件默认宽度 300px 、高度 225px 。 src:图片资源地址 mode:默认scaleToFill, 图片裁剪、缩放的模式 lazy-load:图片懒加载,在图片即将进入一定范围(距离当前屏 5 阅读全文
posted @ 2021-03-24 13:25 Running00 阅读(48) 评论(0) 推荐(0)
摘要: 地图调起API : http://lbsyun.baidu.com/index.php?title=uri/api/web 图区功能 地图标记点功能 :调用该接口可调起PC或web地图,且在指定坐标点上显示点的名称和内容信息。 http://api.map.baidu.com/marker?loca 阅读全文
posted @ 2021-03-24 11:00 Running00 阅读(140) 评论(0) 推荐(0)
摘要: 1)openShare 调起分享面板。 参数:都是非必填 (1)title:分享标题 (2)content:分享内容 (3)imageUrl:分享图片 (4)path:页面 path ,必须是以 / 开头的完整路径。如果 path 中的参数包含中文字符,需通过 encodeURIComponent 阅读全文
posted @ 2021-03-23 19:53 Running00 阅读(40) 评论(0) 推荐(0)
摘要: 1)轮播图: 小程序中有swiper,可以做轮播图 2)分享: 调起分享端能力:openShareapi 3) 调起地图查看位置: 使用宿主 App 内置地图查看位置openLocationapi h5可以的api:http://lbsyun.baidu.com/index.php?title=ur 阅读全文
posted @ 2021-03-23 19:22 Running00 阅读(74) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u010227042/article/details/102598203 https://blog.csdn.net/qq_36380426/article/details/95827027 阅读全文
posted @ 2021-03-22 13:18 Running00 阅读(11) 评论(0) 推荐(0)
摘要: https://github.com/ccforward/cc/issues/44 阅读全文
posted @ 2021-03-22 13:01 Running00 阅读(16) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/257069622 https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/?utm_source=html5weekly 阅读全文
posted @ 2021-03-22 11:52 Running00 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 90 下一页