galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
97 lines • 5.02 kB
JSON
{
"id": "elijahgummer_brown-moose-94",
"name": "brown-moose-94",
"category": "tooltips",
"author": "elijahgummer",
"description": "brown-moose-94 组件 (simple, tooltip, green, minimalist, github, clean, transition, hover effect, animation, interactive)",
"tags": [
"simple",
"tooltip",
"green",
"minimalist",
"github",
"clean",
"transition",
"hover effect",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"tooltip-container\">\n <span class=\"tooltip\">8 contributions on March 8th.</span>\n <span class=\"text\"></span>\n</div>",
"css": "/* From Uiverse.io by elijahgummer - Tags: simple, tooltip, green, minimalist, github, clean, transition, hover effect */\n.tooltip-container {\n --background-tooltip-container: #2ea44f; /* GitHub green color */\n position: relative;\n background: var(--background-tooltip-container);\n cursor: pointer;\n transition: all 0.2s;\n width: 16px;\n height: 16px;\n border-radius: 6px;\n font-size: 17px;\n}\n\n.tooltip {\n --background-tooltip: #6e7681; /* Default background color for tooltip */\n position: absolute;\n top: -39px; /* Adjusted top position */\n left: 50%;\n transform: translateX(-50%);\n padding: 0.5em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n background: var(--background-tooltip);\n color: white; /* Text color */\n border-radius: 5px;\n width: 210px;\n height: 30px;\n font-size: 13px;\n text-align: center;\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: var(\n --background-tooltip\n ); /* Use the same background color as the tooltip */\n}\n\n.tooltip-container:hover .tooltip {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}",
"file_path": "/mnt/persist/workspace/Tooltips/elijahgummer_brown-moose-94.html"
},
"uniapp": {
"template": "<view class=\"tooltip-container\"></view>\n <text class=\"tooltip\">8 contributions on March 8th.</text>\n <text class=\"text\"></text>\n</div>",
"script": "export default {\n name: 'GalaxyBrownMoose94',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by elijahgummer - Tags: simple, tooltip, green, minimalist, github, clean, transition, hover effect */\n.tooltip-container {\n --background-tooltip-container: #2ea44f; /* GitHub green color */\n position: relative;\n background: var(--background-tooltip-container);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s;\n width: 32rpx;\n height: 32rpx;\n border-radius: 12rpx;\n font-size: 34rpx;\n}\n\n.tooltip {\n --background-tooltip: #6e7681; /* Default background color for tooltip */\n position: absolute;\n top: -78rpx; /* Adjusted top position */\n left: 50%;\n transform: translateX(-50%);\n padding: 0.5em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n background: var(--background-tooltip);\n color: white; /* Text color */\n border-radius: 10rpx;\n width: 420rpx;\n height: 60rpx;\n font-size: 26rpx;\n text-align: center;\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: var(\n --background-tooltip\n ); /* Use the same background color as the tooltip */\n}\n\n.tooltip-container:hover .tooltip {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n",
"component_name": "GalaxyBrownMoose94"
},
"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": 1353,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.663Z",
"updated_at": "2025-07-31T07:55:38.663Z"
}