UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 4.79 kB
{ "id": "RodrigoRVSN_tidy-dingo-23", "name": "tidy-dingo-23", "category": "buttons", "author": "RodrigoRVSN", "description": "tidy-dingo-23 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button>\n button\n</button>", "css": "/* From Uiverse.io by RodrigoRVSN - Tags: button */\nbutton {\n background-color: transparent;\n border: 1px solid #00b4d8;\n border-radius: 0.2rem;\n color: #00b4d8;\n font-weight: bold;\n padding: 0.8rem 1.5rem;\n position: relative;\n text-transform: uppercase;\n transition: ease-in 0.3s;\n}\n\nbutton:hover, button:active, button:focus {\n background: radial-gradient(#00b4d8, #4cc9f0);\n ;\n box-shadow: 0px 0px 0.3rem #00b4d8;\n color: #001219;\n}\n\nbutton::before {\n bottom: -0.5rem;\n content: '';\n left: 0;\n position: absolute;\n}\n\nbutton::after {\n top: -0.5rem;\n content: '';\n left: 0;\n position: absolute;\n}\n\nbutton:hover::before {\n animation: ease-in moveBar 0.6s forwards reverse;\n}\n\nbutton:hover::after {\n animation: ease-in moveBar 0.6s forwards;\n}\n\n@keyframes moveBar {\n 0% {\n width: 0;\n }\n\n 1% {\n border: 1px solid #00b4d8;\n }\n\n 40% {\n width: 2rem;\n }\n\n 99% {\n border: 1px solid #00b4d8;\n left: 99%;\n }\n\n 100% {\n border: none;\n left: 100%;\n width: 0;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/RodrigoRVSN_tidy-dingo-23.html" }, "uniapp": { "template": "<button></button>\n button\n</button>", "script": "export default {\n name: 'GalaxyTidyDingo23',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by RodrigoRVSN - Tags: button */\nbutton {\n background-color: transparent;\n border: 2rpx solid #00b4d8;\n border-radius: 0.2rem;\n color: #00b4d8;\n font-weight: bold;\n padding: 0.8rem 1.5rem;\n position: relative;\n text-transform: uppercase;\n transition: ease-in 0.3s;\n}\n\nbutton:hover, button:active, button:focus {\n background: radial-gradient(#00b4d8, #4cc9f0);\n ;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0.3rem #00b4d8;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: #001219;\n}\n\nbutton::before {\n bottom: -0.5rem;\n content: '';\n left: 0;\n position: absolute;\n}\n\nbutton::after {\n top: -0.5rem;\n content: '';\n left: 0;\n position: absolute;\n}\n\nbutton:hover::before {\n animation: ease-in moveBar 0.6s forwards reverse;\n}\n\nbutton:hover::after {\n animation: ease-in moveBar 0.6s forwards;\n}\n\n@keyframes moveBar {\n 0% {\n width: 0;\n }\n\n 1% {\n border: 2rpx solid #00b4d8;\n }\n\n 40% {\n width: 2rem;\n }\n\n 99% {\n border: 2rpx solid #00b4d8;\n left: 99%;\n }\n\n 100% {\n border: none;\n left: 100%;\n width: 0;\n }\n}\n", "component_name": "GalaxyTidyDingo23" }, "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": 1040, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.442Z", "updated_at": "2025-07-31T07:55:34.442Z" }