UNPKG

galaxy-uniapp-mcp-server

Version:

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

110 lines 4.72 kB
{ "id": "TISEPSE_perfect-pig-59", "name": "perfect-pig-59", "category": "buttons", "author": "TISEPSE", "description": "perfect-pig-59 组件 (material design, black, button, animation, interactive)", "tags": [ "material design", "black", "button", "animation", "interactive" ], "original": { "html": "<button>\n<a href=\"#\"><span>Button</span></a> \n</button>", "css": "/* From Uiverse.io by TISEPSE - Source: https://www.youtube.com/watch?v=B7Z6qERVTvM - Tags: material design, black, button */\na {\n position: relative;\n display: inline-block;\n padding: 15px 30px;\n border: 2px solid #fefefe;\n text-transform: uppercase;\n color: #fefefe;\n text-decoration: none;\n font-weight: 600;\n font-size: 20px;\n}\n\na::before {\n content: '';\n position: absolute;\n top: 6px;\n left: -2px;\n width: calc(100% + 4px);\n height: calc(100% - 12px);\n background-color: #212121;\n transition: 0.3s ease-in-out;\n transform: scaleY(1);\n}\n\na:hover::before {\n transform: scaleY(0);\n}\n\na::after {\n content: '';\n position: absolute;\n left: 6px;\n top: -2px;\n height: calc(100% + 4px);\n width: calc(100% - 12px);\n background-color: #212121;\n transition: 0.3s ease-in-out;\n transform: scaleX(1);\n transition-delay: 0.5s;\n}\n\na:hover::after {\n transform: scaleX(0);\n}\n\na span {\n position: relative;\n z-index: 3;\n}\n\nbutton {\n background-color: none;\n text-decoration: none;\n background-color: #212121;\n border: none;\n}", "file_path": "/mnt/persist/workspace/Buttons/TISEPSE_perfect-pig-59.html" }, "uniapp": { "template": "<button></button>\n<navigator href=\"#\"><text>Button</text></navigator> \n</button>", "script": "export default {\n name: 'GalaxyPerfectPig59',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by TISEPSE - Source: https://www.youtube.com/watch?v=B7Z6qERVTvM - Tags: material design, black, button */\na {\n position: relative;\n display: inline-block;\n padding: 30rpx 60rpx;\n border: 4rpx solid #fefefe;\n text-transform: uppercase;\n color: #fefefe;\n text-decoration: none;\n font-weight: 600;\n font-size: 40rpx;\n}\n\na::before {\n content: '';\n position: absolute;\n top: 12rpx;\n left: -4rpx;\n width: calc(100% + 8rpx);\n height: calc(100% - 24rpx);\n background-color: #212121;\n transition: 0.3s ease-in-out;\n transform: scaleY(1);\n}\n\na:hover::before {\n transform: scaleY(0);\n}\n\na::after {\n content: '';\n position: absolute;\n left: 12rpx;\n top: -4rpx;\n height: calc(100% + 8rpx);\n width: calc(100% - 24rpx);\n background-color: #212121;\n transition: 0.3s ease-in-out;\n transform: scaleX(1);\n transition-delay: 0.5s;\n}\n\na:hover::after {\n transform: scaleX(0);\n}\n\na span {\n position: relative;\n z-index: 3;\n}\n\nbutton {\n background-color: none;\n text-decoration: none;\n background-color: #212121;\n border: none;\n}\n", "component_name": "GalaxyPerfectPig59" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1107, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.969Z", "updated_at": "2025-07-31T07:55:34.969Z" }