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
129af57bb00efade03ab64aba6d2f1b8aba9eb47
1 parent
fd49f61c
限制退货商品提示
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
2 deletions
apps/me/models/returns.js
apps/me/views/partial/refund.hbs
public/img/me/code-horn.png
public/scss/me/return/_refund.css
apps/me/models/returns.js
View file @
129af57
...
...
@@ -218,7 +218,10 @@ const _setReturnStatus = (list, half) => {
* @return { Object } 订单退货信息
*/
const
_setRefundGoodList
=
(
data
)
=>
{
let
resData
=
{};
let
resData
=
{
specialNotice
:
data
.
special_notice
,
speclialReason
:
data
.
special_return_reason
};
if
(
data
.
goods_list
)
{
let
goods
=
[];
...
...
@@ -239,6 +242,7 @@ const _setRefundGoodList = (data) => {
sku
:
value
.
product_sku
,
type
:
value
.
goods_type
,
typeId
:
value
.
goods_type_id
,
limitReturn
:
value
.
is_limit_skn
===
'Y'
,
reasonList
:
data
.
return_reason
});
...
...
@@ -248,7 +252,6 @@ const _setRefundGoodList = (data) => {
});
resData
.
goods
=
goods
;
}
resData
.
speclialReason
=
data
.
special_return_reason
;
let
returnMode
=
[];
...
...
apps/me/views/partial/refund.hbs
View file @
129af57
...
...
@@ -39,6 +39,19 @@
<span
class=
"iconfont"
>

</span>
</div>
<div
class=
"price"
>
¥
{{
round
price
2
}}
</div>
{{#if
limitReturn
}}
<div
class=
"limit-return"
>
<span
class=
"limit-return-tip blue"
>
该商品不支持7天无理由退换
<i
class=
"iconfont"
>

</i>
<div
class=
"limit-return-wrap"
>
<div
class=
"code-horn"
></div>
<p>
考虑到个人卫生,例如内衣、内裤、袜子等贴身塑身类商品,不支持无理由退换货
</p>
<p>
香水、香薰、化妆品等特殊商品,无质量问题,不支持无理由退换货
</p>
</div>
</span>
</div>
{{/if}}
{{>
returns
/
special-reason
}}
</div>
{{/
goods
}}
...
...
public/img/me/code-horn.png
0 → 100644
View file @
129af57
220 Bytes
public/scss/me/return/_refund.css
View file @
129af57
...
...
@@ -81,6 +81,33 @@
width
:
40px
;
}
.limit-return
{
width
:
100%
;
height
:
auto
;
text-align
:
left
;
line-height
:
1
;
padding-top
:
20px
;
padding-left
:
70px
;
}
.limit-return
.iconfont
{
font-size
:
14px
;
}
.limit-return-tip
{
font-size
:
12px
;
padding-right
:
16px
;
position
:
relative
;
}
.limit-return-tip
:hover
{
cursor
:
pointer
;
}
.limit-return-tip
:hover
.limit-return-wrap
{
display
:
block
;
}
.special-reason
{
width
:
100%
;
height
:
auto
;
...
...
@@ -95,6 +122,28 @@
border
:
1px
solid
#eee
;
}
}
.limit-return-wrap
{
width
:
280px
;
line-height
:
1.5
;
background
:
#fff
;
padding
:
10px
;
color
:
#1d1d1d
;
border
:
2px
solid
#bcbcbc
;
position
:
absolute
;
left
:
100%
;
top
:
-8px
;
display
:
none
;
.code-horn
{
width
:
7px
;
height
:
12px
;
background
:
resolve
(
'me/code-horn.png'
)
no-repeat
;
position
:
absolute
;
left
:
-7px
;
top
:
6px
;
}
}
}
.refund-type
{
...
...
Please
register
or
login
to post a comment