This commit is contained in:
xiaozhiyong
2023-11-27 15:35:06 +08:00
parent 0554adda71
commit b2f723abaa
2 changed files with 4 additions and 3 deletions

View File

@@ -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) {