From 2914e4f8faa52a399a610551132e562ada41290e Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Mon, 18 Aug 2025 11:06:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=94=AF=E6=98=8E=E7=BB=86=E7=95=8C?=
=?UTF-8?q?=E9=9D=A20.6=20=E5=AE=9E=E7=8E=B0=E6=97=A5=E6=9C=9F=E5=92=8C?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8Bpicker?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
enum/commonEnum.js | 1 +
pages/cashFlow/cashFlow.vue | 148 +++++++++++++++++++++++++++++++++---
2 files changed, 139 insertions(+), 10 deletions(-)
diff --git a/enum/commonEnum.js b/enum/commonEnum.js
index 76016cc..e493cb0 100644
--- a/enum/commonEnum.js
+++ b/enum/commonEnum.js
@@ -28,5 +28,6 @@ export const commonEnum = {
INVITE: 'https://api.ccttiot.com/image-1755330435656.png', //邀请有礼
//收支明细
ALL_TYPE: 'https://api.ccttiot.com/image-1755479846357.png', //全部类型
+ DOWN_ICON: 'https://api.ccttiot.com/image-1755484170012.png',
}
export default commonEnum
diff --git a/pages/cashFlow/cashFlow.vue b/pages/cashFlow/cashFlow.vue
index 80356b3..53b9aaf 100644
--- a/pages/cashFlow/cashFlow.vue
+++ b/pages/cashFlow/cashFlow.vue
@@ -10,7 +10,7 @@
@@ -35,24 +36,66 @@
666
-
-;
+
+
+
+
+
@@ -107,9 +162,19 @@ export default {
}
.cash-flow {
+ height: 100%;
display: flex;
+ align-items: center;
.date {
+ display: flex;
+ color: white;
+ align-items: center;
+
+ image {
+ width: 19px;
+ height: 11px;
+ }
}
.cash-flow-detail {
@@ -133,4 +198,67 @@ export default {
view {
// border: #16ff00 1px solid;
}
+
+/* 弹窗内容样式 */
+.popup-content {
+ background-color: #fff;
+ border-radius: 16rpx 16rpx 0 0;
+ padding: 20rpx;
+}
+
+/* 弹窗标题栏 */
+.popup-header {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ padding: 20rpx 0;
+}
+
+.close-icon {
+ position: absolute;
+ left: 20rpx;
+ font-size: 32rpx;
+ color: #999;
+ width: 40rpx;
+ height: 40rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+}
+
+.title {
+ font-size: 32rpx;
+ font-weight: bold;
+}
+
+/* “全部类型”按钮 */
+.all-types-btn {
+ background-color: rgba(204, 67, 67, 0.95);
+ color: #fff;
+ //border-radius: 50rpx;
+ margin: 20rpx 0;
+ width: 33%;
+}
+
+/* 支出分类网格 */
+.type-grid {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ padding: 20rpx 0;
+}
+
+.type-item {
+ width: 30%;
+ height: 100rpx;
+ background-color: #f5f5f5;
+ border-radius: 10rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 20rpx;
+ font-size: 28rpx;
+}