currency.phtml 2.14 KB
{{> layout/header}}
<div class="me-currency-page me-page yoho-page clearfix">
    {{# meCurrency}}
        {{> home/path}}

        {{> home/navigation}}

        <div class="me-main">
            <div class="currencies block">
                <h2 class="title"></h2>

                <h1 class="my-currency">目前可用有货币:<em>{{myCurrency}}</em>个</h1>

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

                    <div class="options-helper">
                        <select class="filter-select">
                            {{# options}}
                                <option 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}}">
                                {{#if isIncome}}
                                    +
                                {{^}}
                                    -
                                {{/if}}
                                {{value}}
                            </span>
                            <p class="remark">
                                {{desc}}
                                {{#if detailUrl}}
                                    <a href="{{detailUrl}}">查看详情</a>
                                {{/if}}
                            </p>
                        </li>
                    {{/ currency}}
                </ul>

                {{> home/pager}}
            </div>

            {{> home/help-us}}
        </div>
    {{/ meCurrency}}
</div>