UNPKG

galaxy-uniapp-mcp-server

Version:

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

95 lines 5.65 kB
{ "id": "vinodjangid07_mighty-elephant-52", "name": "mighty-elephant-52", "category": "tooltips", "author": "vinodjangid07", "description": "mighty-elephant-52 组件 (tooltip, animation, social, hover, social media, follow, hover effect, interactive)", "tags": [ "tooltip", "animation", "social", "hover", "social media", "follow", "hover effect", "interactive" ], "original": { "html": "<div class=\"tooltip-container\">\n <span class=\"tooltip\">45k</span>\n <span class=\"text\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 95 114\" class=\"svgIcon\">\n <rect fill=\"black\" rx=\"28.5\" height=\"57\" width=\"57\" x=\"19\"></rect>\n <path fill=\"black\" d=\"M0 109.5C0 83.2665 21.2665 62 47.5 62V62C73.7335 62 95 83.2665 95 109.5V114H0V109.5Z\"></path>\n </svg>\n Follow</span>\n</div>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: tooltip, animation, social, hover, social media, follow, hover effect */\n.tooltip-container {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: all 0.3s;\n background-color: rgb(255, 255, 255);\n padding: 11px 18px;\n border-radius: 12px;\n cursor: pointer;\n border: 1px solid rgb(211, 211, 211);\n}\n\n.text {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n font-size: 14px;\n font-weight: 600;\n color: rgb(0, 0, 0);\n}\n.svgIcon {\n width: 16px;\n height: auto;\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 background-color: rgb(255, 255, 255);\n border-radius: 12px;\n color: rgb(34, 34, 34);\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n height: 0.6em;\n width: 0.6em;\n bottom: -0.2em;\n left: 50%;\n transform: translate(-50%) rotate(45deg);\n background-color: rgb(255, 255, 255);\n}\n\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}", "file_path": "/mnt/persist/workspace/Tooltips/vinodjangid07_mighty-elephant-52.html" }, "uniapp": { "template": "<view class=\"tooltip-container\"></view>\n <text class=\"tooltip\">45k</text>\n <text class=\"text\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 95 114\" class=\"svgIcon\"></view>\n <rect fill=\"black\" rx=\"28.5\" height=\"57\" width=\"57\" x=\"19\"></rect>\n <path fill=\"black\" d=\"M0 109.5C0 83.2665 21.2665 62 47.5 62V62C73.7335 62 95 83.2665 95 109.5V114H0V109.5Z\"></path>\n </svg>\n Follow</span>\n</div>", "script": "export default {\n name: 'GalaxyMightyElephant52',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: tooltip, animation, social, hover, social media, follow, hover effect */\n.tooltip-container {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: all 0.3s;\n background-color: rgb(255, 255, 255);\n padding: 22rpx 36rpx;\n border-radius: 24rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border: 2rpx solid rgb(211, 211, 211);\n}\n\n.text {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 20rpx;\n font-size: 28rpx;\n font-weight: 600;\n color: rgb(0, 0, 0);\n}\n.svgIcon {\n width: 32rpx;\n height: auto;\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 background-color: rgb(255, 255, 255);\n border-radius: 24rpx;\n color: rgb(34, 34, 34);\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n height: 0.6em;\n width: 0.6em;\n bottom: -0.2em;\n left: 50%;\n transform: translate(-50%) rotate(45deg);\n background-color: rgb(255, 255, 255);\n}\n\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n", "component_name": "GalaxyMightyElephant52" }, "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": 1633, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.774Z", "updated_at": "2025-07-31T07:55:38.774Z" }