|
|
|
@ -51,8 +51,9 @@ |
|
|
|
<image style="width: 90rpx;height: 90rpx;border-radius: 10rpx;" :src="item.picture" mode="aspectFill"></image> |
|
|
|
</view> |
|
|
|
<view class="lf-flex-column"> |
|
|
|
<view class="lf-font-28 lf-color-222 lf-line-1" style="max-width: 460rpx;">{{item.title}}</view> |
|
|
|
<view class="lf-font-24 lf-color-999 lf-flex lf-m-t-18" > |
|
|
|
<view class="lf-font-28 lf-color-222 lf-line-1" style="width: 576rpx;">{{item.title}}</view> |
|
|
|
<view style="width: 100%; display: flex; justify-content: space-between; align-items: flex-end;"> |
|
|
|
<view class="lf-font-24 lf-color-999 lf-flex lf-m-t-18" style="width: 440rpx;"> |
|
|
|
<view> |
|
|
|
<text class="lf-iconfont lf-icon-dingwei1" style="font-size: 10px!important;"></text> |
|
|
|
</view> |
|
|
|
@ -64,10 +65,14 @@ |
|
|
|
<text>{{item.distance_m | kmUnit}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="width: 134rpx;"> |
|
|
|
<view @click="openMap(item.address,item.latitude,item.logitude)" style="display: flex; justify-content: flex-end;"> |
|
|
|
<text class="lf-iconfont lf-icon-daohang"></text> |
|
|
|
</view> |
|
|
|
<view class="lf-font-24 lf-color-price lf-text-right">¥{{ item.price }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view @click="openMap(item.address,item.latitude,item.logitude)"> |
|
|
|
<text class="lf-iconfont lf-icon-daohang"></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -252,6 +257,7 @@ |
|
|
|
tab_item.loadingClass = true; |
|
|
|
tab_item.loadingText = '正在加载中'; |
|
|
|
tab_item.list = []; |
|
|
|
this.markers_list = []; |
|
|
|
}, |
|
|
|
getCategory(options = {}) { |
|
|
|
this.$http(this.API.API_CATEGORYLIST).then(res => { |
|
|
|
@ -353,8 +359,8 @@ |
|
|
|
tab_item.list.push(...res.data.data); |
|
|
|
} |
|
|
|
console.log("res", res); |
|
|
|
let res_list = res.data.data || []; |
|
|
|
this.createMarkers(res_list); |
|
|
|
// let res_list = res.data.data || []; |
|
|
|
this.createMarkers(tab_item.list); |
|
|
|
}).catch(err => { |
|
|
|
|
|
|
|
}) |
|
|
|
@ -415,7 +421,7 @@ |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 0rpx 28rpx; |
|
|
|
// padding: 0rpx 28rpx; |
|
|
|
} |
|
|
|
.lf-map-height { |
|
|
|
width: 100%; |
|
|
|
|