MrShi
7 天以前 bfd70830b78bc42e0a284baa044efacc29897cd5
1
<view class="box data-v-1eab16c0"><view class="head data-v-1eab16c0"><view class="box-search data-v-1eab16c0"><u-search vue-id="928f7b74-1" placeholder="输入城市名称或拼音" height="30" searchIconColor="#999999" borderColor="#eeeeee" bgColor="#F9F9FB" showAction="{{false}}" value="{{name}}" data-event-opts="{{[['^search',[['getCity']]],['^input',[['__set_model',['','name','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-1eab16c0" bind:__l="__l"></u-search></view><view class="box-city data-v-1eab16c0"><view class="box-city-left data-v-1eab16c0"><image src="/static/icon/ic_city@2x.png" mode="widthFix" class="data-v-1eab16c0"></image><text class="data-v-1eab16c0">{{cityName}}</text></view><view data-event-opts="{{[['tap',[['checkLocationAuth',['$event']]]]]}}" class="box-city-right data-v-1eab16c0" bindtap="__e">重新定位</view></view></view><view class="list data-v-1eab16c0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item data-v-1eab16c0" id="{{'jiedan-'+item.letter}}"><view class="list-item-val data-v-1eab16c0" style="color:#999;">{{item.letter}}</view><block wx:for="{{item.children}}" wx:for-item="child" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['seleCity',['$0'],[[['list','',index],['children','',i,'name']]]]]]]}}" class="list-item1 data-v-1eab16c0" bindtap="__e"><view class="list-item-val1 data-v-1eab16c0">{{child.name}}</view></view></block></view></block></view><view class="tips data-v-1eab16c0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="a" wx:key="a"><view data-event-opts="{{[['tap',[['gundong',[a]]]]]}}" class="{{['data-v-1eab16c0',index===a?'tips-row active':'tips-row']}}" bindtap="__e">{{item.letter}}</view></block></view></view>