落地页评分动态变化

master
liuweiwen 5 years ago
parent 7ed4586e26
commit 44fa7bf8ad

@ -54,11 +54,11 @@
<div class="number"> <div class="number">
<span>{$game['game_score']}</span> <span>{$game['game_score']}</span>
<div class="start"> <div class="start">
<img src="__IMG__/start1.png" alt=""> <img src="__IMG__/start<?php echo $game['game_score'] >=1 ? 1 : ''?>.png" alt="">
<img src="__IMG__/start1.png" alt=""> <img src="__IMG__/start<?php echo $game['game_score'] >=2 ? 1 : ''?>.png" alt="">
<img src="__IMG__/start1.png" alt=""> <img src="__IMG__/start<?php echo $game['game_score'] >=3 ? 1 : ''?>.png" alt="">
<img src="__IMG__/start1.png" alt=""> <img src="__IMG__/start<?php echo $game['game_score'] >=4 ? 1 : ''?>.png" alt="">
<img src="__IMG__/start.png" alt=""> <img src="__IMG__/start<?php echo $game['game_score'] >=5 ? 1 : ''?>.png" alt="">
</div> </div>
</div> </div>
<div class="grade">14.48K个评分</div> <div class="grade">14.48K个评分</div>
@ -106,7 +106,7 @@
<img src="__IMG__/start1.png" alt=""> <img src="__IMG__/start1.png" alt="">
</div> </div>
<div class="strip"> <div class="strip">
<div style="width: 2.77rem;"></div> <div style="width: <?php echo round($game['game_score']/5 * 3, 2) ?>rem;"></div>
</div> </div>
</div> </div>
<div class="start-number"> <div class="start-number">

Loading…
Cancel
Save