diff --git a/frontend/manifest.json b/frontend/manifest.json index 0e56f52..52903b1 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -2,7 +2,7 @@ "name" : "TopFans", "appid" : "__UNI__F199FF4", "description" : "", - "versionName" : "1.0.2", + "versionName" : "1.0.3", "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ @@ -69,6 +69,12 @@ "apikey" : "l2FgEjJBl96gUsAEQ6nf0asA", "secretkey" : "1i5Aj8FwL3i11LYPeXMRwRWycictWq2X" } + }, + "push" : { + "unipush" : { + "version" : "2", + "offline" : false + } } }, "icons" : { diff --git a/frontend/pages/components/AssetSelector.vue b/frontend/pages/components/AssetSelector.vue index 21b47fb..6ad2b49 100644 --- a/frontend/pages/components/AssetSelector.vue +++ b/frontend/pages/components/AssetSelector.vue @@ -61,9 +61,12 @@ :src="item.coverUrl || '/static/nft/collection.png'" mode="aspectFill" /> - - {{ item.display_status === 1 ? '已展示' : '待展示' }} - + + 已展示 + + + 待展示 + {{ item.name }} @@ -89,9 +92,12 @@ :src="item.coverUrl || '/static/nft/collection.png'" mode="aspectFill" /> - - {{ item.display_status === 1 ? '已展示' : '待展示' }} - + + 已展示 + + + 待展示 + {{ item.name }} @@ -514,25 +520,49 @@ const handleTouchEnd = (e) => { display: block; } -.status-badge { +.status-overlay { + position: absolute; + top: 0; + left: 0; + width: 192rpx; + height: 224rpx; + display: flex; + align-items: center; + justify-content: center; + border-radius: 16rpx; + z-index: 1; +} + +.status-text-center { + font-size: 24rpx; + color: #fff; + font-weight: bold; + text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.8); + background: linear-gradient(to bottom right, + #F0E4B1 0%, + #F08399 50%, + #B94E73 100% + ); + border-radius: 24rpx; + box-shadow: + 0 4rpx 12rpx rgba(255, 143, 158, 0.2), + 0 2rpx 6rpx rgba(255, 143, 158, 0.15), + inset 0 2rpx 4rpx rgba(255, 255, 255, 0.4), + inset 0 -2rpx 4rpx rgba(0, 0, 0, 0.05); + padding: 16rpx; +} + +.status-overlay-pending { position: absolute; top: 8rpx; right: 8rpx; + background: rgba(0, 0, 0, 0.6); border-radius: 8rpx; padding: 4rpx 8rpx; z-index: 1; } -.badge-active { - background: linear-gradient(135deg, #FFD700, #FFA500); - box-shadow: 0 0 12rpx rgba(255, 215, 0, 0.6); -} - -.badge-pending { - background: rgba(0, 0, 0, 0.6); -} - -.status-text { +.status-text-pending { font-size: 18rpx; color: #fff; font-weight: bold; diff --git a/frontend/pages/components/CastloveContent.vue b/frontend/pages/components/CastloveContent.vue index 56ebdbf..3daba73 100644 --- a/frontend/pages/components/CastloveContent.vue +++ b/frontend/pages/components/CastloveContent.vue @@ -19,7 +19,7 @@