123456789101112131415161718192021222324252627282930313233343536 |
- <!-- <view> -->
- <view class="storeContent">
- <view class="storeSearch">
- <image src="../../static/images/icon/search@2x.png"></image>
- <input type="text" bindinput="inputChange" placeholder="请输入城市名称" placeholder-class="placeholderStyle" />
- </view>
- <view class="searchBtn" bindtap="search">搜索</view>
- </view>
- <view style="height: 90rpx;"></view>
- <view class="scrollBox" wx:if="{{searchCityList.length==0}}">
- <scroll-view class="jump_list" bindscroll="onPageScroll" scroll-into-view="{{toView}}" scroll-y="true"
- scroll-with-animation="true">
- <view class='city_box'>
- <view wx:for="{{citys}}" wx:key="{{item}}" id="item{{index}}">
- <view class="cityTitle">{{item.title}}</view>
- <view data-city="{{item}}" bindtap="changeCity" wx:for="{{item.lists}}" class="cityItem">
- {{item}}
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="btn_jump">
- <view class="btn_item {{apl_index ==index ?'active':''}}" wx:for="{{citys}}" data-index="{{index}}" bindtap='jumpTo'
- data-opt="item{{index}}">{{item.title}}</view>
- </view>
- </view>
- <view wx:else>
- <view wx:for="{{searchCityList}}" data-city="{{item}}" bindtap="changeCity" class="cityItem">
- {{item}}
- </view>
- </view>
- <!-- </view> -->
|