galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 7.77 kB
JSON
{
"id": "Roopaish_wicked-moth-24",
"name": "wicked-moth-24",
"category": "buttons",
"author": "Roopaish",
"description": "wicked-moth-24 组件 (button, bubble, animated, animation, gradient, interactive)",
"tags": [
"button",
"bubble",
"animated",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Button\n</button>",
"css": "/* From Uiverse.io by Roopaish - Tags: button, bubble, animated */\nbutton {\n outline: none;\n border: none;\n cursor: pointer;\n padding: 10px 20px;\n font-size: 12px;\n font-weight: 700;\n color: hsl(0, 0%, 100%);\n border-radius: 10px;\n text-transform: uppercase;\n transition: all 0.2s ease-in-out;\n position: relative;\n background-color: #ff0081;\n box-shadow: rgba(233, 30, 99, 0.5);\n}\n\nbutton::after,\nbutton::before {\n transition: all 0.2s ease-in-out;\n}\n\nbutton::before {\n z-index: -1;\n position: absolute;\n content: \"\";\n left: -2em;\n right: -2em;\n top: -2em;\n bottom: -2em;\n background-repeat: no-repeat;\n background-image: radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n /* */\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%);\n background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,\n 10% 10%, 18% 18%, 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%,\n 20% 20%;\n background-position: 18% 40%, 20% 31%, 30% 30%, 40% 30%, 50% 30%, 57% 30%,\n 65% 30%, 80% 32%, 15% 60%, 83% 60%, 18% 70%, 25% 70%, 41% 70%, 50% 70%,\n 64% 70%, 80% 71%;\n}\n\nbutton:hover::before {\n background-position: 5% 44%, -5% 20%, 7% 5%, 23% 0%, 37% 0, 58% -2%, 80% 0%,\n 100% -2%, -5% 80%, 100% 55%, 2% 100%, 23% 100%, 42% 100%, 60% 95%, 70% 96%,\n 100% 100%;\n background-size: 0% 0%;\n transition: background-position 0.5s ease-in-out,\n background-size 0.75s ease-in-out;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Roopaish_wicked-moth-24.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Button\n</button>",
"script": "export default {\n name: 'GalaxyWickedMoth24',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Roopaish - Tags: button, bubble, animated */\nbutton {\n outline: none;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 20rpx 40rpx;\n font-size: 24rpx;\n font-weight: 700;\n color: hsl(0, 0%, 100%);\n border-radius: 20rpx;\n text-transform: uppercase;\n transition: all 0.2s ease-in-out;\n position: relative;\n background-color: #ff0081;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(233, 30, 99, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton::after,\nbutton::before {\n transition: all 0.2s ease-in-out;\n}\n\nbutton::before {\n z-index: -1;\n position: absolute;\n content: \"\";\n left: -2em;\n right: -2em;\n top: -2em;\n bottom: -2em;\n background-repeat: no-repeat;\n background-image: radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n /* */\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, #ff0081 20%, transparent 20%),\n radial-gradient(circle, #ff0081 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, white 20%, transparent 20%);\n background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,\n 10% 10%, 18% 18%, 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%,\n 20% 20%;\n background-position: 18% 40%, 20% 31%, 30% 30%, 40% 30%, 50% 30%, 57% 30%,\n 65% 30%, 80% 32%, 15% 60%, 83% 60%, 18% 70%, 25% 70%, 41% 70%, 50% 70%,\n 64% 70%, 80% 71%;\n}\n\nbutton:hover::before {\n background-position: 5% 44%, -5% 20%, 7% 5%, 23% 0%, 37% 0, 58% -2%, 80% 0%,\n 100% -2%, -5% 80%, 100% 55%, 2% 100%, 23% 100%, 42% 100%, 60% 95%, 70% 96%,\n 100% 100%;\n background-size: 0% 0%;\n transition: background-position 0.5s ease-in-out,\n background-size 0.75s ease-in-out;\n}\n",
"component_name": "GalaxyWickedMoth24"
},
"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": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2456,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.472Z",
"updated_at": "2025-07-31T07:55:34.472Z"
}