galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
92 lines • 5.52 kB
JSON
{
"id": "Sacha-PDV_angry-cat-58",
"name": "angry-cat-58",
"category": "tooltips",
"author": "Sacha-PDV",
"description": "angry-cat-58 组件 (simple, tooltip, circle, animation, interactive)",
"tags": [
"simple",
"tooltip",
"circle",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"tooltip\">\n <span>Hover me</span>\n <div class=\"tooltip-text\">\n Ceci est un tooltip moderne et animé avec des bulles autour.\n </div>\n <div class=\"tooltip-bubble\"></div>\n <div class=\"tooltip-bubble\"></div>\n <div class=\"tooltip-bubble\"></div>\n</div>",
"css": "/* From Uiverse.io by Sacha-PDV - Tags: simple, tooltip, circle */\n.tooltip {\n position: relative;\n display: inline-block;\n cursor: pointer;\n}\n.tooltip-text {\n visibility: hidden;\n width: 200px;\n background-color: #3498db;\n color: #fff;\n text-align: center;\n border-radius: 4px;\n padding: 10px;\n position: absolute;\n z-index: 1;\n top: -65px;\n left: 50%;\n transform: translateX(-50%);\n opacity: 0;\n transition: opacity 0.3s, transform 0.3s;\n}\n.tooltip:hover .tooltip-text {\n visibility: visible;\n opacity: 1;\n transform: translate(-50%, -60px);\n}\n.tooltip-text::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: #3498db transparent transparent transparent;\n}\n.tooltip:hover .tooltip-bubble {\n display: block;\n}\n.tooltip-bubble {\n position: absolute;\n width: 20px;\n height: 20px;\n background: #3498db;\n border-radius: 50%;\n display: none;\n}\n.tooltip-bubble:nth-child(3) {\n bottom: 170px;\n left: 43%;\n}\n.tooltip-bubble:nth-child(4) {\n bottom: 170px;\n left: 90%;\n}\n.tooltip-bubble:nth-child(5) {\n bottom: 170px;\n left: -10%;\n}\n.tooltip span {\n display: inline-block;\n padding: 5px 10px;\n background: #3498db;\n color: #fff;\n border-radius: 4px;\n transition: background 0.3s;\n}\n.tooltip:hover span {\n background: #ff6b6b;\n}",
"file_path": "/mnt/persist/workspace/Tooltips/Sacha-PDV_angry-cat-58.html"
},
"uniapp": {
"template": "<view class=\"tooltip\"></view>\n <text>Hover me</text>\n <view class=\"tooltip-text\"></view>\n Ceci est un tooltip moderne et animé avec des bulles autour.\n </div>\n <view class=\"tooltip-bubble\"></view>\n <view class=\"tooltip-bubble\"></view>\n <view class=\"tooltip-bubble\"></view>\n</div>",
"script": "export default {\n name: 'GalaxyAngryCat58',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Sacha-PDV - Tags: simple, tooltip, circle */\n.tooltip {\n position: relative;\n display: inline-block;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n.tooltip-text {\n visibility: hidden;\n width: 400rpx;\n background-color: #3498db;\n color: #fff;\n text-align: center;\n border-radius: 8rpx;\n padding: 20rpx;\n position: absolute;\n z-index: 1;\n top: -130rpx;\n left: 50%;\n transform: translateX(-50%);\n opacity: 0;\n transition: opacity 0.3s, transform 0.3s;\n}\n.tooltip:hover .tooltip-text {\n visibility: visible;\n opacity: 1;\n transform: translate(-50%, -120rpx);\n}\n.tooltip-text::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -10rpx;\n border-width: 10rpx;\n border-style: solid;\n border-color: #3498db transparent transparent transparent;\n}\n.tooltip:hover .tooltip-bubble {\n display: block;\n}\n.tooltip-bubble {\n position: absolute;\n width: 40rpx;\n height: 40rpx;\n background: #3498db;\n border-radius: 50%;\n display: none;\n}\n.tooltip-bubble:nth-child(3) {\n bottom: 340rpx;\n left: 43%;\n}\n.tooltip-bubble:nth-child(4) {\n bottom: 340rpx;\n left: 90%;\n}\n.tooltip-bubble:nth-child(5) {\n bottom: 340rpx;\n left: -10%;\n}\n.tooltip span {\n display: inline-block;\n padding: 10rpx 20rpx;\n background: #3498db;\n color: #fff;\n border-radius: 8rpx;\n transition: background 0.3s;\n}\n.tooltip:hover span {\n background: #ff6b6b;\n}\n\n",
"component_name": "GalaxyAngryCat58"
},
"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": 1636,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.543Z",
"updated_at": "2025-07-31T07:55:38.543Z"
}