galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
109 lines • 4.97 kB
JSON
{
"id": "KSAplay_strong-panther-58",
"name": "strong-panther-58",
"category": "buttons",
"author": "KSAplay",
"description": "strong-panther-58 组件 (button, animation, gradient, interactive)",
"tags": [
"button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"btn\">\n <span class=\"text\">Play</span>\n</button>",
"css": "/* From Uiverse.io by KSAplay - Tags: button */\n.btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n padding: 1em 2em;\n font-size: 15px;\n font-weight: bold;\n border-width: 0;\n border-radius: 1.5em;\n text-transform: uppercase;\n transition: .2s ease;\n}\n\n.text {\n font-size: 1.2em;\n color: white;\n z-index: 1;\n}\n\n.btn::before {\n position: absolute;\n content: '';\n width: 120%;\n height: 260%;\n background-image: linear-gradient(135deg, rgba(0,5,255,1) 0%, rgba(255,0,159,1) 100%);\n}\n\n.btn::after {\n position: absolute;\n content: '';\n width: 88%;\n height: 80%;\n border-width: 0;\n border-radius: 1.2em;\n background-color: black;\n opacity: .7;\n transition: 100ms ease;\n}\n\n.btn:hover.btn {\n transform: scale(1.1);\n}\n\n.btn:hover.btn::after {\n opacity: .5;\n}\n\n.btn:hover.btn::before {\n animation: turn_4810 .4s infinite linear;\n}\n\n.btn:active.btn {\n transform: scale(1.05);\n}\n\n.btn:active.btn::before {\n transform: scale(1.05);\n animation: turn_4810 .2s infinite linear;\n}\n\n@keyframes turn_4810 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/KSAplay_strong-panther-58.html"
},
"uniapp": {
"template": "<button class=\"btn\"></button>\n <text class=\"text\">Play</text>\n</button>",
"script": "export default {\n name: 'GalaxyStrongPanther58',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by KSAplay - Tags: button */\n.btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n padding: 1em 2em;\n font-size: 30rpx;\n font-weight: bold;\n border-width: 0;\n border-radius: 1.5em;\n text-transform: uppercase;\n transition: .2s ease;\n}\n\n.text {\n font-size: 1.2em;\n color: white;\n z-index: 1;\n}\n\n.btn::before {\n position: absolute;\n content: '';\n width: 120%;\n height: 260%;\n background-image: linear-gradient(135deg, rgba(0,5,255,1) 0%, rgba(255,0,159,1) 100%);\n}\n\n.btn::after {\n position: absolute;\n content: '';\n width: 88%;\n height: 80%;\n border-width: 0;\n border-radius: 1.2em;\n background-color: black;\n opacity: .7;\n transition: 100ms ease;\n}\n\n.btn:hover.btn {\n transform: scale(1.1);\n}\n\n.btn:hover.btn::after {\n opacity: .5;\n}\n\n.btn:hover.btn::before {\n animation: turn_4810 .4s infinite linear;\n}\n\n.btn:active.btn {\n transform: scale(1.05);\n}\n\n.btn:active.btn::before {\n transform: scale(1.05);\n animation: turn_4810 .2s infinite linear;\n}\n\n@keyframes turn_4810 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n\n",
"component_name": "GalaxyStrongPanther58"
},
"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": "medium",
"bundle_size": 1236,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.663Z",
"updated_at": "2025-07-31T07:55:33.663Z"
}