Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
6167bf70
Commit
6167bf70
authored
Feb 29, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8e16d898
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
goods.vue
pages/goods/goods.vue
+3
-1
No files found.
pages/goods/goods.vue
View file @
6167bf70
...
@@ -371,7 +371,7 @@
...
@@ -371,7 +371,7 @@
</view>
</view>
<view
class=
"comment"
v-if=
"comments.length > 0"
>
<view
class=
"comment"
v-if=
"comments.length > 0"
>
<view
class=
"chead"
>
<view
class=
"chead"
>
<u-section
:bold=
"false"
:sub-color=
"secondary"
:show-split=
"false"
:title=
"`商品评价(${comments
.length
})`"
sub-title=
"查看更多"
<u-section
:bold=
"false"
:sub-color=
"secondary"
:show-split=
"false"
:title=
"`商品评价(${comments
Count
})`"
sub-title=
"查看更多"
@
click=
"clickCommentHandler"
font-size=
"24"
></u-section>
@
click=
"clickCommentHandler"
font-size=
"24"
></u-section>
</view>
</view>
<view
class=
"content"
>
<view
class=
"content"
>
...
@@ -499,6 +499,7 @@
...
@@ -499,6 +499,7 @@
sku
:
""
,
sku
:
""
,
skuimage
:
[],
skuimage
:
[],
comments
:
[],
comments
:
[],
commentsCount
:
0
,
secondary
:
""
,
secondary
:
""
,
detailContent
:
""
,
detailContent
:
""
,
recommend
:
[],
recommend
:
[],
...
@@ -878,6 +879,7 @@
...
@@ -878,6 +879,7 @@
},
},
(
res
)
=>
{
(
res
)
=>
{
this
.
comments
=
res
.
data
.
pageData
;
this
.
comments
=
res
.
data
.
pageData
;
this
.
commentsCount
=
res
.
data
.
count
;
console
.
log
(
"1111"
,
this
.
comments
)
console
.
log
(
"1111"
,
this
.
comments
)
},
},
...
...
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