fix(ui): 星盘页和星历页去掉三句过度提示
产品判定这三句都不是给用户看的判断或计费说明: 星盘「主盘直接算 · 分盘按需 · 不消耗点数」、 「下面是词条式释义,不是对你个人的判断。」、 星历「这一页是天象本身,不是对你的判断。」 按需加载与不扣点的行为不变。
This commit is contained in:
@@ -2030,12 +2030,6 @@ input:not([type="radio"]):not([type="checkbox"]):not([class^="ant-"]):not([class
|
||||
overscroll-behavior: contain;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.chart-page-eyebrow {
|
||||
width: min(1100px, 100%);
|
||||
margin: 0 auto var(--space-6);
|
||||
color: var(--color-ink-tertiary);
|
||||
font-size: var(--type-caption);
|
||||
}
|
||||
.chart-page-body,
|
||||
.ephemeris-body,
|
||||
.report-center-body,
|
||||
@@ -4851,8 +4845,7 @@ input:not([type="radio"]):not([type="checkbox"]):not([class^="ant-"]):not([class
|
||||
/* ============================================================
|
||||
Ephemeris page — facts only, own scroll (html/body overflow hidden)
|
||||
============================================================ */.ephemeris-hero,
|
||||
.ephemeris-section,
|
||||
.ephemeris-outro{
|
||||
.ephemeris-section {
|
||||
width: min(900px, 100%);
|
||||
margin-inline: auto;
|
||||
}
|
||||
@@ -5004,12 +4997,6 @@ input:not([type="radio"]):not([type="checkbox"]):not([class^="ant-"]):not([class
|
||||
color: var(--color-ink-tertiary);
|
||||
font-size: var(--type-caption);
|
||||
}
|
||||
.ephemeris-outro {
|
||||
margin: 0;
|
||||
padding-bottom: var(--space-4);
|
||||
color: var(--color-ink-tertiary);
|
||||
font-size: var(--type-body-sm);
|
||||
}
|
||||
.ephemeris-ask { min-height: 44px; width: fit-content; }
|
||||
.ephemeris-message {
|
||||
display: flex;
|
||||
|
||||
@@ -4,7 +4,6 @@ import { formatDegree } from "./chart-format";
|
||||
export function ChartBasicsTab({ view }: { view: ChartViewOk }) {
|
||||
return (
|
||||
<div className="chart-page-basics">
|
||||
<p className="chart-page-boundary">{view.vedic.symbolBoundary}</p>
|
||||
<div className="chart-page-basics-grid">
|
||||
{view.vedic.planets.map((planet) => (
|
||||
<article key={planet.name} className="chart-page-planet-card">
|
||||
|
||||
@@ -89,11 +89,6 @@ export function ChartPageView({
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
{/* BUG-717 copy: a cost and speed promise that also prints on the
|
||||
failure page. It used to sit in the hero as an eyebrow; the hero is
|
||||
gone, the promise is not. It reads under the tab row now, because
|
||||
the tab row is what the header hands off to. */}
|
||||
<p className="chart-page-eyebrow">{CHART_VIEW_COPY.eyebrow}</p>
|
||||
<section className="chart-page-panel" role="tabpanel">
|
||||
{tab === "vedic" ? (
|
||||
<ChartVedicTab
|
||||
|
||||
@@ -272,11 +272,6 @@ export function EphemerisView(props: {
|
||||
</ol>
|
||||
)}
|
||||
</section>
|
||||
|
||||
{/* The closing note used to be a fourth boxed card competing with the
|
||||
three that carry data. The sentence is unchanged; it is a quiet line
|
||||
under the page now, and the 「带这天去提问」 action lives in the header. */}
|
||||
<p className="ephemeris-outro">{EPHEMERIS_COPY.footerNote}</p>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -165,7 +165,6 @@ export const chartViewOkSchema = z.object({
|
||||
boundary: z.string().min(1),
|
||||
vargas: z.array(chartViewVargaSchema).min(1),
|
||||
planets: z.array(chartViewPlanetRowSchema).min(1),
|
||||
symbolBoundary: z.string().min(1),
|
||||
}),
|
||||
dasha: z.object({
|
||||
vimshottari: chartViewDashaTrackSchema,
|
||||
|
||||
@@ -140,8 +140,6 @@ export const ANTARDASHA_DERIVED_NOTE = "分运按标准比例从大运边界推
|
||||
|
||||
export const CHARA_ANTARDASHA_DATE_NOTE = "分运时长来自引擎的十二等分;起止日期按大运边界推算,不是引擎单独返回的日历字段。";
|
||||
|
||||
export const SYMBOL_BOUNDARY = "下面是词条式释义,不是对你个人的判断。";
|
||||
|
||||
export const WESTERN_UNAVAILABLE_COPY = "西洋盘这一栏要等回归黄道端点上线。现在还没有,先空着——不会拿印度盘的度数改写成回归黄道。";
|
||||
|
||||
export const QIZHENG_UNAVAILABLE_COPY = "七政四余这一栏要等宿度端点上线。现在还没有,先空着。";
|
||||
@@ -153,7 +151,6 @@ export const QIZHENG_RULES = [
|
||||
] as const;
|
||||
|
||||
export const CHART_VIEW_COPY = {
|
||||
eyebrow: "主盘直接算 · 分盘按需 · 不消耗点数",
|
||||
busy: "算盘的服务正忙,稍等几秒再打开就好。",
|
||||
unavailable: "这张盘算不出来,我们已经记录下来了。",
|
||||
waitingChart: "这一张盘还没拿到。",
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
PLANET_ORDER,
|
||||
QIZHENG_UNAVAILABLE_COPY,
|
||||
SIGN_ORDER,
|
||||
SYMBOL_BOUNDARY,
|
||||
VARGA_CHIP_ORDER,
|
||||
VIMSHOTTARI_ORDER,
|
||||
VIMSHOTTARI_YEARS,
|
||||
@@ -653,7 +652,6 @@ export function buildChartView(bundle: ChartViewEngineBundle): ChartViewOk {
|
||||
boundary: COORDINATE_BOUNDARY.vedic,
|
||||
vargas,
|
||||
planets: planetRows(chart, varga),
|
||||
symbolBoundary: SYMBOL_BOUNDARY,
|
||||
},
|
||||
dasha: {
|
||||
vimshottari,
|
||||
|
||||
@@ -20,7 +20,6 @@ export const EPHEMERIS_COPY = {
|
||||
natalMissing: "还没有本命上升,相对本命这一列空着。",
|
||||
eventsHeading: "未来九十天",
|
||||
eventsUnavailable: "换座和停滞还没接上。这一页其余部分不受影响。",
|
||||
footerNote: "这一页是天象本身,不是对你的判断。",
|
||||
ask: "带这天去提问",
|
||||
loginTitle: "请先登录",
|
||||
loginBody: "登录后即可查看星历。",
|
||||
|
||||
Reference in New Issue
Block a user