白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -15,9 +15,9 @@
description="{{item.date}} • {{item.accountName}}"
align="top"
image="{{item.moneyIcon}}"
note="{{item.money}}"
class="t-cell-{{item.billType}}"
url="{{'/pages/bill/index?id=' + item.id}}"
/>
>
<text slot="note" class="t-color-{{item.billType}}">{{item.money}}</text>
</t-cell>
</t-cell-group>
</view>

View File

@@ -6,7 +6,7 @@
display: flex;
flex-direction: column;
justify-content: center;
height: 200rpx;
height: 220rpx;
background-image: url("https://www.qnforever.top/images/wx/cover.png");
background-size:100% 100%;
font-weight: bold;

View File

@@ -104,7 +104,9 @@ Page({
})
}
let option = app.$utils.getPieOption(pieData);
pieChart.setOption(option);
if (pieChart) {
pieChart.setOption(option);
}
this.setData({payTypeList})
}
})
@@ -162,9 +164,13 @@ Page({
data: res.data.lineMonthRepayment
})
let line1Option = app.$utils.getDayLineOption(line1Data);
line1Chart.setOption(line1Option);
if (line1Chart) {
line1Chart.setOption(line1Option);
}
let line2Option = app.$utils.getDayLineOption(line2Data);
line2Chart.setOption(line2Option);
if (line2Chart) {
line2Chart.setOption(line2Option);
}
}
})
app.$api.listBillByAMonth({'rangeDate':this.data.showDate}).then(res => {

View File

@@ -3,26 +3,23 @@
</view>
<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>
</view>
<view class="padding_box">
<t-divider dashed content="账单明细"/>
</view>
<view wx:if="{{accountList != null && accountList.length > 0}}">
<view class="space_box font_big allLook">
<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>
<t-cell-group theme="card">
<t-cell wx:for="{{accountList}}" wx:key="index"
title="{{item.moneyName}}"
description="{{item.date}} • {{item.accountName}}"
align="top"
image="{{item.moneyIcon}}"
note="{{item.money}}"
class="t-cell-{{item.billType}}"
url="{{'/pages/bill/index?id=' + item.id}}"
/>
<t-cell wx:for="{{accountList}}" wx:key="index"
title="{{item.moneyName}}"
description="{{item.date}} • {{item.accountName}}"
align="top"
image="{{item.moneyIcon}}"
url="{{'/pages/bill/index?id=' + item.id}}"
>
<text slot="note" class="t-color-{{item.billType}}">{{item.money}}</text>
</t-cell>
</t-cell-group>
</view>
<view wx:else class="empty-view" >
@@ -68,12 +65,15 @@
description="{{item.date}} • {{item.accountName}}"
align="top"
image="{{item.moneyIcon}}"
note="{{item.money}}"
class="t-cell-{{item.billType}}"
url="{{'/pages/bill/index?id=' + item.id}}"
/>
>
<text slot="note" class="t-color-{{item.billType}}">{{item.money}}</text>
</t-cell>
</t-cell-group>
</view>
<view wx:else class="empty-view" >
<t-empty icon="chart-bubble" description="本月无账单记录" />
</view>
</t-tab-panel>
<t-tab-panel label="收入" value="1">
<view class="tabs_crevice"/>
@@ -84,12 +84,15 @@
description="{{item.date}} • {{item.accountName}}"
align="top"
image="{{item.moneyIcon}}"
note="{{item.money}}"
class="t-cell-{{item.billType}}"
url="{{'/pages/bill/index?id=' + item.id}}"
/>
>
<text slot="note" class="t-color-{{item.billType}}">{{item.money}}</text>
</t-cell>
</t-cell-group>
</view>
<view wx:else class="empty-view" >
<t-empty icon="chart-bubble" description="本月无账单记录" />
</view>
</t-tab-panel>
</t-tabs>
</t-tab-panel>

View File

@@ -16,6 +16,9 @@
left: -20rpx;
right: 0;
}
.allLook {
padding: 40rpx;
}
ec-canvas {
width: 100%;
height: 100%;