UNPKG

galaxy-uniapp-mcp-server

Version:

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

96 lines 4.92 kB
{ "id": "Yogeshawghad0477_angry-ladybug-53", "name": "angry-ladybug-53", "category": "loaders", "author": "Yogeshawghad0477", "description": "angry-ladybug-53 组件 (animation, loader, animated, light&dark, gradient)", "tags": [ "animation", "loader", "animated", "light&dark", "gradient" ], "original": { "html": "<div class=\"div\">\n <p id=\"h2\">Loading....<span id=\"lol\"></span></p>\n</div>", "css": "/* From Uiverse.io by Yogeshawghad0477 - Tags: animation, loader, animated, light&dark */\n#h2 {\n color: white;\n mix-blend-mode: difference; /* this will change color of loading text */\n text-align: center;\n margin: 0;\n font-size: 12px;\n line-height: 30px;\n font-family: Arial, Helvetica, sans-serif;\n text-shadow: 0 0 3px;\n padding: 0;\n letter-spacing: 5px;\n}\n\n.div {\n position: relative;\n top: 0px;\n left: 0%;\n max-width: 200px; /* Use viewport width for responsive width */\n width: 100%;\n height: 30px;\n background: linear-gradient(to right, white, black);\n background-size: 200% 100%;\n animation-delay: 2s;\n border-radius: 10px;\n box-shadow: 0 0 3px;\n -webkit-box-reflect: below 1px\n linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));\n animation: gradientAnimation 10s linear infinite reverse;\n}\n\n@keyframes gradientAnimation {\n 0% {\n background-position: 0;\n }\n\n 100% {\n background-position: 200% 0;\n }\n}\n\n/* Use media queries for responsiveness */\n@media (max-width: 768px) {\n .div {\n width: 500px; /* Adjust width for smaller screens */\n left: 10%;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Yogeshawghad0477_angry-ladybug-53.html" }, "uniapp": { "template": "<view class=\"div\"></view>\n <text id=\"h2\">Loading....<text id=\"lol\"></text></text>\n</div>", "script": "export default {\n name: 'GalaxyAngryLadybug53',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Yogeshawghad0477 - Tags: animation, loader, animated, light&dark */\n#h2 {\n color: white;\n /* this will change color of loading text */\n text-align: center;\n margin: 0;\n font-size: 24rpx;\n line-height: 60rpx;\n font-family: Arial, Helvetica, sans-serif;\n /* #ifdef H5 */\n text-shadow: 0 0 6rpx;\n /* #endif */\n padding: 0;\n letter-spacing: 10rpx;\n}\n\n.div {\n position: relative;\n top: 0rpx;\n left: 0%;\n max-width: 400rpx; /* Use viewport width for responsive width */\n width: 100%;\n height: 60rpx;\n background: linear-gradient(to right, white, black);\n background-size: 200% 100%;\n animation-delay: 2s;\n border-radius: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 6rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-box-reflect: below 2rpx\n linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));\n animation: gradientAnimation 10s linear infinite reverse;\n}\n\n@keyframes gradientAnimation {\n 0% {\n background-position: 0;\n }\n\n 100% {\n background-position: 200% 0;\n }\n}\n\n/* Use media queries for responsiveness */\n@media (max-width: 1536rpx) {\n .div {\n width: 1000rpx; /* Adjust width for smaller screens */\n left: 10%;\n }\n}\n\n", "component_name": "GalaxyAngryLadybug53" }, "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 属性", "不支持 text-shadow 属性", "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1210, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.798Z", "updated_at": "2025-07-31T07:55:40.798Z" }