修改Vant Weapp中popup的样式

使用custom-style可更改样式,如:上边框更改为圆角

 <van-popup show="{{ show }}"
               position="bottom"
               custom-style="border-top-left-radius: 5px;border-top-right-radius: 5px;"
               bind:close="onClose">
发布了32 篇原创文章 · 获赞 11 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/jinxi1112/article/details/103295348