UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 6.36 kB
{ "id": "adamgiebl_big-ape-36", "name": "big-ape-36", "category": "buttons", "author": "adamgiebl", "description": "big-ape-36 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span>Button</span>\n</button>", "css": "/* From Uiverse.io by adamgiebl - Tags: button */\nbutton {\n transform: rotate(-25deg) skew(25deg);\n transform-style: preserve-3d;\n position: relative;\n list-style: none;\n width: 100px;\n height: 32px;\n border: none;\n background: transparent;\n font-family: inherit;\n cursor: pointer;\n}\n\nbutton:before {\n content: '';\n position: absolute;\n bottom: -10px;\n left: -5px;\n width: 100%;\n height: 10px;\n background: #2a2a2a;\n transform: skewX(-41deg);\n}\n\nbutton:after {\n content: '';\n position: absolute;\n top: 5px;\n left: -9px;\n width: 9px;\n height: 100%;\n background: #2a2a2a;\n transform: skewY(-49deg);\n}\n\nbutton span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: #2a2a2a;\n color: #fff;\n font-size: 25px;\n transition: 1.1s ease-out;\n}\n\nbutton:hover span {\n z-index: 1000;\n transition: .3s;\n color: #fff;\n}\n\nbutton:hover span:nth-child(5) {\n transform: translate(40px, -40px);\n opacity: 1;\n}\n\nbutton:hover span:nth-child(4) {\n transform: translate(30px, -30px);\n opacity: .8;\n}\n\nbutton:hover span:nth-child(3) {\n transform: translate(20px, -20px);\n opacity: .6;\n}\n\nbutton:hover span:nth-child(2) {\n transform: translate(10px, -10px);\n opacity: .4;\n}\n\nbutton:hover span:nth-child(1) {\n transform: translate(0px, 0px);\n opacity: .2;\n}\n\nbutton:active span:nth-child(5) {\n transform: translate(20px, -20px);\n opacity: 1;\n}\n\nbutton:active span:nth-child(4) {\n transform: translate(15px, -15px);\n}\n\nbutton:active span:nth-child(3) {\n transform: translate(10px, -10px);\n}\n\nbutton:active span:nth-child(2) {\n transform: translate(5px, -5px);\n}\n\nbutton:active span:nth-child(1) {\n transform: translate(0px, 0px);\n}\n\nbutton:nth-child(1):hover span {\n background: #52E19F;\n}", "file_path": "/mnt/persist/workspace/Buttons/adamgiebl_big-ape-36.html" }, "uniapp": { "template": "<button></button>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text>Button</text>\n</button>", "script": "export default {\n name: 'GalaxyBigApe36',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by adamgiebl - Tags: button */\nbutton {\n transform: rotate(-25deg) skew(25deg);\n transform-style: preserve-3d;\n position: relative;\n list-style: none;\n width: 200rpx;\n height: 64rpx;\n border: none;\n background: transparent;\n font-family: inherit;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\nbutton:before {\n content: '';\n position: absolute;\n bottom: -20rpx;\n left: -10rpx;\n width: 100%;\n height: 20rpx;\n background: #2a2a2a;\n transform: skewX(-41deg);\n}\n\nbutton:after {\n content: '';\n position: absolute;\n top: 10rpx;\n left: -18rpx;\n width: 18rpx;\n height: 100%;\n background: #2a2a2a;\n transform: skewY(-49deg);\n}\n\nbutton span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: #2a2a2a;\n color: #fff;\n font-size: 50rpx;\n transition: 1.1s ease-out;\n}\n\nbutton:hover span {\n z-index: 1000;\n transition: .3s;\n color: #fff;\n}\n\nbutton:hover span:nth-child(5) {\n transform: translate(80rpx, -80rpx);\n opacity: 1;\n}\n\nbutton:hover span:nth-child(4) {\n transform: translate(60rpx, -60rpx);\n opacity: .8;\n}\n\nbutton:hover span:nth-child(3) {\n transform: translate(40rpx, -40rpx);\n opacity: .6;\n}\n\nbutton:hover span:nth-child(2) {\n transform: translate(20rpx, -20rpx);\n opacity: .4;\n}\n\nbutton:hover span:nth-child(1) {\n transform: translate(0rpx, 0rpx);\n opacity: .2;\n}\n\nbutton:active span:nth-child(5) {\n transform: translate(40rpx, -40rpx);\n opacity: 1;\n}\n\nbutton:active span:nth-child(4) {\n transform: translate(30rpx, -30rpx);\n}\n\nbutton:active span:nth-child(3) {\n transform: translate(20rpx, -20rpx);\n}\n\nbutton:active span:nth-child(2) {\n transform: translate(10rpx, -10rpx);\n}\n\nbutton:active span:nth-child(1) {\n transform: translate(0rpx, 0rpx);\n}\n\nbutton:nth-child(1):hover span {\n background: #52E19F;\n}\n", "component_name": "GalaxyBigApe36" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 1857, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.414Z", "updated_at": "2025-07-31T07:55:35.414Z" }