UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 6.71 kB
{ "id": "vinodjangid07_red-bobcat-62", "name": "red-bobcat-62", "category": "buttons", "author": "vinodjangid07", "description": "red-bobcat-62 组件 (gradient, button, hover effect, premium, animation, interactive)", "tags": [ "gradient", "button", "hover effect", "premium", "animation", "interactive" ], "original": { "html": "<button class=\"Btn\">\n <svg class=\"logoIcon\" height=\"1em\" viewBox=\"0 0 576 512\"><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 <span class=\"tooltip\">Premium</span>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover effect, premium */\n.Btn {\n width: 45px;\n height: 45px;\n border: none;\n border-radius: 50%;\n background: linear-gradient(-50deg,rgb(39, 107, 255),rgb(112, 186, 255),rgb(39, 107, 255));\n background-size: 250%;\n background-position: left;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative;\n transition-duration: .5s;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);\n}\n\n.logoIcon {\n fill: white;\n}\n\n.tooltip {\n position: absolute;\n top: -20px;\n opacity: 0;\n background: linear-gradient(to right,rgb(39, 107, 255),rgb(108, 184, 255));\n color: white;\n padding: 5px 10px;\n border-radius: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: .2s;\n pointer-events: none;\n letter-spacing: 0.5px;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n width: 10px;\n height: 10px;\n background: linear-gradient(45deg,rgb(39, 107, 255),rgb(108, 184, 255));\n background-size: 1000%;\n background-position: center;\n transform: rotate(45deg);\n bottom: -15%;\n transition-duration: .3s;\n}\n\n.Btn:hover .tooltip {\n top: -50px;\n opacity: 1;\n transition-duration: .3s;\n}\n\n.Btn:hover {\n background-position: right;\n transition-duration: .5s;\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_red-bobcat-62.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n <view class=\"logoIcon\" height=\"1em\" viewBox=\"0 0 576 512\"><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 <text class=\"tooltip\">Premium</text>\n</button>", "script": "export default {\n name: 'GalaxyRedBobcat62',\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, premium */\n.Btn {\n width: 90rpx;\n height: 90rpx;\n border: none;\n border-radius: 50%;\n background: linear-gradient(-50deg,rgb(39, 107, 255),rgb(112, 186, 255),rgb(39, 107, 255));\n background-size: 250%;\n background-position: left;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n transition-duration: .5s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.11);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.logoIcon {\n fill: white;\n}\n\n.tooltip {\n position: absolute;\n top: -40rpx;\n opacity: 0;\n background: linear-gradient(to right,rgb(39, 107, 255),rgb(108, 184, 255));\n color: white;\n padding: 10rpx 20rpx;\n border-radius: 10rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: .2s;\n pointer-events: none;\n letter-spacing: 1rpx;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n width: 20rpx;\n height: 20rpx;\n background: linear-gradient(45deg,rgb(39, 107, 255),rgb(108, 184, 255));\n background-size: 1000%;\n background-position: center;\n transform: rotate(45deg);\n bottom: -15%;\n transition-duration: .3s;\n}\n\n.Btn:hover .tooltip {\n top: -100rpx;\n opacity: 1;\n transition-duration: .3s;\n}\n\n.Btn:hover {\n background-position: right;\n transition-duration: .5s;\n}\n", "component_name": "GalaxyRedBobcat62" }, "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": 1902, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.243Z", "updated_at": "2025-07-31T07:55:38.243Z" }