galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
107 lines • 4.01 kB
JSON
{
"id": "cssbuttons-io_slippery-jellyfish-67",
"name": "slippery-jellyfish-67",
"category": "buttons",
"author": "cssbuttons-io",
"description": "slippery-jellyfish-67 组件 (button, interactive)",
"tags": [
"button",
"interactive"
],
"original": {
"html": "<button> Hover me\n</button>",
"css": "/* From Uiverse.io by cssbuttons-io - Tags: button */\nbutton {\n --color: #560bad;\n font-family: inherit;\n display: inline-block;\n width: 8em;\n height: 2.6em;\n line-height: 2.5em;\n margin: 20px;\n position: relative;\n overflow: hidden;\n border: 2px solid var(--color);\n transition: color .5s;\n z-index: 1;\n font-size: 17px;\n border-radius: 6px;\n font-weight: 500;\n color: var(--color);\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n background: var(--color);\n height: 150px;\n width: 200px;\n border-radius: 50%;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton:before {\n top: 100%;\n left: 100%;\n transition: all .7s;\n}\n\nbutton:hover:before {\n top: -30px;\n left: -30px;\n}\n\nbutton:active:before {\n background: #3a0ca3;\n transition: background 0s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/cssbuttons-io_slippery-jellyfish-67.html"
},
"uniapp": {
"template": "<button></button> Hover me\n</button>",
"script": "export default {\n name: 'GalaxySlipperyJellyfish67',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by cssbuttons-io - Tags: button */\nbutton {\n --color: #560bad;\n font-family: inherit;\n display: inline-block;\n width: 8em;\n height: 2.6em;\n line-height: 2.5em;\n margin: 40rpx;\n position: relative;\n overflow: hidden;\n border: 4rpx solid var(--color);\n transition: color .5s;\n z-index: 1;\n font-size: 34rpx;\n border-radius: 12rpx;\n font-weight: 500;\n color: var(--color);\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n background: var(--color);\n height: 300rpx;\n width: 400rpx;\n border-radius: 50%;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton:before {\n top: 100%;\n left: 100%;\n transition: all .7s;\n}\n\nbutton:hover:before {\n top: -60rpx;\n left: -60rpx;\n}\n\nbutton:active:before {\n background: #3a0ca3;\n transition: background 0s;\n}\n",
"component_name": "GalaxySlipperyJellyfish67"
},
"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": "low",
"bundle_size": 789,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.213Z",
"updated_at": "2025-07-31T07:55:36.213Z"
}