galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
94 lines • 7.28 kB
JSON
{
"id": "seyed-mohsen-mousavi_red-panda-0",
"name": "red-panda-0",
"category": "tooltips",
"author": "seyed-mohsen-mousavi",
"description": "red-panda-0 组件 (tooltip, hover, text animation, animation, interactive)",
"tags": [
"tooltip",
"hover",
"text animation",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"tooltip-container\">\n <span class=\"tooltip\">\n <div class=\"table center\">\n <div class=\"monitor-wrapper center\">\n <div class=\"monitor center\">\n <p>\n Uiverse.io :) Lorem ipsum dolor sit amet, consectetur adipiscing\n elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n aliqua.\n </p>\n </div>\n </div>\n </div>\n </span>\n <span class=\"text\">Hover Me</span>\n</div>",
"css": "/* From Uiverse.io by seyed-mohsen-mousavi - Tags: tooltip, hover, text animation */\n/* This is an example, feel free to delete this code */\n.tooltip-container {\n --background: #050321;\n position: relative;\n background: var(--background);\n cursor: pointer;\n transition: all 0.2s;\n font-size: 17px;\n padding: 0.7em 1.8em;\n color: white;\n border: 5px solid #344151;\n -webkit-transition: border 0.3s ease;\n -moz-transition: border 0.1s ease;\n -o-transition: border 0.3s ease;\n -ms-transition: border 0.3s ease;\n font-family: monospace;\n border-radius: 1px;\n}\n\n.tooltip {\n position: absolute;\n top: 0;\n right: 135%;\n transform: translateX(-50%);\n padding: 0.3em 0.6em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n}\n\n.tooltip-container:hover {\n border: 5px solid #cacdd0;\n}\n.text {\n font-weight: 600;\n}\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n/* tooltip content */\n.center {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: auto;\n}\n\n.table {\n width: 290px;\n height: 20px;\n}\n\n.table .monitor-wrapper {\n background: #050321;\n width: 270px;\n height: 30px;\n box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.3);\n}\n\n.table .monitor-wrapper .monitor {\n width: 200px;\n height: 22px;\n background-color: #344151;\n overflow: hidden;\n white-space: nowrap;\n box-shadow: inset 0px 5px 10px 2px rgba(0, 0, 0, 0.3);\n}\n\n.table .monitor-wrapper .monitor p {\n font-family: \"VT323\", monospace;\n font-size: 18px;\n position: relative;\n display: inline-block;\n color: #ebb55f;\n}\n\n.tooltip-container:hover .table .monitor-wrapper .monitor p {\n animation: move 30s infinite linear;\n}\n\n@keyframes move {\n from {\n left: 250px;\n }\n\n to {\n left: -4800px;\n }\n}",
"file_path": "/mnt/persist/workspace/Tooltips/seyed-mohsen-mousavi_red-panda-0.html"
},
"uniapp": {
"template": "<view class=\"tooltip-container\"></view>\n <text class=\"tooltip\"></text>\n <view class=\"table center\"></view>\n <view class=\"monitor-wrapper center\"></view>\n <view class=\"monitor center\"></view>\n <text></text>\n Uiverse.io :) Lorem ipsum dolor sit amet, consectetur adipiscing\n elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n aliqua.\n </p>\n </div>\n </div>\n </div>\n </span>\n <text class=\"text\">Hover Me</text>\n</div>",
"script": "export default {\n name: 'GalaxyRedPanda0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by seyed-mohsen-mousavi - Tags: tooltip, hover, text animation */\n/* This is an example, feel free to delete this code */\n.tooltip-container {\n --background: #050321;\n position: relative;\n background: var(--background);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s;\n font-size: 34rpx;\n padding: 0.7em 1.8em;\n color: white;\n border: 10rpx solid #344151;\n -webkit-transition: border 0.3s ease;\n -moz-transition: border 0.1s ease;\n -o-transition: border 0.3s ease;\n -ms-transition: border 0.3s ease;\n font-family: monospace;\n border-radius: 2rpx;\n}\n\n.tooltip {\n position: absolute;\n top: 0;\n right: 135%;\n transform: translateX(-50%);\n padding: 0.3em 0.6em;\n opacity: 0;\n pointer-events: none;\n transition: all 0.3s;\n}\n\n.tooltip-container:hover {\n border: 10rpx solid #cacdd0;\n}\n.text {\n font-weight: 600;\n}\n.tooltip-container:hover .tooltip {\n top: -100%;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n/* tooltip content */\n.center {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: auto;\n}\n\n.table {\n width: 580rpx;\n height: 40rpx;\n}\n\n.table .monitor-wrapper {\n background: #050321;\n width: 540rpx;\n height: 60rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 4rpx 4rpx 4rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.table .monitor-wrapper .monitor {\n width: 400rpx;\n height: 44rpx;\n background-color: #344151;\n overflow: hidden;\n white-space: nowrap;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 10rpx 20rpx 4rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.table .monitor-wrapper .monitor p {\n font-family: \"VT323\", monospace;\n font-size: 36rpx;\n position: relative;\n display: inline-block;\n color: #ebb55f;\n}\n\n.tooltip-container:hover .table .monitor-wrapper .monitor p {\n animation: move 30s infinite linear;\n}\n\n@keyframes move {\n from {\n left: 500rpx;\n }\n\n to {\n left: -9600rpx;\n }\n}\n\n",
"component_name": "GalaxyRedPanda0"
},
"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": 2265,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.744Z",
"updated_at": "2025-07-31T07:55:38.744Z"
}