小程序中修改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">
</van-popup>

 

posted @ 2022-09-20 10:44  smil、梵音  阅读(746)  评论(0编辑  收藏  举报