Files
Sisyphus (主代理) 02762400fb chore: 项目基线提交 - 拼豆图纸生成器 V1.0 核心代码
- 前端: React+Vite 首页/AI专区, 算法库(MARD色板/量化/背景去除), API对接
- 后端: Express+SQLite, 兑换码/订单/支付/chibi生成, 风控+云端同步
- CI/CD: GitHub Actions + Docker + nginx 配置
- 文档: PRD/DESIGN/LAUNCH/ROADMAP/E2E/竞品对照等 15 份
- 工程: 任务看板(taskboard) + 健康巡检(agent-health) + Git流程(gitflow)
2026-08-13 21:40:27 +08:00

9 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
CTX A: ,{name:"常用包",price:"¥12.9",cents:1290,uses:10,desc:"适合个人多次创作",recommend:!0},{name:"进阶包",price:"¥29.9",cents:2990,uses:30,desc:"适合接单与持续出图"}],i=[{name:"初级代理",price:"¥139",uses:200},{name:"标准代理",price:"¥299",uses:500},{name:"核心代理",price:"¥499",uses:1e3}],o=e=>{let[t,r,n]=e.map(e=>(e/=255)>.04045?((e+.055)/1.055)**2.4:e/12.92),a=(.4124*t+.3576*r+.1805*n)/.95047,s=.2126*t+.7152*r+.0722*n,l=(.0193*t+.11
MethodInvocationException:
Line |
12 | Write-Host "CTX B: " $text.Substring([Math]::Max(0,$i2-200), 400)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "Substring" with "2" argument(s): "Index and length must refer to a location within the string. (Parameter 'length')"
CTX C: heroStats",children:[(0,t.jsx)("strong",{children:ec}),(0,t.jsx)("span",{children:"颗拼豆"}),(0,t.jsx)("i",{}),(0,t.jsx)("strong",{children:eo.length}),(0,t.jsx)("span",{children:"种颜色"})]})]}),(0,t.jsxs)("section",{className:"downloadPass",children:[(0,t.jsxs)("div",{className:"passIntro",children:[(0,
CTX D: (0,t.jsx)("span",{children:"??"}),(0,t.jsx)("b",{children:"完整备料清单已锁定"}),(0,t.jsx)("small",{children:"兑换后可查看全部 MARD 色号、每色颗数、总颗数及 10% 备豆建议"}),(0,t.jsx)("button",{onClick:()=>_(!0),children:"输入兑换码解锁"})]})]}),(0,t.jsxs)("div",{className:`totalRow ${ed?"":"masked"}`,children:[(0,t.jsx)("span",{children:"建议多备 10%"}),(0,t.jsx)("b",{children:ed?`约 ${Math.ceil(1.1*ec)} 颗`:"约 ???? 颗"})]})]})]}),B&&(0,t.jsx)("div",{className:"paywallOverlay",onMouseDown:e=>{e.target===e.currentTarget&&_(!1)},children:(0,t.jsxs)("section",{className:"paywallModal checkoutModal",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("button",{className:"paywallClose",onClick:()=>_(!1),children:"×"}),(0,t.jsx)("span",{clas