Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
6 years ago
Commit
66f7a3dcfa38b813247393ad5738f7ab0f2c578b
1 parent
eb5e3d5a
评论回复样式修改
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
12 deletions
apps/product/models/consult-comment.js
apps/product/views/action/detail/comments.hbs
apps/product/views/partial/detail/feedback-tab.hbs
public/hbs/product/detail/feedback-tab.hbs
public/scss/product/detail/comments-consults.scss
public/scss/product/detail/detail.scss
apps/product/models/consult-comment.js
View file @
66f7a3d
...
...
@@ -117,6 +117,7 @@ module.exports = class extends global.yoho.BaseModel {
size
:
size
||
''
,
content
:
item
.
content
,
reply
:
item
.
reply
,
replyTitle
:
item
.
replyTitle
,
time
:
helpers
.
dateFormat
(
'YYYY-MM-DD HH:mm:ss'
,
new
Date
(
item
.
createTime
*
1000
))
});
});
...
...
apps/product/views/action/detail/comments.hbs
View file @
66f7a3d
...
...
@@ -12,7 +12,7 @@
<p
class=
"detail-content"
>
{{
content
}}
</p>
{{#
reply
}}
<p
class=
"comment-reply"
>
客服回复:
{{
.
}}
<b>
{{
..
/
replyTitle
}}
</b>
{{
.
}}
</p>
{{/
reply
}}
<span
class=
"comment-time"
>
{{
time
}}
</span>
...
...
apps/product/views/partial/detail/feedback-tab.hbs
View file @
66f7a3d
...
...
@@ -20,11 +20,6 @@
<p
class=
"detail-content"
>
{{
content
}}
</p>
{{#
reply
}}
<p
class=
"comment-reply"
>
客服回复:
{{
.
}}
</p>
{{/
reply
}}
<span
class=
"comment-time"
>
{{
time
}}
</span>
...
...
public/hbs/product/detail/feedback-tab.hbs
View file @
66f7a3d
...
...
@@ -25,7 +25,7 @@
</p>
{{#
reply
}}
<p
class=
"comment-reply"
>
客服回复:
{{
.
}}
<b>
{{
..
/
replyTitle
}}
</b>
{{
.
}}
</p>
{{/
reply
}}
<span
class=
"comment-time"
>
...
...
public/scss/product/detail/comments-consults.scss
View file @
66f7a3d
...
...
@@ -136,9 +136,12 @@
}
.comment-reply
{
background
:
#f2f2f2
;
padding
:
10px
;
margin-top
:
15px
;
padding
:
28px
;
background
:
#f0f0f0
;
box-sizing
:
border-box
;
line-height
:
32px
;
color
:
#999
;
}
.goods-spec
,
...
...
public/scss/product/detail/detail.scss
View file @
66f7a3d
...
...
@@ -891,10 +891,12 @@ $basicBtnC: #eb0313;
}
.comment-reply
{
margin
:
0
28px
;
padding
:
10px
;
background
:
#f2f2f2
;
margin
:
15px
28px
0
28px
;
padding
:
28px
;
background
:
#f0f0f0
;
box-sizing
:
border-box
;
line-height
:
32px
;
color
:
#999
;
}
.detail-content
{
...
...
Please
register
or
login
to post a comment