galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 4.06 kB
JSON
{
"id": "cjnoise_stupid-fish-62",
"name": "stupid-fish-62",
"category": "buttons",
"author": "cjnoise",
"description": "stupid-fish-62 组件 (blue, button, animated, 3d button, animation, interactive)",
"tags": [
"blue",
"button",
"animated",
"3d button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">Button</button>",
"css": "/* From Uiverse.io by cjnoise - Tags: blue, button, animated, 3d button */\n.button {\n display: inline-block;\n padding: 10px 20px;\n font-size: 16px;\n text-align: center;\n text-decoration: none;\n cursor: pointer;\n border: 1px solid #3498db;\n color: #fff;\n background-color: #3498db;\n border-radius: 5px;\n position: relative;\n overflow: hidden;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.1);\n transform: perspective(5px) rotateX(2deg) rotateY(2deg);\n transition: transform 0.3s;\n pointer-events: none;\n}\n\n.button:hover::before {\n transform: perspective(5px) rotateX(0) rotateY(0);\n}",
"file_path": "/mnt/persist/workspace/Buttons/cjnoise_stupid-fish-62.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyStupidFish62',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by cjnoise - Tags: blue, button, animated, 3d button */\n.button {\n display: inline-block;\n padding: 20rpx 40rpx;\n font-size: 32rpx;\n text-align: center;\n text-decoration: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border: 2rpx solid #3498db;\n color: #fff;\n background-color: #3498db;\n border-radius: 10rpx;\n position: relative;\n overflow: hidden;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.1);\n transform: perspective(10rpx) rotateX(2deg) rotateY(2deg);\n transition: transform 0.3s;\n pointer-events: none;\n}\n\n.button:hover::before {\n transform: perspective(10rpx) rotateX(0) rotateY(0);\n}\n\n",
"component_name": "GalaxyStupidFish62"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 753,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.111Z",
"updated_at": "2025-07-31T07:55:36.111Z"
}