galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
110 lines • 5.15 kB
JSON
{
"id": "Satwinder04_tasty-horse-82",
"name": "tasty-horse-82",
"category": "buttons",
"author": "Satwinder04",
"description": "tasty-horse-82 组件 (blue, button, ripple, animation, interactive)",
"tags": [
"blue",
"button",
"ripple",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"animated-button\">hover me</button>",
"css": "/* From Uiverse.io by Satwinder04 - Tags: blue, button, ripple */\n.animated-button {\n position: relative;\n display: inline-block;\n padding: 16px 28px;\n font-size: 20px;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n text-align: center;\n text-decoration: none;\n background-color: #1f347b;\n /* border-radius: 40px; */\n overflow: hidden;\n border: none;\n z-index: 1;\n}\n\n.animated-button:before {\n transition: 1s;\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n background-color: #fff;\n border-radius: 50%;\n opacity: 0;\n transform: translate(-50%, -50%);\n z-index: -1;\n}\n\n.animated-button:hover:before {\n width: 300px;\n height: 300px;\n opacity: 0.4;\n transition: all 0.5s ease-out;\n}\n\n.animated-button:hover {\n background-color: #fff;\n color: #202960;\n transition: all 0.5s ease-out;\n}\n\n.animated-button:hover:after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n background-color: #255ea4;\n border-radius: 50%;\n transform: translate(-50%, -50%);\n z-index: -2;\n animation: pulse 2s infinite;\n}\n\n@keyframes pulse {\n 0% {\n width: 0;\n height: 0;\n opacity: 0.5;\n }\n\n 100% {\n width: 200px;\n height: 200px;\n opacity: 0;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Satwinder04_tasty-horse-82.html"
},
"uniapp": {
"template": "<button class=\"animated-button\"></button>hover me</button>",
"script": "export default {\n name: 'GalaxyTastyHorse82',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Satwinder04 - Tags: blue, button, ripple */\n.animated-button {\n position: relative;\n display: inline-block;\n padding: 32rpx 56rpx;\n font-size: 40rpx;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n text-align: center;\n text-decoration: none;\n background-color: #1f347b;\n /* border-radius: 80rpx; */\n overflow: hidden;\n border: none;\n z-index: 1;\n}\n\n.animated-button:before {\n transition: 1s;\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n background-color: #fff;\n border-radius: 50%;\n opacity: 0;\n transform: translate(-50%, -50%);\n z-index: -1;\n}\n\n.animated-button:hover:before {\n width: 600rpx;\n height: 600rpx;\n opacity: 0.4;\n transition: all 0.5s ease-out;\n}\n\n.animated-button:hover {\n background-color: #fff;\n color: #202960;\n transition: all 0.5s ease-out;\n}\n\n.animated-button:hover:after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n background-color: #255ea4;\n border-radius: 50%;\n transform: translate(-50%, -50%);\n z-index: -2;\n animation: pulse 2s infinite;\n}\n\n@keyframes pulse {\n 0% {\n width: 0;\n height: 0;\n opacity: 0.5;\n }\n\n 100% {\n width: 400rpx;\n height: 400rpx;\n opacity: 0;\n }\n}\n\n",
"component_name": "GalaxyTastyHorse82"
},
"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": 1320,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.554Z",
"updated_at": "2025-07-31T07:55:34.554Z"
}