galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.16 kB
JSON
{
"id": "portseif_popular-octopus-83",
"name": "popular-octopus-83",
"category": "buttons",
"author": "portseif",
"description": "popular-octopus-83 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button>\n Button\n</button>",
"css": "/* From Uiverse.io by portseif - Tags: button */\nbutton {\n align-items: center;\n background-color: transparent;\n color: #fff;\n cursor: pointer;\n display: flex;\n font-family: ui-sans-serif,system-ui,-apple-system,system-ui,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 700;\n line-height: 1.5;\n text-decoration: none;\n text-transform: uppercase;\n outline: 0;\n border: 0;\n padding: 1rem;\n}\n\nbutton:before {\n background-color: #fff;\n content: \"\";\n display: inline-block;\n height: 1px;\n margin-right: 10px;\n transition: all .42s cubic-bezier(.25,.8,.25,1);\n width: 0;\n}\n\nbutton:hover:before {\n background-color: #fff;\n width: 3rem;\n}",
"file_path": "/mnt/persist/workspace/Buttons/portseif_popular-octopus-83.html"
},
"uniapp": {
"template": "<button></button>\n Button\n</button>",
"script": "export default {\n name: 'GalaxyPopularOctopus83',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by portseif - Tags: button */\nbutton {\n align-items: center;\n background-color: transparent;\n color: #fff;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n font-family: ui-sans-serif,system-ui,-apple-system,system-ui,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 700;\n line-height: 1.5;\n text-decoration: none;\n text-transform: uppercase;\n outline: 0;\n border: 0;\n padding: 1rem;\n}\n\nbutton:before {\n background-color: #fff;\n content: \"\";\n display: inline-block;\n height: 2rpx;\n margin-right: 20rpx;\n transition: all .42s cubic-bezier(.25,.8,.25,1);\n width: 0;\n}\n\nbutton:hover:before {\n background-color: #fff;\n width: 3rem;\n}\n",
"component_name": "GalaxyPopularOctopus83"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 807,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.585Z",
"updated_at": "2025-07-31T07:55:37.585Z"
}