galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.12 kB
JSON
{
"id": "vinodjangid07_neat-seahorse-99",
"name": "neat-seahorse-99",
"category": "buttons",
"author": "vinodjangid07",
"description": "neat-seahorse-99 组件 (gradient, button, submit, hover effect, animation, interactive)",
"tags": [
"gradient",
"button",
"submit",
"hover effect",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"submitBtn\">\n Submit\n <svg fill=\"white\" viewBox=\"0 0 448 512\" height=\"1em\" class=\"arrow\"><path d=\"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z\"></path></svg>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, submit, hover effect */\n.submitBtn {\n width: 120px;\n height: 40px;\n border-radius: 30px;\n border: none;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n font-weight: 600;\n cursor: pointer;\n color: white;\n background: linear-gradient(to left,rgb(230, 35, 0),rgb(255, 174, 0));\n letter-spacing: 0.7px;\n}\n\n.submitBtn:hover .arrow {\n animation: slide-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-left {\n 0% {\n transform: translateX(-10px);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0px);\n opacity: 1;\n }\n}\n\n.submitBtn:active {\n transform: scale(0.97);\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_neat-seahorse-99.html"
},
"uniapp": {
"template": "<button class=\"submitBtn\"></button>\n Submit\n <view fill=\"white\" viewBox=\"0 0 448 512\" height=\"1em\" class=\"arrow\"><path d=\"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z\"></path></view>\n</button>",
"script": "export default {\n name: 'GalaxyNeatSeahorse99',\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, submit, hover effect */\n.submitBtn {\n width: 240rpx;\n height: 80rpx;\n border-radius: 60rpx;\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.13);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16rpx;\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: white;\n background: linear-gradient(to left,rgb(230, 35, 0),rgb(255, 174, 0));\n letter-spacing: 1.4rpx;\n}\n\n.submitBtn:hover .arrow {\n animation: slide-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-left {\n 0% {\n transform: translateX(-20rpx);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0rpx);\n opacity: 1;\n }\n}\n\n.submitBtn:active {\n transform: scale(0.97);\n}\n",
"component_name": "GalaxyNeatSeahorse99"
},
"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": 1125,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.180Z",
"updated_at": "2025-07-31T07:55:38.180Z"
}