Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
f105c256e77aec8c8772e1edc17c0aa7e6d95c61
1 parent
0dbf3232
商品名过长处理
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
apps/me/models/returns.js
apps/me/views/partial/refund.hbs
apps/me/models/returns.js
View file @
f105c25
...
...
@@ -235,7 +235,11 @@ const _setRefundGoodList = (data) => {
goods
.
push
({
href
:
helpers
.
urlFormat
(
`
/
product
/
pro_$
{
value
.
product_id
}
_$
{
value
.
goods_id
}
/${cnAlphabet}.html`
)
,
img
:
value
.
goods_image
,
name
:
value
.
product_name
,
name
:
_
.
truncate
(
value
.
product_name
,
{
length
:
34
,
omission
:
'...'
}),
title
:
value
.
product_name
,
size
:
value
.
size_name
,
color
:
value
.
color_name
,
num
:
1
,
// 接口目前不支持
...
...
apps/me/views/partial/refund.hbs
View file @
f105c25
...
...
@@ -16,12 +16,12 @@
<div
class=
"goods-item clearfix"
>
<div
class=
"check"
data-skn=
"
{{
skn
}}
"
data-skc=
"
{{
skc
}}
"
data-sku=
"
{{
sku
}}
"
data-price=
"
{{
price
}}
"
data-type=
"
{{
typeId
}}
"
>
{{>
icon
/
checkbox
}}
</div>
<div
class=
"img"
>
<a
href=
"
{{
href
}}
"
title=
"
{{
nam
e
}}
"
target=
"_blank"
>
<a
href=
"
{{
href
}}
"
title=
"
{{
titl
e
}}
"
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
img
70
90
}}
"
>
</a>
</div>
<div
class=
"info"
>
<p><a
href=
"
{{
href
}}
"
class=
"title"
title=
"
{{
nam
e
}}
"
target=
"_blank"
>
{{
name
}}
</a></p>
<p><a
href=
"
{{
href
}}
"
class=
"title"
title=
"
{{
titl
e
}}
"
target=
"_blank"
>
{{
name
}}
</a></p>
<p>
颜色:
{{
color
}}
尺码:
{{
size
}}
</p>
<p>
×
{{
num
}}
</p>
</div>
...
...
Please
register
or
login
to post a comment