fc345108e7
pages/order/edit/index2 增加选择车牌组件
33 lines
2.2 KiB
Plaintext
33 lines
2.2 KiB
Plaintext
<!-- components/brandSelect/index.wxml -->
|
|
<view class="brand-wrapper">
|
|
<page-container show="{{show_page}}" round="{{round}}" overlay="{{overlay}}" duration="{{duration}}" position="{{position}}" z-index="1000" close-on-slide-down="{{false}}" bindbeforeenter="onBeforeEnter" bindenter="onEnter" bindafterenter="onAfterEnter" bindbeforeleave="onBeforeLeave" bindleave="onLeave" bindafterleave="onAfterLeave" bindclickoverlay="onClickOverlay" custom-style="{{customStyle}}" overlay-style="{{overlayStyle}}">
|
|
<view class="detail-page fn-flex" style="flex-direction:column;">
|
|
<view class="inner30">
|
|
<view class="ulib-r20 bds-2-eb text-center pt15 pb15">
|
|
<input placeholder="请输入品牌名" value="{{keyword}}" bindinput="bindInputKeyword"/>
|
|
</view>
|
|
</view>
|
|
<view class="list fn-flex-item relative">
|
|
<view wx:if="{{list.length>0}}" class="absolute wp100 left-0 top-0 bottom-0 mb20">
|
|
<scroll-view style="height:100%;" scroll-y="{{true}}">
|
|
<block wx:for="{{list}}" wx:key="index">
|
|
<view bindtap="bindSelectIndex" data-index="{{index}}" class="ml30 mr30">
|
|
<view class="font-32 fn-flex fn-flex-middle fn-flex-between pt30 pb30 bbs-1-eb">
|
|
<view style="transition: .2s all ease;" class="ml10 {{cur==index?'text-bold':''}}">{{item.name}}</view>
|
|
<text style="transition: .2s all ease;" class="iconfont font-36 {{cur==index?'icon-danxuan_xuanzhong color-444':'icon-danxuan color-ccc'}}"></text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</scroll-view>
|
|
</view>
|
|
<!-- <view class="color-fff">请输入品牌名</view> -->
|
|
<listmore wx:else isMiddle="{{true}}" noDataMsg="请输入品牌名" isNoData="{{true}}"></listmore>
|
|
</view>
|
|
<view class="pb40 pl80 pr80 fn-flex">
|
|
<button class="btn btn-36afa2 color-fff fn-flex-item" style="transition: .2s all ease;" hover-class="btn-36afa2-hover" bindtap="exit" disabled="{{!(cur>-1)}}">我选好了</button>
|
|
<button class="btn btn-f0 color-ccc ml30" style="transition: .2s all ease;" hover-class="btn-f0-hover" bindtap="cancel">取消</button>
|
|
</view>
|
|
|
|
</view>
|
|
</page-container>
|
|
</view> |