This commit is contained in:
caolc
2023-09-08 10:01:06 +08:00
parent 5adc52996c
commit 4d5aa4ac8d
12 changed files with 957 additions and 107 deletions

View File

@@ -8,7 +8,9 @@
<view class="action">
<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}}
<!-- {{siteItem.juli|distanceFilter}} -->
<text v-if="!location">暂无信息</text>
<text v-else >{{siteInfo.juli|distanceFilter}}</text>
</view>
</view>
<view>
@@ -70,6 +72,10 @@
<script>
export default {
props: {
location:{
type:Object,
default:()=>null
},
siteItem: {
type: Object,
default () {}

View File

@@ -103,9 +103,7 @@
},
areaCodeList1: {
type: Array,
default () {
return []
}
default:()=> []
},
menuList: {
type: Array,
@@ -124,7 +122,7 @@
},
mounted() {
if(this.areaCodeList1.length == 0){
this.areaCodeList = uni.getStorageSync('areaCodeList')
this.areaCodeList = uni.getStorageSync('areaCodeList') || []
}else{
this.areaCodeList = this.areaCodeList1
}