账单报表
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<t-tabs defaultValue="{{0}}" t-class="custom-tabs" theme="card">
|
||||
<t-tab-panel label="总览" value="0" class="tab_content">
|
||||
<view class="space_box font_big">
|
||||
<text class="t-color-expend">支出\n {{sumExpend}}</text>
|
||||
<text class="t-color-income">收入\n {{sumIncome}}</text>
|
||||
<text class="t-color-transfer">转账\n {{sumTransfer}}</text>
|
||||
<text class="t-color-repayment">还款\n {{sumRepayment}}</text>
|
||||
<text class="t-color-EXPEND">支出\n {{sumExpend}}</text>
|
||||
<text class="t-color-INCOME">收入\n {{sumIncome}}</text>
|
||||
<text class="t-color-TRANSFER">转账\n {{sumTransfer}}</text>
|
||||
<text class="t-color-REPAYMENT">还款\n {{sumRepayment}}</text>
|
||||
</view>
|
||||
<view class="padding_box">
|
||||
<t-divider dashed content="账单明细"/>
|
||||
@@ -35,13 +35,12 @@
|
||||
<view wx:if="{{payTypeList != null && payTypeList.length > 0}}">
|
||||
<t-cell-group theme="card">
|
||||
<t-cell wx:for="{{payTypeList}}" wx:key="index"
|
||||
title="{{item.title}}"
|
||||
title="{{item.moneyName}}"
|
||||
description="{{item.progress}}%"
|
||||
align="top"
|
||||
image="/image/bill/8.png"
|
||||
image="{{item.moneyIcon}}"
|
||||
note="{{item.money}}"
|
||||
class="t-cell-{{item.type}}"
|
||||
url="{{'/pages/chart/group/index?type=' + item.type}}"
|
||||
url="{{'/pages/chart/group/index?expendId=' + item.expendId + '&rangeDate=' + showDate}}"
|
||||
/>
|
||||
</t-cell-group>
|
||||
</view>
|
||||
@@ -50,12 +49,13 @@
|
||||
</t-tab-panel>
|
||||
<t-tab-panel label="趋势" value="2">
|
||||
<view class="chart-box">
|
||||
<view class="center_box">当月</view>
|
||||
<view class="chart_title">本月</view>
|
||||
<ec-canvas id="mychart-dom-line1" canvas-id="mychart-line1" ec="{{ ecLine1 }}"></ec-canvas>
|
||||
</view>
|
||||
<view class="chart-box2">
|
||||
<view class="center_box">近6个月</view>
|
||||
<view class="chart-title2">近6月</view>
|
||||
<ec-canvas id="mychart-dom-line2" canvas-id="mychart-line2" ec="{{ ecLine2 }}"></ec-canvas>
|
||||
<view class="chart-chart-bottom"></view>
|
||||
</view>
|
||||
</t-tab-panel>
|
||||
<t-tab-panel label="排行" value="3">
|
||||
@@ -65,12 +65,12 @@
|
||||
<view wx:if="{{payList != null && payList.length > 0}}">
|
||||
<t-cell-group theme="card">
|
||||
<t-cell wx:for="{{payList}}" wx:key="index"
|
||||
title="{{item.title}}"
|
||||
description="{{item.dateTime}} • {{item.from}}"
|
||||
title="{{item.moneyName}}"
|
||||
description="{{item.date}} • {{item.accountName}}"
|
||||
align="top"
|
||||
image="/image/bill/2.png"
|
||||
image="{{item.moneyIcon}}"
|
||||
note="{{item.money}}"
|
||||
class="t-cell-{{item.type}}"
|
||||
class="t-cell-{{item.billType}}"
|
||||
url="{{'/pages/bill/index?id=' + item.id}}"
|
||||
/>
|
||||
</t-cell-group>
|
||||
@@ -81,12 +81,12 @@
|
||||
<view wx:if="{{incomeList != null && incomeList.length > 0}}">
|
||||
<t-cell-group theme="card">
|
||||
<t-cell wx:for="{{incomeList}}" wx:key="index"
|
||||
title="{{item.title}}"
|
||||
description="{{item.dateTime}} • {{item.from}}"
|
||||
title="{{item.moneyName}}"
|
||||
description="{{item.date}} • {{item.accountName}}"
|
||||
align="top"
|
||||
image="/image/bill/4.png"
|
||||
image="{{item.moneyIcon}}"
|
||||
note="{{item.money}}"
|
||||
class="t-cell-{{item.type}}"
|
||||
class="t-cell-{{item.billType}}"
|
||||
url="{{'/pages/bill/index?id=' + item.id}}"
|
||||
/>
|
||||
</t-cell-group>
|
||||
|
||||
Reference in New Issue
Block a user