From c27540f3ad9fab5b0ec7592feb9cbfeb9901ae5e Mon Sep 17 00:00:00 2001 From: limqhz <540344226@qq.com> Date: Thu, 2 Mar 2023 21:49:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/account/index.js | 2 +- pages/bill/types/transfer.wxml | 4 ++-- pages/index/index.wxml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/account/index.js b/pages/account/index.js index 2d3c034..48bb7f5 100644 --- a/pages/account/index.js +++ b/pages/account/index.js @@ -34,7 +34,7 @@ Page({ } }) cashBalance = Math.floor(cashBalance * 100) / 100 - oweBalance = Math.floor(cashBalance * 100) / 100 + oweBalance = Math.floor(oweBalance * 100) / 100 sumBalance = Math.floor((cashBalance - oweBalance) * 100) / 100 this.setData({cashAccountList,oweAccountList,cashBalance,oweBalance,sumBalance}) } diff --git a/pages/bill/types/transfer.wxml b/pages/bill/types/transfer.wxml index 9a7688a..43c389c 100644 --- a/pages/bill/types/transfer.wxml +++ b/pages/bill/types/transfer.wxml @@ -9,10 +9,10 @@ tips="{{priceError ? '请输入正确的价格' : ''}}" t-class-tips="tips" /> - + {{outText ? outText : '请选择账户'}} - + {{inText ? inText : '请选择账户'}} diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 2b4b865..db5e69d 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -5,7 +5,7 @@ {{sumToday}} - 账户余额:{{sumBalance}} + 预算余额:{{sumBudget - sumUsed}}