Jelajahi Sumber

Merge branch 'v3' of http://git.jihengcc.cn/starfire/spark-sale into v3

zhangli 2 tahun lalu
induk
melakukan
5efb9656ff
2 mengubah file dengan 6 tambahan dan 4 penghapusan
  1. 2 0
      config/api.js
  2. 4 4
      pagesMain/venueMore.vue

+ 2 - 0
config/api.js

@@ -34,6 +34,8 @@ module.exports = {
 	getNearVenueList: API_BASE + '/v2/sale/home/getVenueNearList',
 	//  获取所有场馆列表
 	getAllVenueList: API_BASE + '/v2/sale/home/getVenueNearMoreList',
+	//  获取场馆列表
+	getSaleVenueList: API_BASE + '/v2/sale/center/getSaleVenueList',
 	//  获取所有场馆
 	getVenueListInfo: API_BASE + '/sgai/venue/get4ShortestVenue',
 	//  获取场馆详情

+ 4 - 4
pagesMain/venueMore.vue

@@ -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,