From 44ba103e646e536753eb278330a671d2dce452f9 Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Tue, 12 May 2026 11:26:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/App.vue | 2 +- frontend/manifest.json | 2 +- frontend/pages/asset-detail/asset-detail.vue | 20 ++++++++--------- frontend/pages/castlove/create.vue | 8 +++---- frontend/pages/castlove/index.vue | 4 ++-- frontend/pages/castlove/success.vue | 4 ++-- frontend/pages/components/AssetSelector.vue | 2 +- frontend/pages/components/FriendsContent.vue | 4 ++-- frontend/pages/components/Header.vue | 2 +- frontend/pages/components/RankingListItem.vue | 10 ++++----- frontend/pages/components/RankingModal.vue | 22 +++++++++---------- frontend/pages/components/TOP3Card.vue | 10 ++++----- frontend/pages/components/TaskModal.vue | 10 ++++----- frontend/pages/exhibition/exhibition.vue | 14 ++++++------ frontend/pages/profile/selectRole.vue | 4 ++-- .../pages/square/components/WaterfallGrid.vue | 3 +++ .../support-activity/components/ActionBar.vue | 2 +- .../components/DiamondConfirmModal.vue | 7 ++++-- .../components/FloatingBubbles.vue | 2 +- .../components/ThemeBanner.vue | 2 +- frontend/pages/tasks/GuideModal.vue | 16 +++++++------- frontend/pages/tasks/daily-tasks.vue | 22 +++++++++---------- frontend/utils/api.js | 18 +++++++++++++-- 23 files changed, 105 insertions(+), 85 deletions(-) diff --git a/frontend/App.vue b/frontend/App.vue index f8776b7..0c0539d 100644 --- a/frontend/App.vue +++ b/frontend/App.vue @@ -40,7 +40,7 @@ export default { /* 全局字体设置 */ body { - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* App 容器 */ diff --git a/frontend/manifest.json b/frontend/manifest.json index ff5e87d..2daf2ff 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__F199FF4", "description" : "", "versionName" : "1.0.4", - "versionCode" : 104, + "versionCode" : 105, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/frontend/pages/asset-detail/asset-detail.vue b/frontend/pages/asset-detail/asset-detail.vue index 8b918fd..583635a 100644 --- a/frontend/pages/asset-detail/asset-detail.vue +++ b/frontend/pages/asset-detail/asset-detail.vue @@ -458,7 +458,7 @@ onUnmounted(() => { .loading-text { font-size: 28rpx; color: rgba(255, 255, 255, 0.85); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; letter-spacing: 4rpx; animation: text-breathe 2s ease-in-out infinite; } @@ -471,7 +471,7 @@ onUnmounted(() => { .error-text { font-size: 32rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .retry-btn { @@ -547,7 +547,7 @@ onUnmounted(() => { font-size: 32rpx; font-weight: bold; color: #e6e6e6; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-variant-numeric: tabular-nums; } @@ -568,7 +568,7 @@ onUnmounted(() => { font-size: 28rpx; font-weight: bold; color: #fff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-variant-numeric: tabular-nums; } @@ -599,7 +599,7 @@ onUnmounted(() => { .owner-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.7); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.6); } @@ -607,7 +607,7 @@ onUnmounted(() => { font-size: 36rpx; font-weight: bold; color: #ffffff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.7); } @@ -622,14 +622,14 @@ onUnmounted(() => { .acquire-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.7); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.6); } .acquire-value { font-size: 32rpx; color: #ffffff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.7); } @@ -655,7 +655,7 @@ onUnmounted(() => { .chain-label { font-size: 28rpx; color: rgba(255, 255, 255, 0.6); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; flex-shrink: 0; margin-right: 20rpx; } @@ -663,7 +663,7 @@ onUnmounted(() => { .chain-value { font-size: 28rpx; color: #ffffff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-align: right; flex: 1; word-break: break-all; diff --git a/frontend/pages/castlove/create.vue b/frontend/pages/castlove/create.vue index 2f530d8..eb90a80 100644 --- a/frontend/pages/castlove/create.vue +++ b/frontend/pages/castlove/create.vue @@ -766,7 +766,7 @@ onMounted(() => { font-size: 48rpx; color: #ffffff; font-weight: 700; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.5); background-clip: text; @@ -853,7 +853,7 @@ onMounted(() => { font-size: 36rpx; color: #e6e6e6; font-weight: 500; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; padding: 18rpx 18rpx; background: linear-gradient(165deg, #F0E4B1 0%, #F08399 50%, #B94E73 90%, #834B9E 100%); border-radius: 44rpx; @@ -1022,7 +1022,7 @@ onMounted(() => { font-size: 36rpx; color: #e6e6e6; font-weight: 500; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; padding: 18rpx 18rpx; background: linear-gradient(165deg, #F0E4B1 0%, #F08399 50%, #B94E73 90%, #834B9E 100%); border-radius: 44rpx; @@ -1118,7 +1118,7 @@ onMounted(() => { line-height: 88rpx; border-radius: 44rpx; font-size: 36rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-weight: 600; border: none; display: flex; diff --git a/frontend/pages/castlove/index.vue b/frontend/pages/castlove/index.vue index ada853a..2276583 100644 --- a/frontend/pages/castlove/index.vue +++ b/frontend/pages/castlove/index.vue @@ -754,7 +754,7 @@ const resetForm = () => { font-size: 36rpx; color: #e6e6e6; font-weight: 500; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; padding: 18rpx 18rpx; background: linear-gradient(165deg, #F0E4B1 0%, #F08399 50%, #B94E73 90%, #834B9E 100%); border-radius: 44rpx; @@ -931,7 +931,7 @@ const resetForm = () => { line-height: 88rpx; border-radius: 44rpx; font-size: 36rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-weight: 600; border: none; display: flex; diff --git a/frontend/pages/castlove/success.vue b/frontend/pages/castlove/success.vue index 072677c..9563d11 100644 --- a/frontend/pages/castlove/success.vue +++ b/frontend/pages/castlove/success.vue @@ -178,7 +178,7 @@ const handleViewDetails = () => { .title-text { font-size: 72rpx; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: #e6e6e6; text-shadow: 0 4rpx 20rpx rgba(255, 107, 157, 0.8), @@ -257,7 +257,7 @@ const handleViewDetails = () => { line-height: 88rpx; border-radius: 44rpx; font-size: 36rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-weight: 600; border: none; background: linear-gradient(165deg, #F0E4B1 0%, #F08399 50%, #B94E73 90%, #834B9E 100%); diff --git a/frontend/pages/components/AssetSelector.vue b/frontend/pages/components/AssetSelector.vue index d2d567a..5538171 100644 --- a/frontend/pages/components/AssetSelector.vue +++ b/frontend/pages/components/AssetSelector.vue @@ -432,7 +432,7 @@ const handleTouchEnd = (e) => { text-align: center; margin-bottom: 30rpx; margin-top: 30rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; flex-shrink: 0; } diff --git a/frontend/pages/components/FriendsContent.vue b/frontend/pages/components/FriendsContent.vue index bed5e03..c48a2b7 100644 --- a/frontend/pages/components/FriendsContent.vue +++ b/frontend/pages/components/FriendsContent.vue @@ -1129,7 +1129,7 @@ .friend-nickname { font-size: 36rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: #333333; font-weight: normal; } @@ -1185,7 +1185,7 @@ .action-label { font-size: 20rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-align: center; white-space: nowrap; } diff --git a/frontend/pages/components/Header.vue b/frontend/pages/components/Header.vue index 66044a1..3a9f046 100644 --- a/frontend/pages/components/Header.vue +++ b/frontend/pages/components/Header.vue @@ -573,7 +573,7 @@ defineExpose({ font-size: 24rpx; font-weight: bold; color: #FFB800; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 0 10rpx rgba(255, 184, 0, 0.8), 0 2rpx 4rpx rgba(0, 0, 0, 0.5); diff --git a/frontend/pages/components/RankingListItem.vue b/frontend/pages/components/RankingListItem.vue index 07101a0..d505247 100644 --- a/frontend/pages/components/RankingListItem.vue +++ b/frontend/pages/components/RankingListItem.vue @@ -238,7 +238,7 @@ const handleArtworkError = (e) => { text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 左侧区域 - 图片和昵称 */ @@ -330,7 +330,7 @@ const handleArtworkError = (e) => { text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .user-nickname-name{ @@ -340,7 +340,7 @@ const handleArtworkError = (e) => { text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .user-nickname.nickname-overlay{ @@ -388,7 +388,7 @@ const handleArtworkError = (e) => { text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.4), 0 1rpx 2rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 拜访按钮 - 只显示图标 */ @@ -500,6 +500,6 @@ const handleArtworkError = (e) => { font-size: 32rpx; font-weight: 600; color: #333333; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } diff --git a/frontend/pages/components/RankingModal.vue b/frontend/pages/components/RankingModal.vue index 5aa7825..57d3ced 100644 --- a/frontend/pages/components/RankingModal.vue +++ b/frontend/pages/components/RankingModal.vue @@ -1485,7 +1485,7 @@ const handleTouchEnd = (e) => { .tab-text { font-size: 24rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3); transition: all 0.3s ease; position: relative; @@ -1545,7 +1545,7 @@ const handleTouchEnd = (e) => { .placeholder-text { font-size: 32rpx; color: rgba(255, 255, 255, 0.7); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2); } @@ -1586,7 +1586,7 @@ const handleTouchEnd = (e) => { margin-top: 20rpx; font-size: 28rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 错误容器 */ @@ -1602,7 +1602,7 @@ const handleTouchEnd = (e) => { .error-text { font-size: 28rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-align: center; margin-bottom: 30rpx; } @@ -1614,7 +1614,7 @@ const handleTouchEnd = (e) => { border: none; color: #FFFFFF; font-size: 28rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; box-shadow: 0 4rpx 12rpx rgba(255, 107, 157, 0.3); } @@ -1644,7 +1644,7 @@ const handleTouchEnd = (e) => { .empty-text { font-size: 30rpx; color: rgba(255, 255, 255, 0.7); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2); } @@ -1676,7 +1676,7 @@ const handleTouchEnd = (e) => { .loading-more-text { font-size: 24rpx; color: rgba(255, 255, 255, 0.7); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 没有更多数据提示 */ @@ -1690,7 +1690,7 @@ const handleTouchEnd = (e) => { .no-more-text { font-size: 24rpx; color: rgba(255, 255, 255, 0.5); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 底部占位,防止内容被当前用户栏遮挡 */ @@ -1762,7 +1762,7 @@ const handleTouchEnd = (e) => { font-size: 34rpx; font-weight: bold; color: #FFFFFF; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); @@ -1784,7 +1784,7 @@ const handleTouchEnd = (e) => { font-size: 26rpx; margin-left: 8rpx; color: rgba(255, 255, 255, 0.95); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-weight: 500; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -1799,7 +1799,7 @@ const handleTouchEnd = (e) => { .rank-text { font-size: 30rpx; color: #FFFFFF; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); diff --git a/frontend/pages/components/TOP3Card.vue b/frontend/pages/components/TOP3Card.vue index ff5b75d..37b6e56 100644 --- a/frontend/pages/components/TOP3Card.vue +++ b/frontend/pages/components/TOP3Card.vue @@ -368,7 +368,7 @@ text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5), 0 1rpx 2rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .popularity-overlay .fire-icon { @@ -383,7 +383,7 @@ text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5), 0 1rpx 2rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 头像容器(居中显示,大尺寸) */ @@ -436,7 +436,7 @@ text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .user-nickname-name{ @@ -446,7 +446,7 @@ text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* 响应式布局 */ @@ -788,6 +788,6 @@ font-size: 32rpx; font-weight: 600; color: #333333; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } \ No newline at end of file diff --git a/frontend/pages/components/TaskModal.vue b/frontend/pages/components/TaskModal.vue index 31569b5..b4b336d 100644 --- a/frontend/pages/components/TaskModal.vue +++ b/frontend/pages/components/TaskModal.vue @@ -232,7 +232,7 @@ const handleCloseClick = (e) => { color: #e6e6e6; text-align: center; margin-bottom: 40rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -255,7 +255,7 @@ const handleCloseClick = (e) => { flex: 1; font-size: 28rpx; color: #e6e6e6; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -263,7 +263,7 @@ const handleCloseClick = (e) => { font-size: 32rpx; font-weight: bold; color: #FFB800; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; margin-right: 10rpx; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -288,7 +288,7 @@ const handleCloseClick = (e) => { font-size: 24rpx; min-height: 30rpx; color: #e6e6e6; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -353,7 +353,7 @@ const handleCloseClick = (e) => { .node-label { font-size: 20rpx; color: rgba(255, 255, 255, 0.6); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .progress-node.active .node-label { diff --git a/frontend/pages/exhibition/exhibition.vue b/frontend/pages/exhibition/exhibition.vue index e58dacd..fd4c829 100644 --- a/frontend/pages/exhibition/exhibition.vue +++ b/frontend/pages/exhibition/exhibition.vue @@ -1663,7 +1663,7 @@ export default { .gallery-owner-title-text { font-size: 36rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: #e6e6e6; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.6); letter-spacing: 4rpx; @@ -1732,7 +1732,7 @@ export default { position: absolute; left: 80rpx; bottom: 45rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-size: 32rpx; color: #e6e6e6; z-index: 3; @@ -1836,7 +1836,7 @@ export default { text-align: center; margin-bottom: 30rpx; margin-top: 30rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; flex-shrink: 0; } @@ -2062,7 +2062,7 @@ export default { text-align: center; display: block; margin-bottom: 30rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .confirm-content { @@ -2132,7 +2132,7 @@ export default { border-radius: 50rpx; border: 4rpx solid #e6e6e6; font-size: 48rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: #e6e6e6; display: flex; align-items: center; @@ -2166,7 +2166,7 @@ export default { font-size: 22rpx; font-weight: bold; color: #e6e6e6; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.8); z-index: 10; /* 使用等宽数字,防止数字宽度变化导致跳动 */ @@ -2191,7 +2191,7 @@ export default { .like-count-text { color: #ffffff; font-size: 24rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; font-weight: bold; line-height: 1; text-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.85); diff --git a/frontend/pages/profile/selectRole.vue b/frontend/pages/profile/selectRole.vue index f231c36..c9e5903 100644 --- a/frontend/pages/profile/selectRole.vue +++ b/frontend/pages/profile/selectRole.vue @@ -534,7 +534,7 @@ const handleNext = async () => { .superstar-text { font-size: 120rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: rgba(255, 182, 193, 0.3); letter-spacing: 8rpx; text-align: left; @@ -563,7 +563,7 @@ const handleNext = async () => { .promo-title-line { font-size: 48rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; color: #000000; line-height: 1.4; letter-spacing: 6rpx; diff --git a/frontend/pages/square/components/WaterfallGrid.vue b/frontend/pages/square/components/WaterfallGrid.vue index 54b6731..50be4aa 100644 --- a/frontend/pages/square/components/WaterfallGrid.vue +++ b/frontend/pages/square/components/WaterfallGrid.vue @@ -983,6 +983,9 @@ watch(() => props.category, (newCategory) => { .ios-animate { will-change: transform; + transform: translate3d(0, 0, 0); + -webkit-overflow-scrolling: touch; + scroll-behavior: auto; } .wf-card { diff --git a/frontend/pages/support-activity/components/ActionBar.vue b/frontend/pages/support-activity/components/ActionBar.vue index 8279d0b..caea953 100644 --- a/frontend/pages/support-activity/components/ActionBar.vue +++ b/frontend/pages/support-activity/components/ActionBar.vue @@ -569,7 +569,7 @@ defineExpose({ text-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.4), 0 1rpx 3rpx rgba(0, 0, 0, 0.3); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } /* --- 以下保持原有逻辑样式 --- */ diff --git a/frontend/pages/support-activity/components/DiamondConfirmModal.vue b/frontend/pages/support-activity/components/DiamondConfirmModal.vue index aa818b1..31d1136 100644 --- a/frontend/pages/support-activity/components/DiamondConfirmModal.vue +++ b/frontend/pages/support-activity/components/DiamondConfirmModal.vue @@ -61,7 +61,7 @@ function handleCancel() { .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; - background: rgba(0, 0, 0, 0.5); + /* background: rgba(0, 0, 0, 0.5); */ z-index: 999; display: flex; align-items: center; @@ -78,7 +78,10 @@ function handleCancel() { .modal-box { width: 560rpx; - background: #fff; + /* background: #fff; */ + background-image: url('/static/starbookcontent/beijing.png'); + background-size: cover; + background-position: center bottom; border-radius: 24rpx; overflow: hidden; padding: 48rpx 40rpx 32rpx; diff --git a/frontend/pages/support-activity/components/FloatingBubbles.vue b/frontend/pages/support-activity/components/FloatingBubbles.vue index d830abc..73d6fa4 100644 --- a/frontend/pages/support-activity/components/FloatingBubbles.vue +++ b/frontend/pages/support-activity/components/FloatingBubbles.vue @@ -573,7 +573,7 @@ function clearAllBubbleRemovalTimers() { font-size: 17rpx; color: #FFA500; white-space: nowrap; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-align: center; margin-top: 4rpx; } diff --git a/frontend/pages/support-activity/components/ThemeBanner.vue b/frontend/pages/support-activity/components/ThemeBanner.vue index 2226cf3..1d8fc2e 100644 --- a/frontend/pages/support-activity/components/ThemeBanner.vue +++ b/frontend/pages/support-activity/components/ThemeBanner.vue @@ -178,7 +178,7 @@ const progressPercent = computed(() => { font-size: 32rpx; color: #fff; text-shadow: 0 0 8rpx rgba(255, 255, 255, 0.6); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .progress-bar { diff --git a/frontend/pages/tasks/GuideModal.vue b/frontend/pages/tasks/GuideModal.vue index 23b62bb..01caf6d 100644 --- a/frontend/pages/tasks/GuideModal.vue +++ b/frontend/pages/tasks/GuideModal.vue @@ -578,7 +578,7 @@ const handleClose = () => { font-weight: bold; color: #fff; text-align: center; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -620,7 +620,7 @@ const handleClose = () => { border-radius: 8rpx; font-size: 22rpx; margin-right: 12rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .guide-status-badge.not_started { @@ -652,7 +652,7 @@ const handleClose = () => { font-weight: bold; color: #fff; flex: 1; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -663,7 +663,7 @@ const handleClose = () => { .guide-desc { font-size: 24rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -689,7 +689,7 @@ const handleClose = () => { .progress-text { font-size: 22rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -707,7 +707,7 @@ const handleClose = () => { border-radius: 25rpx; font-size: 24rpx; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; display: flex; align-items: center; justify-content: center; @@ -766,7 +766,7 @@ const handleClose = () => { text-align: center; margin-bottom: 8rpx; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -774,7 +774,7 @@ const handleClose = () => { font-size: 26rpx; color: #FFD700; text-align: center; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } diff --git a/frontend/pages/tasks/daily-tasks.vue b/frontend/pages/tasks/daily-tasks.vue index 615f318..1113cf1 100644 --- a/frontend/pages/tasks/daily-tasks.vue +++ b/frontend/pages/tasks/daily-tasks.vue @@ -593,7 +593,7 @@ const handleCloseClick = (e) => { font-size: 24rpx; font-weight: bold; color: #fff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.4); } @@ -624,7 +624,7 @@ const handleCloseClick = (e) => { .error-text { color: #e6e6e6; font-size: 28rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -635,7 +635,7 @@ const handleCloseClick = (e) => { color: #fff; border-radius: 50rpx; font-size: 28rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; } .empty-state { @@ -648,7 +648,7 @@ const handleCloseClick = (e) => { .empty-text { color: #e6e6e6; font-size: 28rpx; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.3); } @@ -691,14 +691,14 @@ const handleCloseClick = (e) => { font-size: 28rpx; font-weight: bold; color: #fff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } .task-progress { font-size: 24rpx; color: rgba(255, 255, 255, 0.8); - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -768,7 +768,7 @@ const handleCloseClick = (e) => { font-size: 22rpx; color: #FFD700; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); min-width: 30rpx; } @@ -801,7 +801,7 @@ const handleCloseClick = (e) => { .status-text { font-size: 24rpx; color: #fff; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -830,7 +830,7 @@ const handleCloseClick = (e) => { color: #fff; font-size: 24rpx; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; display: flex; align-items: center; justify-content: center; @@ -922,7 +922,7 @@ const handleCloseClick = (e) => { font-size: 22rpx; color: #fff; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); } @@ -940,7 +940,7 @@ const handleCloseClick = (e) => { border-radius: 50rpx; font-size: 32rpx; font-weight: bold; - font-family: 'ZaoZiGongFangJianHei-1', sans-serif; + font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.3); box-shadow: 0 8rpx 20rpx rgba(240, 131, 153, 0.4); } diff --git a/frontend/utils/api.js b/frontend/utils/api.js index fdec493..29a6fb0 100644 --- a/frontend/utils/api.js +++ b/frontend/utils/api.js @@ -1,7 +1,21 @@ // API 基础配置 -// const baseURL = 'http://101.132.250.62:8080' +// 开发阶段用 localhost,打包 App 时自动切换到服务器地址 +// 不需要手动注释! + +// #ifdef H5 +const baseURL = 'http://localhost:8080' // H5 开发用本机 +// #endif + +// #ifdef APP-PLUS +// 开发调试:手机和电脑同一WiFi时用这个(改成你电脑IP) +// 上线后:改成实际服务器地址 // const baseURL = 'http://192.168.110.60:8080' -const baseURL = 'http://localhost:8080' +// #endif + +// 服务器地址(正式上线用) +// #ifdef APP-PLUS +const baseURL = 'http://101.132.250.62:8080' +// #endif // 是否使用模拟数据(开发调试时设为 true,后端API准备好后改为 false) const USE_MOCK_API = false