You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
4.0 KiB
1 lines
4.0 KiB
<view class="select-page data-v-3c9eb0a7"><block wx:if="{{!isSearch}}"><block class="data-v-3c9eb0a7"><scroll-view class="scroll-list-panel data-v-3c9eb0a7" scroll-y="true" scroll-top="{{scrollTop}}" scroll-with-animation="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><block wx:if="{{!!currentCity}}"><view class="base-wrap-history m-top-btm20 data-v-3c9eb0a7"><view class="title data-v-3c9eb0a7">当前城市</view><view class="panel data-v-3c9eb0a7"><text data-event-opts="{{[['tap',[['chooseItem',['$0'],['currentCity.ad_info']]]]]}}" class="item current-item data-v-3c9eb0a7" bindtap="__e"><text class="history-icon iconfont icon-locationfill data-v-3c9eb0a7">{{currentCity['ad_info']['district']||currentCity['ad_info']['city']}}</text></text></view></view></block><block wx:if="{{$root.g0}}"><view class="base-wrap-history data-v-3c9eb0a7"><view class="title data-v-3c9eb0a7">最近访问的城市</view><view class="panel data-v-3c9eb0a7"><block wx:for="{{recenCity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><text data-event-opts="{{[['tap',[['chooseItem',['$0'],[[['recenCity','',index]]]]]]]}}" class="item data-v-3c9eb0a7" bindtap="__e">{{item['ad_info']['city']}}</text></block></block></view></view></block><block wx:if="{{$root.g1}}"><view class="base-wrap-history m-btm40 data-v-3c9eb0a7"><view class="title data-v-3c9eb0a7">热门城市</view><view class="panel data-v-3c9eb0a7"><block wx:for="{{quickPanelData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text data-event-opts="{{[['tap',[['chooseItem',['$0'],[[['quickPanelData','',index]]]]]]]}}" class="item data-v-3c9eb0a7" bindtap="__e">{{item['name']}}</text></block></view></view></block><view class="main-wrap data-v-3c9eb0a7"><block wx:for="{{listData}}" wx:for-item="sort" wx:for-index="index1" wx:key="index1"><view class="sort-wrap data-v-3c9eb0a7" style="{{'background-color:'+(getListAttrListBackgroundColor)+';'}}" id="{{'view'+index1}}"><view class="title data-v-3c9eb0a7" style="{{'font-size:'+(getListAttrTitleFontSize)+';'+('color:'+(getListAttrTitleColor)+';')+('height:'+(getListAttrTitleHeight)+';')+('background:'+(getListAttrTitleBackground)+';')+('padding-left:'+(getListAttrTitlePadding)+';')}}">{{sort['initial']}}</view><view class="list data-v-3c9eb0a7"><block wx:for="{{sort.list}}" wx:for-item="city" wx:for-index="index2" wx:key="index2"><text data-event-opts="{{[['tap',[['chooseItem',['$0'],[[['listData','',index1],['list','',index2]]]]]]]}}" style="{{'height:'+(getListAttrItemHeight)+';'+('font-size:'+(getListAttrItemFontSize)+';')+('border-bottom:'+(getListAttrItemBorderBottom)+';')+('color:'+(getListAttrItemColor)+';')+('background:'+(getListAttrItemBackgroundColor)+';')}}" bindtap="__e" class="data-v-3c9eb0a7">{{city['name']}}</text></block></view></view></block></view></scroll-view><block wx:if="{{!!activeIndex}}"><view class="{{['data-v-3c9eb0a7','now-letter',fadeFlag?'fadeIn':'']}}">{{getNavData[activeIndex]}}</view></block><block wx:if="{{navAttr.enable}}"><view class="letter-nav data-v-3c9eb0a7" style="{{'background-color:'+(getNavAttrbackgroundColor)+';'+('padding:'+(getNavAttrPadding)+';')+('border-radius:'+(getNavAttrBorderRadius)+';')+('top:'+(marginT)+';')}}"><block wx:for="{{getNavData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text data-event-opts="{{[['tap',[['scrollSelect',[index]]]]]}}" class="{{['data-v-3c9eb0a7','item',index===activeIndex?'active':'']}}" style="font-size:24rpx;padding:6rpx 0;" bindtap="__e">{{item}}</text></block></view></block></block></block><block wx:if="{{isSearch}}"><block class="data-v-3c9eb0a7"><view class="base-wrap-history data-v-3c9eb0a7"><view class="title data-v-3c9eb0a7">目前搜索的城市</view><view class="panel data-v-3c9eb0a7"><block wx:for="{{searchCitylist}}" wx:for-item="listItem" wx:for-index="index" wx:key="index"><text data-event-opts="{{[['tap',[['chooseItem',['$0'],[[['searchCitylist','',index,'list']]]]]]]}}" class="item data-v-3c9eb0a7" bindtap="__e">{{listItem.list.name}}</text></block></view></view></block></block></view>
|