小程序中像这个下拉框要怎么实现?picker组件要怎样才能实现这样的呢?
头像居然和我一样,直接给你代码:
<picker :range="pickerValueArray" range-key="label" @change="changeRoom">
<view class="picker">
{{pickerLabelDefault || '请选择'}}
</view>
</picker>