摘要:
JS: changeScrollindex(e) { let num = +e.currentTarget.dataset.num this.setData({ scrollindex: num }) }, HTML:<view capture-catch:tap="changeScrollinde 阅读全文
posted @ 2022-03-08 16:16
Magi黄元
阅读(136)
评论(0)
推荐(0)
摘要:
使用device-aspect-ratio,宽高比最方便 /* iPhone6/7/8 */ @media (device-aspect-ratio: 375/667) { /* 自定义提示点 */ .radius { display: flex; } } /* iPhone6/7/8 Plus*/ 阅读全文
posted @ 2022-03-08 16:14
Magi黄元
阅读(177)
评论(0)
推荐(0)

浙公网安备 33010602011771号