foreword
The tutorials on the Internet are too messy, with various incompatibilities and too many bugs, and the comments are not difficult to modify.
This article implements a pop-up multi-choice selector that is fully compatible with uniapp, and pops up list items from the bottom for multiple selections (can echo the selected and various theme colors and style configurations).
You can directly copy the code, change the style slightly and it will work.
As shown in the figure below, the data list (supporting interface dynamic acquisition) is nested in the pop-up box, which can perform multiple selection and echo data.
示例代码干净整洁,无任何乱七八糟的样式