From 28de154766ff5f1ef45b22d368e93060df407b1b Mon Sep 17 00:00:00 2001 From: minimaxagent1 Date: Wed, 13 Aug 2025 16:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E9=9D=99?= =?UTF-8?q?=E6=80=81=E7=95=8C=E9=9D=A20.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enum/commonEnum.js | 7 + pages/profile/profile.vue | 623 ++++++++++++++++++++++---------------- 2 files changed, 363 insertions(+), 267 deletions(-) diff --git a/enum/commonEnum.js b/enum/commonEnum.js index 85f11cc..5fb43c8 100644 --- a/enum/commonEnum.js +++ b/enum/commonEnum.js @@ -14,5 +14,12 @@ export const commonEnum = { LEASE_BACKGROUND: 'https://api.ccttiot.com/image-1755063111406.png', FIRE: 'https://api.ccttiot.com/image-1755063906561.png', DOWN_ARROW: 'https://api.ccttiot.com/image-1755068355306.png', + FIRE_BACKGROUND: 'https://api.ccttiot.com/image-1755070666020.png', + COIN_BACKGROUND: 'https://api.ccttiot.com/image-1755070887001.png', + REQUEST_AGENT: 'https://api.ccttiot.com/image-1755071317260.png', + AGENCY_INTERESTS: 'https://api.ccttiot.com/image-1755071348347.png', + ONLINE_CUSTOMER_SERVICE: 'https://api.ccttiot.com/image-1755071362176.png', + SET: 'https://api.ccttiot.com/image-1755071734792.png', + GIFT: 'https://api.ccttiot.com/image-1755071830648.png', } export default commonEnum diff --git a/pages/profile/profile.vue b/pages/profile/profile.vue index 61d76bf..29adf6a 100644 --- a/pages/profile/profile.vue +++ b/pages/profile/profile.vue @@ -1,364 +1,453 @@ \ No newline at end of file + +// 财务摘要 +.financial-summary { + background: #f15a04; + margin: 20rpx; + border-radius: 20rpx; + padding: 40rpx; + color: #fff; + position: relative; + overflow: hidden; + + .coin-background { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + opacity: 0.1; + z-index: 1; + } + + .main-amount { + text-align: center; + margin-bottom: 40rpx; + position: relative; + z-index: 2; + + .amount-number { + display: block; + font-size: 60rpx; + font-weight: bold; + margin-bottom: 10rpx; + } + + .amount-label { + font-size: 28rpx; + opacity: 0.9; + } + } + + .action-buttons { + position: absolute; + top: 40rpx; + right: 40rpx; + display: flex; + flex-direction: column; + gap: 20rpx; + z-index: 2; + + .action-btn { + background: rgba(255, 255, 255, 0.2); + padding: 15rpx 25rpx; + border-radius: 20rpx; + + .btn-text { + font-size: 24rpx; + color: #fff; + } + } + } + + .financial-stats { + display: flex; + justify-content: space-around; + position: relative; + z-index: 2; + + .stat-item { + text-align: center; + + .stat-number { + display: block; + font-size: 32rpx; + font-weight: bold; + margin-bottom: 5rpx; + } + + .stat-label { + font-size: 24rpx; + opacity: 0.8; + } + } + } +} + +// 我的用户 +.my-users-section { + background: #fff; + margin: 20rpx; + border-radius: 20rpx; + padding: 40rpx; + + .section-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 30rpx; + + .section-title { + font-size: 32rpx; + font-weight: bold; + color: #333; + } + + .view-details { + .details-text { + font-size: 28rpx; + color: #f15a04; + } + } + } + + .user-stats { + display: flex; + justify-content: space-around; + + .stat-item { + text-align: center; + + .stat-number { + display: block; + font-size: 36rpx; + font-weight: bold; + color: #f15a04; + margin-bottom: 10rpx; + } + + .stat-label { + font-size: 24rpx; + color: #666; + } + } + } +} + +// 其他功能 +.other-functions { + background: #fff; + margin: 20rpx; + border-radius: 20rpx; + padding: 40rpx; + + .section-header { + margin-bottom: 30rpx; + + .section-title { + font-size: 32rpx; + font-weight: bold; + color: #333; + } + } + + .function-grid { + display: flex; + justify-content: space-around; + + .function-item { + text-align: center; + flex: 1; + + .function-icon { + width: 80rpx; + height: 80rpx; + background: #f5f5f5; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin: 0 auto 20rpx; + + .function-img { + width: 50rpx; + height: 50rpx; + } + } + + .function-text { + font-size: 24rpx; + color: #333; + } + } + } +} +