galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.39 kB
JSON
{
"id": "Coderlab05_honest-cougar-76",
"name": "honest-cougar-76",
"category": "buttons",
"author": "Coderlab05",
"description": "honest-cougar-76 组件 (button, #button, animation, gradient, interactive)",
"tags": [
"button",
"#button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\" role=\"button\">Hover Me</button>",
"css": "/* From Uiverse.io by Coderlab05 - Source: Coderlab05 - Tags: button, #button */\n.button {\n all: unset;\n width: 100px;\n height: 30px;\n font-size: 16px;\n background: transparent;\n border: none;\n position: relative;\n color: #f0f0f0;\n cursor: pointer;\n z-index: 1;\n padding: 10px 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n}\n\n.button::after,\n.button::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.button::before {\n transform: translate(0%, 0%);\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg,#ff0e5e,rgb(15, 159, 255));\n border-radius: 10px;\n}\n\n.button::after {\n transform: translate(10px, 10px);\n width: 35px;\n height: 35px;\n background: #ffffff15;\n backdrop-filter: blur(5px);\n -webkit-backdrop-filter: blur(5px);\n border-radius: 50px;\n}\n\n.button:hover::before {\n transform: translate(5%, 20%);\n width: 110%;\n height: 110%;\n}\n\n.button:hover::after {\n border-radius: 10px;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}\n\n.button:active::after {\n transition: 0s;\n transform: translate(0, 5%);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Coderlab05_honest-cougar-76.html"
},
"uniapp": {
"template": "<button class=\"button\" role=\"button\"></button>Hover Me</button>",
"script": "export default {\n name: 'GalaxyHonestCougar76',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Coderlab05 - Source: Coderlab05 - Tags: button, #button */\n.button {\n all: unset;\n width: 200rpx;\n height: 60rpx;\n font-size: 32rpx;\n background: transparent;\n border: none;\n position: relative;\n color: #f0f0f0;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n z-index: 1;\n padding: 20rpx 40rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n}\n\n.button::after,\n.button::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.button::before {\n transform: translate(0%, 0%);\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg,#ff0e5e,rgb(15, 159, 255));\n border-radius: 20rpx;\n}\n\n.button::after {\n transform: translate(20rpx, 20rpx);\n width: 70rpx;\n height: 70rpx;\n background: #ffffff15;\n backdrop-\n -webkit-backdrop-\n border-radius: 100rpx;\n}\n\n.button:hover::before {\n transform: translate(5%, 20%);\n width: 110%;\n height: 110%;\n}\n\n.button:hover::after {\n border-radius: 20rpx;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}\n\n.button:active::after {\n transition: 0s;\n transform: translate(0, 5%);\n}\n",
"component_name": "GalaxyHonestCougar76"
},
"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": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1316,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.952Z",
"updated_at": "2025-07-31T07:55:32.952Z"
}