galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.57 kB
JSON
{
"id": "abbos97_wise-jellyfish-49",
"name": "wise-jellyfish-49",
"category": "buttons",
"author": "abbos97",
"description": "wise-jellyfish-49 组件 (gradient, button, animation, interactive)",
"tags": [
"gradient",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"moves-button\">Hover me</button>",
"css": "/* From Uiverse.io by abbos97 - Tags: gradient, button */\n.moves-button {\n padding: 10px 20px;\n color: #000;\n font-weight: 900;\n border-radius: 4px;\n font-size: 16px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n background-color: #fff;\n border: 3px solid transparent;\n border-image: linear-gradient(90deg, #f3f 20%, rgb(49, 18, 187) 60%);\n border-image-slice: 1;\n}\n\n.moves-button::after {\n content: 'Button';\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgb(245, 108, 245) 20%, rgb(119, 91, 245) 60%);\n transition: transform 0.3s ease-out;\n pointer-events: none;\n color: #fff;\n}\n\n.moves-button:hover::after {\n transform: translateX(-100%);\n}\n\n.moves-button:focus {\n outline: none;\n}\n\n/* Optional styling for the button on click */\n.moves-button:active {\n transform: translateY(2px);\n}",
"file_path": "/mnt/persist/workspace/Buttons/abbos97_wise-jellyfish-49.html"
},
"uniapp": {
"template": "<button class=\"moves-button\"></button>Hover me</button>",
"script": "export default {\n name: 'GalaxyWiseJellyfish49',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by abbos97 - Tags: gradient, button */\n.moves-button {\n padding: 20rpx 40rpx;\n color: #000;\n font-weight: 900;\n border-radius: 8rpx;\n font-size: 32rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n background-color: #fff;\n border: 6rpx solid transparent;\n border-image: linear-gradient(90deg, #f3f 20%, rgb(49, 18, 187) 60%);\n border-image-slice: 1;\n}\n\n.moves-button::after {\n content: 'Button';\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgb(245, 108, 245) 20%, rgb(119, 91, 245) 60%);\n transition: transform 0.3s ease-out;\n pointer-events: none;\n color: #fff;\n}\n\n.moves-button:hover::after {\n transform: translateX(-100%);\n}\n\n.moves-button:focus {\n outline: none;\n}\n\n/* Optional styling for the button on click */\n.moves-button:active {\n transform: translateY(4rpx);\n}\n\n",
"component_name": "GalaxyWiseJellyfish49"
},
"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": 1005,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.371Z",
"updated_at": "2025-07-31T07:55:35.371Z"
}