Blame view

apps/home/views/action/currency.hbs 2.08 KB
weiqingting authored
1 2 3 4
<div class="me-currency-page me-page yoho-page clearfix">
        {{> path}}
        {{> navigation}}
        <div class="me-main">
weiqingting authored
5
        {{# content}}
weiqingting authored
6 7 8
            <div class="currencies block">
                <h2 class="title"></h2>
周少峰 authored
9
                <h1 class="my-currency{{#if tip}} has-tip{{/if}}">目前可用有货币:<em>{{myCurrency}}</em></h1>
weiqingting authored
10 11 12 13 14 15 16 17 18 19 20 21 22 23

                {{# 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>
周少峰 authored
24
                        <a class="coin-helper" href="{{coinHelperUrl}}">[ 什么是有货币?]</a>
weiqingting authored
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
                    </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>
hongweigao authored
50
                {{> pager}}
weiqingting authored
51
            </div>
weiqingting authored
52
        {{/ content}}
hongweigao authored
53
weiqingting authored
54 55
        </div>
</div>