Commit 0eef35e2 by weijiguang

没有授权位置的隐藏距离

parent bcd1054b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div v-for="item in list" :key="item.id" @click="selectedShop(item)" class="shop_item"> <div v-for="item in list" :key="item.id" @click="selectedShop(item)" class="shop_item">
<div class="header"> <div class="header">
<h3>{{ item.name }}</h3> <h3>{{ item.name }}</h3>
<span>距离 {{ item.distance }}</span> <span v-if="item.distance && item.distance!=-1">距离 {{ item.distance }}</span>
</div> </div>
<div class="dec"> <div class="dec">
<div class="address">{{ item.address }}</div> <div class="address">{{ item.address }}</div>
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
.address { .address {
font-size: 24rpx; font-size: 24rpx;
font-family: PingFangSC-Regular, PingFa font-family: PingFangSC-Regular,
} }
.xaidan { .xaidan {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment