UNPKG

galaxy-uniapp-mcp-server

Version:

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

108 lines 5.32 kB
{ "id": "Wlidha09_chilly-mole-32", "name": "chilly-mole-32", "category": "buttons", "author": "Wlidha09", "description": "chilly-mole-32 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"btn-white\" href=\"#\">\n Discover\n</button>", "css": "/* From Uiverse.io by Wlidha09 - Tags: button */\n.btn-white {\n display: inline-flex;\n align-items: center;\n color: #fff;\n border: 1px solid #fff;\n min-height: 50px;\n padding: 0 20px;\n font-size: 17px;\n text-transform: uppercase;\n z-index: 1;\n position: relative;\n background-color: transparent;\n}\n\n.btn-white::before {\n content: \"\";\n background-color: #fff;\n display: block;\n width: 45px;\n height: 1px;\n margin-right: 20px;\n}\n\n.btn-white::after {\n content: \"\";\n background-color: #fff;\n display: block;\n width: 0%;\n height: 100%;\n right: 0;\n top: 0;\n position: absolute;\n z-index: -1;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover {\n color: #232963;\n text-decoration: none;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover::after {\n width: 100%;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover::before {\n background-color: #232963;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}", "file_path": "/mnt/persist/workspace/Buttons/Wlidha09_chilly-mole-32.html" }, "uniapp": { "template": "<button class=\"btn-white\" href=\"#\"></button>\n Discover\n</button>", "script": "export default {\n name: 'GalaxyChillyMole32',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Wlidha09 - Tags: button */\n.btn-white {\n display: inline-flex;\n align-items: center;\n color: #fff;\n border: 2rpx solid #fff;\n min-height: 100rpx;\n padding: 0 40rpx;\n font-size: 34rpx;\n text-transform: uppercase;\n z-index: 1;\n position: relative;\n background-color: transparent;\n}\n\n.btn-white::before {\n content: \"\";\n background-color: #fff;\n display: block;\n width: 90rpx;\n height: 2rpx;\n margin-right: 40rpx;\n}\n\n.btn-white::after {\n content: \"\";\n background-color: #fff;\n display: block;\n width: 0%;\n height: 100%;\n right: 0;\n top: 0;\n position: absolute;\n z-index: -1;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover {\n color: #232963;\n text-decoration: none;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover::after {\n width: 100%;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n\n.btn-white:hover::before {\n background-color: #232963;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n transition: all 0.3s ease-out;\n}\n", "component_name": "GalaxyChillyMole32" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1432, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.157Z", "updated_at": "2025-07-31T07:55:35.157Z" }