galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 4.82 kB
JSON
{
"id": "McHaXYT_evil-parrot-13",
"name": "evil-parrot-13",
"category": "buttons",
"author": "McHaXYT",
"description": "evil-parrot-13 组件 (neumorphism, flashy, icon, purple, button, hover, futuristic, creative, gradient, interactive)",
"tags": [
"neumorphism",
"flashy",
"icon",
"purple",
"button",
"hover",
"futuristic",
"creative",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1.25rem\" height=\"1.25rem\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\n <path d=\"M12 19v-7m0 0V5m0 7H5m7 0h7\"></path>\n </svg>\n Create\n</button>",
"css": "/* From Uiverse.io by McHaXYT - Tags: neumorphism, flashy, icon, purple, button, hover, futuristic, creative */\n.button {\n cursor: pointer;\n font-size: 1rem;\n line-height: 1.5rem;\n padding: 0.625rem 1rem;\n color: rgb(242 242 242);\n background-color: rgb(79 70 229);\n background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);\n font-weight: 600;\n border-radius: 0.5rem;\n border-style: none;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 0.5rem;\n transition: all 0.35s linear;\n}\n\n.button:hover {\n box-shadow: inset 0 5px 25px 0 #af40ff, inset 0 10px 15px 0px #5b42f3,\n inset 0 5px 25px 0px #00ddeb;\n}",
"file_path": "/mnt/persist/workspace/Buttons/McHaXYT_evil-parrot-13.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"1.25rem\" height=\"1.25rem\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"></view>\n <path d=\"M12 19v-7m0 0V5m0 7H5m7 0h7\"></path>\n </svg>\n Create\n</button>",
"script": "export default {\n name: 'GalaxyEvilParrot13',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by McHaXYT - Tags: neumorphism, flashy, icon, purple, button, hover, futuristic, creative */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-size: 1rem;\n line-height: 1.5rem;\n padding: 0.625rem 1rem;\n color: rgb(242 242 242);\n background-color: rgb(79 70 229);\n background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);\n font-weight: 600;\n border-radius: 0.5rem;\n border-style: none;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 0.5rem;\n transition: all 0.35s linear;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 10rpx 50rpx 0 #af40ff, inset 0 20rpx 30rpx 0rpx #5b42f3,\n inset 0 10rpx 50rpx 0rpx #00ddeb;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxyEvilParrot13"
},
"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": "low",
"bundle_size": 956,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.917Z",
"updated_at": "2025-07-31T07:55:33.917Z"
}