<view class="select-top-control"> <input type="text" placeholder="Please select" bindinput="onChange"/> </view> <!-- <nz-option *ngFor="let item of options" [nzLabel]="item" [nzValue]="item"></nz-option> --> <view class='select-options' style='height:{{show?(options.length>5?325:options.length*50):0}}rpx;'> <text class='select-option' wx:for='{{options}}' wx:key='this' data-index='{{index}}' catchtap='optionTap'>{{item}}</text> </view> <!-- <nz-select [nzMaxTagCount]="3" [nzMaxTagPlaceholder]="tagPlaceHolder" nzMode="multiple" nzPlaceHolder="Please select" [(ngModel)]="listOfSelectedValue" > <nz-option *ngFor="let item of listOfOption" [nzLabel]="item" [nzValue]="item"></nz-option> </nz-select> <ng-template #tagPlaceHolder let-selectedList>and {{ selectedList.length }} more selected</ng-template> --> <!-- <view class='select_box'> <view class='select' catchtap='selectTap'> <text class='select_text'>{{selectData[index]}}</text> <!-- <image class='select_img {{show&&"select_img_rotate"}}' src='../../images/b2.png' background-size="contain"></image> </view>{{show}} <view class='option_box' style='height:{{show?(selectData.length>5?325:selectData.length*50):0}}rpx;'> <text class='option' wx:for='{{selectData}}' wx:key='this' data-index='{{index}}' catchtap='optionTap'>{{item}}</text> </view> </view> -->