galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 4.26 kB
JSON
{
"id": "JakkarinKr_tough-goat-61",
"name": "tough-goat-61",
"category": "buttons",
"author": "JakkarinKr",
"description": "tough-goat-61 组件 (button, animation, gradient, interactive)",
"tags": [
"button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button>\n HOVER ME\n</button>",
"css": "/* From Uiverse.io by JakkarinKr - Tags: button */\nbutton {\n width: 200px;\n height: 70px;\n border-radius: 12px;\n background-image: linear-gradient(to right, rgb(135, 108, 197),rgb(45, 241, 255));\n border: none;\n cursor: pointer;\n color: aliceblue;\n font-weight: bold;\n font-size: 1rem;\n transition: all 0.3s ease;\n box-shadow: rgba(198, 67, 238, 0.4) -5px 5px, rgba(185, 46, 240, 0.3) -10px 10px;\n}\n\nbutton:hover {\n transform: translate(10px, -15px);\n box-shadow: rgba(198, 67, 238, 0.4) -5px 5px, rgba(185, 46, 240, 0.3) -10px 10px, rgba(198, 67, 238, 0.2) -15px 15px, rgba(198, 67, 238, 0.1) -20px 20px, rgba(198, 67, 238, 0.05) -25px 25px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/JakkarinKr_tough-goat-61.html"
},
"uniapp": {
"template": "<button></button>\n HOVER ME\n</button>",
"script": "export default {\n name: 'GalaxyToughGoat61',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JakkarinKr - Tags: button */\nbutton {\n width: 400rpx;\n height: 140rpx;\n border-radius: 24rpx;\n background-image: linear-gradient(to right, rgb(135, 108, 197),rgb(45, 241, 255));\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: aliceblue;\n font-weight: bold;\n font-size: 1rem;\n transition: all 0.3s ease;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(198, 67, 238, 0.4) -10rpx 10rpx, rgba(185, 46, 240, 0.3) -20rpx 20rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:hover {\n transform: translate(20rpx, -30rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(198, 67, 238, 0.4) -10rpx 10rpx, rgba(185, 46, 240, 0.3) -20rpx 20rpx, rgba(198, 67, 238, 0.2) -30rpx 30rpx, rgba(198, 67, 238, 0.1) -40rpx 40rpx, rgba(198, 67, 238, 0.05) -50rpx 50rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxyToughGoat61"
},
"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": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 691,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.380Z",
"updated_at": "2025-07-31T07:55:33.380Z"
}