![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
Grance2016
女程序员一枚。
展开
-
微信小程序屏幕适配小屏幕和ipad大屏全攻略
i我们在开发小程序的时候时常会遇到界面适配的问题,如果统一使用rpx布局会造成在ipad等大屏幕上字体过大,导致视觉效果不佳等问题,如果统一使用px又会使iphone5等小屏幕上字体和距离过大,布局无法适配等问题。那么我们怎么找到更优的解决方案呢?原创 2021-03-19 11:13:09 · 8348 阅读 · 0 评论 -
微信小程序scroll-view左侧导航栏点餐功能实现,点击种类,滚动到锚点;滚动到锚点,种类选中
1.wxml代码:<view class="page"> <import src="../../components/catering-item/catering-item.wxml" /><!-- 左侧滚动栏 --><view class='under_line'></view><view class="body"><view style='float: left' class='left'> ...原创 2020-06-09 15:21:19 · 3104 阅读 · 12 评论