UNPKG

galaxy-uniapp-mcp-server

Version:

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

96 lines 6.57 kB
{ "id": "TheAbieza_nasty-vampirebat-71", "name": "nasty-vampirebat-71", "category": "loaders", "author": "TheAbieza", "description": "nasty-vampirebat-71 组件 (flat design, loader, github, rotate, animated, vscode, music, box-shadow, animation)", "tags": [ "flat design", "loader", "github", "rotate", "animated", "vscode", "music", "box-shadow", "animation" ], "original": { "html": "<div class=\"container\">\n <div class=\"plate\">\n <div class=\"black\">\n <div class=\"border\">\n <div class=\"white\">\n <div class=\"center\"></div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"player\">\n <div class=\"rect\"></div>\n <div class=\"circ\"></div>\n </div>\n</div>", "css": "/* From Uiverse.io by TheAbieza - Tags: flat design, loader, github, rotate, animated, vscode, music, box-shadow */\n.container {\n width: 175px;\n height: 175px;\n background-color: #ABC4AA;\n border-radius: 10px;\n position: relative;\n box-shadow: 5px 5px 0 0 #675D50;\n}\n\n.plate {\n width: fit-content;\n}\n\n.plate .black,\n.plate .white,\n.plate .center,\n.plate .border {\n border-radius: 100%;\n}\n\n.container,\n.plate .black,\n.plate .white,\n.plate .border {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.plate .black {\n width: 150px;\n height: 150px;\n background-color: #675D50;\n animation: rotation 2s infinite linear;\n}\n\n@keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(359deg);\n }\n}\n\n.plate .white {\n width: 70px;\n height: 70px;\n background-color: #F3DEBA;\n}\n\n.plate .center {\n width: 20px;\n height: 20px;\n background-color: #675D50;\n}\n\n.plate .border {\n width: 111px;\n height: 111px;\n border-top: 3px solid #F3DEBA;\n border-bottom: 3px solid #F3DEBA;\n border-left: 3px solid #675D50;\n border-right: 3px solid #675D50;\n}\n\n.player {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n width: fit-content;\n position: absolute;\n bottom: 0;\n right: 0;\n margin-bottom: 8px;\n margin-right: 8px;\n rotate: -45deg;\n}\n\n.player .circ {\n width: 25px;\n height: 25px;\n background-color: #F3DEBA;\n border-radius: 100%;\n z-index: 1;\n}\n\n.player .rect {\n width: 10px;\n height: 55px;\n background-color: #F3DEBA;\n position: absolute;\n bottom: 0;\n margin-bottom: 5px;\n}", "file_path": "/mnt/persist/workspace/loaders/TheAbieza_nasty-vampirebat-71.html" }, "uniapp": { "template": "<view class=\"container\"></view>\n <view class=\"plate\"></view>\n <view class=\"black\"></view>\n <view class=\"border\"></view>\n <view class=\"white\"></view>\n <view class=\"center\"></view>\n </div>\n </div>\n </div>\n </div>\n\n <view class=\"player\"></view>\n <view class=\"rect\"></view>\n <view class=\"circ\"></view>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyNastyVampirebat71',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by TheAbieza - Tags: flat design, loader, github, rotate, animated, vscode, music, box-shadow */\n.container {\n width: 350rpx;\n height: 350rpx;\n background-color: #ABC4AA;\n border-radius: 20rpx;\n position: relative;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 0 0 #675D50;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.plate {\n width: fit-content;\n}\n\n.plate .black,\n.plate .white,\n.plate .center,\n.plate .border {\n border-radius: 100%;\n}\n\n.container,\n.plate .black,\n.plate .white,\n.plate .border {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.plate .black {\n width: 300rpx;\n height: 300rpx;\n background-color: #675D50;\n animation: rotation 2s infinite linear;\n}\n\n@keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(359deg);\n }\n}\n\n.plate .white {\n width: 140rpx;\n height: 140rpx;\n background-color: #F3DEBA;\n}\n\n.plate .center {\n width: 40rpx;\n height: 40rpx;\n background-color: #675D50;\n}\n\n.plate .border {\n width: 222rpx;\n height: 222rpx;\n border-top: 6rpx solid #F3DEBA;\n border-bottom: 6rpx solid #F3DEBA;\n border-left: 6rpx solid #675D50;\n border-right: 6rpx solid #675D50;\n}\n\n.player {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n width: fit-content;\n position: absolute;\n bottom: 0;\n right: 0;\n margin-bottom: 16rpx;\n margin-right: 16rpx;\n rotate: -45deg;\n}\n\n.player .circ {\n width: 50rpx;\n height: 50rpx;\n background-color: #F3DEBA;\n border-radius: 100%;\n z-index: 1;\n}\n\n.player .rect {\n width: 20rpx;\n height: 110rpx;\n background-color: #F3DEBA;\n position: absolute;\n bottom: 0;\n margin-bottom: 10rpx;\n}\n\n", "component_name": "GalaxyNastyVampirebat71" }, "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": "high", "bundle_size": 1969, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.682Z", "updated_at": "2025-07-31T07:55:40.682Z" }