UNPKG

galaxy-uniapp-mcp-server

Version:

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

95 lines 6.33 kB
{ "id": "NlghtM4re_ordinary-mouse-17", "name": "ordinary-mouse-17", "category": "loaders", "author": "NlghtM4re", "description": "ordinary-mouse-17 组件 (blue, purple, loader, smooth, glow, animation)", "tags": [ "blue", "purple", "loader", "smooth", "glow", "animation" ], "original": { "html": "<div class=\"container\">\n <div class=\"item\" style=\"--i:0;\"></div>\n <div class=\"item\" style=\"--i:1;\"></div>\n <div class=\"item\" style=\"--i:2;\"></div>\n <div class=\"item\" style=\"--i:3;\"></div>\n <div class=\"item\" style=\"--i:4;\"></div>\n <div class=\"item\" style=\"--i:5;\"></div>\n <div class=\"item\" style=\"--i:6;\"></div>\n <div class=\"item\" style=\"--i:7;\"></div>\n <div class=\"item\" style=\"--i:8;\"></div>\n <div class=\"item\" style=\"--i:9;\"></div>\n <div class=\"item\" style=\"--i:10;\"></div>\n <div class=\"item\" style=\"--i:11;\"></div>\n <div class=\"item\" style=\"--i:12;\"></div>\n <div class=\"item\" style=\"--i:13;\"></div>\n <div class=\"item\" style=\"--i:14;\"></div>\n <div class=\"item\" style=\"--i:15;\"></div>\n <div class=\"item\" style=\"--i:16;\"></div>\n <div class=\"item\" style=\"--i:17;\"></div>\n <div class=\"item\" style=\"--i:18;\"></div>\n <div class=\"item\" style=\"--i:19;\"></div>\n <div class=\"item\" style=\"--i:20;\"></div>\n </div>", "css": "/* From Uiverse.io by NlghtM4re - Tags: blue, purple, loader, smooth, glow */\n.container {\n position: absolute;\n top: 40%;\n height: 90%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.item {\n position: absolute;\n background-color: transparent;\n width: calc(var(--i) * 2.5vmin);\n aspect-ratio: 1;\n border-radius: 50%;\n border: .9vmin solid rgb(0, 200, 255);\n transform-style: preserve-3d;\n transform: rotateX(70deg) translateZ(50px);\n animation: my-move 3s ease-in-out calc(var(--i) * 0.08s) infinite;\n box-shadow: 0px 0px 15px rgb(124, 124, 124),\n inset 0px 0px 15px rgb(124, 124, 124);\n}\n\n@keyframes my-move {\n 0%,\n 100% {\n transform: rotateX(70deg) translateZ(50px) translateY(0px);\n filter: hue-rotate(0deg);\n }\n\n 50% {\n transform: rotateX(70deg) translateZ(50px) translateY(-50vmin);\n filter: hue-rotate(180deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/NlghtM4re_ordinary-mouse-17.html" }, "uniapp": { "template": "<view class=\"container\"></view>\n <view class=\"item\" style=\"--i:0;\"></view>\n <view class=\"item\" style=\"--i:1;\"></view>\n <view class=\"item\" style=\"--i:2;\"></view>\n <view class=\"item\" style=\"--i:3;\"></view>\n <view class=\"item\" style=\"--i:4;\"></view>\n <view class=\"item\" style=\"--i:5;\"></view>\n <view class=\"item\" style=\"--i:6;\"></view>\n <view class=\"item\" style=\"--i:7;\"></view>\n <view class=\"item\" style=\"--i:8;\"></view>\n <view class=\"item\" style=\"--i:9;\"></view>\n <view class=\"item\" style=\"--i:10;\"></view>\n <view class=\"item\" style=\"--i:11;\"></view>\n <view class=\"item\" style=\"--i:12;\"></view>\n <view class=\"item\" style=\"--i:13;\"></view>\n <view class=\"item\" style=\"--i:14;\"></view>\n <view class=\"item\" style=\"--i:15;\"></view>\n <view class=\"item\" style=\"--i:16;\"></view>\n <view class=\"item\" style=\"--i:17;\"></view>\n <view class=\"item\" style=\"--i:18;\"></view>\n <view class=\"item\" style=\"--i:19;\"></view>\n <view class=\"item\" style=\"--i:20;\"></view>\n </div>", "script": "export default {\n name: 'GalaxyOrdinaryMouse17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by NlghtM4re - Tags: blue, purple, loader, smooth, glow */\n.container {\n position: absolute;\n top: 40%;\n height: 90%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.item {\n position: absolute;\n background-color: transparent;\n width: calc(var(--i) * 2.5vmin);\n aspect-ratio: 1;\n border-radius: 50%;\n border: .9vmin solid rgb(0, 200, 255);\n transform-style: preserve-3d;\n transform: rotateX(70deg) translateZ(100rpx);\n animation: my-move 3s ease-in-out calc(var(--i) * 0.08s) infinite;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 30rpx rgb(124, 124, 124),\n inset 0rpx 0rpx 30rpx rgb(124, 124, 124);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes my-move {\n 0%,\n 100% {\n transform: rotateX(70deg) translateZ(100rpx) translateY(0rpx);\n \n }\n\n 50% {\n transform: rotateX(70deg) translateZ(100rpx) translateY(-50vmin);\n \n }\n}\n", "component_name": "GalaxyOrdinaryMouse17" }, "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 属性", "不支持 filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1893, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.917Z", "updated_at": "2025-07-31T07:55:39.917Z" }