galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 4.26 kB
JSON
{
"id": "mi-series_wicked-sloth-7",
"name": "wicked-sloth-7",
"category": "buttons",
"author": "mi-series",
"description": "wicked-sloth-7 组件 (simple, material design, 3d, green, minimalist, button, click, btn, animation)",
"tags": [
"simple",
"material design",
"3d",
"green",
"minimalist",
"button",
"click",
"btn",
"animation"
],
"original": {
"html": "<button class=\"button\">\n <span>Submit</span>\n</button>",
"css": "/* From Uiverse.io by mi-series - Tags: simple, material design, 3d, green, minimalist, button, click, btn */\n.button {\n width: 150px;\n padding: 0;\n border: none;\n transform: rotate(5deg);\n transform-origin: center;\n font-family: \"Gochi Hand\", cursive;\n text-decoration: none;\n font-size: 15px;\n padding-bottom: 3px;\n border-radius: 5px;\n box-shadow: 0 2px 0 #494a4b;\n transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n background-color: #5CDB95;\n}\n\n.button span {\n background: #f1f5f8;\n display: block;\n padding: 0.5rem 1rem;\n border-radius: 5px;\n border: 2px solid #494a4b;\n}\n\n.button:active {\n transform: translateY(5px);\n padding-bottom: 0px;\n outline: 0;\n}",
"file_path": "/mnt/persist/workspace/Buttons/mi-series_wicked-sloth-7.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text>Submit</text>\n</button>",
"script": "export default {\n name: 'GalaxyWickedSloth7',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mi-series - Tags: simple, material design, 3d, green, minimalist, button, click, btn */\n.button {\n width: 300rpx;\n padding: 0;\n border: none;\n transform: rotate(5deg);\n transform-origin: center;\n font-family: \"Gochi Hand\", cursive;\n text-decoration: none;\n font-size: 30rpx;\n padding-bottom: 6rpx;\n border-radius: 10rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 0 #494a4b;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n background-color: #5CDB95;\n}\n\n.button span {\n background: #f1f5f8;\n display: block;\n padding: 0.5rem 1rem;\n border-radius: 10rpx;\n border: 4rpx solid #494a4b;\n}\n\n.button:active {\n transform: translateY(10rpx);\n padding-bottom: 0rpx;\n outline: 0;\n}\n",
"component_name": "GalaxyWickedSloth7"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 753,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.249Z",
"updated_at": "2025-07-31T07:55:37.249Z"
}