galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
107 lines • 3.84 kB
JSON
{
"id": "boryanakrasteva_ancient-mule-42",
"name": "ancient-mule-42",
"category": "buttons",
"author": "boryanakrasteva",
"description": "ancient-mule-42 组件 (button, animation)",
"tags": [
"button",
"animation"
],
"original": {
"html": "<button class=\"mouse\">\n <div class=\"scroll\"></div>\n\n</button>",
"css": "/* From Uiverse.io by boryanakrasteva - Tags: button */\n.mouse {\n width: 25px;\n height: 40px;\n border: 1px solid rgb(196, 196, 196);\n background-color: transparent;\n border-radius: 13px;\n border-bottom-left-radius: 20px;\n border-bottom-right-radius: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.scroll {\n width: 3px;\n height: 10px;\n background-color: rgb(196, 196, 196);\n border-radius: 2px;\n position: absolute;\n bottom: 9px;\n animation: move_918 1.5s linear infinite;\n}\n\n@keyframes move_918 {\n 0% {\n bottom: 9px;\n }\n\n 50% {\n bottom: 5px;\n }\n\n 100% {\n bottom: 9px;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/boryanakrasteva_ancient-mule-42.html"
},
"uniapp": {
"template": "<button class=\"mouse\"></button>\n <view class=\"scroll\"></view>\n\n</button>",
"script": "export default {\n name: 'GalaxyAncientMule42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by boryanakrasteva - Tags: button */\n.mouse {\n width: 50rpx;\n height: 80rpx;\n border: 2rpx solid rgb(196, 196, 196);\n background-color: transparent;\n border-radius: 26rpx;\n border-bottom-left-radius: 40rpx;\n border-bottom-right-radius: 40rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.scroll {\n width: 6rpx;\n height: 20rpx;\n background-color: rgb(196, 196, 196);\n border-radius: 4rpx;\n position: absolute;\n bottom: 18rpx;\n animation: move_918 1.5s linear infinite;\n}\n\n@keyframes move_918 {\n 0% {\n bottom: 18rpx;\n }\n\n 50% {\n bottom: 10rpx;\n }\n\n 100% {\n bottom: 18rpx;\n }\n}\n",
"component_name": "GalaxyAncientMule42"
},
"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": 719,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.003Z",
"updated_at": "2025-07-31T07:55:36.003Z"
}