UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 6.31 kB
{ "id": "Rodrypaladin_helpless-ladybug-43", "name": "helpless-ladybug-43", "category": "buttons", "author": "Rodrypaladin", "description": "helpless-ladybug-43 组件 (animation, pink, button, dark, shadow, border, color, box-shadow, gradient, interactive)", "tags": [ "animation", "pink", "button", "dark", "shadow", "border", "color", "box-shadow", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n <div class=\"button__int\">\n <span class=\"button__span\">Button</span>\n </div>\n</button>", "css": "/* From Uiverse.io by Rodrypaladin - Tags: animation, pink, button, dark, shadow, border, color, box-shadow */\n.button {\n background-image: linear-gradient(to right bottom, #e300ff, #ff00aa, #ff5956, #ffb900, #fffe00);\n border: none;\n font-size: 1.2em;\n border-radius: 0;\n padding: 4px;\n transition: border-top-left-radius 0.2s ease-in, \n border-top-right-radius 0.2s ease-in 0.15s, \n border-bottom-right-radius 0.2s ease-in 0.3s,\n border-bottom-left-radius 0.2s ease-in 0.45s, \n padding 0.2s ease-in;\n position: relative;\n}\n\n.button__int {\n background-color: #212121;\n color: white;\n border-radius: 0;\n padding: 10px 40px;\n transition: all 0.2s ease-in,\n border-top-left-radius 0.2s ease-in, \n border-top-right-radius 0.2s ease-in 0.15s, \n border-bottom-right-radius 0.2s ease-in 0.3s,\n border-bottom-left-radius 0.2s ease-in 0.45s,\n padding 0.2s ease-in;\n font-weight: 600;\n z-index: -1;\n box-shadow: -25px -10px 30px -5px rgba(225, 0, 255, 0.7),\n 25px -10px 30px -5px rgba(255, 0, 212, 0.7),\n 25px 10px 30px -5px rgba(255, 174, 0, 0.7),\n -25px 10px 30px -5px rgba(255, 230, 0, 0.7);\n}\n\n.button:active .button__int {\n padding: 10px 30px;\n}\n\n.button:hover {\n border-radius: 1.5em;\n}\n\n.button:hover .button__int {\n border-radius: 1.3em;\n}\n\n.button:hover .button__int {\n box-shadow: -15px -10px 30px -5px rgba(225, 0, 255, 0.8),\n 15px -10px 30px -5px rgba(255, 0, 212, 0.8),\n 15px 10px 30px -5px rgba(255, 174, 0, 0.8),\n -15px 10px 30px -5px rgba(255, 230, 0.8);\n}", "file_path": "/mnt/persist/workspace/Buttons/Rodrypaladin_helpless-ladybug-43.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"button__int\"></view>\n <text class=\"button__span\">Button</text>\n </div>\n</button>", "script": "export default {\n name: 'GalaxyHelplessLadybug43',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Rodrypaladin - Tags: animation, pink, button, dark, shadow, border, color, box-shadow */\n.button {\n background-image: linear-gradient(to right bottom, #e300ff, #ff00aa, #ff5956, #ffb900, #fffe00);\n border: none;\n font-size: 1.2em;\n border-radius: 0;\n padding: 8rpx;\n transition: border-top-left-radius 0.2s ease-in, \n border-top-right-radius 0.2s ease-in 0.15s, \n border-bottom-right-radius 0.2s ease-in 0.3s,\n border-bottom-left-radius 0.2s ease-in 0.45s, \n padding 0.2s ease-in;\n position: relative;\n}\n\n.button__int {\n background-color: #212121;\n color: white;\n border-radius: 0;\n padding: 20rpx 80rpx;\n transition: all 0.2s ease-in,\n border-top-left-radius 0.2s ease-in, \n border-top-right-radius 0.2s ease-in 0.15s, \n border-bottom-right-radius 0.2s ease-in 0.3s,\n border-bottom-left-radius 0.2s ease-in 0.45s,\n padding 0.2s ease-in;\n font-weight: 600;\n z-index: -1;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -50rpx -20rpx 60rpx -10rpx rgba(225, 0, 255, 0.7),\n 50rpx -20rpx 60rpx -10rpx rgba(255, 0, 212, 0.7),\n 50rpx 20rpx 60rpx -10rpx rgba(255, 174, 0, 0.7),\n -50rpx 20rpx 60rpx -10rpx rgba(255, 230, 0, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:active .button__int {\n padding: 20rpx 60rpx;\n}\n\n.button:hover {\n border-radius: 1.5em;\n}\n\n.button:hover .button__int {\n border-radius: 1.3em;\n}\n\n.button:hover .button__int {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -30rpx -20rpx 60rpx -10rpx rgba(225, 0, 255, 0.8),\n 30rpx -20rpx 60rpx -10rpx rgba(255, 0, 212, 0.8),\n 30rpx 20rpx 60rpx -10rpx rgba(255, 174, 0, 0.8),\n -30rpx 20rpx 60rpx -10rpx rgba(255, 230, 0.8);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxyHelplessLadybug43" }, "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": 1629, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.446Z", "updated_at": "2025-07-31T07:55:34.446Z" }