galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 3.8 kB
JSON
{
"id": "Codecite_fluffy-bear-28",
"name": "fluffy-bear-28",
"category": "buttons",
"author": "Codecite",
"description": "fluffy-bear-28 组件 (button, hover, btn, hover effect, animation, gradient, interactive)",
"tags": [
"button",
"hover",
"btn",
"hover effect",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"btn\"><span>Button</span></button>",
"css": "/* From Uiverse.io by Codecite - Tags: button, hover, btn, hover effect */\n.btn {\n border: 0 solid;\n cursor: pointer;\n font-family: system-ui;\n font-size: 100%;\n background: linear-gradient(90deg, blue, red);\n border-radius: 999px;\n font-weight: 900;\n padding: 1.8rem 5rem;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn span {\n background: #1e293b;\n border-radius: 999px;\n color: #fff;\n display: grid;\n inset: 5px;\n place-items: center;\n position: absolute;\n transition: background 0.3s;\n}\n\n.btn:hover span {\n background: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Codecite_fluffy-bear-28.html"
},
"uniapp": {
"template": "<button class=\"btn\"></button><text>Button</text></button>",
"script": "export default {\n name: 'GalaxyFluffyBear28',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Codecite - Tags: button, hover, btn, hover effect */\n.btn {\n border: 0 solid;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-family: system-ui;\n font-size: 100%;\n background: linear-gradient(90deg, blue, red);\n border-radius: 1998rpx;\n font-weight: 900;\n padding: 1.8rem 5rem;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn span {\n background: #1e293b;\n border-radius: 1998rpx;\n color: #fff;\n display: grid;\n inset: 10rpx;\n place-items: center;\n position: absolute;\n transition: background 0.3s;\n}\n\n.btn:hover span {\n background: none;\n}\n",
"component_name": "GalaxyFluffyBear28"
},
"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": 611,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.944Z",
"updated_at": "2025-07-31T07:55:32.944Z"
}