feat: 产品页面搭建
This commit is contained in:
28
Yi.Ai.Vue3/src/api/products/products.ts
Normal file
28
Yi.Ai.Vue3/src/api/products/products.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
// 创建产品类型定义
|
||||
export interface ProductFeature {
|
||||
icon: string
|
||||
title: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export interface PricingPlan {
|
||||
name: string
|
||||
price: number
|
||||
period: string
|
||||
features: string[]
|
||||
isPopular?: boolean
|
||||
}
|
||||
|
||||
export interface Product {
|
||||
id: string
|
||||
name: string
|
||||
title: string
|
||||
description: string
|
||||
highlight: string
|
||||
features: ProductFeature[]
|
||||
pricing: PricingPlan[]
|
||||
faqs: {
|
||||
question: string
|
||||
answer: string
|
||||
}[]
|
||||
}
|
||||
Reference in New Issue
Block a user