头像
This commit is contained in:
@@ -110,11 +110,20 @@
|
||||
|
||||
<h2>产品图</h2>
|
||||
<div class="image-list">
|
||||
<?php foreach ($car['images'] as $img): ?>
|
||||
<div class="image-item">
|
||||
<img src="<?= $img ?>">
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<table width="100%" cellpadding="6" cellspacing="0">
|
||||
<tr>
|
||||
<?php foreach ($car['images'] as $i => $img): ?>
|
||||
<td width="50%" align="center">
|
||||
<img src="<?= $img ?>" style="width:100%; border-radius:4px;">
|
||||
</td>
|
||||
|
||||
<?php if (($i + 1) % 2 === 0): ?>
|
||||
</tr><tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user