UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 4.73 kB
{ "id": "Sujanthapast0_shy-impala-90", "name": "shy-impala-90", "category": "buttons", "author": "Sujanthapast0", "description": "shy-impala-90 组件 (animation, subscription, minimalist, success, button, smooth, submit, 3d button, interactive)", "tags": [ "animation", "subscription", "minimalist", "success", "button", "smooth", "submit", "3d button", "interactive" ], "original": { "html": "<button class=\"button\">\n<p class=\"submit\">submit</p>\n\n</button>", "css": "/* From Uiverse.io by Sujanthapast0 - Source: Sujanthapast0 - Tags: animation, subscription, minimalist, success, button, smooth, submit, 3d button */\n.button {\n width: 90px;\n height: 40px;\n position: relative;\n font-family: var(--font);\n color: #3b82f6;\n font-weight: 600;\n background-color: #fff;\n border: none;\n overflow: hidden;\n border-radius: 5px;\n box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;\n transition: all ease 100ms;\n}\n\nbutton:hover {\n background-color: #cbdcf8;\n}\n\nbutton:focus {\n background-color: #cbdcf8;\n}\n\nbutton::before {\n content: 'done✅';\n position: absolute;\n color: #3b82f6;\n left: 0;\n top: -14px;\n right: 0;\n transition: all ease 300ms;\n opacity: 0%;\n}\n\nbutton:focus::before {\n opacity: 100%;\n transform: translatey(26px);\n}\n\n.submit {\n transition: all ease 100ms;\n opacity: 100%;\n}\n\nbutton:focus > .submit {\n opacity: 0%;\n}", "file_path": "/mnt/persist/workspace/Buttons/Sujanthapast0_shy-impala-90.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n<text class=\"submit\">submit</text>\n\n</button>", "script": "export default {\n name: 'GalaxyShyImpala90',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Sujanthapast0 - Source: Sujanthapast0 - Tags: animation, subscription, minimalist, success, button, smooth, submit, 3d button */\n.button {\n width: 180rpx;\n height: 80rpx;\n position: relative;\n font-family: var(--font);\n color: #3b82f6;\n font-weight: 600;\n background-color: #fff;\n border: none;\n overflow: hidden;\n border-radius: 10rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.1) 0rpx 2rpx 4rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all ease 100ms;\n}\n\nbutton:hover {\n background-color: #cbdcf8;\n}\n\nbutton:focus {\n background-color: #cbdcf8;\n}\n\nbutton::before {\n content: 'done✅';\n position: absolute;\n color: #3b82f6;\n left: 0;\n top: -28rpx;\n right: 0;\n transition: all ease 300ms;\n opacity: 0%;\n}\n\nbutton:focus::before {\n opacity: 100%;\n transform: translatey(52rpx);\n}\n\n.submit {\n transition: all ease 100ms;\n opacity: 100%;\n}\n\nbutton:focus > .submit {\n opacity: 0%;\n}\n\n\n", "component_name": "GalaxyShyImpala90" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 947, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.939Z", "updated_at": "2025-07-31T07:55:34.939Z" }