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
6e8fb1f4
Commit
6e8fb1f4
authored
Feb 21, 2023
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化详情页面材质和描述位置
parent
9fed2ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
+19
-19
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
View file @
6e8fb1f4
...
@@ -215,50 +215,50 @@ $description = $this->helper(Magento\Catalog\Helper\Output::class)->productAttri
...
@@ -215,50 +215,50 @@ $description = $this->helper(Magento\Catalog\Helper\Output::class)->productAttri
$block
->
getProduct
()
->
getDescription
(),
$block
->
getProduct
()
->
getDescription
(),
'description'
'description'
);
);
if
(
$
short_
description
)
:
if
(
$description
)
:
?>
?>
<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": [
0
],
"collapsible": true,
"collapsible": true,
"openedState": "active",
"openedState": "active",
"multipleCollapsible": true
"multipleCollapsible": true
}}'
>
}}'
>
<div
data-role=
"collapsible"
>
<div
data-role=
"collapsible"
>
<div
data-role=
"trigger"
class=
"short_description-button"
>
<div
data-role=
"trigger"
class=
"description-button"
>
<a
class=
"desction-left short_description info-desc"
href=
"#"
>
Material
</a>
<a
class=
"desction-left description info-desc"
href=
"#"
>
Description
</a>
<a
class=
"desction-right short_description info-desc"
href=
"#"
>
+
</a>
<a
class=
"desction-right description info-desc"
href=
"#"
>
-
</a>
</div>
</div>
</div>
</div
>
<div
data-role=
"content"
id=
"description"
>
<div
data-role=
"content"
id=
"description
"
>
<div
class=
"desction-info
"
>
<div
class=
"desction-info"
>
<?php
echo
$description
;
?
>
<
?php
echo
$short_description
;
?
>
<
/div
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
endif
;
<?php
endif
;
if
(
$description
)
:
if
(
$
short_
description
)
:
?>
?>
<div
class=
"joshine-desction"
>
<div
class=
"joshine-desction"
>
<div
id=
"accordion"
data-mage-init=
'{
<div
id=
"accordion"
data-mage-init=
'{
"accordion":{
"accordion":{
"active": [
0
],
"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"
class=
"description-button"
>
<div
data-role=
"trigger"
class=
"
short_
description-button"
>
<a
class=
"desction-left
description info-desc"
href=
"#"
>
Description
</a>
<a
class=
"desction-left
short_description info-desc"
href=
"#"
>
Material
</a>
<a
class=
"desction-right
description info-desc"
href=
"#"
>
-
</a>
<a
class=
"desction-right
short_description info-desc"
href=
"#"
>
+
</a>
</div>
</div>
</div>
</div>
<div
data-role=
"content"
id=
"description"
>
<div
data-role=
"content"
id=
"description"
>
<div
class=
"desction-info"
>
<div
class=
"desction-info"
>
<?php
echo
$description
;
?>
<?php
echo
$
short_
description
;
?>
</div>
</div>
</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