galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 5 kB
JSON
{
"id": "AnthonyPreite_kind-fish-73",
"name": "kind-fish-73",
"category": "buttons",
"author": "AnthonyPreite",
"description": "kind-fish-73 组件 (gradient, button, animation, interactive)",
"tags": [
"gradient",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n I'm a Button\n </button>",
"css": "/* From Uiverse.io by AnthonyPreite - Tags: gradient, button */\n.button {\n position: relative;\n height: 50px;\n width: 130px;\n border: none;\n outline: none;\n color: white;\n background: #0f0f0f;\n cursor: pointer;\n border-radius: 4px;\n font-size: 16px;\n font-weight: 700;\n font-family: 'Gruppo', sans-serif;\n transition: all .2s ease-out;\n}\n\n.button:before {\n position: absolute;\n content: '';\n top: -4px;\n left: -4px;\n height: calc(100% + 8px);\n width: calc(100% + 8px);\n border-radius: 6px;\n z-index: -1;\n opacity: 1;\n background: linear-gradient(90deg, hsla(141, 54%, 86%, 1) 0%, hsla(333, 73%, 85%, 1) 25%, hsla(141, 54%, 86%, 1)50%);\n background-size: 400%;\n transition: opacity 1s ease-in-out;\n animation: animate 20s linear infinite;\n}\n\n.button:hover {\n transform: scale(1.1);\n color: #0f0f0f;\n opacity: 1;\n transition: all .3s ease-in-out;\n}\n\n.button:active {\n background: none;\n color: #000000;\n transform: scale(1);\n transition: all .3s ease-in-out;\n}\n\n@keyframes animate {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/AnthonyPreite_kind-fish-73.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n I'm a Button\n </button>",
"script": "export default {\n name: 'GalaxyKindFish73',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by AnthonyPreite - Tags: gradient, button */\n.button {\n position: relative;\n height: 100rpx;\n width: 260rpx;\n border: none;\n outline: none;\n color: white;\n background: #0f0f0f;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border-radius: 8rpx;\n font-size: 32rpx;\n font-weight: 700;\n font-family: 'Gruppo', sans-serif;\n transition: all .2s ease-out;\n}\n\n.button:before {\n position: absolute;\n content: '';\n top: -8rpx;\n left: -8rpx;\n height: calc(100% + 16rpx);\n width: calc(100% + 16rpx);\n border-radius: 12rpx;\n z-index: -1;\n opacity: 1;\n background: linear-gradient(90deg, hsla(141, 54%, 86%, 1) 0%, hsla(333, 73%, 85%, 1) 25%, hsla(141, 54%, 86%, 1)50%);\n background-size: 400%;\n transition: opacity 1s ease-in-out;\n animation: animate 20s linear infinite;\n}\n\n.button:hover {\n transform: scale(1.1);\n color: #0f0f0f;\n opacity: 1;\n transition: all .3s ease-in-out;\n}\n\n.button:active {\n background: none;\n color: #000000;\n transform: scale(1);\n transition: all .3s ease-in-out;\n}\n\n@keyframes animate {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}\n\n",
"component_name": "GalaxyKindFish73"
},
"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": 1209,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.624Z",
"updated_at": "2025-07-31T07:55:32.624Z"
}