|
@@ -10,10 +10,10 @@
|
|
|
<view class="venue-name">{{item.name}}</view>
|
|
|
</view>
|
|
|
<view class="venue-content" slot="body">
|
|
|
- <view class="info-text">
|
|
|
+ <!-- <view class="info-text">
|
|
|
<u-icon name="car"></u-icon>
|
|
|
距您{{item.distance}}
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="info-text">
|
|
|
<u-icon name="map"></u-icon>
|
|
|
{{item.address}}
|
|
@@ -53,8 +53,8 @@
|
|
|
// 获取全部场馆
|
|
|
getAllVenue() {
|
|
|
// 附件场馆
|
|
|
- NET.request(API.getVenueList, uni.getStorageSync('locationData'), 'POST').then(res => {
|
|
|
- this.venueList = res.data
|
|
|
+ NET.request(API.getSaleVenueList, {page:1,size:100}, 'POST').then(res => {
|
|
|
+ this.venueList = res.data.row
|
|
|
}).catch(error => {
|
|
|
this.$refs.uTips.show({
|
|
|
title: error.message,
|