galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 4.31 kB
JSON
{
"id": "virus231_fat-mouse-84",
"name": "fat-mouse-84",
"category": "buttons",
"author": "virus231",
"description": "fat-mouse-84 组件 (button, gradients, hover effect, advanced, gradient, interactive)",
"tags": [
"button",
"gradients",
"hover effect",
"advanced",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">Button</button>",
"css": "/* From Uiverse.io by virus231 - Tags: button, gradients, hover effect, advanced */\n.button {\n background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)\n padding-box,\n linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;\n border-radius: 7px;\n border: 2px solid transparent;\n\n text-shadow: 1px 1px 1px #00000040;\n box-shadow: 8px 8px 20px 0px #45090059;\n\n padding: 10px 40px;\n line-height: 20px;\n cursor: pointer;\n transition: all 0.3s;\n color: white;\n font-size: 18px;\n font-weight: 500;\n}\n\n.button:hover {\n box-shadow: none;\n opacity: 80%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/virus231_fat-mouse-84.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyFatMouse84',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by virus231 - Tags: button, gradients, hover effect, advanced */\n.button {\n background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)\n padding-box,\n linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;\n border-radius: 14rpx;\n border: 4rpx solid transparent;\n\n /* #ifdef H5 */\n text-shadow: 2rpx 2rpx 2rpx #00000040;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 40rpx 0rpx #45090059;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n\n padding: 20rpx 80rpx;\n line-height: 40rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s;\n color: white;\n font-size: 36rpx;\n font-weight: 500;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n opacity: 80%;\n}\n\n",
"component_name": "GalaxyFatMouse84"
},
"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": 644,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.328Z",
"updated_at": "2025-07-31T07:55:38.328Z"
}