UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 5.06 kB
{ "id": "kosedagyazilim_quick-snail-70", "name": "quick-snail-70", "category": "buttons", "author": "kosedagyazilim", "description": "quick-snail-70 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">Button</button>", "css": "/* From Uiverse.io by kosedagyazilim - Tags: button */\n.button {\n display: inline-block;\n padding: 12px 28px;\n margin: 10px;\n font-size: 24px;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);\n border: none;\n border-radius: 40px;\n box-shadow: 0px 4px 0px #0072ff;\n transition: all 0.2s ease-in-out;\n}\n\n.button:hover {\n transform: translateY(-2px);\n box-shadow: 0px 6px 0px #0072ff;\n}\n\n.button:active {\n transform: translateY(0px);\n box-shadow: none;\n background-image: linear-gradient(to bottom right, #0072ff, #00c6ff);\n}\n\n.button:before,\n.button:after {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n}\n\n.button:before {\n top: -3px;\n left: -3px;\n border-radius: 40px;\n border-top: 3px solid #fff;\n border-left: 3px solid #fff;\n}\n\n.button:after {\n bottom: -3px;\n right: -3px;\n border-radius: 40px;\n border-bottom: 3px solid #fff;\n border-right: 3px solid #fff;\n}", "file_path": "/mnt/persist/workspace/Buttons/kosedagyazilim_quick-snail-70.html" }, "uniapp": { "template": "<button class=\"button\"></button>Button</button>", "script": "export default {\n name: 'GalaxyQuickSnail70',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by kosedagyazilim - Tags: button */\n.button {\n display: inline-block;\n padding: 24rpx 56rpx;\n margin: 20rpx;\n font-size: 48rpx;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);\n border: none;\n border-radius: 80rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 8rpx 0rpx #0072ff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.2s ease-in-out;\n}\n\n.button:hover {\n transform: translateY(-4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 12rpx 0rpx #0072ff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:active {\n transform: translateY(0rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-image: linear-gradient(to bottom right, #0072ff, #00c6ff);\n}\n\n.button:before,\n.button:after {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n}\n\n.button:before {\n top: -6rpx;\n left: -6rpx;\n border-radius: 80rpx;\n border-top: 6rpx solid #fff;\n border-left: 6rpx solid #fff;\n}\n\n.button:after {\n bottom: -6rpx;\n right: -6rpx;\n border-radius: 80rpx;\n border-bottom: 6rpx solid #fff;\n border-right: 6rpx solid #fff;\n}\n\n\n", "component_name": "GalaxyQuickSnail70" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1032, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.116Z", "updated_at": "2025-07-31T07:55:37.116Z" }