UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.45 kB
{ "id": "vinodjangid07_chilly-newt-81", "name": "chilly-newt-81", "category": "buttons", "author": "vinodjangid07", "description": "chilly-newt-81 组件 (button, search, neon, hover effect, explore, animation, interactive)", "tags": [ "button", "search", "neon", "hover effect", "explore", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg class=\"svgIcon\" viewBox=\"0 0 512 512\" height=\"1em\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z\"></path></svg>\n Explore\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: button, search, neon, hover effect, explore */\n.button {\n width: 110px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n background-color: rgb(161, 255, 20);\n border-radius: 30px;\n color: rgb(19, 19, 19);\n font-weight: 600;\n border: none;\n position: relative;\n cursor: pointer;\n transition-duration: .2s;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);\n padding-left: 8px;\n transition-duration: .5s;\n}\n\n.svgIcon {\n height: 25px;\n transition-duration: 1.5s;\n}\n\n.bell path {\n fill: rgb(19, 19, 19);\n}\n\n.button:hover {\n background-color: rgb(192, 255, 20);\n transition-duration: .5s;\n}\n\n.button:active {\n transform: scale(0.97);\n transition-duration: .2s;\n}\n\n.button:hover .svgIcon {\n transform: rotate(250deg);\n transition-duration: 1.5s;\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_chilly-newt-81.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"svgIcon\" viewBox=\"0 0 512 512\" height=\"1em\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z\"></path></view>\n Explore\n</button>", "script": "export default {\n name: 'GalaxyChillyNewt81',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: button, search, neon, hover effect, explore */\n.button {\n width: 220rpx;\n height: 80rpx;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 20rpx;\n background-color: rgb(161, 255, 20);\n border-radius: 60rpx;\n color: rgb(19, 19, 19);\n font-weight: 600;\n border: none;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition-duration: .2s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.116);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n padding-left: 16rpx;\n transition-duration: .5s;\n}\n\n.svgIcon {\n height: 50rpx;\n transition-duration: 1.5s;\n}\n\n.bell path {\n fill: rgb(19, 19, 19);\n}\n\n.button:hover {\n background-color: rgb(192, 255, 20);\n transition-duration: .5s;\n}\n\n.button:active {\n transform: scale(0.97);\n transition-duration: .2s;\n}\n\n.button:hover .svgIcon {\n transform: rotate(250deg);\n transition-duration: 1.5s;\n}\n\n\n", "component_name": "GalaxyChillyNewt81" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1281, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.072Z", "updated_at": "2025-07-31T07:55:38.072Z" }