UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 5.7 kB
{ "id": "adamgiebl_new-bird-34", "name": "new-bird-34", "category": "buttons", "author": "adamgiebl", "description": "new-bird-34 组件 (icon, button, animation, interactive)", "tags": [ "icon", "button", "animation", "interactive" ], "original": { "html": "<button class=\"cssbuttons-io-button\"> Get started\n <div class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\"><path fill=\"none\" d=\"M0 0h24v24H0z\"></path><path fill=\"currentColor\" d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\"></path></svg>\n </div>\n</button>", "css": "/* From Uiverse.io by adamgiebl - Tags: icon, button */\n.cssbuttons-io-button {\n background: #A370F0;\n color: white;\n font-family: inherit;\n padding: 0.35em;\n padding-left: 1.2em;\n font-size: 17px;\n font-weight: 500;\n border-radius: 0.9em;\n border: none;\n letter-spacing: 0.05em;\n display: flex;\n align-items: center;\n box-shadow: inset 0 0 1.6em -0.6em #714da6;\n overflow: hidden;\n position: relative;\n height: 2.8em;\n padding-right: 3.3em;\n}\n\n.cssbuttons-io-button .icon {\n background: white;\n margin-left: 1em;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2.2em;\n width: 2.2em;\n border-radius: 0.7em;\n box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;\n right: 0.3em;\n transition: all 0.3s;\n}\n\n.cssbuttons-io-button:hover .icon {\n width: calc(100% - 0.6em);\n}\n\n.cssbuttons-io-button .icon svg {\n width: 1.1em;\n transition: transform 0.3s;\n color: #7b52b9;\n}\n\n.cssbuttons-io-button:hover .icon svg {\n transform: translateX(0.1em);\n}\n\n.cssbuttons-io-button:active .icon {\n transform: scale(0.95);\n}", "file_path": "/mnt/persist/workspace/Buttons/adamgiebl_new-bird-34.html" }, "uniapp": { "template": "<button class=\"cssbuttons-io-button\"></button> Get started\n <view class=\"icon\"></view>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\"><path fill=\"none\" d=\"M0 0h24v24H0z\"></path><path fill=\"currentColor\" d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\"></path></view>\n </div>\n</button>", "script": "export default {\n name: 'GalaxyNewBird34',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by adamgiebl - Tags: icon, button */\n.cssbuttons-io-button {\n background: #A370F0;\n color: white;\n font-family: inherit;\n padding: 0.35em;\n padding-left: 1.2em;\n font-size: 34rpx;\n font-weight: 500;\n border-radius: 0.9em;\n border: none;\n letter-spacing: 0.05em;\n display: flex;\n align-items: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 1.6em -0.6em #714da6;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n overflow: hidden;\n position: relative;\n height: 2.8em;\n padding-right: 3.3em;\n}\n\n.cssbuttons-io-button .icon {\n background: white;\n margin-left: 1em;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2.2em;\n width: 2.2em;\n border-radius: 0.7em;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n right: 0.3em;\n transition: all 0.3s;\n}\n\n.cssbuttons-io-button:hover .icon {\n width: calc(100% - 0.6em);\n}\n\n.cssbuttons-io-button .icon svg {\n width: 1.1em;\n transition: transform 0.3s;\n color: #7b52b9;\n}\n\n.cssbuttons-io-button:hover .icon svg {\n transform: translateX(0.1em);\n}\n\n.cssbuttons-io-button:active .icon {\n transform: scale(0.95);\n}\n\n", "component_name": "GalaxyNewBird34" }, "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": 1428, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.458Z", "updated_at": "2025-07-31T07:55:35.458Z" }