Commit 65a3beb4 by 朱继来

购物车添加赠品

parent e6acc26d
...@@ -461,6 +461,27 @@ ...@@ -461,6 +461,27 @@
<textarea name="remark" id="remark" class="form-control" placeholder="填写订单备注信息"></textarea> <textarea name="remark" id="remark" class="form-control" placeholder="填写订单备注信息"></textarea>
</div> </div>
</div> </div>
<div class="order-gift-info">
<div class="ibox-title">
<h3>赠品信息</h3>
</div>
<div class="ibox-content">
<table class="table table-bordered table-hover gift-table">
<thead>
<tr>
<th width="10%">活动ID</th>
<th width="20%">赠品图片</th>
<th width="20%">赠品名称</th>
<th width="20%">赠品数量</th>
<th width="30%">赠品说明</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="order-info"> <div class="order-info">
<div class="ibox-title"> <div class="ibox-title">
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
<tbody> <tbody>
<?php foreach ($order_gift as $k=>$v) { ?> <?php foreach ($order_gift as $k=>$v) { ?>
<tr> <tr>
<td><?= $v['activity_id'] ?></td> <td><?= $v['gift_info']['activity_id'] ?></td>
<td> <td>
<div class="layer-photos-demo"> <div class="layer-photos-demo">
<a><img src="<?= $v['gift_info']['pic'] ?>" width="20" height="20"></a> <a><img src="<?= $v['gift_info']['pic'] ?>" width="20" height="20"></a>
......
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 sign in to comment