Authored by uedxwg

有货币明细列表

.yoho-coin-detail-page {
background: #f0f0f0;
padding-bottom: pxToRem(40px);
.money{
width: 100%;
height: pxToRem(70px);
background:#fff;
margin-bottom: pxToRem(20px);
line-height: pxToRem(70px);
font-size: pxToRem(25px);
text-indent: 2em
span{
color: #f00;
font-weight: bold;
}
}
.coin-detail {
background: #fff;
border-top: 1px solid #e0e0e0;
... ...
{{> layout/header}}
<div class="yoho-coin-detail-page yoho-page">
{{# money}}
<div class="money">你拥有的有货币:<span>{{ money}}</span></div>
{{/ money}}
<ul class="coin-detail">
{{# currency}}
<li>
... ...
{{> layout/header}}
{{ iHelp}}
{{> layout/footer}}
\ No newline at end of file
... ...
... ... @@ -77,7 +77,7 @@
优惠券
<span class="iconfont num">{{coupon_num}} &#xe604;</span>
</a>
<a class="list-item" href="/home/currency">
<a class="list-item" href="/home/currencyDetail">
<span class="iconfont icon">&#xe635;</span>
YOHO
<span class="iconfont num">{{yoho_coin_num}} &#xe604;</span>
... ...
... ... @@ -257,7 +257,7 @@ class HomeController extends AbstractAction
$currency = UserModel::getYohoCoinData($this->_uid);
$currency['pageFooter'] = true;
$this->_view->display('currency', $currency);
$this->_view->display('currency-new', $currency);
}
/**
... ... @@ -895,6 +895,7 @@ class HomeController extends AbstractAction
$this->_view->display('currency-detail', array(
'currency' => $currency,
'pageFooter' => true,
'money' => 100,
'currencyDetailPage' => true
));
}
... ...