galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.88 kB
JSON
{
"id": "KlaujonRuamni_evil-sheep-56",
"name": "evil-sheep-56",
"category": "buttons",
"author": "KlaujonRuamni",
"description": "evil-sheep-56 组件 (button, html, css, click me, animation, gradient, interactive)",
"tags": [
"button",
"html",
"css",
"click me",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"beautiful-button\">\n Click me!\n</button>",
"css": "/* From Uiverse.io by KlaujonRuamni - Tags: button, html, css, click me */\n.beautiful-button {\n position: relative;\n display: inline-block;\n background: linear-gradient(to bottom, #1b1c3f, #4a4e91);\n /* Gradient background */\n color: white;\n /* White text color */\n font-family: \"Segoe UI\", sans-serif;\n /* Stylish and legible font */\n font-weight: bold;\n font-size: 18px;\n /* Large font size */\n border: none;\n /* No border */\n border-radius: 30px;\n /* Rounded corners */\n padding: 14px 28px;\n /* Large padding */\n cursor: pointer;\n /* Cursor on hover */\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);\n /* Subtle shadow */\n animation: button-shimmer 2s infinite;\n transition: all 0.3s ease-in-out;\n /* Smooth transition */\n}\n\n/* Hover animation */\n.beautiful-button:hover {\n background: linear-gradient(to bottom, #2c2f63, #5b67b7);\n animation: button-particles 1s ease-in-out infinite;\n transform: translateY(-2px);\n}\n\n/* Click animation */\n.beautiful-button:active {\n transform: scale(0.95);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);\n}\n\n/* Shimmer animation */\n@keyframes button-shimmer {\n 0% {\n background-position: left top;\n }\n\n 100% {\n background-position: right bottom;\n }\n}\n\n/* Particle animation */\n@keyframes button-particles {\n 0% {\n background-position: left top;\n }\n\n 100% {\n background-position: right bottom;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/KlaujonRuamni_evil-sheep-56.html"
},
"uniapp": {
"template": "<button class=\"beautiful-button\"></button>\n Click me!\n</button>",
"script": "export default {\n name: 'GalaxyEvilSheep56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by KlaujonRuamni - Tags: button, html, css, click me */\n.beautiful-button {\n position: relative;\n display: inline-block;\n background: linear-gradient(to bottom, #1b1c3f, #4a4e91);\n /* Gradient background */\n color: white;\n /* White text color */\n font-family: \"Segoe UI\", sans-serif;\n /* Stylish and legible font */\n font-weight: bold;\n font-size: 36rpx;\n /* Large font size */\n border: none;\n /* No border */\n border-radius: 60rpx;\n /* Rounded corners */\n padding: 28rpx 56rpx;\n /* Large padding */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* Cursor on hover */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* Subtle shadow */\n animation: button-shimmer 2s infinite;\n transition: all 0.3s ease-in-out;\n /* Smooth transition */\n}\n\n/* Hover animation */\n.beautiful-button:hover {\n background: linear-gradient(to bottom, #2c2f63, #5b67b7);\n animation: button-particles 1s ease-in-out infinite;\n transform: translateY(-4rpx);\n}\n\n/* Click animation */\n.beautiful-button:active {\n transform: scale(0.95);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n/* Shimmer animation */\n@keyframes button-shimmer {\n 0% {\n background-position: left top;\n }\n\n 100% {\n background-position: right bottom;\n }\n}\n\n/* Particle animation */\n@keyframes button-particles {\n 0% {\n background-position: left top;\n }\n\n 100% {\n background-position: right bottom;\n }\n}\n",
"component_name": "GalaxyEvilSheep56"
},
"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": 1426,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.762Z",
"updated_at": "2025-07-31T07:55:33.762Z"
}