UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

116 lines 5.39 kB
{ "id": "elijahwgummer-poc_honest-falcon-100", "name": "honest-falcon-100", "category": "buttons", "author": "elijahwgummer-poc", "description": "honest-falcon-100 组件 (button, bubble, animated, shine, animation, gradient, interactive)", "tags": [ "button", "bubble", "animated", "shine", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n <span>Button</span>\n <div class=\"overlay\"></div>\n <div class=\"shine\"></div>\n</button>", "css": "/* From Uiverse.io by elijahwgummer-poc - Tags: button, bubble, animated, shine */\n.button {\n position: relative;\n display: inline-block;\n padding: 12px 26px;\n font-size: 20px;\n font-weight: bold;\n text-align: center;\n text-decoration: none;\n border-radius: 50px;\n color: #fff;\n background-color: #ff6b6b;\n border: none;\n overflow: hidden;\n transition: all 0.3s ease;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);\n}\n\n.button span {\n position: relative;\n z-index: 1;\n}\n\n.button .overlay {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.3);\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.button .shine {\n position: absolute;\n top: -80px;\n left: -80px;\n width: 160px;\n height: 160px;\n background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, transparent 80%);\n transform: rotate(45deg);\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.button:hover .overlay {\n opacity: 0.7;\n}\n\n.button:hover .shine {\n opacity: 1;\n}\n\n.button:hover {\n background-color: #ff3333;\n}\n\n.button:active {\n background-color: #cc0000;\n}", "file_path": "/mnt/persist/workspace/Buttons/elijahwgummer-poc_honest-falcon-100.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text>Button</text>\n <view class=\"overlay\"></view>\n <view class=\"shine\"></view>\n</button>", "script": "export default {\n name: 'GalaxyHonestFalcon100',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by elijahwgummer-poc - Tags: button, bubble, animated, shine */\n.button {\n position: relative;\n display: inline-block;\n padding: 24rpx 52rpx;\n font-size: 40rpx;\n font-weight: bold;\n text-align: center;\n text-decoration: none;\n border-radius: 100rpx;\n color: #fff;\n background-color: #ff6b6b;\n border: none;\n overflow: hidden;\n transition: all 0.3s ease;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button span {\n position: relative;\n z-index: 1;\n}\n\n.button .overlay {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.3);\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.button .shine {\n position: absolute;\n top: -160rpx;\n left: -160rpx;\n width: 320rpx;\n height: 320rpx;\n background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, transparent 80%);\n transform: rotate(45deg);\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.button:hover .overlay {\n opacity: 0.7;\n}\n\n.button:hover .shine {\n opacity: 1;\n}\n\n.button:hover {\n background-color: #ff3333;\n}\n\n.button:active {\n background-color: #cc0000;\n}\n\n", "component_name": "GalaxyHonestFalcon100" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1279, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.566Z", "updated_at": "2025-07-31T07:55:36.566Z" }