bt-lcyd/pages/list/list.wxml

30 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-06-14 10:56:41 +08:00
<view class="select">
<view class="select-btn" bindtap="doSelcet" data-id="1">{{cityName}}{{areaName}}</view>
<view class="select-btn" bindtap="doSelcet" data-id="2">{{categoryName}}</view>
<view class="select-btn" bindtap="doSelcet" data-id="3">{{chargeName}}</view>
</view>
<view class="venue-list">
<view class="venue-box" bindtap="goDetail" wx:for="{{venueList}}" data-id="{{item.venuesInfoId}}" wx:key="idx">
<view class="venue-pic">
<image src="{{requestIp}}route/file/downloadfile/true/{{item.venuePanorama}}" class="venue-img"></image>
</view>
<view class="venue-info">
<view class="venue-title">
<text class="venue-name">{{item.venueName}}</text>
</view>
<view class="venue-address">{{item.venuePosition}}</view>
<!-- <view class="venue-phone">123456789</view> -->
</view>
</view>
<view class="no-data" wx:if="{{venueList.length == 0}}">
<image src="../../images/no-data.png"></image>
</view>
</view>
<view class="hide-select" bindtap="hideSelect" wx:if="{{showSelect}}">
<view class="select-box">
<view class="select-btn-box" catchtap="checkall">查看全部</view>
<view class="select-btn-box {{item.dictionaryId == areaId?'active': ''}}" wx:if="{{selectType == 1}}" catchtap="getNewList" wx:for="{{selectList}}" data-id="{{item.dictionaryId}}" data-name="{{item.dictionaryName}}" wx:key="idx">{{item.dictionaryName}}</view>
<view class="select-btn-box {{item.categoryId == categoryId?'active': ''}}" wx:if="{{selectType == 2}}" catchtap="getNewList" wx:for="{{selectList}}" data-id="{{item.categoryId}}" data-name="{{item.categoryName}}" wx:key="idx">{{item.categoryName}}</view>
<view class="select-btn-box {{item.dictionaryId == venueCharge?'active': ''}}" wx:if="{{selectType == 3}}" catchtap="getNewList" wx:for="{{selectList}}" data-id="{{item.dictionaryId}}" data-name="{{item.dictionaryName}}" wx:key="idx">{{item.dictionaryName}}</view>
</view>
</view>