Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
xuqi
2015-11-11 16:11:22 +0800
Commit
9a26cc04e713cab548113364b8a4ec7a22351808
1 parent
a68a1a8a
YOHO Coin
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
4 deletions
static/sass/me/_index.scss
static/sass/me/_yoho-coin.scss
template/m.yohobuy.com/actions/index/home/yoho-coin.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/sass/me/_index.scss
View file @
9a26cc0
@import
"home"
,
"vip-grade"
,
"order"
,
"personal-details"
;
\ No newline at end of file
@import
"home"
,
"vip-grade"
,
"order"
,
"personal-details"
,
"yoho-coin"
;
\ No newline at end of file
...
...
static/sass/me/_yoho-coin.scss
0 → 100644
View file @
9a26cc0
.yoho-coin-page
{
padding
:
1em
;
.coin-num
{
font-size
:
1
.4em
;
text-align
:
center
;
em
{
font-size
:
4em
;
color
:
#f00
;
}
}
section
p
{
line-height
:
1
.5em
;
}
.title
{
font-size
:
16px
;
line-height
:
20px
;
font-weight
:
bold
;
}
.sub-title
{
display
:
block
;
font-size
:
14px
;
line-height
:
28px
;
font-weight
:
bold
;
}
.path
{
color
:
#f60
;
}
.remark
{
color
:
#666
;
span
{
color
:
#9c3
;
}
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/yoho-coin.phtml
0 → 100644
View file @
9a26cc0
{
{>
layout/header
}
}
<div
class=
"yoho-coin-page yoho-page"
>
{
{#
yohoCoin
}
}
<p
class=
"coin-num"
>
<em>
{
{coinNum
}
}</em>
YOHO币
</p>
<section>
<p
class=
"title"
>YOHO币</p>
<hr>
<p>
<span
class=
"sub-title"
>YOHO币是什么,有什么用?</span>
YOHO币是有货商城的虚拟货币,与现金比例
1
:
1
,没有任何使用期限,YOHO币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额不可计入消费金额。
</p>
<p>
<span
class=
"sub-title"
>如何查看自己的YOHO币?</span>
<span
class=
"path"
>登录
>
个人中心
>
我的YOHO币</span>
</p>
<p>
<span
class=
"sub-title"
>YOHO币如何购买支付?</span>
在购买支付页面输入您要使用的YOHO币金额即可完成支付
<div
class=
"remark"
>
<span>※
</span>
如果超过了我们约定的期限的非正常退货,我们将会于您的退款金额中直接扣除赠送YOHO币等值的金额。赠送给您的YOHO币还将保留在您的账户中,敬请谅解。
</div>
</p>
</section>
{
{/
yohoCoin
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
9a26cc0
...
...
@@ -111,11 +111,12 @@ class HomeController extends AbstractAction
*/
public
function
currencyAction
()
{
$uid
=
$this
->
getUid
();
//
$uid = $this->getUid();
$favBrands
=
\Index\UserModel
::
getYohoCoinData
(
$uid
);
//
$favBrands = \Index\UserModel::getYohoCoinData($uid);
print_r
(
$favBrands
);
// print_r($favBrands);
$this
->
_view
->
display
(
'yoho-coin'
,
array
(
'yohoCoin'
=>
array
(
'coinNum'
=>
0
)));
}
/**
...
...
Please
register
or
login
to post a comment