UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.24 kB
{ "id": "Gaurav-WebDev_tame-hound-72", "name": "tame-hound-72", "category": "buttons", "author": "Gaurav-WebDev", "description": "tame-hound-72 组件 (button, hover effect, cool btn, animation, interactive)", "tags": [ "button", "hover effect", "cool btn", "animation", "interactive" ], "original": { "html": "<button class=\"button type1\">\n</button>", "css": "/* From Uiverse.io by Gaurav-WebDev - Tags: button, hover effect, cool btn */\n.button {\n height: 50px;\n width: 150px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n transition: all 0.5s ease-in-out;\n}\n\n.button:hover {\n box-shadow: .5px .5px 150px #252525;\n}\n\n.type1::after {\n content: \"Thanks\";\n height: 50px;\n width: 150px;\n background-color: #008080;\n color: #fff;\n position: absolute;\n top: 0%;\n left: 0%;\n transform: translateY(50px);\n font-size: 1.2rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.5s ease-in-out;\n}\n\n.type1::before {\n content: \"Hover Me\";\n height: 50px;\n width: 150px;\n background-color: #fff;\n color: #008080;\n position: absolute;\n top: 0%;\n left: 0%;\n transform: translateY(0px) scale(1.2);\n font-size: 1.2rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.5s ease-in-out;\n}\n\n.type1:hover::after {\n transform: translateY(0) scale(1.2);\n}\n\n.type1:hover::before {\n transform: translateY(-50px) scale(0) rotate(120deg);\n}", "file_path": "/mnt/persist/workspace/Buttons/Gaurav-WebDev_tame-hound-72.html" }, "uniapp": { "template": "<button class=\"button type1\"></button>\n</button>", "script": "export default {\n name: 'GalaxyTameHound72',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Gaurav-WebDev - Tags: button, hover effect, cool btn */\n.button {\n height: 100rpx;\n width: 300rpx;\n border: none;\n border-radius: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n transition: all 0.5s ease-in-out;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: .10rpx .10rpx 300rpx #252525;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.type1::after {\n content: \"Thanks\";\n height: 100rpx;\n width: 300rpx;\n background-color: #008080;\n color: #fff;\n position: absolute;\n top: 0%;\n left: 0%;\n transform: translateY(100rpx);\n font-size: 1.2rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.5s ease-in-out;\n}\n\n.type1::before {\n content: \"Hover Me\";\n height: 100rpx;\n width: 300rpx;\n background-color: #fff;\n color: #008080;\n position: absolute;\n top: 0%;\n left: 0%;\n transform: translateY(0rpx) scale(1.2);\n font-size: 1.2rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.5s ease-in-out;\n}\n\n.type1:hover::after {\n transform: translateY(0) scale(1.2);\n}\n\n.type1:hover::before {\n transform: translateY(-100rpx) scale(0) rotate(120deg);\n}\n", "component_name": "GalaxyTameHound72" }, "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": 1189, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.263Z", "updated_at": "2025-07-31T07:55:33.263Z" }