今天大暑,酷暑难耐,蚊虫叮咬,幽蓝君依然在出差地饱受煎熬,打工人难呐。 今天和大家分享一个比较常见的底部选项弹窗,效果图如下: 这个弹窗基于系统的弹窗组件CustomDialogController开发,在它的builder参数中我们可以传入一些自定义的样式,所以我自定义一个选项列表: @CustomDialog struct AlertSheet { controller?: CustomDialogController @Prop titles:string[] itemCl...
Markdown supported · ⌘↵ to post
No responses yet.