currency.hbs 2.07 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>

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

                {{# tip}}
                    <p class="currency-tip">{{date}}即将过期:<em>{{count}}</em></p>
                {{/ 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}}">[ 什么是有货币?]</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>
                {{> pager}}
            </div>
        {{/ content}}

        </div>
</div>