Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
郭成尧
2016-04-26 17:33:36 +0800
Commit
384b30c71a9468809dfb6b632dddd01f9c97f5aa
1 parent
d46c1a7b
旧代码迁移
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
128 additions
and
35 deletions
template/m.yohobuy.com/actions/index/coupon/couponlist.phtml
template/m.yohobuy.com/actions/index/coupon/focus.phtml
template/m.yohobuy.com/actions/index/coupon/imagelist.phtml
template/m.yohobuy.com/actions/index/coupon/index.phtml
template/m.yohobuy.com/actions/index/coupon/newarrival.phtml
template/m.yohobuy.com/actions/index/coupon/couponlist.phtml
0 → 100644
View file @
384b30c
<div class="coupon-floor" coupon-id="{{couponID}}">
{{#if showFloorTitle}}
<div class="floor-title">
{{floorTitle}}
</div>
{{/if}}
<div class="floor-main" style="background-image: url({{image.src}});">
<a href="{{image.url}}" class="main-left"></a>
{{#if isGet}}
<div class="main-right-receive">
<span class="on-receive"></span>
</div>
<a href="{{image.url}}" class="main-right-use" style="display: none">
<span class="received"></span>
</a>
{{/if}}
{{#if isGeted}}
<a href="{{image.url}}" class="main-right-use">
<span class="received"></span>
</a>
{{/if}}
{{#if isZero}}
<a href="{{image.url}}" class="main-right-go">
<span class="zero"></span>
</a>
{{/if}}
</div>
</div>
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/coupon/focus.phtml
0 → 100644
View file @
384b30c
<div class="newfestival-container">
{{# slider}}
<div class="swiper-container newfestival-block">
<div class="swiper-wrapper">
{{# imgs}}
<div class="swiper-slide">
<a href="{{url}}">
<img src="{{src}}" alt="">
</a>
</div>
{{/ imgs}}
</div>
<div class="swiper-pagination"></div>
</div>
{{/ slider}}
</div>
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/coupon/imagelist.phtml
0 → 100644
View file @
384b30c
<div class="newfestival-container">
{{# imageList}}
<div class="img-list newfestival-block newfestival-recom-{{col}} clearfix">
{{# title}}
<div class="new-arrival-header">
<span class="header-text"> {{.}}</span>
</div>
{{/ title}}
{{# list}}
<div class="newfestival-recom-item">
<a href="{{url}}" class="img-wrapper">
<img class="img" src="{{src}}" alt="" style="display:block">
</a>
</div>
{{/ list}}
</div>
{{/ imageList}}
</div>
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/coupon/index.phtml
View file @
384b30c
{
{>layout/header
}
}
<div
class=
"coupon-area"
>
{
{#
content
}
}
{
{#if
isSingleImage
}
}
<a
href=
"{{url}}"
><img
src=
"{{src}}"
class=
"just-img"
/></a>
{
{#if
isSingleImage
}
}
<a
href=
"{{url}}"
><img
src=
"{{src}}"
class=
"just-img"
/></a>
{
{/if
}
}
{
{#if
isCarouselBanner
}
}
{
{>
home/banner_top
}
}
{
{/if
}
}
{
{#if
isFocus
}
}
{
{>
home/banner_top
}
}
{
{/if
}
}
{
{#if
isCoupon
}
}
<div
class=
"coupon-floor"
coupon-id=
"{{couponID}}"
>
{
{#if
showFloorTitle
}
}
<div
class=
"floor-title"
>
{
{floorTitle
}
}
</div>
{
{/if
}
}
{
{#if
isCarouselBanner
}
}
{
{>
home/banner_top
}
}
{
{/if
}
}
{
{#if
isCoupon
}
}
<div
class=
"coupon-floor"
coupon-id=
"{{couponID}}"
>
{
{#if
showFloorTitle
}
}
<div
class=
"floor-title"
>
{
{floorTitle
}
}
</div>
{
{/if
}
}
<div
class=
"floor-main"
style=
"background-image: url({{image.src}});"
>
<a
href=
"{{image.url}}"
class=
"main-left"
></a>
{
{#if
isGet
}
}
<div
class=
"main-right-receive"
>
<span
class=
"on-receive"
></span>
</div>
<a
href=
"{{image.url}}"
class=
"main-right-use"
style=
"display: none"
>
<span
class=
"received"
></span>
</a>
{
{/if
}
}
{
{#if
isGeted
}
}
<a
href=
"{{image.url}}"
class=
"main-right-use"
>
<span
class=
"received"
></span>
</a>
{
{/if
}
}
{
{#if
isZero
}
}
<a
href=
"{{image.url}}"
class=
"main-right-go"
>
<span
class=
"zero"
></span>
</a>
{
{/if
}
}
</div>
<div
class=
"floor-main"
style=
"background-image: url({{image.src}});"
>
<a
href=
"{{image.url}}"
class=
"main-left"
></a>
{
{#if
isGet
}
}
<div
class=
"main-right-receive"
>
<span
class=
"on-receive"
></span>
</div>
{
{/if
}
}
<a
href=
"{{image.url}}"
class=
"main-right-use"
style=
"display: none"
>
<span
class=
"received"
></span>
</a>
{
{/if
}
}
{
{#if
isGeted
}
}
<a
href=
"{{image.url}}"
class=
"main-right-use"
>
<span
class=
"received"
></span>
</a>
{
{/if
}
}
{
{#if
isZero
}
}
<a
href=
"{{image.url}}"
class=
"main-right-go"
>
<span
class=
"zero"
></span>
</a>
{
{/if
}
}
</div>
</div>
{
{/if
}
}
{
{#if
isImageList
}
}
{
{>
coupon/imagelist
}
}
{
{/if
}
}
{
{#if
isNewArrival
}
}
{
{>
coupon/newarrival
}
}
{
{/if
}
}
{
{#
share
}
}
<input
id=
"shareLink"
type=
"hidden"
value=
"{{shareLink}}"
>
<input
id=
"shareDesc"
type=
"hidden"
value=
"{{shareDesc}}"
>
<input
id=
"shareImg"
type=
"hidden"
value=
"{{shareImg}}"
>
<input
id=
"shareTitle"
type=
"hidden"
value=
"{{shareTitle}}"
>
{
{/
share
}
}
{
{/
content
}
}
</div>
<div
class=
"floor-mask"
></div>
<div
class=
"floor-message"
>
<div
class=
"coupon-message-content"
></div>
<div
class=
"coupon-message-op"
>
<span
class=
"coupon-message-op-rel"
>刷新</span>
<span
class=
"coupon-message-op-rel"
>刷新</span>
</div>
</div>
<div
class=
"floor-tooltip"
>
...
...
template/m.yohobuy.com/actions/index/coupon/newarrival.phtml
0 → 100644
View file @
384b30c
<div class="newfestival-container">
<div class="new-arrival newfestival-block">
<div class="new-arrival-header">
<span class="header-text">最新单品推荐</span>
</div>
<div class="new-arrival-content clearfix">
{{# goods}}
{{> common/good_info}}
{{/ goods}}
</div>
</div>
</div>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment