|
@@ -3,7 +3,7 @@
|
|
|
<view class="header">
|
|
|
<view class="city Medium">
|
|
|
<view class="select-city" @click="loadCity">{{city}}</view>
|
|
|
- <u-icon name="arrow-down"></u-icon>
|
|
|
+ <u-icon size="20rpx" name="arrow-down"></u-icon>
|
|
|
</view>
|
|
|
<u-search input-align="left" @change="searchAddress" :show-action="false" height="70" placeholder="请输入位置信息"
|
|
|
v-model="addressName"></u-search>
|
|
@@ -14,8 +14,8 @@
|
|
|
</view>
|
|
|
<view class="header2-content">
|
|
|
<view class="left Medium" @click="selectPosition">
|
|
|
- <u-icon name="arrow-down"></u-icon>
|
|
|
- <view class="">{{address}}</view>
|
|
|
+ <image style="width: 30rpx;height:30rpx;margin-top: 15rpx;" src="../../../static/img/liangmai/dingwei.png"></image>
|
|
|
+ <view style="padding-left: 15rpx;">{{address}}</view>
|
|
|
<view class="" v-if="isposition">{{text}}</view>
|
|
|
</view>
|
|
|
<view class="reposition Regular" @click="reloadPosition">{{po_tips}}</view>
|
|
@@ -38,7 +38,9 @@
|
|
|
@click="addressClick(item)">
|
|
|
<view class="top">
|
|
|
<view v-html="item.newName" class="content"></view>
|
|
|
- <view class="distance" v-if="address!='定位失败,请点击重新定位'">{{item.distance}}千米</view>
|
|
|
+ <view class="distance" v-if="address!='定位失败,请点击重新定位'&& item.distance > 1">{{item.distance}}km</view>
|
|
|
+ <view class="distance" v-if="address!='定位失败,请点击重新定位'&& item.distance <= 1">{{(item.distance*1000).toFixed(0)}}m</view>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="bottom">
|
|
|
{{item.adname}}{{item.address}}
|