xiaozhiyong 1 year ago
parent 0554adda71
commit b2f723abaa
  1. 5
      components/site-item/site-item.vue
  2. 2
      pages/tabbar/station/stationList.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) {

@ -39,7 +39,7 @@
</view>
<view class="bg-white min-height-50 padding-top" v-if="siteList.length>0">
<site-item v-for="(item,index) in siteList" :key="item.id" :site-item="item" :first="index==0"
:listHeight="listHeight" class="cu-list menu-avatar cu-item" @tap="toDetail(item)">
:listHeight="listHeight" class="cu-list menu-avatar cu-item" @tap="toDetail(item)">
</site-item>
<view class="placeholder-hidden">

Loading…
Cancel
Save