UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.88 kB
{ "id": "vinodjangid07_afraid-falcon-17", "name": "afraid-falcon-17", "category": "buttons", "author": "vinodjangid07", "description": "afraid-falcon-17 组件 (animation, black, button, arrow, hover effect, back to top, scroll to top, interactive)", "tags": [ "animation", "black", "button", "arrow", "hover effect", "back to top", "scroll to top", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg class=\"svgIcon\" viewBox=\"0 0 384 512\">\n <path d=\"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\"></path>\n </svg>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: animation, black, button, arrow, hover effect, back to top, scroll to top */\n.button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-color: rgb(20, 20, 20);\n border: none;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);\n cursor: pointer;\n transition-duration: 0.3s;\n overflow: hidden;\n position: relative;\n}\n\n.svgIcon {\n width: 12px;\n transition-duration: 0.3s;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.button:hover {\n width: 140px;\n border-radius: 50px;\n transition-duration: 0.3s;\n background-color: rgb(181, 160, 255);\n align-items: center;\n}\n\n.button:hover .svgIcon {\n /* width: 20px; */\n transition-duration: 0.3s;\n transform: translateY(-200%);\n}\n\n.button::before {\n position: absolute;\n bottom: -20px;\n content: \"Back to Top\";\n color: white;\n /* transition-duration: .3s; */\n font-size: 0px;\n}\n\n.button:hover::before {\n font-size: 13px;\n opacity: 1;\n bottom: unset;\n /* transform: translateY(-30px); */\n transition-duration: 0.3s;\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_afraid-falcon-17.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"svgIcon\" viewBox=\"0 0 384 512\"></view>\n <path d=\"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\"></path>\n </svg>\n</button>", "script": "export default {\n name: 'GalaxyAfraidFalcon17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: animation, black, button, arrow, hover effect, back to top, scroll to top */\n.button {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50%;\n background-color: rgb(20, 20, 20);\n border: none;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0rpx 8rpx rgba(180, 160, 255, 0.253);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition-duration: 0.3s;\n overflow: hidden;\n position: relative;\n}\n\n.svgIcon {\n width: 24rpx;\n transition-duration: 0.3s;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.button:hover {\n width: 280rpx;\n border-radius: 100rpx;\n transition-duration: 0.3s;\n background-color: rgb(181, 160, 255);\n align-items: center;\n}\n\n.button:hover .svgIcon {\n /* width: 40rpx; */\n transition-duration: 0.3s;\n transform: translateY(-200%);\n}\n\n.button::before {\n position: absolute;\n bottom: -40rpx;\n content: \"Back to Top\";\n color: white;\n /* transition-duration: .3s; */\n font-size: 0rpx;\n}\n\n.button:hover::before {\n font-size: 26rpx;\n opacity: 1;\n bottom: unset;\n /* transform: translateY(-60rpx); */\n transition-duration: 0.3s;\n}\n\n", "component_name": "GalaxyAfraidFalcon17" }, "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": "medium", "bundle_size": 1459, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.016Z", "updated_at": "2025-07-31T07:55:38.016Z" }