Commit aa1e21c18a6360b4d9de50ee80491df0eace3b36
1 parent
0b386537
显示距离的优化
Showing
1 changed file
with
3 additions
and
2 deletions
pages/giftpack/public/buy_com.wxml
| ... | ... | @@ -138,7 +138,8 @@ |
| 138 | 138 | </block> |
| 139 | 139 | </view> |
| 140 | 140 | </block> |
| 141 | -<!-- --弹起来,选择规格数量,普通商品购买和秒杀---- --> | |
| 141 | + | |
| 142 | + <!-- --弹起来,选择规格数量,普通商品购买和秒杀---- --> | |
| 142 | 143 | <view hidden="{{!openSpecModal}}"> |
| 143 | 144 | <view bindtap="closeSpecModal" class="cover-layer"></view> |
| 144 | 145 | <view class="spec-model"> |
| ... | ... | @@ -178,7 +179,7 @@ |
| 178 | 179 | <view class="flex ai_end" wx:if="{{def_pick_store && def_pick_store.pickup_name}}"> |
| 179 | 180 | <text class="fs30 xc-black3 shop_name bold">{{def_pick_store.pickup_name}}</text> |
| 180 | 181 | <view class="distance fs24 xc-ash" wx:if="{{def_pick_store.distance!=null}}"> |
| 181 | - 距离:{{def_pick_store.distance>1000?filters.toFix(def_pick_store.distance/1000,2)+"km":filters.toFix(def_pick_store.distance,0)+"m"}} | |
| 182 | + 距离:{{def_pick_store.distance>1000?filter.toFix(def_pick_store.distance/1000,2)+"km":filter.toFix(def_pick_store.distance,0)+"m"}} | |
| 182 | 183 | </view> |
| 183 | 184 | </view> |
| 184 | 185 | <!-- 没有门店的时候 --> | ... | ... |