galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 4.5 kB
JSON
{
"id": "satyamchaudharydev_great-seahorse-44",
"name": "great-seahorse-44",
"category": "buttons",
"author": "satyamchaudharydev",
"description": "great-seahorse-44 组件 (icon, button, 3d button, gradient, interactive)",
"tags": [
"icon",
"button",
"3d button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg viewBox=\"0 0 36 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z\"></path>\n </svg>\n Unlock Pro\n</button>",
"css": "/* From Uiverse.io by satyamchaudharydev - Tags: icon, button, 3d button */\n/* inspired from this svgbackgrounds.com/ */\n.button {\n width: fit-content;\n display: flex;\n padding: 0.8em 1.1em;\n gap: 0.4rem;\n border: none;\n font-weight: bold;\n border-radius: 30px;\n text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);\n background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;\n background-size: 300%;\n background-position: left center;\n transition: background .3s ease;\n color: #fff;\n}\n\n.button:hover {\n background-size: 320%;\n background-position: right center;\n}\n\n.button:hover svg {\n fill: #fff;\n}\n\n.button svg {\n width: 23px;\n fill: #f09f33;\n transition: .3s ease;\n}",
"file_path": "/mnt/persist/workspace/Buttons/satyamchaudharydev_great-seahorse-44.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view viewBox=\"0 0 36 24\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z\"></path>\n </svg>\n Unlock Pro\n</button>",
"script": "export default {\n name: 'GalaxyGreatSeahorse44',\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: icon, button, 3d button */\n/* inspired from this svgbackgrounds.com/ */\n.button {\n width: fit-content;\n display: flex;\n padding: 0.8em 1.1em;\n gap: 0.4rem;\n border: none;\n font-weight: bold;\n border-radius: 60rpx;\n /* #ifdef H5 */\n text-shadow: 4rpx 4rpx 6rpx rgb(136 0 136 / 50%);\n /* #endif */\n background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;\n background-size: 300%;\n background-position: left center;\n transition: background .3s ease;\n color: #fff;\n}\n\n.button:hover {\n background-size: 320%;\n background-position: right center;\n}\n\n.button:hover svg {\n fill: #fff;\n}\n\n.button svg {\n width: 46rpx;\n fill: #f09f33;\n transition: .3s ease;\n}\n",
"component_name": "GalaxyGreatSeahorse44"
},
"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": [
"不支持 text-shadow 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 text-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 942,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.758Z",
"updated_at": "2025-07-31T07:55:37.758Z"
}