galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 6.07 kB
JSON
{
"id": "satyamchaudharydev_rude-wolverine-24",
"name": "rude-wolverine-24",
"category": "buttons",
"author": "satyamchaudharydev",
"description": "rude-wolverine-24 组件 (simple, animation, button, text animation, gradient, interactive)",
"tags": [
"simple",
"animation",
"button",
"text animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Apply Now\n <svg fill=\"currentColor\" viewBox=\"0 0 24 24\" class=\"icon\">\n <path clip-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm4.28 10.28a.75.75 0 000-1.06l-3-3a.75.75 0 10-1.06 1.06l1.72 1.72H8.25a.75.75 0 000 1.5h5.69l-1.72 1.72a.75.75 0 101.06 1.06l3-3z\" fill-rule=\"evenodd\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by satyamchaudharydev - Tags: simple, animation, button, text animation */\n.button {\n position: relative;\n transition: all 0.3s ease-in-out;\n box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);\n padding-block: 0.5rem;\n padding-inline: 1.25rem;\n background-color: rgb(0 107 179);\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffff;\n gap: 10px;\n font-weight: bold;\n border: 3px solid #ffffff4d;\n outline: none;\n overflow: hidden;\n font-size: 15px;\n}\n\n.icon {\n width: 24px;\n height: 24px;\n transition: all 0.3s ease-in-out;\n}\n\n.button:hover {\n transform: scale(1.05);\n border-color: #fff9;\n}\n\n.button:hover .icon {\n transform: translate(4px);\n}\n\n.button:hover::before {\n animation: shine 1.5s ease-out infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 100px;\n height: 100%;\n background-image: linear-gradient(\n 120deg,\n rgba(255, 255, 255, 0) 30%,\n rgba(255, 255, 255, 0.8),\n rgba(255, 255, 255, 0) 70%\n );\n top: 0;\n left: -100px;\n opacity: 0.6;\n}\n\n@keyframes shine {\n 0% {\n left: -100px;\n }\n\n 60% {\n left: 100%;\n }\n\n to {\n left: 100%;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/satyamchaudharydev_rude-wolverine-24.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Apply Now\n <view fill=\"currentColor\" viewBox=\"0 0 24 24\" class=\"icon\"></view>\n <path clip-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm4.28 10.28a.75.75 0 000-1.06l-3-3a.75.75 0 10-1.06 1.06l1.72 1.72H8.25a.75.75 0 000 1.5h5.69l-1.72 1.72a.75.75 0 101.06 1.06l3-3z\" fill-rule=\"evenodd\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyRudeWolverine24',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by satyamchaudharydev - Tags: simple, animation, button, text animation */\n.button {\n position: relative;\n transition: all 0.3s ease-in-out;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 40rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n padding-block: 0.5rem;\n padding-inline: 1.25rem;\n background-color: rgb(0 107 179);\n border-radius: 19998rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffff;\n gap: 20rpx;\n font-weight: bold;\n border: 6rpx solid #ffffff4d;\n outline: none;\n overflow: hidden;\n font-size: 30rpx;\n}\n\n.icon {\n width: 48rpx;\n height: 48rpx;\n transition: all 0.3s ease-in-out;\n}\n\n.button:hover {\n transform: scale(1.05);\n border-color: #fff9;\n}\n\n.button:hover .icon {\n transform: translate(8rpx);\n}\n\n.button:hover::before {\n animation: shine 1.5s ease-out infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 200rpx;\n height: 100%;\n background-image: linear-gradient(\n 120deg,\n rgba(255, 255, 255, 0) 30%,\n rgba(255, 255, 255, 0.8),\n rgba(255, 255, 255, 0) 70%\n );\n top: 0;\n left: -200rpx;\n opacity: 0.6;\n}\n\n@keyframes shine {\n 0% {\n left: -200rpx;\n }\n\n 60% {\n left: 100%;\n }\n\n to {\n left: 100%;\n }\n}\n\n",
"component_name": "GalaxyRudeWolverine24"
},
"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": 1599,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.791Z",
"updated_at": "2025-07-31T07:55:37.791Z"
}