galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 4.42 kB
JSON
{
"id": "NAKAMOZ_cowardly-vampirebat-40",
"name": "cowardly-vampirebat-40",
"category": "buttons",
"author": "NAKAMOZ",
"description": "cowardly-vampirebat-40 组件 (button, interactive)",
"tags": [
"button",
"interactive"
],
"original": {
"html": "<button>\n Hover Me\n</button>",
"css": "/* From Uiverse.io by NAKAMOZ - Tags: button */\nbutton {\n cursor: pointer;\n background-color: transparent;\n color: white;\n border: none;\n font-size: 17px;\n position: relative;\n z-index: 3;\n transition: 0.5s;\n -webkit-transition: 0.5s;\n -moz-transition: 0.5s;\n -ms-transition: 0.5s;\n -o-transition: 0.5s;\n}\n\nbutton::before {\n content: \"\";\n border: 3px solid white;\n position: absolute;\n left: -25px;\n bottom: 0;\n display: block;\n width: 10px;\n height: 10px;\n border-radius: 60px;\n -webkit-border-radius: 60px;\n -moz-border-radius: 60px;\n -ms-border-radius: 60px;\n -o-border-radius: 60px;\n transition: 0.5s;\n -webkit-transition: 0.5s;\n -moz-transition: 0.5s;\n -ms-transition: 0.5s;\n -o-transition: 0.5s;\n}\n\nbutton:hover::before {\n left: -25px;\n bottom: -17.5px;\n width: 100%;\n padding: 20px;\n background-color: white;\n z-index: -1;\n}\n\nbutton:hover {\n color: #282828;\n}",
"file_path": "/mnt/persist/workspace/Buttons/NAKAMOZ_cowardly-vampirebat-40.html"
},
"uniapp": {
"template": "<button></button>\n Hover Me\n</button>",
"script": "export default {\n name: 'GalaxyCowardlyVampirebat40',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by NAKAMOZ - Tags: button */\nbutton {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background-color: transparent;\n color: white;\n border: none;\n font-size: 34rpx;\n position: relative;\n z-index: 3;\n transition: 0.5s;\n -webkit-transition: 0.5s;\n -moz-transition: 0.5s;\n -ms-transition: 0.5s;\n -o-transition: 0.5s;\n}\n\nbutton::before {\n content: \"\";\n border: 6rpx solid white;\n position: absolute;\n left: -50rpx;\n bottom: 0;\n display: block;\n width: 20rpx;\n height: 20rpx;\n border-radius: 120rpx;\n -webkit-border-radius: 120rpx;\n -moz-border-radius: 120rpx;\n -ms-border-radius: 120rpx;\n -o-border-radius: 120rpx;\n transition: 0.5s;\n -webkit-transition: 0.5s;\n -moz-transition: 0.5s;\n -ms-transition: 0.5s;\n -o-transition: 0.5s;\n}\n\nbutton:hover::before {\n left: -50rpx;\n bottom: -35rpx;\n width: 100%;\n padding: 40rpx;\n background-color: white;\n z-index: -1;\n}\n\nbutton:hover {\n color: #282828;\n}\n\n",
"component_name": "GalaxyCowardlyVampirebat40"
},
"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": "low",
"bundle_size": 937,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.095Z",
"updated_at": "2025-07-31T07:55:34.095Z"
}