galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.27 kB
JSON
{
"id": "kevkevkevin_bright-monkey-48",
"name": "bright-monkey-48",
"category": "buttons",
"author": "kevkevkevin",
"description": "bright-monkey-48 组件 (button, hover, creative, css, css effect, hoverme, animation, interactive)",
"tags": [
"button",
"hover",
"creative",
"css",
"css effect",
"hoverme",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n HOVER ME 🙈\n</button>",
"css": "/* From Uiverse.io by kevkevkevin - Tags: button, hover, creative, css, css effect, hoverme */\n.button {\n border: 2px solid #246bfd;\n color: #101a29;\n line-height: 52px;\n border-radius: 30px;\n font-weight: 600;\n height: 55px;\n overflow: hidden;\n padding: 0 30px;\n position: relative;\n transition: all .5s ease;\n z-index: 0;\n}\n\nbutton:after {\n content: \"\";\n height: 100%;\n left: -35%;\n position: absolute;\n top: 0;\n background: #246bfd;\n -webkit-transform: skew(30deg);\n transform: skew(30deg);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n transition: all .3s ease-in;\n transition-duration: .6s;\n width: 0;\n z-index: -1;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #ffffff00;\n border-color: #ffffff00;\n}\n\nbutton:hover:after {\n height: 100%;\n width: 135%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/kevkevkevin_bright-monkey-48.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n HOVER ME 🙈\n</button>",
"script": "export default {\n name: 'GalaxyBrightMonkey48',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by kevkevkevin - Tags: button, hover, creative, css, css effect, hoverme */\n.button {\n border: 4rpx solid #246bfd;\n color: #101a29;\n line-height: 104rpx;\n border-radius: 60rpx;\n font-weight: 600;\n height: 110rpx;\n overflow: hidden;\n padding: 0 60rpx;\n position: relative;\n transition: all .5s ease;\n z-index: 0;\n}\n\nbutton:after {\n content: \"\";\n height: 100%;\n left: -35%;\n position: absolute;\n top: 0;\n background: #246bfd;\n -webkit-transform: skew(30deg);\n transform: skew(30deg);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n transition: all .3s ease-in;\n transition-duration: .6s;\n width: 0;\n z-index: -1;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #ffffff00;\n border-color: #ffffff00;\n}\n\nbutton:hover:after {\n height: 100%;\n width: 135%;\n}\n",
"component_name": "GalaxyBrightMonkey48"
},
"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": 865,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.089Z",
"updated_at": "2025-07-31T07:55:37.089Z"
}