Showing
4 changed files
with
79 additions
and
4 deletions
static/sass/me/_yoho-coin.scss
0 → 100644
1 | +.yoho-coin-page { | ||
2 | + padding: 1em; | ||
3 | + | ||
4 | + .coin-num { | ||
5 | + font-size: 1.4em; | ||
6 | + text-align: center; | ||
7 | + | ||
8 | + em { | ||
9 | + font-size: 4em; | ||
10 | + color: #f00; | ||
11 | + } | ||
12 | + } | ||
13 | + | ||
14 | + section p { | ||
15 | + line-height: 1.5em; | ||
16 | + } | ||
17 | + | ||
18 | + .title { | ||
19 | + font-size: 16px; | ||
20 | + line-height: 20px; | ||
21 | + font-weight: bold; | ||
22 | + } | ||
23 | + | ||
24 | + .sub-title { | ||
25 | + display: block; | ||
26 | + font-size: 14px; | ||
27 | + line-height: 28px; | ||
28 | + font-weight: bold; | ||
29 | + } | ||
30 | + | ||
31 | + .path { | ||
32 | + color: #f60; | ||
33 | + } | ||
34 | + | ||
35 | + .remark { | ||
36 | + color: #666; | ||
37 | + | ||
38 | + span { | ||
39 | + color: #9c3; | ||
40 | + } | ||
41 | + } | ||
42 | +} |
1 | +{{> layout/header}} | ||
2 | +<div class="yoho-coin-page yoho-page"> | ||
3 | + {{# yohoCoin}} | ||
4 | + <p class="coin-num"> | ||
5 | + <em>{{coinNum}}</em> | ||
6 | + YOHO币 | ||
7 | + </p> | ||
8 | + | ||
9 | + <section> | ||
10 | + <p class="title">YOHO币</p> | ||
11 | + <hr> | ||
12 | + <p> | ||
13 | + <span class="sub-title">YOHO币是什么,有什么用?</span> | ||
14 | + YOHO币是有货商城的虚拟货币,与现金比例1:1,没有任何使用期限,YOHO币可直接用于有货线上购物使用,不可转让他人,不可兑换为现金。使用YOHO币支付的金额不可计入消费金额。 | ||
15 | + </p> | ||
16 | + <p> | ||
17 | + <span class="sub-title">如何查看自己的YOHO币?</span> | ||
18 | + <span class="path">登录 > 个人中心 > 我的YOHO币</span> | ||
19 | + </p> | ||
20 | + <p> | ||
21 | + <span class="sub-title">YOHO币如何购买支付?</span> | ||
22 | + 在购买支付页面输入您要使用的YOHO币金额即可完成支付 | ||
23 | + | ||
24 | + <div class="remark"> | ||
25 | + <span>※ </span> | ||
26 | + 如果超过了我们约定的期限的非正常退货,我们将会于您的退款金额中直接扣除赠送YOHO币等值的金额。赠送给您的YOHO币还将保留在您的账户中,敬请谅解。 | ||
27 | + </div> | ||
28 | + </p> | ||
29 | + </section> | ||
30 | + {{/ yohoCoin}} | ||
31 | +</div> | ||
32 | +{{> layout/footer}} |
@@ -111,11 +111,12 @@ class HomeController extends AbstractAction | @@ -111,11 +111,12 @@ class HomeController extends AbstractAction | ||
111 | */ | 111 | */ |
112 | public function currencyAction() | 112 | public function currencyAction() |
113 | { | 113 | { |
114 | - $uid = $this->getUid(); | 114 | + // $uid = $this->getUid(); |
115 | 115 | ||
116 | - $favBrands = \Index\UserModel::getYohoCoinData($uid); | 116 | + // $favBrands = \Index\UserModel::getYohoCoinData($uid); |
117 | 117 | ||
118 | - print_r($favBrands); | 118 | + // print_r($favBrands); |
119 | + $this->_view->display('yoho-coin', array('yohoCoin' => array('coinNum' => 0))); | ||
119 | } | 120 | } |
120 | 121 | ||
121 | /** | 122 | /** |
-
Please register or login to post a comment