galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 8.58 kB
JSON
{
"id": "akshat-patel28_brown-panther-60",
"name": "brown-panther-60",
"category": "buttons",
"author": "akshat-patel28",
"description": "brown-panther-60 组件 (icon, button, html, css, menuicon, navbar, animation, interactive)",
"tags": [
"icon",
"button",
"html",
"css",
"menuicon",
"navbar",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"button-container\">\n <button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 1024 1024\" stroke-width=\"0\" fill=\"currentColor\" stroke=\"currentColor\" class=\"icon\">\n <path d=\"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z\"></path>\n </svg>\n </button>\n <button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" aria-hidden=\"true\" viewBox=\"0 0 24 24\" stroke-width=\"2\" fill=\"none\" stroke=\"currentColor\" class=\"icon\">\n <path d=\"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n <button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" stroke-width=\"0\" fill=\"currentColor\" stroke=\"currentColor\" class=\"icon\">\n <path d=\"M12 2.5a5.5 5.5 0 0 1 3.096 10.047 9.005 9.005 0 0 1 5.9 8.181.75.75 0 1 1-1.499.044 7.5 7.5 0 0 0-14.993 0 .75.75 0 0 1-1.5-.045 9.005 9.005 0 0 1 5.9-8.18A5.5 5.5 0 0 1 12 2.5ZM8 8a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z\"></path>\n </svg>\n </button>\n\n <button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" stroke-linejoin=\"round\" stroke-linecap=\"round\" viewBox=\"0 0 24 24\" stroke-width=\"2\" fill=\"none\" stroke=\"currentColor\" class=\"icon\">\n <circle r=\"1\" cy=\"21\" cx=\"9\"></circle>\n <circle r=\"1\" cy=\"21\" cx=\"20\"></circle>\n <path d=\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"></path>\n </svg>\n </button>\n </div>",
"css": "/* From Uiverse.io by akshat-patel28 - Tags: icon, button, html, css, menuicon, navbar */\n.button-container {\n display: flex;\n background-color: rgba(245, 73, 144);\n width: 250px;\n height: 40px;\n align-items: center;\n justify-content: space-around;\n border-radius: 10px;\n box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px,\n rgba(245, 73, 144, 0.5) 5px 10px 15px;\n}\n\n.button {\n outline: 0 !important;\n border: 0 !important;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n transition: all ease-in-out 0.3s;\n cursor: pointer;\n}\n\n.button:hover {\n transform: translateY(-3px);\n}\n\n.icon {\n font-size: 20px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/akshat-patel28_brown-panther-60.html"
},
"uniapp": {
"template": "<view class=\"button-container\"></view>\n <button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 1024 1024\" stroke-width=\"0\" fill=\"currentColor\" stroke=\"currentColor\" class=\"icon\"></view>\n <path d=\"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z\"></path>\n </svg>\n </button>\n <button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" aria-hidden=\"true\" viewBox=\"0 0 24 24\" stroke-width=\"2\" fill=\"none\" stroke=\"currentColor\" class=\"icon\"></view>\n <path d=\"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n <button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" stroke-width=\"0\" fill=\"currentColor\" stroke=\"currentColor\" class=\"icon\"></view>\n <path d=\"M12 2.5a5.5 5.5 0 0 1 3.096 10.047 9.005 9.005 0 0 1 5.9 8.181.75.75 0 1 1-1.499.044 7.5 7.5 0 0 0-14.993 0 .75.75 0 0 1-1.5-.045 9.005 9.005 0 0 1 5.9-8.18A5.5 5.5 0 0 1 12 2.5ZM8 8a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z\"></path>\n </svg>\n </button>\n\n <button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" stroke-linejoin=\"round\" stroke-linecap=\"round\" viewBox=\"0 0 24 24\" stroke-width=\"2\" fill=\"none\" stroke=\"currentColor\" class=\"icon\"></view>\n <circle r=\"1\" cy=\"21\" cx=\"9\"></circle>\n <circle r=\"1\" cy=\"21\" cx=\"20\"></circle>\n <path d=\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"></path>\n </svg>\n </button>\n </div>",
"script": "export default {\n name: 'GalaxyBrownPanther60',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by akshat-patel28 - Tags: icon, button, html, css, menuicon, navbar */\n.button-container {\n display: flex;\n background-color: rgba(245, 73, 144);\n width: 500rpx;\n height: 80rpx;\n align-items: center;\n justify-content: space-around;\n border-radius: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.35) 0rpx 10rpx 30rpx,\n rgba(245, 73, 144, 0.5) 10rpx 20rpx 30rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button {\n outline: 0 !important;\n border: 0 !important;\n width: 80rpx;\n height: 80rpx;\n border-radius: 50%;\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n transition: all ease-in-out 0.3s;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button:hover {\n transform: translateY(-6rpx);\n}\n\n.icon {\n font-size: 40rpx;\n}\n",
"component_name": "GalaxyBrownPanther60"
},
"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": 2699,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.548Z",
"updated_at": "2025-07-31T07:55:35.548Z"
}