UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.9 kB
{ "id": "AqFox_pretty-lionfish-11", "name": "pretty-lionfish-11", "category": "buttons", "author": "AqFox", "description": "pretty-lionfish-11 组件 (skeuomorphism, blue, button, realistic, gradient, interactive)", "tags": [ "skeuomorphism", "blue", "button", "realistic", "gradient", "interactive" ], "original": { "html": "<button class=\"custom-btn btn-2\">Read More</button>", "css": "/* From Uiverse.io by AqFox - Tags: skeuomorphism, blue, button, realistic */\n.custom-btn {\n width: 130px;\n height: 40px;\n color: #fff;\n border-radius: 5px;\n padding: 10px 25px;\n font-family: 'Lato', sans-serif;\n font-weight: 500;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n position: relative;\n display: inline-block;\n box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5),\n 7px 7px 20px 0px rgba(0,0,0,.1),\n 4px 4px 5px 0px rgba(0,0,0,.1);\n outline: none;\n font-size: 15px;\n}\n\n.btn-2 {\n background: #004dff;\n background: linear-gradient(0deg, #004dff 0%, #004dff 100%);\n border: none;\n}\n\n.btn-2:before {\n height: 0%;\n width: 2px;\n}\n\n.btn-2:hover {\n box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),\n -4px -4px 6px 0 rgba(116, 125, 136, .5), \n inset -4px -4px 6px 0 rgba(255,255,255,.2),\n inset 4px 4px 6px 0 rgba(0, 0, 0, .4);\n}", "file_path": "/mnt/persist/workspace/Buttons/AqFox_pretty-lionfish-11.html" }, "uniapp": { "template": "<button class=\"custom-btn btn-2\"></button>Read More</button>", "script": "export default {\n name: 'GalaxyPrettyLionfish11',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by AqFox - Tags: skeuomorphism, blue, button, realistic */\n.custom-btn {\n width: 260rpx;\n height: 80rpx;\n color: #fff;\n border-radius: 10rpx;\n padding: 20rpx 50rpx;\n font-family: 'Lato', sans-serif;\n font-weight: 500;\n background: transparent;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s ease;\n position: relative;\n display: inline-block;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 4rpx 4rpx 4rpx 0rpx rgba(255,255,255,.5),\n 14rpx 14rpx 40rpx 0rpx rgba(0,0,0,.1),\n 8rpx 8rpx 10rpx 0rpx rgba(0,0,0,.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n outline: none;\n font-size: 30rpx;\n}\n\n.btn-2 {\n background: #004dff;\n background: linear-gradient(0deg, #004dff 0%, #004dff 100%);\n border: none;\n}\n\n.btn-2:before {\n height: 0%;\n width: 4rpx;\n}\n\n.btn-2:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 12rpx 0 rgba(255,255,255,.5),\n -8rpx -8rpx 12rpx 0 rgba(116, 125, 136, .5), \n inset -8rpx -8rpx 12rpx 0 rgba(255,255,255,.2),\n inset 8rpx 8rpx 12rpx 0 rgba(0, 0, 0, .4);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxyPrettyLionfish11" }, "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": 958, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.647Z", "updated_at": "2025-07-31T07:55:32.647Z" }