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
2016-07-22 15:17:52 +0800
Commit
1821676b5baaf6125b3d850f167164d1e30677c4
1 parent
330b2979
结构调整
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
171 additions
and
169 deletions
apps/me/controllers/returns.js
apps/me/views/partial/refund.hbs
public/js/me/returns-change.page.js → public/js/me/exchange.page.js
public/js/me/returns-refund.page.js → public/js/me/refund.page.js
public/scss/me/_index.css
public/scss/me/return/_index.css
public/scss/me/_returns.css → public/scss/me/return/_refund.css
apps/me/controllers/returns.js
View file @
1821676
...
...
@@ -76,7 +76,7 @@ const refundDetail = (req, res, next) => {
returns
.
getRefundDetailData
(
applyId
,
uid
).
then
(
result
=>
{
res
.
display
(
'index'
,
{
page
:
're
turns-re
fund'
,
page
:
'refund'
,
content
:
result
});
}).
catch
(
next
);
...
...
@@ -88,7 +88,7 @@ const exchange = (req, res, next) => {
returns
.
getChangeGoodsList
(
code
,
uid
).
then
(
result
=>
{
res
.
display
(
'index'
,
{
page
:
'
returns-
change'
,
page
:
'
ex
change'
,
isMe
:
true
,
content
:
Object
.
assign
({
nav
:
mcHandler
.
getMeCrumb
(
'我的退/换货'
),
...
...
apps/me/views/partial/refund.hbs
View file @
1821676
{{#
refund
}}
{{>
returns
/
returns-status
}}
<div
class=
"refund-wrap"
>
{{>
returns
/
returns-status
}}
<h4
class=
"third-title"
>
选择退货商品
</h4>
<div
class=
"refund-goods clearfix"
{{#
speclialReason
}}
data-
{{
id
}}
="
{{
@index
}}
"
{{/
speclialReason
}}
>
<input
id=
"order-code"
type=
"hidden"
value=
"
{{
orderCode
}}
"
>
<ul
class=
"goods-header"
>
<li
class=
"info"
>
商品信息
</li>
<li
class=
"reason"
>
退货原因
</li>
<li
class=
"num"
>
退货数量
</li>
<li
class=
"price"
>
单价
</li>
</ul>
<h4
class=
"third-title"
>
选择退货商品
</h4>
<div
class=
"refund-goods clearfix"
{{#
speclialReason
}}
data-
{{
id
}}
="
{{
@index
}}
"
{{/
speclialReason
}}
>
<input
id=
"order-code"
type=
"hidden"
value=
"
{{
orderCode
}}
"
>
<ul
class=
"goods-header"
>
<li
class=
"info"
>
商品信息
</li>
<li
class=
"reason"
>
退货原因
</li>
<li
class=
"num"
>
退货数量
</li>
<li
class=
"price"
>
单价
</li>
</ul>
{{#
goods
}}
<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"
>
<img
class=
"lazy"
data-original=
"
{{
image
img
70
90
}}
"
>
{{#
goods
}}
<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"
>
<img
class=
"lazy"
data-original=
"
{{
image
img
70
90
}}
"
>
</div>
<div
class=
"info"
>
<p>
{{
name
}}
</p>
<p>
颜色:
{{
color
}}
尺码:
{{
size
}}
</p>
<p>
×
{{
num
}}
</p>
</div>
<div
class=
"reason"
>
<select
class=
"refund-reason"
>
<option>
选择退款原因
</option>
{{#
reasonList
}}
<option
value=
"
{{
id
}}
"
>
{{
name
}}
</option>
{{/
reasonList
}}
</select>
</div>
<div
class=
"num"
>
<span
class=
"iconfont"
>

</span>
<input
type=
"text"
value=
"
{{
num
}}
"
readonly=
"readonly"
>
<span
class=
"iconfont"
>

</span>
</div>
<div
class=
"price"
>
¥
{{
round
price
2
}}
</div>
{{>
returns
/
special-reason
}}
</div>
<div
class=
"info"
>
<p>
{{
name
}}
</p>
<p>
颜色:
{{
color
}}
尺码:
{{
size
}}
</p>
<p>
×
{{
num
}}
</p>
</div>
<div
class=
"reason"
>
<select
class=
"refund-reason"
>
<option>
选择退款原因
</option>
{{#
reasonList
}}
<option
value=
"
{{
id
}}
"
>
{{
name
}}
</option>
{{/
reasonList
}}
</select>
</div>
<div
class=
"num"
>
<span
class=
"iconfont"
>

</span>
<input
type=
"text"
value=
"
{{
num
}}
"
readonly=
"readonly"
>
<span
class=
"iconfont"
>

</span>
</div>
<div
class=
"price"
>
¥
{{
round
price
2
}}
</div>
{{>
returns
/
special-reason
}}
</div>
{{/
goods
}}
</div>
{{/
goods
}}
</div>
<h4
class=
"third-title"
>
退款方式
</h4>
<h4
class=
"third-title"
>
退款方式
</h4>
<div
class=
"refund-type"
>
<div>
<label
class=
"type-item ali-item cur"
title=
"支付宝"
></label>
<label
class=
"type-item union-item"
title=
"银行卡"
></label>
<div
class=
"refund-type"
>
<div>
<label
class=
"type-item ali-item cur"
title=
"支付宝"
></label>
<label
class=
"type-item union-item"
title=
"银行卡"
></label>
</div>
<dl
class=
"alipay"
>
<dd>
账号:
<input
type=
"text"
class=
"name"
placeholder=
"收款人支付宝账号"
></dd>
<dd>
姓名:
<input
type=
"text"
class=
"account"
placeholder=
"姓名"
></dd>
</dl>
<dl
class=
"unionpay hide"
>
<dd>
银行:
<select
class=
"bank"
>
<option>
中国银行
</option>
<option>
中国农业银行
</option>
<option>
中国工商银行
</option>
<option>
中国建设银行
</option>
</select>
<input
type=
"text"
placeholder=
"开户支行"
>
<span
class=
"blue"
class=
"area"
>
例:江苏省南京市奥体支行
</span>
</dd>
<dd>
账号:
<input
type=
"text"
class=
"account"
placeholder=
"收款人银行卡号"
></dd>
<dd>
姓名:
<input
type=
"text"
class=
"name"
placeholder=
"姓名"
></dd>
</dl>
</div>
<div
class=
"opt-btn"
>
<span
class=
"apply-tip blue hide"
>
请填写完整
</span>
<div
id=
"apply-btn"
class=
"btn disable"
>
提交申请
</div>
</div>
<dl
class=
"alipay"
>
<dd>
账号:
<input
type=
"text"
class=
"name"
placeholder=
"收款人支付宝账号"
></dd>
<dd>
姓名:
<input
type=
"text"
class=
"account"
placeholder=
"姓名"
></dd>
</dl>
<dl
class=
"unionpay hide"
>
<dd>
银行:
<select
class=
"bank"
>
<option>
中国银行
</option>
<option>
中国农业银行
</option>
<option>
中国工商银行
</option>
<option>
中国建设银行
</option>
</select>
<input
type=
"text"
placeholder=
"开户支行"
>
<span
class=
"blue"
class=
"area"
>
例:江苏省南京市奥体支行
</span>
</dd>
<dd>
账号:
<input
type=
"text"
class=
"account"
placeholder=
"收款人银行卡号"
></dd>
<dd>
姓名:
<input
type=
"text"
class=
"name"
placeholder=
"姓名"
></dd>
</dl>
</div>
<div
class=
"opt-btn"
>
<span
class=
"apply-tip blue hide"
>
请填写完整
</span>
<div
id=
"apply-btn"
class=
"btn disable"
>
提交申请
</div>
</div>
{{/
refund
}}
...
...
public/js/me/
returns-
change.page.js → public/js/me/
ex
change.page.js
View file @
1821676
public/js/me/re
turns-re
fund.page.js → public/js/me/refund.page.js
View file @
1821676
public/scss/me/_index.css
View file @
1821676
...
...
@@ -113,5 +113,4 @@
@import
"order/index"
;
@import
"return/index"
;
@import
"currency"
;
@import
"returns"
;
@import
"exchange"
;
...
...
public/scss/me/return/_index.css
View file @
1821676
.returns-wrap
{
font-size
:
14px
;
.returns-status
{
padding
:
30px
0
80px
;
...
...
@@ -49,8 +51,106 @@
}
}
}
.third-title
{
font-size
:
16px
;
font-weight
:
bold
;
padding-bottom
:
20px
;
}
.special-reason
{
padding-top
:
20px
;
display
:
none
;
.left-title
{
width
:
150px
;
padding-left
:
54px
;
.red
{
color
:
#d93549
;
margin-right
:
3px
;
}
}
.right-content
{
width
:
570px
;
}
.mark-text
{
width
:
570px
;
height
:
120px
;
resize
:
none
;
border-color
:
#eee
;
}
.img-wrap
,
.img-upload
{
width
:
60px
;
height
:
60px
;
border
:
1px
dashed
#eee
;
float
:
left
;
margin-right
:
10px
;
}
.img-upload
{
line-height
:
60px
;
text-align
:
center
;
color
:
#dfdfdf
;
cursor
:
pointer
;
.iconfont
{
font-size
:
34px
;
}
}
.img-wrap
{
position
:
relative
;
}
.img-wrap
:hover
.img-opt
{
display
:
block
;
}
.img-opt
{
width
:
100%
;
height
:
20px
;
line-height
:
20px
;
background
:
#555
;
font-size
:
12px
;
color
:
#fff
;
opacity
:
0.7
;
position
:
absolute
;
text-align
:
center
;
display
:
none
;
>
*
{
display
:
inline-block
;
cursor
:
pointer
;
}
}
}
.opt-btn
{
padding-top
:
40px
;
line-height
:
40px
;
text-align
:
right
;
.blue
{
margin-right
:
10px
;
font-size
:
12px
;
}
.btn
{
width
:
130px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
16px
;
display
:
inline-block
;
}
}
}
@import
"list"
;
@import
"change"
;
@import
"refund"
;
@import
"refund-detail"
;
...
...
public/scss/me/
_returns
.css → public/scss/me/
return/_refund
.css
View file @
1821676
.returns-wrap
{
font-size
:
14px
;
.third-title
{
font-size
:
16px
;
font-weight
:
bold
;
padding-bottom
:
20px
;
}
.special-reason
{
padding-top
:
20px
;
display
:
none
;
.left-title
{
width
:
150px
;
padding-left
:
54px
;
.red
{
color
:
#d93549
;
margin-right
:
3px
;
}
}
.right-content
{
width
:
570px
;
}
.mark-text
{
width
:
570px
;
height
:
120px
;
resize
:
none
;
border-color
:
#eee
;
}
.img-wrap
,
.img-upload
{
width
:
60px
;
height
:
60px
;
border
:
1px
dashed
#eee
;
float
:
left
;
margin-right
:
10px
;
}
.img-upload
{
line-height
:
60px
;
text-align
:
center
;
color
:
#dfdfdf
;
cursor
:
pointer
;
.iconfont
{
font-size
:
34px
;
}
}
.img-wrap
{
position
:
relative
;
}
.img-wrap
:hover
.img-opt
{
display
:
block
;
}
.img-opt
{
width
:
100%
;
height
:
20px
;
line-height
:
20px
;
background
:
#555
;
font-size
:
12px
;
color
:
#fff
;
opacity
:
0.7
;
position
:
absolute
;
text-align
:
center
;
display
:
none
;
>
*
{
display
:
inline-block
;
cursor
:
pointer
;
}
}
}
.opt-btn
{
padding-top
:
40px
;
line-height
:
40px
;
text-align
:
right
;
.blue
{
margin-right
:
10px
;
font-size
:
12px
;
}
.btn
{
width
:
130px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
16px
;
display
:
inline-block
;
}
}
.refund-wrap
{
.refund-goods
{
margin-bottom
:
40px
;
...
...
Please
register
or
login
to post a comment