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
c39ce46c
Commit
c39ce46c
authored
Sep 28, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复详情页位置
parent
c75aa59e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/attribute.phtml
+20
-20
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/attribute.phtml
View file @
c39ce46c
...
@@ -80,36 +80,36 @@ if ($_attributeType && $_attributeType == 'text') {
...
@@ -80,36 +80,36 @@ if ($_attributeType && $_attributeType == 'text') {
<
strong
class
="
type
"><?=
$block->escapeHtml
(
$_attributeLabel
) ?></strong>
<
strong
class
="
type
"><?=
$block->escapeHtml
(
$_attributeLabel
) ?></strong>
<?php endif; ?>
<?php endif; ?>
<div class="
value
" <?= /* @noEscape */
$_attributeAddAttribute
?>>
<div class="
value
" <?= /* @noEscape */
$_attributeAddAttribute
?>>
<?php if(
$_attributeAddAttribute
!= 'itemprop="
description
"'): ?>
<!--商品描述部分-->
<?= /* @noEscape */
$_attributeValue
?>
<?php if(
$_attributeAddAttribute
== 'itemprop="
description
"'): ?>
<?php else:?>
<div class="
joshine
-
desction
">
<div class="
joshine
-
desction
">
<div id="
accordion
" data-mage-init='{
<div id="
accordion
" data-mage-init='{
"
accordion
":{
"
accordion
":{
"
active
": [1, 2],
"
active
": [1, 2],
"
collapsible
": true,
"
collapsible
": true,
"
openedState
": "
active
",
"
openedState
": "
active
",
"
multipleCollapsible
": true
"
multipleCollapsible
": true
}}'>
}}'>
<div data-role="
collapsible
">
<div data-role="
collapsible
">
<div data-role="
trigger
">
<div data-role="
trigger
">
<a class="
desction
-
left
info
-
desc
" href="
#">Description</a>
<a class="
desction
-
left
info
-
desc
" href="
#">Description</a>
<
a
class
="
desction
-
right
info
-
desc
" href="
#">+</a>
<
a
class
="
desction
-
right
info
-
desc
" href="
#">+</a>
</
div
>
</
div
>
</
div
>
<
div
data
-
role
=
"content"
>
</
div
>
<
div
class
="
desction
-
info
">
<
div
data
-
role
=
"content
"
>
<?= /* @noEscape */
$_attributeValue
?
>
<
div
class
="
desction
-
info
"
>
<?= /* @noEscape */
$this->helper
(Magento\Catalog\Helper\Output::class)->productAttribute(
<?= /* @noEscape */
$_attributeValue
?>
$block->getProduct
(),
<?= /* @noEscape */
$this->helper
(Magento\Catalog\Helper\Output::class)->productAttribute(
$block->getProduct
()->getDescription
(),
$block->getProduct
(),
'description'
$block->getProduct
()->getDescription(),
) ?>
'description'
</div
>
) ?
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php else:?>
<?= /* @noEscape */
$_attributeValue
?>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
...
...
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