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
李奇
2019-02-19 10:26:26 +0800
Commit
76663f933c7903279dfdecf2a4130aca68e01f5e
1 parent
9095a794
添加目录
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
0 deletions
public/hbs/activity/group/chose-panel.hbs
public/hbs/activity/group/chose-panel.hbs
0 → 100644
View file @
76663f9
{{#
cartInfo
}}
<div
class=
"chose-panel"
data-skn=
"
{{
productSkn
}}
"
>
<div
class=
"main"
>
<div
class=
"close iconfont"
>

</div>
<div
class=
"infos
{{#if
@root
.
tickets
}}
tickets-info
{{/if}}
"
>
<div
class=
"basic-info"
>
<div
class=
"thumb-img"
>
<img
class=
"thumb"
src=
"
{{
defaultThumb
}}
"
>
</div>
<div
class=
"text-info"
>
<p
class=
"price"
>
{{#if
price
}}
<span
class=
"sale-price"
>
{{
salePrice
}}
</span>
<span
class=
"market-price"
>
{{
price
}}
</span>
{{else}}
{{#
isY
isSecKill
}}
<span
class=
"sale-price"
>
{{
salePrice
}}
</span>
<span
class=
"market-price"
>
{{
salePrice
}}
</span>
{{else}}
<span
class=
"sale-price no-price"
>
{{
salePrice
}}
</span>
{{/
isY
}}
{{/if}}
</p>
<p
class=
"not-choose"
>
{{
@root
.
noChoseText
}}
</p>
<p
class=
"choosed-info hide"
></p>
<p
class=
"size-info hide"
></p>
<p
class=
"size-rec hide"
></p>
</div>
</div>
<div
class=
"chose-items"
>
{{#
each
props
}}
<div
class=
"block-list"
>
<span
class=
"name"
>
{{
name
}}
</span>
<ul
class=
"size-row clearfix"
>
{{#
each
values
}}
<li
class=
"block
{{#if
chosed
}}
chosed
{{/if}}
"
data-prop-id=
"
{{
..
/
type
}}
"
data-value-id=
"
{{
id
}}
"
>
{{
name
}}
</li>
{{/
each
}}
</ul>
</div>
{{/
each
}}
<div
class=
"num"
>
<span
class=
"name"
>
数量
</span>
<div
class=
"clearfix"
>
<a
class=
"btn btn-minus
{{#if
@root
.
discountBuy
}}
discount-gray
{{/if}}
"
href=
"javascript:void(0);"
>
<span
class=
"iconfont
{{#if
@root
.
disableNum
}}
disabled
{{/if}}
"
>

</span>
{{!--TODO promotionId => disabled--}}
</a>
<input
id=
"good-num"
class=
"good-num disabled"
type=
"text"
value=
"
{{
@root
.
buyNum
}}
"
disabled=
"true"
>
<a
class=
"btn btn-plus"
href=
"javascript:void(0);"
>
<span
class=
"iconfont
{{#if
@root
.
disableNum
}}
disabled
{{/if}}
"
>

</span>
</a>
</div>
{{#if
@root
.
discountBuy
}}
<input
id=
"mnum"
type=
"hidden"
value=
"
{{
@root
.
discountBuy
.
num
}}
"
>
{{#if
@root
.
discountBuy
.
discount
}}
<span
class=
"left-num-discount"
>
{{
@root
.
discountBuy
.
num
}}
件起购享
{{
@root
.
discountBuy
.
discount
}}
折
</span>
{{^}}
<span
class=
"left-num-discount"
>
{{
@root
.
discountBuy
.
num
}}
件起购
</span>
{{/if}}
{{^}}
<span
class=
"left-num"
></span>
{{/if}}
<input
id=
"left-num"
type=
"hidden"
value=
"0"
>
<input
id=
"limitNum"
type=
"hidden"
value=
"
{{
limit
}}
"
>
</div>
</div>
</div>
<div
class=
"btn-wrap"
>
{{#if
@root
.
buttonText
.
double
}}
<button
id=
"chose-btn-buynow"
class=
"btn btn-sure-buynow"
>
立即购买
</button>
<button
id=
"chose-btn-sure"
class=
"btn btn-sure-addtocart"
>
加入购物车
</button>
{{^}}
<button
id=
"chose-btn-sure"
class=
"btn btn-sure"
>
{{
@root
.
buttonText
.
text
}}
</button>
{{/if}}
</div>
</div>
</div>
{{/
cartInfo
}}
<input
id=
"promotionId"
type=
"hidden"
value=
"
{{
promotionId
}}
"
>
<input
id=
"single"
type=
"hidden"
value=
"
{{
@root
.
single
}}
"
>
...
...
Please
register
or
login
to post a comment