UNPKG

galaxy-uniapp-mcp-server

Version:

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

120 lines 5.02 kB
{ "id": "SevenAJJY_wet-owl-54", "name": "wet-owl-54", "category": "buttons", "author": "SevenAJJY", "description": "wet-owl-54 组件 (button, hover, code, click, animation, gradient, interactive)", "tags": [ "button", "hover", "code", "click", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"btn\">\n Click Me\n</button>", "css": "/* From Uiverse.io by SevenAJJY - Tags: button, hover, code, click */\n.btn {\n --main-color: #ffce06;\n --main-alt-color: #fff696;\n height: 44px;\n font-size: 16px!important;\n line-height: 44px;\n font-weight: 700;\n color: #3f5cc3;\n text-shadow: 0 1px 1px #fff8c4;\n text-transform: uppercase;\n text-align: center;\n -webkit-box-shadow: rgb(99 121 133 / 14%) 0 0 0 4px;\n box-shadow: rgb(99 121 133 / 14%) 0 0 0 4px;\n border-radius: 4px;\n border: none;\n border-top: 1px solid var(--main-alt-color);\n border-bottom: 1px solid var(--main-color);\n background-color: var(--main-color);\n outline: 0;\n cursor: pointer;\n margin: 0 0 5px 4px;\n padding: 0 20px;\n transition: transform .3s ease;\n}\n\n.btn:hover {\n border-top-color: var(--main-alt-color);\n border-bottom-color: var(--main-color);\n background: -webkit-gradient(linear, left top, left bottom, from(#fae811), to(#f5d604));\n}\n\n.btn:active {\n transform: scale(0.7);\n}", "file_path": "/mnt/persist/workspace/Buttons/SevenAJJY_wet-owl-54.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n Click Me\n</button>", "script": "export default {\n name: 'GalaxyWetOwl54',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by SevenAJJY - Tags: button, hover, code, click */\n.btn {\n --main-color: #ffce06;\n --main-alt-color: #fff696;\n height: 88rpx;\n font-size: 32rpx!important;\n line-height: 88rpx;\n font-weight: 700;\n color: #3f5cc3;\n /* #ifdef H5 */\n text-shadow: 0 2rpx 2rpx #fff8c4;\n /* #endif */\n text-transform: uppercase;\n text-align: center;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(99 121 133 / 14%) 0 0 0 8rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(99 121 133 / 14%) 0 0 0 8rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 8rpx;\n border: none;\n border-top: 2rpx solid var(--main-alt-color);\n border-bottom: 2rpx solid var(--main-color);\n background-color: var(--main-color);\n outline: 0;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n margin: 0 0 10rpx 8rpx;\n padding: 0 40rpx;\n transition: transform .3s ease;\n}\n\n.btn:hover {\n border-top-color: var(--main-alt-color);\n border-bottom-color: var(--main-color);\n background: -webkit-gradient(linear, left top, left bottom, from(#fae811), to(#f5d604));\n}\n\n.btn:active {\n transform: scale(0.7);\n}\n\n", "component_name": "GalaxyWetOwl54" }, "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 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 982, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.615Z", "updated_at": "2025-07-31T07:55:34.615Z" }