This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="Esun_Review::css/review.css"/>
</head>
<body>
<referenceContainer name="content.aside">
<block class="Esun\Review\Block\Product\Review"
name="esun.product.reviews"
template="Esun_Review::product/reviews.phtml"
after="product.info.additional"
cacheable="false"
ifconfig="catalog/review/active">
<block class="Magento\Review\Block\Form"
name="product.review.form"
as="review_form"
template="Esun_Review::review/form.phtml"
ifconfig="catalog/review/active">
<arguments>
<argument name="button_lock_manager" xsi:type="object">Magento\Framework\View\Element\ButtonLockManager</argument>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="review-form" xsi:type="array">
<item name="component" xsi:type="string">Magento_Review/js/view/review</item>
</item>
</item>
</argument>
</arguments>
<container name="form.additional.review.info" as="form_additional_review_info"/>
<container name="product.review.form.fields.before" as="form_fields_before" label="Review Form Fields Before"/>
</block>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="customer_account"/>
<head><css src="Esun_Review::css/review.css"/><css src="Esun_Customer::css/account-dashboard.css"/></head>
<body>
<referenceContainer name="content">
<block class="Esun\Review\Block\Customer\Awaiting" name="esun.review.customer.awaiting"
template="Esun_Review::customer/awaiting.phtml" cacheable="false"/>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<referenceBlock name="product.info.product_additional_data" template="Esun_Review::product/view/list.phtml"/>
</layout>
@@ -0,0 +1,2 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"><head><css src="Esun_Review::css/review.css"/></head><body><referenceContainer name="content"><block class="Esun\Review\Block\Order\ReviewableItems" name="esun.order.reviewable.items" template="Esun_Review::order/reviewable-items.phtml" after="esun.sales.order.detail" cacheable="false"/></referenceContainer></body></page>