UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.55 kB
{ "id": "SteveBloX_light-owl-27", "name": "light-owl-27", "category": "buttons", "author": "SteveBloX", "description": "light-owl-27 组件 (white, black, button, shadow, modern, b&w)", "tags": [ "white", "black", "button", "shadow", "modern", "b&w" ], "original": { "html": "<button class=\"button\">Click me !</button>", "css": "/* From Uiverse.io by SteveBloX - Tags: white, black, button, shadow, modern, b&w */\n.button {\n border-radius: 8px;\n height: 40px;\n border: none;\n background: #222;\n color: white;\n padding: 15px;\n box-shadow: 0 1px 1px -1px #00000026, 0 2px 1px -1px #00000025,\n 0 3px 3px -2px #00000023, 0 7px 6px -2px #00000020,\n 0 13px 13px -3px #0000001b, 0 30px 30px -4px #0000000d;\n font-weight: bold;\n font-family: Montserrat;\n cursor: pointer;\n display: flex;\n align-items: center;\n transition: 150ms ease-in-out;\n}\n\n.button:active {\n scale: 0.95;\n background: #fff;\n color: black;\n box-shadow: rgba(0, 0, 0, 0.26) 0px 1px 1px -1px,\n rgba(0, 0, 0, 0.24) 0px 2px 3px -2px, rgba(0, 0, 0, 0.19) 0px 5px 9px -3px,\n rgba(0, 0, 0, 0.03) 0px 16px 29px -4.5px;\n}", "file_path": "/mnt/persist/workspace/Buttons/SteveBloX_light-owl-27.html" }, "uniapp": { "template": "<button class=\"button\"></button>Click me !</button>", "script": "export default {\n name: 'GalaxyLightOwl27',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by SteveBloX - Tags: white, black, button, shadow, modern, b&w */\n.button {\n border-radius: 16rpx;\n height: 80rpx;\n border: none;\n background: #222;\n color: white;\n padding: 30rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 2rpx -2rpx #00000026, 0 4rpx 2rpx -2rpx #00000025,\n 0 6rpx 6rpx -4rpx #00000023, 0 14rpx 12rpx -4rpx #00000020,\n 0 26rpx 26rpx -6rpx #0000001b, 0 60rpx 60rpx -8rpx #0000000d;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-weight: bold;\n font-family: Montserrat;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n align-items: center;\n transition: 150ms ease-in-out;\n}\n\n.button:active {\n scale: 0.95;\n background: #fff;\n color: black;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.26) 0rpx 2rpx 2rpx -2rpx,\n rgba(0, 0, 0, 0.24) 0rpx 4rpx 6rpx -4rpx, rgba(0, 0, 0, 0.19) 0rpx 10rpx 18rpx -6rpx,\n rgba(0, 0, 0, 0.03) 0rpx 32rpx 58rpx -9rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxyLightOwl27" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 827, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.904Z", "updated_at": "2025-07-31T07:55:34.904Z" }