UNPKG

galaxy-uniapp-mcp-server

Version:

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

120 lines 5.59 kB
{ "id": "vinodjangid07_brave-treefrog-18", "name": "brave-treefrog-18", "category": "buttons", "author": "vinodjangid07", "description": "brave-treefrog-18 组件 (gradient, button, hover effect, gold, golden effect, subscribe, premium, animation, interactive)", "tags": [ "gradient", "button", "hover effect", "gold", "golden effect", "subscribe", "premium", "animation", "interactive" ], "original": { "html": "<button class=\"Btn\">\n <svg viewBox=\"0 0 576 512\" height=\"1em\" class=\"logoIcon\"><path d=\"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z\"></path></svg>\n GO PREMIUM\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover effect, gold, golden effect , subscribe, premium */\n.Btn {\n width: 200px;\n height: 40px;\n border: none;\n border-radius: 40px;\n background: linear-gradient(to right,#bf953f,#fcf6ba,#b38728,#fbf5b7,#aa771c);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n font-size: 0.8em;\n color: rgb(121, 103, 3);\n font-weight: 600;\n cursor: pointer;\n position: relative;\n z-index: 2;\n transition-duration: 3s;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.144);\n background-size: 200% 200%;\n}\n\n.logoIcon path {\n fill: rgb(121, 103, 3);\n}\n\n.Btn:hover {\n transform: scale(0.95);\n transition-duration: 3s;\n animation: gradient 5s ease infinite;\n background-position: right;\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_brave-treefrog-18.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n <view viewBox=\"0 0 576 512\" height=\"1em\" class=\"logoIcon\"><path d=\"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z\"></path></view>\n GO PREMIUM\n</button>", "script": "export default {\n name: 'GalaxyBraveTreefrog18',\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: gradient, button, hover effect, gold, golden effect , subscribe, premium */\n.Btn {\n width: 400rpx;\n height: 80rpx;\n border: none;\n border-radius: 80rpx;\n background: linear-gradient(to right,#bf953f,#fcf6ba,#b38728,#fbf5b7,#aa771c);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16rpx;\n font-size: 0.8em;\n color: rgb(121, 103, 3);\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n z-index: 2;\n transition-duration: 3s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.144);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-size: 200% 200%;\n}\n\n.logoIcon path {\n fill: rgb(121, 103, 3);\n}\n\n.Btn:hover {\n transform: scale(0.95);\n transition-duration: 3s;\n animation: gradient 5s ease infinite;\n background-position: right;\n}\n\n", "component_name": "GalaxyBraveTreefrog18" }, "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": 1327, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.049Z", "updated_at": "2025-07-31T07:55:38.049Z" }