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-21 11:14:06 +0800
Commit
dd25c98a369e7e709f3129112270444223dbe6d0
1 parent
b4caff97
模板抽出
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
71 deletions
apps/me/views/partial/refund.hbs
apps/me/views/partial/returns.hbs
apps/me/views/partial/refund.hbs
0 → 100644
View file @
dd25c98
{{#
refund
}}
<h4
class=
"third-title"
>
选择退货商品
</h4>
<div
class=
"refund-goods clearfix"
{{#
speclialReason
}}
data-
{{
id
}}
="
{{
@index
}}
"
{{/
speclialReason
}}
>
<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
}}
"
>
</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>
<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>
<dl
class=
"alipay"
>
<dd>
账号:
<input
type=
"text"
placeholder=
"收款人支付宝账号"
></dd>
<dd>
姓名:
<input
type=
"text"
placeholder=
"姓名"
></dd>
</dl>
<dl
class=
"unionpay hide"
>
<dd>
银行:
<select>
<option>
中国银行
</option>
<option>
中国农业银行
</option>
<option>
中国工商银行
</option>
<option>
中国建设银行
</option>
</select>
<input
type=
"text"
placeholder=
"开户支行"
>
<span
class=
"blue"
>
例:江苏省南京市奥体支行
</span>
</dd>
<dd>
账号:
<input
type=
"text"
placeholder=
"收款人银行卡号"
></dd>
<dd>
姓名:
<input
type=
"text"
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
}}
...
...
apps/me/views/partial/returns.hbs
View file @
dd25c98
...
...
@@ -2,77 +2,7 @@
{{#
returns
}}
{{>
common
/
subtitle
}}
<h4
class=
"third-title"
>
选择退货商品
</h4>
{{
log
this
}}
<div
class=
"refund-goods clearfix"
{{#
speclialReason
}}
data-
{{
id
}}
="
{{
@index
}}
"
{{/
speclialReason
}}
>
<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
}}
"
>
</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>
<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>
<dl
class=
"alipay"
>
<dd>
账号:
<input
type=
"text"
placeholder=
"收款人支付宝账号"
></dd>
<dd>
姓名:
<input
type=
"text"
placeholder=
"姓名"
></dd>
</dl>
<dl
class=
"unionpay hide"
>
<dd>
银行:
<select>
<option>
中国银行
</option>
<option>
中国农业银行
</option>
<option>
中国工商银行
</option>
<option>
中国建设银行
</option>
</select>
<input
type=
"text"
placeholder=
"开户支行"
>
<span
class=
"blue"
>
例:江苏省南京市奥体支行
</span>
</dd>
<dd>
账号:
<input
type=
"text"
placeholder=
"收款人银行卡号"
></dd>
<dd>
姓名:
<input
type=
"text"
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
}}
{{/
returns
}}
</div>
</div>
...
...
Please
register
or
login
to post a comment