Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
c75aa59e
Commit
c75aa59e
authored
Sep 28, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
d8ab10ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
+21
-17
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/attribute.phtml
+21
-17
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/attribute.phtml
View file @
c75aa59e
...
...
@@ -80,33 +80,37 @@ if ($_attributeType && $_attributeType == 'text') {
<
strong
class
="
type
"><?=
$block->escapeHtml
(
$_attributeLabel
) ?></strong>
<?php endif; ?>
<div class="
value
" <?= /* @noEscape */
$_attributeAddAttribute
?>>
<!--商品详情-->
<div class="
joshine
-
desction
">
<div id="
accordion
" data-mage-init='{
<?php if(
$_attributeAddAttribute
!= 'itemprop="
description
"'): ?>
<?= /* @noEscape */
$_attributeValue
?>
<?php else:?>
<div class="
joshine
-
desction
">
<div id="
accordion
" data-mage-init='{
"
accordion
":{
"
active
": [1, 2],
"
collapsible
": true,
"
openedState
": "
active
",
"
multipleCollapsible
": true
}}'>
<div data-role="
collapsible
">
<div data-role="
trigger
">
<a class="
desction
-
left
info
-
desc
" href="
#">Description</a>
<
a
class
="
desction
-
right
info
-
desc
" href="
#">+</a>
<div data-role="
collapsible
">
<div data-role="
trigger
">
<a class="
desction
-
left
info
-
desc
" href="
#">Description</a>
<
a
class
="
desction
-
right
info
-
desc
" href="
#">+</a>
</
div
>
</
div
>
</
div
>
<
div
data
-
role
=
"content
"
>
<
div
class
="
desction
-
info
"
>
<?= /* @noEscape */
$_attributeValue
?>
<?= /* @noEscape */
$this->helper
(Magento\Catalog\Helper\Output::class)->productAttribute(
$block->getProduct
(),
$block->getProduct
()->getDescription(),
'description'
) ?
>
<
div
data
-
role
=
"content"
>
<
div
class
="
desction
-
info
">
<?= /* @noEscape */
$_attributeValue
?
>
<?= /* @noEscape */
$this->helper
(Magento\Catalog\Helper\Output::class)->productAttribute(
$block->getProduct
(),
$block->getProduct
()->getDescription
(),
'description'
) ?>
</div
>
</div>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment