26 lines
952 B
Plaintext
26 lines
952 B
Plaintext
<view class="main_look">
|
|
<view class="look_content">
|
|
<view class="pay_look">
|
|
<view data-type="count" class="inline_box font_big">年度总收入</view>
|
|
</view>
|
|
<view class="pay_look">
|
|
<text class="center_look font_big">{{ sumYearAmnt ? sumYearAmnt : 0 }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{incomeList != null && incomeList.length > 0}}">
|
|
<t-cell-group theme="card">
|
|
<t-cell wx:for="{{incomeList}}" wx:key="index"
|
|
title="{{item.name}}"
|
|
align="top"
|
|
image="{{item.icon}}"
|
|
note="{{item.money}}"
|
|
url="../edit/index?isAccount=0&isIncome=1&isAdd=0&id={{item.id}}"
|
|
/>
|
|
</t-cell-group>
|
|
</view>
|
|
<view wx:else class="empty-view" >
|
|
<t-empty icon="chart-bubble" description="暂无收入分类" />
|
|
</view>
|
|
<t-fab icon="add" bind:click="handleClick" aria-label="新增收入类型"/>
|