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-29 00:06:24 +0800
Commit
3c6548bdbdf61838a233dd31c86cde3c3790d983
1 parent
b9e98cce
个人中心我的消息
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
83 additions
and
1 deletions
template/m.yohobuy.com/actions/index/home/message-list.phtml
template/m.yohobuy.com/actions/index/home/message-main.phtml
template/m.yohobuy.com/actions/index/home/message.phtml
template/m.yohobuy.com/partials/layout/use.phtml
template/m.yohobuy.com/actions/index/home/message-list.phtml
0 → 100644
View file @
3c6548b
{
{#list
}
}
<div
class=
"massage-list"
data-id=
"{{id}}"
>
{
{#if
isNotReaded
}
}
<strong></strong>
{
{/if
}
}
<p><a
href=
"{{url}}"
>
{
{title
}
}</a></p>
<span>
{
{time
}
}</span>
<i
class=
"iconfont del"
>
621
;</i>
</div>
{
{/list
}
}
...
...
template/m.yohobuy.com/actions/index/home/message-main.phtml
0 → 100644
View file @
3c6548b
{
{>
layout/header
}
}
<div
class=
"massage-page yoho-page"
>
<div
class=
"massage-main"
>
<h
6
>
{
{title
}
}</h
6
>
<span>
{
{sender
}
}
发送于
{
{time
}
}</span>
</div>
{
{#if
text
}
}
<div
class=
"massage-main"
>
{
{#
text
}
}
<!--
文本消息
-->
<p>
{
{{content
}
}}</p>
{
{/
text
}
}
</div>
{
{/if
}
}
{
{#if
coupons
}
}
{
{#
coupons
}
}
<!--
优惠券消息
-->
<div
class=
"coupon-item"
>
<div
class=
"coupon-img"
>
<img
src=
"http://static.yohobuy.com/images/v2/activity/default_coupon.jpg"
>
</div>
<div
class=
"coupon-info"
>
<p>
{
{remark
}
}</p>
{
{#if
url
}
}
<p>面值:<span>
{
{price
}
}</span></p>
<p>有效期:
{
{useTime
}
}</p>
{
{^
}
}
<p>使用时间:
{
{useTime
}
}</p>
<p>领取时间:
{
{pickTime
}
}</p>
{
{/if
}
}
</div>
<div
class=
"coupon-action"
>
{
{#if
url
}
}
<a
href=
"{{url}}"
class=
"view-coupon-btn"
>立即查看</a>
{
{^
}
}
<a
{
{#if
canPick
}
}
class=
"pick-coupon-btn"
data-id=
"{{id}}"
{
{/if
}
}>立即领取</a>
{
{/if
}
}
</div>
</div>
{
{/
coupons
}
}
{
{/if
}
}
{
{#if
sale
}
}
{
{#
sale
}
}
<!--
促销消息
-->
<div
class=
"sale-img"
>
<img
src=
"{{image}}"
>
</div>
<br
/>
<br
/>
<p>
{
{{content
}
}}</p>
<br
/>
<br
/>
<a
href=
"{{btnLink}}"
class=
"sale-btn"
>
{
{btnName
}
}</a>
{
{/
sale
}
}
{
{/if
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/message.phtml
0 → 100644
View file @
3c6548b
{
{>
layout/header
}
}
<div
class=
"massage-page yoho-page"
>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/layout/use.phtml
View file @
3c6548b
...
...
@@ -340,4 +340,13 @@
seajs.use('js/me/currency-new');
</script>
{{/if}}
{{#if messagePage}}
<script>
seajs.use('js/me/message');
</script>
{{/if}}
{{#if messageDetailPage}}
<script>
seajs.use('js/me/message-detail');
</script>
{{/if}}
...
...
Please
register
or
login
to post a comment