UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.97 kB
{ "id": "timlmit_stupid-mouse-79", "name": "stupid-mouse-79", "category": "loaders", "author": "timlmit", "description": "stupid-mouse-79 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by timlmit - Tags: loader */\n.loader {\n display: block;\n position: relative;\n height: 32px;\n width: 200px;\n background: #fff;\n border: 2px solid #fff;\n color: rgb(223, 60, 60);\n overflow: hidden;\n}\n\n.loader::before {\n content: '';\n background: rgb(223, 60, 60);\n position: absolute;\n left: 0;\n top: 0;\n width: 0;\n height: 100%;\n animation: loading_302 10s linear infinite;\n}\n\n.loader:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n font-size: 18px;\n line-height: 32px;\n color: rgb(0,255,255);\n mix-blend-mode: difference;\n animation: percentage_302 10s linear infinite;\n}\n\n@keyframes loading_302 {\n 0% {\n width: 0\n }\n\n 100% {\n width: 100%\n }\n}\n\n@keyframes percentage_302 {\n 0% {\n content: \"0%\"\n }\n\n 5% {\n content: \"5%\"\n }\n\n 10% {\n content: \"10%\"\n }\n\n 20% {\n content: \"20%\"\n }\n\n 30% {\n content: \"30%\"\n }\n\n 40% {\n content: \"40%\"\n }\n\n 50% {\n content: \"50%\"\n }\n\n 60% {\n content: \"60%\"\n }\n\n 70% {\n content: \"70%\"\n }\n\n 80% {\n content: \"80%\"\n }\n\n 90% {\n content: \"90%\"\n }\n\n 95% {\n content: \"95%\"\n }\n\n 96% {\n content: \"96%\"\n }\n\n 97% {\n content: \"97%\"\n }\n\n 98% {\n content: \"98%\"\n }\n\n 99% {\n content: \"99%\"\n }\n\n 100% {\n content: \"100%\"\n }\n}", "file_path": "/mnt/persist/workspace/loaders/timlmit_stupid-mouse-79.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyStupidMouse79',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by timlmit - Tags: loader */\n.loader {\n display: block;\n position: relative;\n height: 64rpx;\n width: 400rpx;\n background: #fff;\n border: 4rpx solid #fff;\n color: rgb(223, 60, 60);\n overflow: hidden;\n}\n\n.loader::before {\n content: '';\n background: rgb(223, 60, 60);\n position: absolute;\n left: 0;\n top: 0;\n width: 0;\n height: 100%;\n animation: loading_302 10s linear infinite;\n}\n\n.loader:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n font-size: 36rpx;\n line-height: 64rpx;\n color: rgb(0,255,255);\n \n animation: percentage_302 10s linear infinite;\n}\n\n@keyframes loading_302 {\n 0% {\n width: 0\n }\n\n 100% {\n width: 100%\n }\n}\n\n@keyframes percentage_302 {\n 0% {\n content: \"0%\"\n }\n\n 5% {\n content: \"5%\"\n }\n\n 10% {\n content: \"10%\"\n }\n\n 20% {\n content: \"20%\"\n }\n\n 30% {\n content: \"30%\"\n }\n\n 40% {\n content: \"40%\"\n }\n\n 50% {\n content: \"50%\"\n }\n\n 60% {\n content: \"60%\"\n }\n\n 70% {\n content: \"70%\"\n }\n\n 80% {\n content: \"80%\"\n }\n\n 90% {\n content: \"90%\"\n }\n\n 95% {\n content: \"95%\"\n }\n\n 96% {\n content: \"96%\"\n }\n\n 97% {\n content: \"97%\"\n }\n\n 98% {\n content: \"98%\"\n }\n\n 99% {\n content: \"99%\"\n }\n\n 100% {\n content: \"100%\"\n }\n}\n \n \n", "component_name": "GalaxyStupidMouse79" }, "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": [ "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 1373, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.706Z", "updated_at": "2025-07-31T07:55:42.706Z" }