UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 3.96 kB
{ "id": "barisdogansutcu_heavy-dragon-15", "name": "heavy-dragon-15", "category": "buttons", "author": "barisdogansutcu", "description": "heavy-dragon-15 组件 (button, active, retro, animation)", "tags": [ "button", "active", "retro", "animation" ], "original": { "html": "<button>\n ok\n</button>", "css": "/* From Uiverse.io by barisdogansutcu - Tags: button, active, retro */\nbutton {\n font-family: inherit;\n border: none;\n outline: 1px dotted rgb(37, 37, 37);\n outline-offset: -4px;\n background: hsl(0deg 0% 75%);\n box-shadow: inset -1px -1px #292929, inset 1px 1px #fff, inset -2px -2px rgb(158, 158, 158), inset 2px 2px #ffffff;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 2px;\n padding: 5px 30px;\n}\n\nbutton:active {\n box-shadow: inset -1px -1px #fff, inset 1px 1px #292929, inset -2px -2px #ffffff, inset 2px 2px rgb(158, 158, 158);\n}", "file_path": "/mnt/persist/workspace/Buttons/barisdogansutcu_heavy-dragon-15.html" }, "uniapp": { "template": "<button></button>\n ok\n</button>", "script": "export default {\n name: 'GalaxyHeavyDragon15',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by barisdogansutcu - Tags: button, active, retro */\nbutton {\n font-family: inherit;\n border: none;\n outline: 2rpx dotted rgb(37, 37, 37);\n outline-offset: -8rpx;\n background: hsl(0deg 0% 75%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -2rpx -2rpx #292929, inset 2rpx 2rpx #fff, inset -4rpx -4rpx rgb(158, 158, 158), inset 4rpx 4rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-size: 28rpx;\n text-transform: uppercase;\n letter-spacing: 4rpx;\n padding: 10rpx 60rpx;\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -2rpx -2rpx #fff, inset 2rpx 2rpx #292929, inset -4rpx -4rpx #ffffff, inset 4rpx 4rpx rgb(158, 158, 158);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyHeavyDragon15" }, "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": 592, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.884Z", "updated_at": "2025-07-31T07:55:35.884Z" }