UNPKG

galaxy-uniapp-mcp-server

Version:

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

122 lines 5.65 kB
{ "id": "JaydipPrajapati1910_big-horse-30", "name": "big-horse-30", "category": "buttons", "author": "JaydipPrajapati1910", "description": "big-horse-30 组件 (glassmorphism, animation, blue, button, circle, gradient, interactive)", "tags": [ "glassmorphism", "animation", "blue", "button", "circle", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"button-inner\">Button</div>\n</button>", "css": "/* From Uiverse.io by JaydipPrajapati1910 - Tags: glassmorphism, animation, blue, button, circle */\n.button {\n width: 160px;\n height: 55px;\n transition: all 0.2s;\n position: relative;\n cursor: pointer;\n background: none;\n outline: none;\n border: none;\n}\n\n.button-inner {\n width: inherit;\n height: inherit;\n background: rgba(255,255,255,.05);\n box-shadow: 0 0 10px rgba(0,0,0,0.25);\n backdrop-filter: blur(10px);\n border-radius: 8px;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n font-size: 20px;\n font-weight: 900;\n letter-spacing: .1em;\n color: blue;\n}\n\n.button:hover {\n transform: scale(1.04) rotate(1deg);\n}\n\n.circle {\n width: 20px;\n height: 20px;\n background: radial-gradient(blue,darkblue);\n border-radius: 50%;\n position: absolute;\n animation: move-up6 2s ease-in infinite alternate-reverse;\n}\n\n.circle:nth-child(1) {\n top: 0px;\n left: 0px;\n}\n\n.circle:nth-child(2) {\n bottom: 0px;\n right: 0px;\n animation-name: move-down1;\n}\n\n@keyframes move-up6 {\n to {\n transform: translateY(-5px);\n }\n}\n\n@keyframes move-down1 {\n to {\n transform: translateY(5px);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/JaydipPrajapati1910_big-horse-30.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"button-inner\">Button</view>\n</button>", "script": "export default {\n name: 'GalaxyBigHorse30',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by JaydipPrajapati1910 - Tags: glassmorphism, animation, blue, button, circle */\n.button {\n width: 320rpx;\n height: 110rpx;\n transition: all 0.2s;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background: none;\n outline: none;\n border: none;\n}\n\n.button-inner {\n width: inherit;\n height: inherit;\n background: rgba(255,255,255,.05);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 20rpx rgba(0,0,0,0.25);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n backdrop-\n border-radius: 16rpx;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n font-size: 40rpx;\n font-weight: 900;\n letter-spacing: .1em;\n color: blue;\n}\n\n.button:hover {\n transform: scale(1.04) rotate(1deg);\n}\n\n.circle {\n width: 40rpx;\n height: 40rpx;\n background: radial-gradient(blue,darkblue);\n border-radius: 50%;\n position: absolute;\n animation: move-up6 2s ease-in infinite alternate-reverse;\n}\n\n.circle:nth-child(1) {\n top: 0rpx;\n left: 0rpx;\n}\n\n.circle:nth-child(2) {\n bottom: 0rpx;\n right: 0rpx;\n animation-name: move-down1;\n}\n\n@keyframes move-up6 {\n to {\n transform: translateY(-10rpx);\n }\n}\n\n@keyframes move-down1 {\n to {\n transform: translateY(10rpx);\n }\n}\n\n\n", "component_name": "GalaxyBigHorse30" }, "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": "是否禁用" }, { "name": "text", "type": "String", "default": "按钮", "required": false, "description": "按钮文字" }, { "name": "type", "type": "String", "default": "primary", "required": false, "description": "按钮类型" } ], "events": [ { "name": "click", "description": "点击事件", "parameters": [ "event" ] } ], "slots": [ { "name": "", "description": "", "props": [] } ], "compatibility": { "h5": { "supported": true, "issues": [], "alternatives": [] }, "mp-weixin": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1289, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.437Z", "updated_at": "2025-07-31T07:55:33.437Z" }