UNPKG

galaxy-uniapp-mcp-server

Version:

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

92 lines 4.28 kB
{ "id": "david-mohseni_smart-cow-19", "name": "smart-cow-19", "category": "loaders", "author": "david-mohseni", "description": "smart-cow-19 组件 (loader, animation, gradient)", "tags": [ "loader", "animation", "gradient" ], "original": { "html": "<div class=\"ball\"></div>\n<div class=\"shadow\"></div>", "css": "/* From Uiverse.io by david-mohseni - Tags: loader */\n.ball {\n animation: float612 2.4s ease-in-out infinite;\n height: 80px;\n width: 80px;\n border-radius: 50%;\n position: relative;\n background: radial-gradient( circle at 75% 30%, white 5px, #DF00FF 8%, #DB9EDF 60%, #DF00FF 100%);\n box-shadow: inset 0 0 20px #C1AAC6, inset 10px 0 46px #DF00FF, inset 88px 0px 60px #DB9EDF, inset -20px -60px 100px #fde9ea, inset 0 50px 140px #fde9ea, 0 0 90px #fff;\n}\n\n@keyframes float612 {\n 0% {\n transform: translatey(0px);\n }\n\n 50% {\n transform: translatey(-50px);\n }\n\n 100% {\n transform: translatey(0px);\n }\n}\n\n.shadow {\n background: #DB9EDF;\n width: 80px;\n height: 25px;\n top: 65%;\n animation: expand6234 2.4s ease-in-out infinite;\n position: absolute;\n border-radius: 50%;\n}\n\n@keyframes expand6234 {\n 0%,\n 100% {\n transform: scale(0.6);\n }\n\n 50% {\n transform: scale(0.3);\n filter: blur(5px);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/david-mohseni_smart-cow-19.html" }, "uniapp": { "template": "<view class=\"ball\"></view>\n<view class=\"shadow\"></view>", "script": "export default {\n name: 'GalaxySmartCow19',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by david-mohseni - Tags: loader */\n.ball {\n animation: float612 2.4s ease-in-out infinite;\n height: 160rpx;\n width: 160rpx;\n border-radius: 50%;\n position: relative;\n background: radial-gradient( circle at 75% 30%, white 10rpx, #DF00FF 8%, #DB9EDF 60%, #DF00FF 100%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 40rpx #C1AAC6, inset 20rpx 0 92rpx #DF00FF, inset 176rpx 0rpx 120rpx #DB9EDF, inset -40rpx -120rpx 200rpx #fde9ea, inset 0 100rpx 280rpx #fde9ea, 0 0 180rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes float612 {\n 0% {\n transform: translatey(0rpx);\n }\n\n 50% {\n transform: translatey(-100rpx);\n }\n\n 100% {\n transform: translatey(0rpx);\n }\n}\n\n.shadow {\n background: #DB9EDF;\n width: 160rpx;\n height: 50rpx;\n top: 65%;\n animation: expand6234 2.4s ease-in-out infinite;\n position: absolute;\n border-radius: 50%;\n}\n\n@keyframes expand6234 {\n 0%,\n 100% {\n transform: scale(0.6);\n }\n\n 50% {\n transform: scale(0.3);\n \n }\n}\n\n", "component_name": "GalaxySmartCow19" }, "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": 995, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.222Z", "updated_at": "2025-07-31T07:55:41.222Z" }