currency.hbs 2.19 KB
<div class="me-currency-page me-page yoho-page clearfix">
        {{> path}}

        {{> navigation}}

        <div class="me-main">
        {{# content}}
            <div class="currencies block">
                <h2 class="title"></h2>

                <h1 class="my-currency{{#if tip}} has-tip{{/if}}">目前可用YOHO币:<em>{{myCurrency}}</em></h1>

                {{# tip}}
                    <h1 class="currency-tip">{{date}}即将过期:<em>{{count}}</em></h1>
                {{/ tip}}

                <div class="tab-wrap">
                    {{> tabs}}

                    <div class="options-helper">
                        <select class="filter-select">
                            {{# options}}
                                <option{{#if selected}} selected{{/if}} value="{{url}}">{{name}}</option>
                            {{/ options}}
                        </select>
                        <a class="coin-helper" href="{{coinHelperUrl}}">[ 什么是YOHO币?]</a>
                    </div>
                </div>

                <p class="currency-header clearfix">
                    <span class="date">日期</span>
                    <span class="income-expenditure">收入/支出</span>
                    <span class="remark">详细说明</span>
                </p>

                <ul class="currency">
                    {{# currency}}
                        <li>
                            <span class="date">{{date}}</span>
                            <span class="income-expenditure{{#if isIncome}} income{{/if}}">
                                {{value}}
                            </span>
                            <p class="remark">
                                {{desc}}
                                {{#if detailUrl}}
                                    <a href="{{detailUrl}}">查看详情</a>
                                {{/if}}
                            </p>
                        </li>
                    {{/ currency}}
                </ul>

                {{#with ../pager}}
                    {{> common/foot-pager footPager=this}}
                {{/with}}
            </div>
        {{/ content}}
            {{> help-us}}
        </div>
</div>