This commit is contained in:
2023-02-06 22:01:07 +08:00
parent 40ca4223dd
commit f2261a3066
26 changed files with 103 additions and 38 deletions

View File

@@ -1,20 +1,25 @@
<view class="main_look">
<view class="look_content">
<view class="pay_look">
<view bind:tap="changeBudget" data-type="count" class="inline_box font_big">年度总收入</view>
<view data-type="count" class="inline_box font_big">年度总收入</view>
</view>
<view class="pay_look">
<text class="center_look font_big">{{ 89310.23 }}</text>
</view>
</view>
</view>
<t-cell-group theme="card">
<t-cell wx:for="{{incomeList}}" wx:key="index"
title="{{item.name}}"
align="top"
image="/image/bill/11.png"
note="{{item.money}}"
url="../edit/index?isAccount=0&isIncome=1&isAdd=0"
/>
</t-cell-group>
<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="/image/bill/11.png"
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="新增收入类型"/>