galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
108 lines • 6.04 kB
JSON
{
"id": "KINGFRESS_giant-deer-25",
"name": "giant-deer-25",
"category": "buttons",
"author": "KINGFRESS",
"description": "giant-deer-25 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button>\n <span class=\"span-mother\">\n <span>B</span>\n <span>u</span>\n <span>t</span>\n <span>t</span>\n <span>o</span>\n <span>n</span>\n </span>\n <span class=\"span-mother2\">\n <span>B</span>\n <span>u</span>\n <span>t</span>\n <span>t</span>\n <span>o</span>\n <span>n</span>\n </span>\n</button>",
"css": "/* From Uiverse.io by KINGFRESS - Tags: button */\nbutton {\n font-weight: bold;\n color: white;\n border-radius: 2rem;\n width: 95.02px;\n height: 42.66px;\n border: none;\n background-color: #3653F8;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\nbutton .span-mother {\n display: flex;\n overflow: hidden;\n}\n\nbutton:hover .span-mother {\n position: absolute;\n}\n\nbutton:hover .span-mother span {\n transform: translateY(1.2em);\n}\n\nbutton .span-mother span:nth-child(1) {\n transition: .2s;\n}\n\nbutton .span-mother span:nth-child(2) {\n transition: .3s;\n}\n\nbutton .span-mother span:nth-child(3) {\n transition: .4s;\n}\n\nbutton .span-mother span:nth-child(4) {\n transition: .5s;\n}\n\nbutton .span-mother span:nth-child(5) {\n transition: .6s;\n}\n\nbutton .span-mother span:nth-child(6) {\n transition: .7s;\n}\n\nbutton .span-mother2 {\n display: flex;\n position: absolute;\n overflow: hidden;\n}\n\nbutton .span-mother2 span {\n transform: translateY(-1.2em);\n}\n\nbutton:hover .span-mother2 span {\n transform: translateY(0);\n}\n\nbutton .span-mother2 span {\n transition: .2s;\n}\n\nbutton .span-mother2 span:nth-child(2) {\n transition: .3s;\n}\n\nbutton .span-mother2 span:nth-child(3) {\n transition: .4s;\n}\n\nbutton .span-mother2 span:nth-child(4) {\n transition: .5s;\n}\n\nbutton .span-mother2 span:nth-child(5) {\n transition: .6s;\n}\n\nbutton .span-mother2 span:nth-child(6) {\n transition: .7s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/KINGFRESS_giant-deer-25.html"
},
"uniapp": {
"template": "<button></button>\n <text class=\"span-mother\"></text>\n <text>B</text>\n <text>u</text>\n <text>t</text>\n <text>t</text>\n <text>o</text>\n <text>n</text>\n </span>\n <text class=\"span-mother2\"></text>\n <text>B</text>\n <text>u</text>\n <text>t</text>\n <text>t</text>\n <text>o</text>\n <text>n</text>\n </span>\n</button>",
"script": "export default {\n name: 'GalaxyGiantDeer25',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by KINGFRESS - Tags: button */\nbutton {\n font-weight: bold;\n color: white;\n border-radius: 2rem;\n width: 190.04rpx;\n height: 85.32rpx;\n border: none;\n background-color: #3653F8;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\nbutton .span-mother {\n display: flex;\n overflow: hidden;\n}\n\nbutton:hover .span-mother {\n position: absolute;\n}\n\nbutton:hover .span-mother span {\n transform: translateY(1.2em);\n}\n\nbutton .span-mother span:nth-child(1) {\n transition: .2s;\n}\n\nbutton .span-mother span:nth-child(2) {\n transition: .3s;\n}\n\nbutton .span-mother span:nth-child(3) {\n transition: .4s;\n}\n\nbutton .span-mother span:nth-child(4) {\n transition: .5s;\n}\n\nbutton .span-mother span:nth-child(5) {\n transition: .6s;\n}\n\nbutton .span-mother span:nth-child(6) {\n transition: .7s;\n}\n\nbutton .span-mother2 {\n display: flex;\n position: absolute;\n overflow: hidden;\n}\n\nbutton .span-mother2 span {\n transform: translateY(-1.2em);\n}\n\nbutton:hover .span-mother2 span {\n transform: translateY(0);\n}\n\nbutton .span-mother2 span {\n transition: .2s;\n}\n\nbutton .span-mother2 span:nth-child(2) {\n transition: .3s;\n}\n\nbutton .span-mother2 span:nth-child(3) {\n transition: .4s;\n}\n\nbutton .span-mother2 span:nth-child(4) {\n transition: .5s;\n}\n\nbutton .span-mother2 span:nth-child(5) {\n transition: .6s;\n}\n\nbutton .span-mother2 span:nth-child(6) {\n transition: .7s;\n}\n",
"component_name": "GalaxyGiantDeer25"
},
"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": [],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1756,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.623Z",
"updated_at": "2025-07-31T07:55:33.623Z"
}