AI助手支持GPT4.0
scroll-view里图片右边显示不全有白边?Is there a white border on the right side of the picture in the scroll-view?
scroll-view里图片右边显示不全有白边?
如图所示,给图片设置100vw还是这样子,好奇怪;手机上扫码也是这样。。。
有大神知道咋回事吗?
<scroll-view scroll-y bindscroll="handleScroll" style="height: 100vh;"> <image src="/uploads/cj/article/2021/12/03/c6286cf0206a150a2c497adc98aab925.jpg" style="width: 100vw; height: 48vw; border-radius: 0 0 36rpx 36rpx;" /> </scroll-view>
As shown in the figure, it's strange to set 100vw for the picture; The same is true for scanning codes on mobile phones... Does any god know what's going on< scroll-view scroll-y bindscroll="handleScroll" style="height: 100vh;">
图片加display:block;试试