galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 5.2 kB
JSON
{
"id": "Remon125_empty-squid-90",
"name": "empty-squid-90",
"category": "buttons",
"author": "Remon125",
"description": "empty-squid-90 组件 (#ColorfulButton, Button design, animation, interactive)",
"tags": [
"#ColorfulButton",
"Button design",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"btn-1\">\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n Button\n </button>",
"css": "/* From Uiverse.io by Remon125 - Tags: #ColorfulButton, Button design */\n/* Start Button 1 */\nbutton {\n padding: 15px 60px;\n background: transparent;\n border: 2px solid #edff00;\n font-size: 15px;\n font-weight: bold;\n color: #ffffff;\n border-radius: 6px;\n cursor: pointer;\n position: relative;\n display: flex;\n overflow: hidden;\n transition: all 0.5s;\n text-transform: uppercase;\n}\n\nbutton:hover {\n color: #0c071e;\n}\n\nbutton span {\n transition: all 0.5s;\n z-index: -1;\n}\n\nbutton span:nth-child(1), \nbutton span:nth-child(2), \nbutton span:nth-child(3), \nbutton span:nth-child(4) {\n position: absolute;\n width: 100%;\n height: 15px;\n background-color: #edff00\n}\n\nbutton span:nth-child(1) {\n top: -100%;\n left: 0%;\n right: 0;\n}\n\nbutton:hover span:nth-child(1) {\n top: 0%;\n}\n\nbutton span:nth-child(2) {\n top: 10px;\n right: 100%;\n}\n\nbutton:hover span:nth-child(2) {\n right: 0;\n}\n\nbutton span:nth-child(3) {\n top: 20px;\n left: 100%;\n right: 0;\n}\n\nbutton:hover span:nth-child(3) {\n left: 0;\n}\n\nbutton span:nth-child(4) {\n bottom: -100%;\n left: 0;\n}\n\nbutton:hover span:nth-child(4) {\n bottom: 0;\n}\n\n/* End Button 1 */",
"file_path": "/mnt/persist/workspace/Buttons/Remon125_empty-squid-90.html"
},
"uniapp": {
"template": "<button class=\"btn-1\"></button>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n Button\n </button>",
"script": "export default {\n name: 'GalaxyEmptySquid90',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Remon125 - Tags: #ColorfulButton, Button design */\n/* Start Button 1 */\nbutton {\n padding: 30rpx 120rpx;\n background: transparent;\n border: 4rpx solid #edff00;\n font-size: 30rpx;\n font-weight: bold;\n color: #ffffff;\n border-radius: 12rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n display: flex;\n overflow: hidden;\n transition: all 0.5s;\n text-transform: uppercase;\n}\n\nbutton:hover {\n color: #0c071e;\n}\n\nbutton span {\n transition: all 0.5s;\n z-index: -1;\n}\n\nbutton span:nth-child(1), \nbutton span:nth-child(2), \nbutton span:nth-child(3), \nbutton span:nth-child(4) {\n position: absolute;\n width: 100%;\n height: 30rpx;\n background-color: #edff00\n}\n\nbutton span:nth-child(1) {\n top: -100%;\n left: 0%;\n right: 0;\n}\n\nbutton:hover span:nth-child(1) {\n top: 0%;\n}\n\nbutton span:nth-child(2) {\n top: 20rpx;\n right: 100%;\n}\n\nbutton:hover span:nth-child(2) {\n right: 0;\n}\n\nbutton span:nth-child(3) {\n top: 40rpx;\n left: 100%;\n right: 0;\n}\n\nbutton:hover span:nth-child(3) {\n left: 0;\n}\n\nbutton span:nth-child(4) {\n bottom: -100%;\n left: 0;\n}\n\nbutton:hover span:nth-child(4) {\n bottom: 0;\n}\n\n/* End Button 1 */\n",
"component_name": "GalaxyEmptySquid90"
},
"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": 1274,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.428Z",
"updated_at": "2025-07-31T07:55:34.428Z"
}