大幕拉开之前,先走进剧院。这个剧院售票处把演出放在首位:一张金色灯光下舞台的宽幅照片、节目单风格的标题,以及紧随其下的近期可预订场次。观众可以了解剧情、认识剧团,并在选择场次前查看无障碍安排。照片从舞台、侧幕和观众席三个角度展示同一个想象中的空间。
购票流程贴合真实观众的选择路径。选择日场或晚场,比较价格,查看手绘的正厅、楼座和包厢座位图。座位图区分已售座位、轮椅位和视线受限座位。查看座位时会显示价格和视线示意图。同行选座功能会在同一排寻找相邻座位,页面上有可见的倒计时提示锁座剩余时间。节目册和幕间饮品可以加入订单。确认页会逐项列出订单内容,随后模拟结账并生成带有可扫码确认码的门票。
这个模板适用于新音乐剧、轮演演出季,或者拥有固定场地的社区剧院。搭建前先设置场馆、剧目、城市和入口四个内容变量。演出库存、附加项价格和本地订单都集中在一个小型适配层后面,开发者之后可以接入真实的票务系统。演示版本已经包含完整的观众席座位、接近真实的入座情况和多个演出时间。观演指南和团体咨询表让观众即使计划日后到访,也有途径了解剧院。
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Theater Show Ticketing Website Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build an English box office for [SHOW], an original musical at [BRAND], a fictional 1,100-seat house in [CITY]. Open straight into the lit production and its first three available performances. The interface should feel like opening a beautifully printed theater program after dark. - Audience: Patrons comparing seats, access arrangements and performance times, plus organizers bringing a group. - Goal: Turn a particular performance and set of seats into a timed hold, itemized mock order and verifiable local e-ticket. Every visible action works. - Tone: Literate and welcoming in program copy. Direct and specific about inventory, access and prices. ## Stack - Framework: Vite + React - Styling: Vanilla CSS - Libraries: qrcode (MIT), lucide-react (ISC) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Set Vite base to './'; bundle local fonts, photographs and JavaScript without source maps. - Keep variable-aware English copy and cast, reviews and access details in one content file. Use these defaults verbatim in A. - Put deterministic schedule, seat inventory, holds with absolute expiry timestamps, basket, checkouts and group requests in one localStorage-backed box-office adapter. Bind bookings to performance IDs. Persist confirmed inventory per performance; guard repeated checkout. No network or real payments. - Use hash routes. Direct entry defaults to the first performance for seat selection, and includes a recovery path to performances when a basket or order is absent. ## Variables - [BRAND] — Theater name (default: "Vesper Arch Theatre") - [SHOW] — Production title (default: "The Gilded Hour") - [CITY] — Location (default: "Bellcross") - [ADDRESS] — Entrance address (default: "18 Orison Lane") - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/theater-show-ticketing-website in the footer (default: yes; delete this line to remove it) The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described. Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.
Pro 模板
解锁完整提示词和源码
在线演示和 DESIGN.md 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Theater Show Ticketing Website"
colors:
velvet_red: "#8C1C2C"
gilt_gold: "#D4A64A"
deep_plum_black: "#1A0F14"
program_paper: "#F7EDDB"
warm_gray: "#CCBFB8"
typography:
display_and_production_title: { family: "Cormorant Garamond", weights: [500, 600] }
navigation_inventory_and_form_labels: { family: "DM Sans", weights: [400, 500, 700] }
spacing: "Max-width 1440px; 5vw outer gutter, 72px between program spreads, 24px subsections, 8px control rhythm. On small screens 18px gutters and 40px section gaps. Text and controls meet WCAG AA."
radius: "Square-corner posters and flat program rows; booking controls 4px. Fine 1px gilt rules. No collection of rounded cards."
---
# Theater Show Ticketing Website — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Velvet red** `#8C1C2C` — Marquee band, selected seats, velvet accents
- **Gilt gold** `#D4A64A` — Primary booking actions with dark text, rules and price details
- **Deep plum black** `#1A0F14` — Page ground, navigation, auditorium and dark text
- **Program paper** `#F7EDDB` — Display type and light booking surfaces
- **Warm gray** `#CCBFB8` — Quiet body text on plum
## Typography
- **Display and production title** — Cormorant Garamond (OFL), weights 500/600. Self-host the font files.
- **Navigation, inventory and form labels** — DM Sans (OFL), weights 400/500/700. Self-host the font files.
## Spacing & shape
- Spacing: Max-width 1440px; 5vw outer gutter, 72px between program spreads, 24px subsections, 8px control rhythm. On small screens 18px gutters and 40px section gaps. Text and controls meet WCAG AA.
- Radius: Square-corner posters and flat program rows; booking controls 4px. Fine 1px gilt rules. No collection of rounded cards.
## Motion
- Subtle 180ms color and underline changes on focus/hover. Show seat preview immediately on focus, touch inspection or hover.
- Use a simple 180ms transition opening drawers and watch reduced-motion preferences. All content is visible initially.
## Imagery
Use all three original photographs as one production shoot. No portraits. Seat sightlines are independent code-drawn miniatures of the photographed stage, shifted by level, row and seat position.
## Tone
Literate and welcoming in program copy. Direct and specific about inventory, access and prices.
---
— Prompt by VibeFather · https://vibefather.ai/t/theater-show-ticketing-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
剧院演出购票网站模板会为观众选择的场次打开一张手绘的正厅、楼座和包厢座位图。座位图标注已售座位、轮椅位和视线受限座位,查看座位时会显示价格和视线示意图。选座后会启动可见的倒计时锁座,同行选座功能会在锁座到期前在同一排寻找相邻座位。
复制本页的完整提示词(Pro),或者运行 npx vibefather add theater-show-ticketing-website,把 [CITY]、[SHOW]、[BRAND]、[ADDRESS] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。