Commit ca60b27a by halweg

fix : bug fix

parent 5fff78ad
<?php <?php
namespace Joshine\Review\Controller\Ajax; namespace Joshine\Review\Controller\Ajax;
use Amasty\AdvancedReview\Model\ResourceModel\Images as ImagesModel;
use Joshine\Review\Helper\BlockHelper; use Joshine\Review\Helper\BlockHelper;
use Joshine\Review\Helper\ImageHelper; use Joshine\Review\Helper\ImageHelper;
use Magento\Catalog\Model\ProductFactory; use Magento\Catalog\Model\ProductFactory;
......
...@@ -172,7 +172,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId()); ...@@ -172,7 +172,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div class="joshine-rating-container joshine-col-xs-8"> <div class="joshine-rating-container joshine-col-xs-8">
<div class="joshine-rating-starts" style="width: <?= $rating ?>%;"></div> <div class="joshine-rating-starts" style="width: <?= $rating ?>%;"></div>
</div> </div>
<h2 class="ave-rate-total" style="margin-top: 0; margin-bottom: .35em;"><?= $block->getRatingSummaryValue() ?></h2> <h2 class="ave-rate-total" style="margin-top: 0; margin-bottom: .35em; margin-left: .4em"><?= $block->getRatingSummaryValue() ?></h2>
</div> </div>
</div> </div>
<div class="joshine-review-item"> <div class="joshine-review-item">
...@@ -333,6 +333,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId()); ...@@ -333,6 +333,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
display: flex; display: flex;
align-items: center; align-items: center;
justify-content:space-between; justify-content:space-between;
flex-wrap: wrap;
} }
.modal-reviews-details__des-wrap { .modal-reviews-details__des-wrap {
...@@ -499,14 +500,16 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId()); ...@@ -499,14 +500,16 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div> </div>
<div class="modal-reviews-details__des-wrap joshine-col-xs-4"> <div class="modal-reviews-details__des-wrap joshine-col-xs-4">
<div class="joshine-review-des-head"> <div class="joshine-review-des-head">
<span class="joshine-review-nickname" data-review-js="nickname" style="font-size: .9em;"> <span class="joshine-review-nickname joshine-col-xs-6" data-review-js="nickname" style="font-size: .9em;">
</span> </span>
<div class="joshine-rating-container joshine-rating-small" style="margin-bottom: 3px;"> <div class="joshine-rating-container joshine-rating-small" style="margin-bottom: 3px;">
<div class="joshine-rating-starts" style="width: 100%;" data-review-js="rating"></div> <div class="joshine-rating-starts" style="width: 100%;" data-review-js="rating"></div>
</div> </div>
<span class="joshine-review-date joshine-font-c-darkgray joshine-font-mini-plus joshine-pull-right" data-review-js="date">
<span class="joshine-review-date joshine-font-c-darkgray joshine-font-mini-plus" style="margin-top: .4em;" data-review-js="date">
</span> </span>
</div> </div>
<div class="joshine-review-des-title joshine-font-w-bolder joshine-font-text joshine-font-c-deepin" data-review-js="title"> <div class="joshine-review-des-title joshine-font-w-bolder joshine-font-text joshine-font-c-deepin" data-review-js="title">
......
...@@ -127,7 +127,7 @@ require(['jquery'], function ($) { ...@@ -127,7 +127,7 @@ require(['jquery'], function ($) {
'event': 'add_to_cart', 'event': 'add_to_cart',
'value': <?= $priceSum ?>, 'value': <?= $priceSum ?>,
'items': <?= json_encode($items, true) ?> 'items': <?= json_encode($items, true) ?>
); });
</script> </script>
<?= $block->getChildHtml('checkout.cart.order.actions') ?> <?= $block->getChildHtml('checkout.cart.order.actions') ?>
<?= $block->getChildHtml('shopping.cart.table.after') ?> <?= $block->getChildHtml('shopping.cart.table.after') ?>
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