electricity_bill_calc_wx/components/picker/index.wxml

19 lines
383 B
Plaintext

<!--components/picker/index.wxml-->
<van-popup
show="{{ show }}"
position="bottom"
bind:close="onClose"
>
<view style="width: 100vw;">
<van-picker
show-toolbar
title="{{title}}"
columns="{{ columns }}"
bind:change="onChange"
value-key="name"
bind:confirm="confirm"
bind:cancel="cancel"
/>
</view>
</van-popup>