UNPKG

galaxy-uniapp-mcp-server

Version:

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

120 lines 4.46 kB
{ "id": "TanimMahbub_selfish-goat-90", "name": "selfish-goat-90", "category": "buttons", "author": "TanimMahbub", "description": "selfish-goat-90 组件 (simple, button, shadow, retro, click, click effect, box-shadow, animation, interactive)", "tags": [ "simple", "button", "shadow", "retro", "click", "click effect", "box-shadow", "animation", "interactive" ], "original": { "html": "<button class=\"button\">Button</button>", "css": "/* From Uiverse.io by TanimMahbub - Tags: simple, button, shadow, retro, click, click effect, box-shadow */\n.button {\n /* typography */\n font-size: 22px;\n font-weight: 600;\n font-family: monospace;\n text-transform: uppercase;\n letter-spacing: 1px;\n\n /* ui */\n border: none;\n cursor: pointer;\n display: inline-block;\n padding: 12px 35px;\n border-radius: 8px;\n background: #f6781e;\n color: #fff;\n box-shadow: 0 0 0 3px #2f2e41, 0 6px 0 #2f2e41;\n transition: all 0.1s ease, background 0.3s ease;\n}\n\n/* ux */\n.button:hover,\n.button:focus {\n background: #df6108;\n}\n\n.button:active {\n box-shadow: 0 0 0 3px #2f2e41, 0 4px 0 #2f2e41;\n transform: translateY(2px);\n}", "file_path": "/mnt/persist/workspace/Buttons/TanimMahbub_selfish-goat-90.html" }, "uniapp": { "template": "<button class=\"button\"></button>Button</button>", "script": "export default {\n name: 'GalaxySelfishGoat90',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by TanimMahbub - Tags: simple, button, shadow, retro, click, click effect, box-shadow */\n.button {\n /* typography */\n font-size: 44rpx;\n font-weight: 600;\n font-family: monospace;\n text-transform: uppercase;\n letter-spacing: 2rpx;\n\n /* ui */\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-block;\n padding: 24rpx 70rpx;\n border-radius: 16rpx;\n background: #f6781e;\n color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 6rpx #2f2e41, 0 12rpx 0 #2f2e41;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.1s ease, background 0.3s ease;\n}\n\n/* ux */\n.button:hover,\n.button:focus {\n background: #df6108;\n}\n\n.button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 6rpx #2f2e41, 0 8rpx 0 #2f2e41;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(4rpx);\n}\n\n", "component_name": "GalaxySelfishGoat90" }, "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": 725, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.999Z", "updated_at": "2025-07-31T07:55:34.999Z" }