galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.54 kB
JSON
{
"id": "kirzin_selfish-kangaroo-64",
"name": "selfish-kangaroo-64",
"category": "buttons",
"author": "kirzin",
"description": "selfish-kangaroo-64 组件 (gradient, button, animation, interactive)",
"tags": [
"gradient",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button> HOVER ME\n</button>",
"css": "/* From Uiverse.io by kirzin - Tags: gradient, button */\nbutton {\n text-decoration: none;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: inherit;\n color: #fff;\n width: 9em;\n height: 3em;\n line-height: 2em;\n text-align: center;\n background: linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n background-size: 300%;\n border-radius: 30px;\n z-index: 1;\n}\n\nbutton:hover {\n animation: ani 8s linear infinite;\n border: none;\n}\n\n@keyframes ani {\n 0% {\n background-position: 0%;\n }\n\n 100% {\n background-position: 400%;\n }\n}\n\nbutton:before {\n content: '';\n position: absolute;\n top: -5px;\n left: -5px;\n right: -5px;\n bottom: -5px;\n z-index: -1;\n background: linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n background-size: 400%;\n border-radius: 35px;\n transition: 1s;\n}\n\nbutton:hover::before {\n filter: blur(20px);\n}\n\nbutton:active {\n background: linear-gradient(32deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n}",
"file_path": "/mnt/persist/workspace/Buttons/kirzin_selfish-kangaroo-64.html"
},
"uniapp": {
"template": "<button></button> HOVER ME\n</button>",
"script": "export default {\n name: 'GalaxySelfishKangaroo64',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by kirzin - Tags: gradient, button */\nbutton {\n text-decoration: none;\n position: relative;\n border: none;\n font-size: 28rpx;\n font-family: inherit;\n color: #fff;\n width: 9em;\n height: 3em;\n line-height: 2em;\n text-align: center;\n background: linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n background-size: 300%;\n border-radius: 60rpx;\n z-index: 1;\n}\n\nbutton:hover {\n animation: ani 8s linear infinite;\n border: none;\n}\n\n@keyframes ani {\n 0% {\n background-position: 0%;\n }\n\n 100% {\n background-position: 400%;\n }\n}\n\nbutton:before {\n content: '';\n position: absolute;\n top: -10rpx;\n left: -10rpx;\n right: -10rpx;\n bottom: -10rpx;\n z-index: -1;\n background: linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n background-size: 400%;\n border-radius: 70rpx;\n transition: 1s;\n}\n\nbutton:hover::before {\n \n}\n\nbutton:active {\n background: linear-gradient(32deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);\n}\n",
"component_name": "GalaxySelfishKangaroo64"
},
"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": [
"不支持 filter 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1000,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.109Z",
"updated_at": "2025-07-31T07:55:37.109Z"
}