UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.34 kB
{ "id": "guilhermeyohan_bright-pug-33", "name": "bright-pug-33", "category": "loaders", "author": "guilhermeyohan", "description": "bright-pug-33 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"> \n <div class=\"shape\"></div>\n </div>", "css": "/* From Uiverse.io by guilhermeyohan - Tags: loader */\n.loader {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n animation: loader_513 2s linear infinite;\n}\n\n.shape {\n position: absolute;\n top: 0;\n left: 0;\n width: 80px;\n height: 80px;\n border-radius: 15px;\n}\n\n.shape {\n background-color: rgb(31, 1, 164);\n animation: rectangle_513 4s linear infinite;\n animation-delay: 2s;\n}\n\n@keyframes loader_513 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes rectangle_513 {\n 0% {\n transform: scale(1, 1);\n border-radius: 15px;\n }\n\n 25% {\n border-radius: 30px;\n box-shadow: 0px 0px 5px rgba(133, 133, 133, 0.523);\n background-color: rgb(13, 60, 189);\n transform: scale(0.9);\n }\n\n 50% {\n border-radius: 20px;\n transform: scale(1.4);\n box-shadow: 2px 5px 50px rgba(90, 90, 90, 0.206);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/guilhermeyohan_bright-pug-33.html" }, "uniapp": { "template": "<view class=\"loader\"></view> \n <view class=\"shape\"></view>\n </div>", "script": "export default {\n name: 'GalaxyBrightPug33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by guilhermeyohan - Tags: loader */\n.loader {\n display: inline-block;\n position: relative;\n width: 160rpx;\n height: 160rpx;\n animation: loader_513 2s linear infinite;\n}\n\n.shape {\n position: absolute;\n top: 0;\n left: 0;\n width: 160rpx;\n height: 160rpx;\n border-radius: 30rpx;\n}\n\n.shape {\n background-color: rgb(31, 1, 164);\n animation: rectangle_513 4s linear infinite;\n animation-delay: 2s;\n}\n\n@keyframes loader_513 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes rectangle_513 {\n 0% {\n transform: scale(1, 1);\n border-radius: 30rpx;\n }\n\n 25% {\n border-radius: 60rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 10rpx rgba(133, 133, 133, 0.523);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: rgb(13, 60, 189);\n transform: scale(0.9);\n }\n\n 50% {\n border-radius: 40rpx;\n transform: scale(1.4);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 10rpx 100rpx rgba(90, 90, 90, 0.206);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n \n", "component_name": "GalaxyBrightPug33" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 978, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.180Z", "updated_at": "2025-07-31T07:55:42.180Z" }