UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.68 kB
{ "id": "Shoh2008_shaggy-tiger-17", "name": "shaggy-tiger-17", "category": "loaders", "author": "Shoh2008", "description": "shaggy-tiger-17 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n margin: auto;\n width: 100px;\n height: 30px;\n overflow: hidden;\n position: relative;\n background: rgba(0, 0, 0, 0.3);\n border-radius: 5px;\n box-shadow: 0px 35px 0 -5px #aaa, 0 -5px 0 0px #ddd, 0 -25px 0 -5px #fff,\n -25px -30px 0 0px #ddd, -25px 30px 0 0px #ddd, 25px -30px 0 0px #ddd,\n 25px 30px 0 0px #ddd, 20px 10px 0 5px #ddd, 20px -10px 0 5px #ddd,\n -20px -10px 0 5px #ddd, -20px 10px 0 5px #ddd;\n}\n\n.loader:after,\n.loader:before {\n content: \"\";\n border-radius: 100%;\n width: 35px;\n height: 35px;\n display: block;\n position: absolute;\n border: 4px dashed #fff;\n bottom: -4px;\n transform: rotate(0deg);\n box-sizing: border-box;\n animation: tape 4s linear infinite;\n}\n\n.loader:before {\n right: 0;\n box-shadow: 0 0 0 4px #fff, 0 0 0 34px #000;\n}\n\n.loader:after {\n left: 0;\n box-shadow: 0 0 0 4px #fff, 0 0 0 65px #000;\n}\n\n@keyframes tape {\n 0% {\n transform: rotate(0deg) scale(0.4);\n }\n\n 100% {\n transform: rotate(-360deg) scale(0.4);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_shaggy-tiger-17.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyShaggyTiger17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n margin: auto;\n width: 200rpx;\n height: 60rpx;\n overflow: hidden;\n position: relative;\n background: rgba(0, 0, 0, 0.3);\n border-radius: 10rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 70rpx 0 -10rpx #aaa, 0 -10rpx 0 0rpx #ddd, 0 -50rpx 0 -10rpx #fff,\n -50rpx -60rpx 0 0rpx #ddd, -50rpx 60rpx 0 0rpx #ddd, 50rpx -60rpx 0 0rpx #ddd,\n 50rpx 60rpx 0 0rpx #ddd, 40rpx 20rpx 0 10rpx #ddd, 40rpx -20rpx 0 10rpx #ddd,\n -40rpx -20rpx 0 10rpx #ddd, -40rpx 20rpx 0 10rpx #ddd;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.loader:after,\n.loader:before {\n content: \"\";\n border-radius: 100%;\n width: 70rpx;\n height: 70rpx;\n display: block;\n position: absolute;\n border: 8rpx dashed #fff;\n bottom: -8rpx;\n transform: rotate(0deg);\n box-sizing: border-box;\n animation: tape 4s linear infinite;\n}\n\n.loader:before {\n right: 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 8rpx #fff, 0 0 0 68rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.loader:after {\n left: 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 8rpx #fff, 0 0 0 130rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes tape {\n 0% {\n transform: rotate(0deg) scale(0.4);\n }\n\n 100% {\n transform: rotate(-360deg) scale(0.4);\n }\n}\n \n", "component_name": "GalaxyShaggyTiger17" }, "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": 1078, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.437Z", "updated_at": "2025-07-31T07:55:40.437Z" }