Commit a162ccef by liimin

fix(@vui/mobile): update VSection manifest and type definitions

2 parents 5a433445 82d9682b
# 构建产物
dist
*.log
# 依赖
node_modules
# IDE
.vscode
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# 临时文件
*.tmp
*.bak
.DS_Store
......@@ -11,16 +11,6 @@
"priority": 5,
"props": [
{ "name": "title", "type": "string", "description": "区块标题文字。如果不传,则不渲染标题区域。" },
{ "name": "centered", "type": "boolean", "description": "是否垂直居中布局。", "default": "false" },
{ "name": "full", "type": "boolean", "description": "是否通栏卡片(无边距圆角)。", "default": "false" }
],
"events": [
{ "name": "click", "description": "卡片点击事件。", "payload": "MouseEvent" }
],
"slots": [
{ "name": "default", "description": "卡片主体内容区域。放置任何自定义内容。" },
{ "name": "header", "description": "顶部自定义内容。如果提供此插槽,则 title 属性被忽略。" },
{ "name": "footer", "description": "底部操作区域。" }
],
"figmaMapping": {
"keywords": ["section", "container", "区块", "分段", "面板", "内容块", "白色背景块", "圆角容器", "车辆详情区块", "检测报告区块", "图片画廊区块", "车辆描述区块"],
......
......@@ -2,7 +2,15 @@ import type { DefineComponent } from "vue";
declare const VSection: DefineComponent<{
centered?: boolean;
currency?: string;
desc?: string;
full?: boolean;
num?: number | string;
originPrice?: number | string;
price?: number | string;
tag?: string;
thumb?: string;
thumbLink?: string;
title?: string;
}>;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!