galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 4.59 kB
JSON
{
"id": "pranav0s_modern-firefox-53",
"name": "modern-firefox-53",
"category": "buttons",
"author": "pranav0s",
"description": "modern-firefox-53 组件 (button, gradient, interactive)",
"tags": [
"button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">Button</button>",
"css": "/* From Uiverse.io by pranav0s - Tags: button */\n.button {\n width: fit-content;\n display: flex;\n padding: 1.2em 1rem;\n cursor: pointer;\n gap: 0.4rem;\n font-weight: bold;\n border-radius: 30px;\n text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);\n background: linear-gradient(\n 15deg,\n #880088,\n #aa2068,\n #cc3f47,\n #de6f3d,\n #f09f33,\n #de6f3d,\n #cc3f47,\n #aa2068,\n #880088\n )\n no-repeat;\n background-size: 300%;\n color: #fff;\n border: none;\n background-position: left center;\n box-shadow: 0 30px 10px -20px rgba(0, 0, 0, 0.2);\n transition: background 0.3s ease;\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: 0.3s ease;\n}",
"file_path": "/mnt/persist/workspace/Buttons/pranav0s_modern-firefox-53.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyModernFirefox53',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by pranav0s - Tags: button */\n.button {\n width: fit-content;\n display: flex;\n padding: 1.2em 1rem;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n gap: 0.4rem;\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(\n 15deg,\n #880088,\n #aa2068,\n #cc3f47,\n #de6f3d,\n #f09f33,\n #de6f3d,\n #cc3f47,\n #aa2068,\n #880088\n )\n no-repeat;\n background-size: 300%;\n color: #fff;\n border: none;\n background-position: left center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 60rpx 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 transition: background 0.3s ease;\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: 0.3s ease;\n}\n\n",
"component_name": "GalaxyModernFirefox53"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 869,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.591Z",
"updated_at": "2025-07-31T07:55:37.591Z"
}