refactor: 优化界面样式

This commit is contained in:
2026-07-13 16:47:38 +08:00
parent 754effa2b3
commit 7c69b6cd8a
6 changed files with 240 additions and 80 deletions
@@ -186,7 +186,7 @@ describe("privateRoomMachine", () => {
await waitFor(actor, (snapshot) => snapshot.matches("ready"));
const context = actor.getSnapshot().context;
expect(context.items[0]?.unlocked).toBe(true);
expect(context.items[0]?.locked).toBe(false);
expect(context.items[0]?.images[0]?.url).toContain("https://");
expect(context.unlockSuccessNonce).toBe(1);
@@ -219,7 +219,7 @@ describe("privateRoomMachine", () => {
await waitFor(actor, (snapshot) => snapshot.matches("ready"));
const context = actor.getSnapshot().context;
expect(context.items[0]?.unlocked).toBe(false);
expect(context.items[0]?.locked).toBe(true);
expect(context.unlockPaywallRequest).toMatchObject({
momentId: "schedule:91",
reason: "insufficient_credits",