xiaozhiyong 1 year ago
parent 0554adda71
commit b2f723abaa
  1. 5
      components/site-item/site-item.vue

@ -9,8 +9,8 @@
<view class="text-grey text-sm " style="padding-top: 6rpx;">
<!-- <my-icon iconName="sy-der-icon.png" class="padding-right-xs text-sm"></my-icon> -->
<!-- {{siteItem.juli|distanceFilter}} -->
<text v-if="!location">暂无信息</text>
<text v-else>{{siteItem.juli|distanceFilter}}</text>
<!-- <text v-if="!location">暂无信息</text> -->
<text>{{siteItem.juli|distanceFilter}}</text>
</view>
</view>
<view>
@ -128,6 +128,7 @@
if (value) {
return value > 1000 ? ((value / 1000).toFixed(2) + 'km') : (value + 'm')
}
return '0.00km'
},
moneyFormat(value) {
if (value) {

Loading…
Cancel
Save