galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.78 kB
JSON
{
"id": "AqFox_nervous-crab-0",
"name": "nervous-crab-0",
"category": "buttons",
"author": "AqFox",
"description": "nervous-crab-0 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"btn btn-1 hover-filled-slide-left\">\n <span>hover me</span>\n</button>",
"css": "/* From Uiverse.io by AqFox - Tags: button */\n.btn {\n position: relative;\n display: inline-block;\n width: auto;\n height: auto;\n background-color: transparent;\n border: none;\n cursor: pointer;\n margin: 0px 25px 15px;\n min-width: 150px;\n}\n\n.btn span {\n position: relative;\n display: inline-block;\n font-size: 14px;\n font-weight: bold;\n letter-spacing: 2px;\n text-transform: uppercase;\n top: 0;\n left: 0;\n width: 100%;\n padding: 15px 20px;\n transition: 0.3s;\n}\n\n.btn-1::before {\n background-color: #004dff;\n transition: 0.3s ease-out;\n}\n\n.btn-1 span {\n color: rgb(255,255,255);\n border: 1px solid #004dff;\n transition: 0.2s 0.1s;\n}\n\n.btn-1 span:hover {\n color: #004dff;\n transition: 0.2s 0.1s;\n}\n\n:active, :hover, :focus {\n outline: 0!important;\n outline-offset: 0;\n}\n\n::before,\n::after {\n position: absolute;\n content: \"\";\n}\n\n.btn.hover-filled-slide-left::before {\n top: 0;\n bottom: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n.btn.hover-filled-slide-left:hover::before {\n width: 0%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/AqFox_nervous-crab-0.html"
},
"uniapp": {
"template": "<button class=\"btn btn-1 hover-filled-slide-left\"></button>\n <text>hover me</text>\n</button>",
"script": "export default {\n name: 'GalaxyNervousCrab0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by AqFox - Tags: button */\n.btn {\n position: relative;\n display: inline-block;\n width: auto;\n height: auto;\n background-color: transparent;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n margin: 0rpx 50rpx 30rpx;\n min-width: 300rpx;\n}\n\n.btn span {\n position: relative;\n display: inline-block;\n font-size: 28rpx;\n font-weight: bold;\n letter-spacing: 4rpx;\n text-transform: uppercase;\n top: 0;\n left: 0;\n width: 100%;\n padding: 30rpx 40rpx;\n transition: 0.3s;\n}\n\n.btn-1::before {\n background-color: #004dff;\n transition: 0.3s ease-out;\n}\n\n.btn-1 span {\n color: rgb(255,255,255);\n border: 2rpx solid #004dff;\n transition: 0.2s 0.1s;\n}\n\n.btn-1 span:hover {\n color: #004dff;\n transition: 0.2s 0.1s;\n}\n\n:active, :hover, :focus {\n outline: 0!important;\n outline-offset: 0;\n}\n\n::before,\n::after {\n position: absolute;\n content: \"\";\n}\n\n.btn.hover-filled-slide-left::before {\n top: 0;\n bottom: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n.btn.hover-filled-slide-left:hover::before {\n width: 0%;\n}\n",
"component_name": "GalaxyNervousCrab0"
},
"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": 1111,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.643Z",
"updated_at": "2025-07-31T07:55:32.643Z"
}