galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.66 kB
JSON
{
"id": "r7chardgh_stale-wombat-66",
"name": "stale-wombat-66",
"category": "buttons",
"author": "r7chardgh",
"description": "stale-wombat-66 组件 (3d, button, keyboard style, animation)",
"tags": [
"3d",
"button",
"keyboard style",
"animation"
],
"original": {
"html": "<button class=\"button\">\n Enter\n</button>",
"css": "/* From Uiverse.io by r7chardgh - Tags: 3d, button, keyboard style */\n.button {\n position: relative;\n padding: 1em 1.5em;\n transform: rotateX(40deg)rotateZ(40deg);\n transform-style: preserve-3d;\n border: .1em solid black;\n transition: all 150ms;\n background-color: rgb(233, 211, 184);\n cursor: pointer;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 2em;\n height: 99%;\n border: .1em solid black;\n top: -.15em;\n right: 0;\n transform-origin: right;\n transform: rotateY(-90deg);\n transition: all 150ms;\n background-color: rgb(155, 139, 120);\n}\n\n.button::after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 2em;\n border: .1em solid black;\n bottom: 0;\n left: -.15em;\n transform-origin: bottom;\n transform: rotateX(90deg);\n transition: all 150ms;\n background-color: rgb(199, 179, 155);\n}\n\n.button:active {\n transform: rotateX(40deg)rotateZ(40deg) translateZ(-1em);\n}\n\n.button:active::before {\n width: 0;\n}\n\n.button:active::after {\n height: 0;\n}",
"file_path": "/mnt/persist/workspace/Buttons/r7chardgh_stale-wombat-66.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Enter\n</button>",
"script": "export default {\n name: 'GalaxyStaleWombat66',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by r7chardgh - Tags: 3d, button, keyboard style */\n.button {\n position: relative;\n padding: 1em 1.5em;\n transform: rotateX(40deg)rotateZ(40deg);\n transform-style: preserve-3d;\n border: .1em solid black;\n transition: all 150ms;\n background-color: rgb(233, 211, 184);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 2em;\n height: 99%;\n border: .1em solid black;\n top: -.15em;\n right: 0;\n transform-origin: right;\n transform: rotateY(-90deg);\n transition: all 150ms;\n background-color: rgb(155, 139, 120);\n}\n\n.button::after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 2em;\n border: .1em solid black;\n bottom: 0;\n left: -.15em;\n transform-origin: bottom;\n transform: rotateX(90deg);\n transition: all 150ms;\n background-color: rgb(199, 179, 155);\n}\n\n.button:active {\n transform: rotateX(40deg)rotateZ(40deg) translateZ(-1em);\n}\n\n.button:active::before {\n width: 0;\n}\n\n.button:active::after {\n height: 0;\n}\n\n",
"component_name": "GalaxyStaleWombat66"
},
"platforms": {
"h5": true,
"mp-weixin": true,
"mp-alipay": true,
"mp-baidu": true,
"mp-toutiao": true,
"app-plus": true
},
"props": [
{
"name": "disabled",
"type": "Boolean",
"default": false,
"required": false,
"description": "是否禁用"
},
{
"name": "text",
"type": "String",
"default": "按钮",
"required": false,
"description": "按钮文字"
},
{
"name": "type",
"type": "String",
"default": "primary",
"required": false,
"description": "按钮类型"
}
],
"events": [
{
"name": "click",
"description": "点击事件",
"parameters": [
"event"
]
}
],
"slots": [
{
"name": "",
"description": "",
"props": []
}
],
"compatibility": {
"h5": {
"supported": true,
"issues": [],
"alternatives": []
},
"mp-weixin": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1048,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.632Z",
"updated_at": "2025-07-31T07:55:37.632Z"
}