Browse Source

refact: format

master
jiannibang 2 years ago
parent
commit
64c532b80c
  1. 3
      pages/index/index.wxml

3
pages/index/index.wxml

@ -23,7 +23,8 @@
<view class="floors"> <view class="floors">
<scroll-view class="list" scroll-y style="height: {{windowHeight - 152 - 120 - 96 - 30 - 50 - 77 + 52}}px"> <scroll-view class="list" scroll-y style="height: {{windowHeight - 152 - 120 - 96 - 30 - 50 - 77 + 52}}px">
<view class="item {{item.floorId===floorId?'active':''}}" id="{{index}}" wx:for="{{selectMall? filteredMallFloors:filteredParkFloors}}" wx:key="floorId" bindtap="setFloor"> <view class="item {{item.floorId===floorId?'active':''}}" id="{{index}}" wx:for="{{selectMall? filteredMallFloors:filteredParkFloors}}" wx:key="floorId" bindtap="setFloor">
{{item.name}}</view>
{{item.name}}
</view>
</scroll-view> </scroll-view>
<button bindtap="requestLocation" loading="{{!inited}}" class="btn {{(inited && floorOrder!==null)? '' : 'disabled'}}">开始导航</button> <button bindtap="requestLocation" loading="{{!inited}}" class="btn {{(inited && floorOrder!==null)? '' : 'disabled'}}">开始导航</button>
</view> </view>

Loading…
Cancel
Save