galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.31 kB
JSON
{
"id": "vinodjangid07_calm-cougar-24",
"name": "calm-cougar-24",
"category": "buttons",
"author": "vinodjangid07",
"description": "calm-cougar-24 组件 (gradient, button, hover, animation, interactive)",
"tags": [
"gradient",
"button",
"hover",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n Join now\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover */\n.Btn {\n width: 150px;\n height: 50px;\n border: none;\n color: white;\n font-weight: 600;\n font-size: 13.5px;\n position: relative;\n overflow: hidden;\n border-radius: 40px;\n cursor: pointer;\n background: linear-gradient(-45deg, #6bc5f8, #cf59e6, #6bc5f8, #cf59e6);\n background-size: 1000% 1000%;\n animation: gradient 5s ease infinite;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.247);\n transition-duration: .1s;\n}\n/* Button's gradient animation */\n@keyframes gradient {\n 0% {\n background-position: 0 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0 50%;\n }\n}\n/* Effect on Hover*/\n.Btn::before {\n content: \"\";\n position: absolute;\n width: 50px;\n height: 100%;\n left: -70px;\n top: 0;\n background-color: rgba(214, 199, 255, 0.329);\n filter: blur(10px);\n transition-duration: .3s;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n}\n\n.Btn:hover::before {\n transform: translateX(250px);\n transition-duration: .3s;\n}\n/* Effect on click */\n.Btn:active {\n transform: translate(2px,2px);\n transition-duration: .1s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_calm-cougar-24.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n Join now\n</button>",
"script": "export default {\n name: 'GalaxyCalmCougar24',\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: gradient, button, hover */\n.Btn {\n width: 300rpx;\n height: 100rpx;\n border: none;\n color: white;\n font-weight: 600;\n font-size: 27rpx;\n position: relative;\n overflow: hidden;\n border-radius: 80rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background: linear-gradient(-45deg, #6bc5f8, #cf59e6, #6bc5f8, #cf59e6);\n background-size: 1000% 1000%;\n animation: gradient 5s ease infinite;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.247);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-duration: .1s;\n}\n/* Button's gradient animation */\n@keyframes gradient {\n 0% {\n background-position: 0 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0 50%;\n }\n}\n/* Effect on Hover*/\n.Btn::before {\n content: \"\";\n position: absolute;\n width: 100rpx;\n height: 100%;\n left: -140rpx;\n top: 0;\n background-color: rgba(214, 199, 255, 0.329);\n \n transition-duration: .3s;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n}\n\n.Btn:hover::before {\n transform: translateX(500rpx);\n transition-duration: .3s;\n}\n/* Effect on click */\n.Btn:active {\n transform: translate(4rpx,4rpx);\n transition-duration: .1s;\n}\n",
"component_name": "GalaxyCalmCougar24"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1211,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.064Z",
"updated_at": "2025-07-31T07:55:38.064Z"
}