UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.98 kB
{ "id": "alexmaracinaru_empty-moose-12", "name": "empty-moose-12", "category": "buttons", "author": "alexmaracinaru", "description": "empty-moose-12 组件 (button, shop, animation, interactive)", "tags": [ "button", "shop", "animation", "interactive" ], "original": { "html": "<button class=\"cta\">\n <span class=\"hover-underline-animation\"> Shop now </span>\n <svg viewBox=\"0 0 46 16\" height=\"10\" width=\"30\" xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-horizontal\">\n <path transform=\"translate(30)\" d=\"M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z\" data-name=\"Path 10\" id=\"Path_10\"></path>\n </svg>\n</button>", "css": "/* From Uiverse.io by alexmaracinaru - Tags: button, shop */\n.cta {\n border: none;\n background: none;\n}\n\n.cta span {\n padding-bottom: 7px;\n letter-spacing: 4px;\n font-size: 14px;\n padding-right: 15px;\n text-transform: uppercase;\n}\n\n.cta svg {\n transform: translateX(-8px);\n transition: all 0.3s ease;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n}\n\n.cta:active svg {\n transform: scale(0.9);\n}\n\n.hover-underline-animation {\n position: relative;\n color: black;\n padding-bottom: 20px;\n}\n\n.hover-underline-animation:after {\n content: \"\";\n position: absolute;\n width: 100%;\n transform: scaleX(0);\n height: 2px;\n bottom: 0;\n left: 0;\n background-color: #000000;\n transform-origin: bottom right;\n transition: transform 0.25s ease-out;\n}\n\n.cta:hover .hover-underline-animation:after {\n transform: scaleX(1);\n transform-origin: bottom left;\n}", "file_path": "/mnt/persist/workspace/Buttons/alexmaracinaru_empty-moose-12.html" }, "uniapp": { "template": "<button class=\"cta\"></button>\n <text class=\"hover-underline-animation\"> Shop now </text>\n <view viewBox=\"0 0 46 16\" height=\"10\" width=\"30\" xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-horizontal\"></view>\n <path transform=\"translate(30)\" d=\"M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z\" data-name=\"Path 10\" id=\"Path_10\"></path>\n </svg>\n</button>", "script": "export default {\n name: 'GalaxyEmptyMoose12',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by alexmaracinaru - Tags: button, shop */\n.cta {\n border: none;\n background: none;\n}\n\n.cta span {\n padding-bottom: 14rpx;\n letter-spacing: 8rpx;\n font-size: 28rpx;\n padding-right: 30rpx;\n text-transform: uppercase;\n}\n\n.cta svg {\n transform: translateX(-16rpx);\n transition: all 0.3s ease;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n}\n\n.cta:active svg {\n transform: scale(0.9);\n}\n\n.hover-underline-animation {\n position: relative;\n color: black;\n padding-bottom: 40rpx;\n}\n\n.hover-underline-animation:after {\n content: \"\";\n position: absolute;\n width: 100%;\n transform: scaleX(0);\n height: 4rpx;\n bottom: 0;\n left: 0;\n background-color: #000000;\n transform-origin: bottom right;\n transition: transform 0.25s ease-out;\n}\n\n.cta:hover .hover-underline-animation:after {\n transform: scaleX(1);\n transform-origin: bottom left;\n}\n", "component_name": "GalaxyEmptyMoose12" }, "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": 1232, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.568Z", "updated_at": "2025-07-31T07:55:35.568Z" }