UNPKG

galaxy-uniapp-mcp-server

Version:

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

94 lines 4.32 kB
{ "id": "Dyls00_afraid-newt-19", "name": "afraid-newt-19", "category": "tooltips", "author": "Dyls00", "description": "afraid-newt-19 组件 (tooltip, smooth, cube, colorful, custom, animation, interactive)", "tags": [ "tooltip", "smooth", "cube", "colorful", "custom", "animation", "interactive" ], "original": { "html": "<div class=\"tooltip-container\">\n <span class=\"tooltip\">Uiverse.io</span>\n <span class=\"text\">Tooltip</span>\n</div>", "css": "/* From Uiverse.io by Dyls00 - Tags: tooltip, smooth, cube, colorful, custom */\n/* This is an example, feel free to delete this code */\n.tooltip-container {\n --background: #ee6d22;\n position: relative;\n background: var(--background);\n cursor: pointer;\n transition: all 0.2s;\n border-radius: 15px;\n font-size: 25px;\n padding: 0.7em 1.8em;\n}\n\n.tooltip {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n padding: 0.3em 0.6em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n border-radius: 15px;\n font-size: 50px;\n margin-top: 90%;\n background: black;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n height: 0.6em;\n width: 0.6em;\n bottom: 1.8em;\n left: 50%;\n transform: translate(-50%) rotate(180deg);\n background: var(--background);\n}\n\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n color: white;\n visibility: visible;\n pointer-events: auto;\n}", "file_path": "/mnt/persist/workspace/Tooltips/Dyls00_afraid-newt-19.html" }, "uniapp": { "template": "<view class=\"tooltip-container\"></view>\n <text class=\"tooltip\">Uiverse.io</text>\n <text class=\"text\">Tooltip</text>\n</div>", "script": "export default {\n name: 'GalaxyAfraidNewt19',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Dyls00 - Tags: tooltip, smooth, cube, colorful, custom */\n/* This is an example, feel free to delete this code */\n.tooltip-container {\n --background: #ee6d22;\n position: relative;\n background: var(--background);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s;\n border-radius: 30rpx;\n font-size: 50rpx;\n padding: 0.7em 1.8em;\n}\n\n.tooltip {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n padding: 0.3em 0.6em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n border-radius: 30rpx;\n font-size: 100rpx;\n margin-top: 90%;\n background: black;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n height: 0.6em;\n width: 0.6em;\n bottom: 1.8em;\n left: 50%;\n transform: translate(-50%) rotate(180deg);\n background: var(--background);\n}\n\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n color: white;\n visibility: visible;\n pointer-events: auto;\n}\n\n", "component_name": "GalaxyAfraidNewt19" }, "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": "是否禁用" } ], "events": [], "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": "medium", "bundle_size": 1062, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.468Z", "updated_at": "2025-07-31T07:55:38.468Z" }