Commit 47067ebd by 王东红

购物车界面优化

parent 4ede5cdc
...@@ -42,24 +42,21 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima ...@@ -42,24 +42,21 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
<?php endif; ?> <?php endif; ?>
</strong> </strong>
<?php if ($_options = $block->getOptionList()) :?> <?php if ($_options = $block->getOptionList()) :?>
<dl class="item-options"> <div class="item-options">
<?php <?php
$_options_length = count($_options);
foreach ($_options as $k=>$_option) : foreach ($_options as $k=>$_option) :
$new_k = $k +1;
?> ?>
<?php $_formatedOptionValue = $block->getFormatedOptionValue($_option) ?> <?php $_formatedOptionValue = $block->getFormatedOptionValue($_option) ?>
<!-- <dt>--><?//= $block->escapeHtml($_option['label']) ?><!--</dt>--> <div>
<dd> <?= $block->escapeHtml($_option['label']) ?>:
<?php if (isset($_formatedOptionValue['full_view'])) :?> <?php if (isset($_formatedOptionValue['full_view'])) :?>
<?= $block->escapeHtml($_formatedOptionValue['full_view']) ?> <?= $block->escapeHtml($_formatedOptionValue['full_view']) ?>
<?php else :?> <?php else :?>
<?= $block->escapeHtml($_formatedOptionValue['value'], ['span', 'a']) ?> <?= $block->escapeHtml($_formatedOptionValue['value'], ['span', 'a']) ?>
<?php endif; ?> <?php endif; ?>
<?php if($new_k != $_options_length) :?>, <?php endif;?> </div>
</dd>
<?php endforeach; ?> <?php endforeach; ?>
</dl> </div>
<?php endif;?> <?php endif;?>
<?php if ($messages = $block->getMessages()) :?> <?php if ($messages = $block->getMessages()) :?>
<?php foreach ($messages as $message) :?> <?php foreach ($messages as $message) :?>
......
...@@ -778,6 +778,18 @@ p.shopbycate-title { ...@@ -778,6 +778,18 @@ p.shopbycate-title {
table tr.item-actions{ table tr.item-actions{
border-bottom: 1px dashed #e5e5e5; border-bottom: 1px dashed #e5e5e5;
} }
.cart.table .product-item-name{
font-size: 14px;
color: #333333;
}
.cart.table-wrapper .item-options{
font-size: 12px;
margin-bottom: 10px;
color: #666666;
}
.cart.table thead{
height: 60px;
}
} }
.price_wish{ .price_wish{
display: flex; display: flex;
......
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 to comment