galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.16 kB
JSON
{
"id": "ercnersoy_friendly-catfish-72",
"name": "friendly-catfish-72",
"category": "buttons",
"author": "ercnersoy",
"description": "friendly-catfish-72 组件 (button)",
"tags": [
"button"
],
"original": {
"html": "<button>\n <span class=\"TxtEffect\">BUTTON</span>\n</button>",
"css": "/* From Uiverse.io by ercnersoy - Tags: button */\nbutton {\n padding: 1em 2em;\n border-radius: 1em;\n border: 5px solid #ffc107;\n box-shadow: 0px 0px 0 rgb(227,165,0), 1px 1px 0 rgb(198,136,0), 2px 2px 0 rgb(170,108,0), 3px 3px 0 rgb(142,80,0), 4px 4px 3px rgba(0,0,0,0.63), 4px 4px 1px rgba(0,0,0,0.5), 0px 0px 3px rgba(0,0,0,.2);\n}\n\n.TxtEffect {\n letter-spacing: .2rem;\n font-size: 17px;\n color: #ffc107;\n font-family: \"Arial Black\", Gadget, sans-serif;\n text-shadow: 0px 0px 0 rgb(227,165,0), 1px 1px 0 rgb(198,136,0), 2px 2px 0 rgb(170,108,0), 3px 3px 0 rgb(142,80,0), 4px 4px 3px rgba(0,0,0,0.63), 4px 4px 1px rgba(0,0,0,0.5), 0px 0px 3px rgba(0,0,0,.2);\n}",
"file_path": "/mnt/persist/workspace/Buttons/ercnersoy_friendly-catfish-72.html"
},
"uniapp": {
"template": "<button></button>\n <text class=\"TxtEffect\">BUTTON</text>\n</button>",
"script": "export default {\n name: 'GalaxyFriendlyCatfish72',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by ercnersoy - Tags: button */\nbutton {\n padding: 1em 2em;\n border-radius: 1em;\n border: 10rpx solid #ffc107;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0 rgb(227,165,0), 2rpx 2rpx 0 rgb(198,136,0), 4rpx 4rpx 0 rgb(170,108,0), 6rpx 6rpx 0 rgb(142,80,0), 8rpx 8rpx 6rpx rgba(0,0,0,0.63), 8rpx 8rpx 2rpx rgba(0,0,0,0.5), 0rpx 0rpx 6rpx rgba(0,0,0,.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.TxtEffect {\n letter-spacing: .2rem;\n font-size: 34rpx;\n color: #ffc107;\n font-family: \"Arial Black\", Gadget, sans-serif;\n /* #ifdef H5 */\n text-shadow: 0rpx 0rpx 0 rgb(227,165,0), 2rpx 2rpx 0 rgb(198,136,0), 4rpx 4rpx 0 rgb(170,108,0), 6rpx 6rpx 0 rgb(142,80,0), 8rpx 8rpx 6rpx rgba(0,0,0,0.63), 8rpx 8rpx 2rpx rgba(0,0,0,0.5), 0rpx 0rpx 6rpx rgba(0,0,0,.2);\n /* #endif */\n}\n",
"component_name": "GalaxyFriendlyCatfish72"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 732,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.592Z",
"updated_at": "2025-07-31T07:55:36.592Z"
}