20 lines
523 B
Plaintext
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>
|
|
|