Skip to content

Commit

Permalink
Update summary.html.heex
Browse files Browse the repository at this point in the history
  • Loading branch information
HZZformGD authored Jul 18, 2024
1 parent 2adfc32 commit c179d2f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lib/teslamate_web/live/car_live/summary.html.heex
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<div class="car card">
<div class="card-image">
<figure
id={"map_#{@car.id}_container"}
data-id={@car.id}
data-marker="arrow"
data-zoom="1"
phx-hook="SimpleMap"
phx-update="ignore"
>
<script src="https://webapi.amap.com/maps?v=1.4.15&key=<%= @api_key %>"></script>

<figure
id={"map_#{@car.id}_container"}
data-id={@car.id}
data-marker="arrow"
data-zoom="1"
phx-hook="AmapHook"
phx-update="ignore"
>
<div id={"map_#{@car.id}"} class="map" style="height: 175px; position: relative;">
<div class="spinner">
<span class="is-loading" />
Expand Down

0 comments on commit c179d2f

Please sign in to comment.