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 @@ - + @@ -27,6 +27,7 @@ + @@ -35,24 +36,66 @@ 666 - -; + + + + + + + 请选择类型 + + + + + + + + + {{ type }} + + + + + @@ -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; +}