galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.19 kB
JSON
{
"id": "WhiteNervosa_popular-ladybug-27",
"name": "popular-ladybug-27",
"category": "buttons",
"author": "WhiteNervosa",
"description": "popular-ladybug-27 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button>\n Hover Over\n</button>",
"css": "/* From Uiverse.io by WhiteNervosa - Tags: button */\nbutton {\n font-size: 18px;\n color: #e1e1e1;\n font-family: inherit;\n font-weight: 800;\n cursor: pointer;\n position: relative;\n border: none;\n background: none;\n text-transform: uppercase;\n transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);\n transition-duration: 400ms;\n transition-property: color;\n}\n\nbutton:focus,\nbutton:hover {\n color: #fff;\n}\n\nbutton:focus:after,\nbutton:hover:after {\n width: 100%;\n left: 0%;\n}\n\nbutton:after {\n content: \"\";\n pointer-events: none;\n bottom: -2px;\n left: 50%;\n position: absolute;\n width: 0%;\n height: 2px;\n background-color: #fff;\n transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);\n transition-duration: 400ms;\n transition-property: width, left;\n}",
"file_path": "/mnt/persist/workspace/Buttons/WhiteNervosa_popular-ladybug-27.html"
},
"uniapp": {
"template": "<button></button>\n Hover Over\n</button>",
"script": "export default {\n name: 'GalaxyPopularLadybug27',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by WhiteNervosa - Tags: button */\nbutton {\n font-size: 36rpx;\n color: #e1e1e1;\n font-family: inherit;\n font-weight: 800;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n border: none;\n background: none;\n text-transform: uppercase;\n transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);\n transition-duration: 400ms;\n transition-property: color;\n}\n\nbutton:focus,\nbutton:hover {\n color: #fff;\n}\n\nbutton:focus:after,\nbutton:hover:after {\n width: 100%;\n left: 0%;\n}\n\nbutton:after {\n content: \"\";\n pointer-events: none;\n bottom: -4rpx;\n left: 50%;\n position: absolute;\n width: 0%;\n height: 4rpx;\n background-color: #fff;\n transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);\n transition-duration: 400ms;\n transition-property: width, left;\n}\n",
"component_name": "GalaxyPopularLadybug27"
},
"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": 821,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.146Z",
"updated_at": "2025-07-31T07:55:35.146Z"
}