UNPKG

galaxy-uniapp-mcp-server

Version:

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

99 lines 6.5 kB
{ "id": "akshat-patel28_cold-chicken-82", "name": "cold-chicken-82", "category": "tooltips", "author": "akshat-patel28", "description": "cold-chicken-82 组件 (tooltip, colorful, color, html, css, css effect, multicolor, button hover effect, animation, interactive)", "tags": [ "tooltip", "colorful", "color", "html", "css", "css effect", "multicolor", "button hover effect", "animation", "interactive" ], "original": { "html": "<div class=\"tooltip-container\">\n <span class=\"tooltip-1\">Create your own designs.</span>\n <span class=\"tooltip-2\">Find creative elements.</span>\n <span class=\"tooltip-3\">Participate in challenges.</span>\n <span>UIVERSE</span>\n</div>", "css": "/* From Uiverse.io by akshat-patel28 - Tags: tooltip, colorful, color, html, css, css effect, multicolor, button hover effect */\n.tooltip-container {\n position: relative;\n background: #f80254;\n cursor: pointer;\n transition: all 0.2s;\n font-size: 17px;\n padding: 14px 26px;\n border-radius: 5px;\n text-align: center;\n box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.62),\n inset 0px -2px 3px rgba(0, 0, 0, 0.48), inset 1px 1px 4px #ffffff,\n rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,\n rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 800;\n color: #fff;\n}\n\n.tooltip-1,\n.tooltip-2,\n.tooltip-3 {\n position: absolute;\n transform: translateX(-50%);\n font-weight: 800;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n border-radius: 8px 8px 8px 8px;\n background: #ffdb0f;\n box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.62),\n inset 0px -2px 3px rgba(0, 0, 0, 0.48), inset 1px 1px 4px #ffffff,\n rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,\n rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n min-width: 180px;\n padding: 8px;\n color: #ac0039;\n font-size: 11px;\n}\n.tooltip-1 {\n top: 0%;\n left: 50%;\n width: 200px;\n}\n.tooltip-2 {\n left: 100%;\n}\n\n.tooltip-3 {\n left: 0;\n}\n.tooltip-container:hover .tooltip-1 {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.tooltip-container:hover .tooltip-2 {\n left: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.tooltip-container:hover .tooltip-3 {\n left: 200%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}", "file_path": "/mnt/persist/workspace/Tooltips/akshat-patel28_cold-chicken-82.html" }, "uniapp": { "template": "<view class=\"tooltip-container\"></view>\n <text class=\"tooltip-1\">Create your own designs.</text>\n <text class=\"tooltip-2\">Find creative elements.</text>\n <text class=\"tooltip-3\">Participate in challenges.</text>\n <text>UIVERSE</text>\n</div>", "script": "export default {\n name: 'GalaxyColdChicken82',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by akshat-patel28 - Tags: tooltip, colorful, color, html, css, css effect, multicolor, button hover effect */\n.tooltip-container {\n position: relative;\n background: #f80254;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s;\n font-size: 34rpx;\n padding: 28rpx 52rpx;\n border-radius: 10rpx;\n text-align: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 4rpx 6rpx rgba(0, 0, 0, 0.62),\n inset 0rpx -4rpx 6rpx rgba(0, 0, 0, 0.48), inset 2rpx 2rpx 8rpx #ffffff,\n rgba(50, 50, 93, 0.25) 0rpx 26rpx 54rpx -10rpx,\n rgba(0, 0, 0, 0.3) 0rpx 16rpx 32rpx -16rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 800;\n color: #fff;\n}\n\n.tooltip-1,\n.tooltip-2,\n.tooltip-3 {\n position: absolute;\n transform: translateX(-50%);\n font-weight: 800;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n border-radius: 16rpx 16rpx 16rpx 16rpx;\n background: #ffdb0f;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 4rpx 6rpx rgba(0, 0, 0, 0.62),\n inset 0rpx -4rpx 6rpx rgba(0, 0, 0, 0.48), inset 2rpx 2rpx 8rpx #ffffff,\n rgba(50, 50, 93, 0.25) 0rpx 26rpx 54rpx -10rpx,\n rgba(0, 0, 0, 0.3) 0rpx 16rpx 32rpx -16rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n min-width: 360rpx;\n padding: 16rpx;\n color: #ac0039;\n font-size: 22rpx;\n}\n.tooltip-1 {\n top: 0%;\n left: 50%;\n width: 400rpx;\n}\n.tooltip-2 {\n left: 100%;\n}\n\n.tooltip-3 {\n left: 0;\n}\n.tooltip-container:hover .tooltip-1 {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.tooltip-container:hover .tooltip-2 {\n left: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.tooltip-container:hover .tooltip-3 {\n left: 200%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n", "component_name": "GalaxyColdChicken82" }, "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": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1850, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.617Z", "updated_at": "2025-07-31T07:55:38.617Z" }