galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
122 lines • 4.7 kB
JSON
{
"id": "Spacious74_horrible-horse-4",
"name": "horrible-horse-4",
"category": "buttons",
"author": "Spacious74",
"description": "horrible-horse-4 组件 (minimalist, gradient, button, hover, dark, gradients, border, click effect, interactive)",
"tags": [
"minimalist",
"gradient",
"button",
"hover",
"dark",
"gradients",
"border",
"click effect",
"interactive"
],
"original": {
"html": "<div class=\"container\">\n <button class=\"button\">Hover me</button>\n</div>",
"css": "/* From Uiverse.io by Spacious74 - Tags: minimalist, gradient, button, hover, dark, gradients, border, click effect */\nbutton {\n font-size: 1.4em;\n padding: 0.6em 0.8em;\n border-radius: 0.5em;\n border: none;\n background-color: #000;\n color: #fff;\n cursor: pointer;\n box-shadow: 2px 2px 3px #000000b4;\n}\n\n.container {\n position: relative;\n padding: 3px;\n background: linear-gradient(90deg, #03a9f4, #f441a5);\n border-radius: 0.9em;\n transition: all 0.4s ease;\n}\n\n.container::before {\n content: \"\";\n position: absolute;\n inset: 0;\n margin: auto;\n border-radius: 0.9em;\n z-index: -10;\n filter: blur(0);\n transition: filter 0.4s ease;\n}\n\n.container:hover::before {\n background: linear-gradient(90deg, #03a9f4, #f441a5);\n filter: blur(1.2em);\n}\n.container:active::before {\n filter: blur(0.2em);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Spacious74_horrible-horse-4.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <button class=\"button\"></button>Hover me</button>\n</div>",
"script": "export default {\n name: 'GalaxyHorribleHorse4',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Spacious74 - Tags: minimalist, gradient, button, hover, dark, gradients, border, click effect */\nbutton {\n font-size: 1.4em;\n padding: 0.6em 0.8em;\n border-radius: 0.5em;\n border: none;\n background-color: #000;\n color: #fff;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 6rpx #000000b4;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.container {\n position: relative;\n padding: 6rpx;\n background: linear-gradient(90deg, #03a9f4, #f441a5);\n border-radius: 0.9em;\n transition: all 0.4s ease;\n}\n\n.container::before {\n content: \"\";\n position: absolute;\n inset: 0;\n margin: auto;\n border-radius: 0.9em;\n z-index: -10;\n \n transition: filter 0.4s ease;\n}\n\n.container:hover::before {\n background: linear-gradient(90deg, #03a9f4, #f441a5);\n \n}\n.container:active::before {\n \n}\n\n",
"component_name": "GalaxyHorribleHorse4"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 899,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.832Z",
"updated_at": "2025-07-31T07:55:34.832Z"
}