galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
95 lines • 4.57 kB
JSON
{
"id": "theleaderofenemy_rotten-liger-72",
"name": "rotten-liger-72",
"category": "tooltips",
"author": "theleaderofenemy",
"description": "rotten-liger-72 组件 (simple, tooltip, action, light, animation, interactive)",
"tags": [
"simple",
"tooltip",
"action",
"light",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"tooltip-container\">\n <span class=\"text\">Tooltip</span>\n <span class=\"tooltip\">Uiverse.io</span>\n</div>",
"css": "/* From Uiverse.io by theleaderofenemy - Tags: simple, tooltip, action, light */\n.tooltip-container {\n position: relative;\n display: inline-block;\n margin: 20px;\n}\n\n.text {\n color: #333;\n font-size: 18px;\n cursor: pointer;\n}\n\n.tooltip {\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n opacity: 0;\n visibility: hidden;\n background: #0b798a;\n color: #fff;\n padding: 10px;\n border-radius: 4px;\n transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;\n z-index: 1;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.tooltip::before {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n border-width: 8px;\n border-style: solid;\n border-color: transparent transparent #0b798a transparent;\n transform: translateX(-50%);\n}\n\n.tooltip-container:hover .tooltip {\n top: 120%;\n opacity: 1;\n visibility: visible;\n background: #0e94a0;\n transform: translate(-50%, -5px);\n}",
"file_path": "/mnt/persist/workspace/Tooltips/theleaderofenemy_rotten-liger-72.html"
},
"uniapp": {
"template": "<view class=\"tooltip-container\"></view>\n <text class=\"text\">Tooltip</text>\n <text class=\"tooltip\">Uiverse.io</text>\n</div>",
"script": "export default {\n name: 'GalaxyRottenLiger72',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by theleaderofenemy - Tags: simple, tooltip, action, light */\n.tooltip-container {\n position: relative;\n display: inline-block;\n margin: 40rpx;\n}\n\n.text {\n color: #333;\n font-size: 36rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.tooltip {\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n opacity: 0;\n visibility: hidden;\n background: #0b798a;\n color: #fff;\n padding: 20rpx;\n border-radius: 8rpx;\n transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;\n z-index: 1;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.tooltip::before {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n border-width: 16rpx;\n border-style: solid;\n border-color: transparent transparent #0b798a transparent;\n transform: translateX(-50%);\n}\n\n.tooltip-container:hover .tooltip {\n top: 120%;\n opacity: 1;\n visibility: visible;\n background: #0e94a0;\n transform: translate(-50%, -10rpx);\n}\n\n",
"component_name": "GalaxyRottenLiger72"
},
"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": 1065,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.756Z",
"updated_at": "2025-07-31T07:55:38.756Z"
}