UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 5.01 kB
{ "id": "satyamchaudharydev_quick-chicken-50", "name": "quick-chicken-50", "category": "buttons", "author": "satyamchaudharydev", "description": "quick-chicken-50 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button data-text=\"Awesome\" class=\"button\">\n <span class=\"actual-text\">&nbsp;uiverse&nbsp;</span>\n <span class=\"hover-text\" aria-hidden=\"true\">&nbsp;uiverse&nbsp;</span>\n</button>", "css": "/* From Uiverse.io by satyamchaudharydev - Tags: button */\n/* === removing default button style ===*/\n.button {\n margin: 0;\n height: auto;\n background: transparent;\n padding: 0;\n border: none;\n}\n\n/* button styling */\n.button {\n --border-right: 6px;\n --text-stroke-color: rgba(255,255,255,0.6);\n --animation-color: #37FF8B;\n --fs-size: 2em;\n letter-spacing: 3px;\n text-decoration: none;\n font-size: var(--fs-size);\n font-family: \"Arial\";\n position: relative;\n text-transform: uppercase;\n color: transparent;\n -webkit-text-stroke: 1px var(--text-stroke-color);\n}\n/* this is the text, when you hover on button */\n.hover-text {\n position: absolute;\n box-sizing: border-box;\n content: attr(data-text);\n color: var(--animation-color);\n width: 0%;\n inset: 0;\n border-right: var(--border-right) solid var(--animation-color);\n overflow: hidden;\n transition: 0.5s;\n -webkit-text-stroke: 1px var(--animation-color);\n}\n/* hover */\n.button:hover .hover-text {\n width: 100%;\n filter: drop-shadow(0 0 23px var(--animation-color))\n}", "file_path": "/mnt/persist/workspace/Buttons/satyamchaudharydev_quick-chicken-50.html" }, "uniapp": { "template": "<button data-text=\"Awesome\" class=\"button\"></button>\n <text class=\"actual-text\">&nbsp;uiverse&nbsp;</text>\n <text class=\"hover-text\" aria-hidden=\"true\">&nbsp;uiverse&nbsp;</text>\n</button>", "script": "export default {\n name: 'GalaxyQuickChicken50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by satyamchaudharydev - Tags: button */\n/* === removing default button style ===*/\n.button {\n margin: 0;\n height: auto;\n background: transparent;\n padding: 0;\n border: none;\n}\n\n/* button styling */\n.button {\n --border-right: 12rpx;\n --text-stroke-color: rgba(255,255,255,0.6);\n --animation-color: #37FF8B;\n --fs-size: 2em;\n letter-spacing: 6rpx;\n text-decoration: none;\n font-size: var(--fs-size);\n font-family: \"Arial\";\n position: relative;\n text-transform: uppercase;\n color: transparent;\n -webkit-text-stroke: 2rpx var(--text-stroke-color);\n}\n/* this is the text, when you hover on button */\n.hover-text {\n position: absolute;\n box-sizing: border-box;\n content: attr(data-text);\n color: var(--animation-color);\n width: 0%;\n inset: 0;\n border-right: var(--border-right) solid var(--animation-color);\n overflow: hidden;\n transition: 0.5s;\n -webkit-text-stroke: 2rpx var(--animation-color);\n}\n/* hover */\n.button:hover .hover-text {\n width: 100%;\n filter: drop-shadow(0 0 46rpx var(--animation-color))\n}\n", "component_name": "GalaxyQuickChicken50" }, "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": [ "不支持 filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1234, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.787Z", "updated_at": "2025-07-31T07:55:37.787Z" }