feat(ECR-043): StarConfig 写面闭环并 Closed

加法权限 admin.explore.write、POST/PUT+审计、C端 GET /star/configs、
H5 无 active 空态/失败回退;migration 000052。ExploreConfig Loop STOP,禁自动 ECR-044。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-13 20:23:38 +08:00
co-authored by Cursor
parent 2b295472a4
commit 77907f79ee
32 changed files with 842 additions and 31 deletions
+40 -1
View File
@@ -17,8 +17,15 @@
</template>
<div class="body">
<div v-if="!configAvailable && !report" class="empty-gate">
<HomeToolIcon name="star" :size="56" />
<p class="empty-title">星座配置暂未开放</p>
<p class="empty-sub">运营尚未启用星座配置请稍后再来</p>
<button class="cta-off" type="button" disabled>生成我的星座</button>
</div>
<StarBirthForm
v-if="needBirth && !report"
v-else-if="needBirth && !report"
v-model:year="year"
v-model:month="month"
v-model:day="day"
@@ -110,6 +117,7 @@ const { selfLabel } = useAccountNickname()
const {
loading,
needBirth,
configAvailable,
error,
report,
paying,
@@ -195,4 +203,35 @@ function onPlanetSelect(key: string) {
flex-shrink: 0;
}
.body { padding: 8px 16px 24px; }
.empty-gate {
text-align: center;
padding: 28px 16px 12px;
}
.empty-title {
font-family: var(--font-display);
font-size: 20px;
font-weight: 700;
margin-top: 10px;
letter-spacing: 0.06em;
}
.empty-sub {
font-size: 13px;
color: rgba(0, 0, 0, 0.42);
margin-top: 8px;
line-height: 1.5;
}
.cta-off {
margin-top: 16px;
width: 100%;
max-width: 320px;
padding: 13px;
border: none;
border-radius: 22px;
color: #fff;
font-size: 15px;
font-weight: 600;
background: linear-gradient(135deg, #ff7a6e, var(--color-primary));
opacity: 0.45;
cursor: not-allowed;
}
</style>