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
a2c61f71
Commit
a2c61f71
authored
Oct 10, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复评论点击js语法错误
parent
7cf2bdc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/code/Amasty/AdvancedReview/view/frontend/templates/product/view/list.phtml
+1
-2
app/design/frontend/Joshine/breeze/web/css/_custom.less
+2
-0
No files found.
app/code/Amasty/AdvancedReview/view/frontend/templates/product/view/list.phtml
View file @
a2c61f71
...
...
@@ -193,8 +193,7 @@ $isFilterApplied = $displayedCollection->getFlag(\Amasty\AdvancedReview\Model\To
require
([
'jquery'
],
function
(
$
)
{
console
.
log
(
"helo!"
);
$
(
".amreview-add-new"
).
on
(
click
,
function
()
{
$
(
".amreview-add-new"
).
on
(
'click'
,
function
()
{
$
(
".block.review-add.amreview-submit-form"
).
show
();
});
});
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
a2c61f71
...
...
@@ -1832,6 +1832,8 @@ background-color: #000;
flex-direction: inherit !important;
}
}
//产品评论form表单默认隐藏
.block.review-add.amreview-submit-form{
display: none;
}
...
...
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