electricity_bill_calc_wx/components/select/index.wxml
2024-03-15 17:20:54 +08:00

20 lines
523 B
Plaintext

<!--components/select/index.wxml-->
<view class="content">
<van-field
value="{{ value }}"
placeholder="请输入用户名"
border="{{ false }}"
label="用户名"
custom-style="height:100rpx"
bind:change="onChange"
bind:input="onInput"
/>
<view class="modal" wx:if="{{visible}}">
<view class="options" >
<view wx:for="{{list}}" class="option" bind:tap="onChoose" data-data="{{item}}">{{item}}</view>
</view>
<view class="other" bind:tap="close"></view>
</view>
</view>