|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <view>
|
|
|
|
|
|
+ <view style='padding-bottom:150rpx;'>
|
|
<view class="flex content1">
|
|
<view class="flex content1">
|
|
<view @click='placeSelect' class='address flex'>
|
|
<view @click='placeSelect' class='address flex'>
|
|
<view class='detailedAddress'>{{detailedAddress}}</view>
|
|
<view class='detailedAddress'>{{detailedAddress}}</view>
|
|
@@ -19,7 +19,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view style='margin-top:112rpx;'>
|
|
|
|
|
|
+ <view style='margin-top:106rpx;'>
|
|
<u-swiper :list="fileList"
|
|
<u-swiper :list="fileList"
|
|
autoplay
|
|
autoplay
|
|
:height='height'
|
|
:height='height'
|
|
@@ -39,7 +39,7 @@
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view>
|
|
<mescroll-uni :up="upOption" :down="downOption" ref="mescrollRef" @init="mescrollInit"
|
|
<mescroll-uni :up="upOption" :down="downOption" ref="mescrollRef" @init="mescrollInit"
|
|
- @up="upCallback" @down="downCallback" height="960">
|
|
|
|
|
|
+ @up="upCallback" @down="downCallback" height="660">
|
|
<view class='findItem' v-for='item in findList'>
|
|
<view class='findItem' v-for='item in findList'>
|
|
<view style='align-items: flex-start;' class='flex'>
|
|
<view style='align-items: flex-start;' class='flex'>
|
|
<view class="left">
|
|
<view class="left">
|
|
@@ -222,19 +222,15 @@
|
|
})
|
|
})
|
|
|
|
|
|
var finddata=await that.getfindList(page)
|
|
var finddata=await that.getfindList(page)
|
|
- console.log(finddata,0)
|
|
|
|
if (page.num == 1) that.findList = [],that.handleList = [];
|
|
if (page.num == 1) that.findList = [],that.handleList = [];
|
|
that.curPageLen = finddata.data.items.length;
|
|
that.curPageLen = finddata.data.items.length;
|
|
that.handleList = finddata.data.items
|
|
that.handleList = finddata.data.items
|
|
that.totalPage = finddata.data.total;
|
|
that.totalPage = finddata.data.total;
|
|
for(var i=0;i<that.handleList.length;i++){
|
|
for(var i=0;i<that.handleList.length;i++){
|
|
- console.log(111)
|
|
|
|
that.handleList[i].latitude=that.handleList[i].location.split(',')[0]
|
|
that.handleList[i].latitude=that.handleList[i].location.split(',')[0]
|
|
that.handleList[i].longitude=that.handleList[i].location.split(',')[1]
|
|
that.handleList[i].longitude=that.handleList[i].location.split(',')[1]
|
|
- var data=await that.getDistance(that.handleList[i].latitude,that.handleList[i].longitude)
|
|
|
|
- console.log(222)
|
|
|
|
- that.handleList[i].distance=(data.distance/1000).toFixed(2)
|
|
|
|
- console.log(data,i==that.handleList.length-1,111111111111)
|
|
|
|
|
|
+ // var data=await that.getDistance(that.handleList[i].latitude,that.handleList[i].longitude)
|
|
|
|
+ that.handleList[i].distance=(that.handleList[i].distance/1000).toFixed(2)
|
|
if(i==that.handleList.length-1){
|
|
if(i==that.handleList.length-1){
|
|
setTimeout(()=>{
|
|
setTimeout(()=>{
|
|
console.log(that.handleList)
|
|
console.log(that.handleList)
|
|
@@ -301,7 +297,7 @@
|
|
top:0;
|
|
top:0;
|
|
left:0;
|
|
left:0;
|
|
padding: 20rpx;
|
|
padding: 20rpx;
|
|
- background-color: #fbb612;
|
|
|
|
|
|
+ background-color: #fff;
|
|
z-index:99;
|
|
z-index:99;
|
|
width:95vw;
|
|
width:95vw;
|
|
.search {
|
|
.search {
|
|
@@ -333,8 +329,8 @@
|
|
}
|
|
}
|
|
.search-wrap{
|
|
.search-wrap{
|
|
width:78%;
|
|
width:78%;
|
|
- background: #ffff;
|
|
|
|
- border: 1px solid #f9d27d;
|
|
|
|
|
|
+ background: #f9f9f9;
|
|
|
|
+ // border: 1px solid #f9d27d;
|
|
border-radius: 50rpx;
|
|
border-radius: 50rpx;
|
|
}
|
|
}
|
|
.address{
|
|
.address{
|