UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 4.04 kB
{ "id": "Rudra1725_splendid-fish-19", "name": "splendid-fish-19", "category": "buttons", "author": "Rudra1725", "description": "splendid-fish-19 组件 (simple, material design, 3d, button, hover, active, interactive)", "tags": [ "simple", "material design", "3d", "button", "hover", "active", "interactive" ], "original": { "html": "<button class=\"btn1\">&gt; Send Message</button>", "css": "/* From Uiverse.io by Rudra1725 - Tags: simple, material design, 3d, button, hover, active */\n.btn1 {\n color: black;\n background-color: white;\n border: solid wheat 2px;\n border-radius: 9px;\n font-size: 19px;\n padding: 12px;\n box-shadow: inset 0 0 4px black;\n font-weight: 500;\n transition: 400ms;\n}\n.btn1:hover {\n transition: 400ms;\n box-shadow: inset 0 0 6px black, 0 0 10px wheat;\n}\n.btn1:active {\n transition: 50ms;\n box-shadow: inset 0 0 0px black, 0 0 10px wheat;\n}", "file_path": "/mnt/persist/workspace/Buttons/Rudra1725_splendid-fish-19.html" }, "uniapp": { "template": "<button class=\"btn1\"></button>&gt; Send Message</button>", "script": "export default {\n name: 'GalaxySplendidFish19',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Rudra1725 - Tags: simple, material design, 3d, button, hover, active */\n.btn1 {\n color: black;\n background-color: white;\n border: solid wheat 4rpx;\n border-radius: 18rpx;\n font-size: 38rpx;\n padding: 24rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 8rpx black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-weight: 500;\n transition: 400ms;\n}\n.btn1:hover {\n transition: 400ms;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 12rpx black, 0 0 20rpx wheat;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.btn1:active {\n transition: 50ms;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0rpx black, 0 0 20rpx wheat;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxySplendidFish19" }, "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": "low", "bundle_size": 541, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.476Z", "updated_at": "2025-07-31T07:55:34.476Z" }