galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
108 lines • 4.11 kB
JSON
{
"id": "Cornerstone-04_rude-snake-92",
"name": "rude-snake-92",
"category": "buttons",
"author": "Cornerstone-04",
"description": "rude-snake-92 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button>\n Hover\n</button>",
"css": "/* From Uiverse.io by Cornerstone-04 - Tags: button */\nbutton {\n display: flex;\n align-items: center;\n color: #000;\n background: none;\n border: none;\n padding: 12px 18px;\n position: relative;\n font-size: 1rem;\n text-transform: uppercase;\n font-weight: 700;\n font-family: monospace;\n transition: linear .3s;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 50%;\n transform: translateY(-50%) translateX(calc(100% + 4px));\n width: 45px;\n height: 45px;\n background-color: #dc143c;\n border-radius: 50px;\n transition: transform .25s .25s cubic-bezier(0, 0, .5, 2), width .25s cubic-bezier(0, 0, .5, 2);\n z-index: -1;\n}\n\nbutton:hover::before {\n width: 100%;\n transform: translateY(-50%) translateX(-18px);\n transition: transform .25s cubic-bezier(0,0,.5,2);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Cornerstone-04_rude-snake-92.html"
},
"uniapp": {
"template": "<button></button>\n Hover\n</button>",
"script": "export default {\n name: 'GalaxyRudeSnake92',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Cornerstone-04 - Tags: button */\nbutton {\n display: flex;\n align-items: center;\n color: #000;\n background: none;\n border: none;\n padding: 24rpx 36rpx;\n position: relative;\n font-size: 1rem;\n text-transform: uppercase;\n font-weight: 700;\n font-family: monospace;\n transition: linear .3s;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 50%;\n transform: translateY(-50%) translateX(calc(100% + 8rpx));\n width: 90rpx;\n height: 90rpx;\n background-color: #dc143c;\n border-radius: 100rpx;\n transition: transform .25s .25s cubic-bezier(0, 0, .5, 2), width .25s cubic-bezier(0, 0, .5, 2);\n z-index: -1;\n}\n\nbutton:hover::before {\n width: 100%;\n transform: translateY(-50%) translateX(-36rpx);\n transition: transform .25s cubic-bezier(0,0,.5,2);\n}\n",
"component_name": "GalaxyRudeSnake92"
},
"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": 854,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.978Z",
"updated_at": "2025-07-31T07:55:32.978Z"
}