feat(ECR-044): RhythmConfig 写面闭环并 Closed

复用 admin.explore.write、POST/PUT+审计、C端 GET /rhythm/configs、
H5 无 active 空态/失败回退;migration 000053。ExploreConfig Loop STOP,禁自动 ECR-045。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-13 20:43:08 +08:00
co-authored by Cursor
parent fcc7667ba3
commit 87b463b2bb
33 changed files with 1006 additions and 35 deletions
+40 -1
View File
@@ -11,8 +11,15 @@
</template>
<div class="body">
<div v-if="!configAvailable && !report" class="empty-gate">
<HomeToolIcon name="rhythm" :size="56" />
<p class="empty-title">节律配置暂未开放</p>
<p class="empty-sub">运营尚未启用节律配置请稍后再来</p>
<button class="cta-off" type="button" disabled>生成我的节律</button>
</div>
<RhythmIntro
v-if="needBirth && !report"
v-else-if="needBirth && !report"
v-model:year="year"
v-model:month="month"
v-model:day="day"
@@ -60,6 +67,7 @@ import { useLifeRhythmPage } from '../composables/useLifeRhythmPage'
const {
loading,
needBirth,
configAvailable,
error,
report,
paying,
@@ -103,4 +111,35 @@ const {
margin-top: 2px;
}
.body { padding: 8px 16px 88px; }
.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>