galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 7.79 kB
JSON
{
"id": "ChanduOffl_helpless-chipmunk-35",
"name": "helpless-chipmunk-35",
"category": "buttons",
"author": "ChanduOffl",
"description": "helpless-chipmunk-35 组件 (icon, animation, white, button, message, btn, buttons, hover button, gradient, interactive)",
"tags": [
"icon",
"animation",
"white",
"button",
"message",
"btn",
"buttons",
"hover button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg viewBox=\"0 0 24 24\" height=\"48\" width=\"48\" xmlns=\"http://www.w3.org/2000/svg\" class=\"send-icon\">\n <path d=\"m16.066 10.184l-3.89-1.795c-2.154-.994-3.231-1.491-3.725-.982c-.493.509.038 1.572 1.101 3.698c.22.44.33.659.33.895s-.11.456-.33.895c-1.063 2.126-1.594 3.19-1.1 3.698c.493.51 1.57.012 3.725-.982l3.889-1.795c1.698-.784 2.548-1.176 2.548-1.816c0-.64-.85-1.032-2.549-1.816\" fill-opacity=\"0.4\" fill=\"currentColor\"></path>\n <path d=\"M8.895 11.684L8.174 9.52a1 1 0 0 0-.707-.654l-1.78-.445a.8.8 0 0 0-.91 1.134l1.111 2.22a.5.5 0 0 1 0 .448l-1.11 2.22a.8.8 0 0 0 .91 1.134l1.78-.445a1 1 0 0 0 .706-.654l.72-2.163a1 1 0 0 0 0-.632\" fill=\"currentColor\"></path>\n </svg>\n Send Message\n</button>",
"css": "/* From Uiverse.io by ChanduOffl - Tags: icon, animation, white, button, message, btn, buttons, hover button */\n.button {\n display: inline-flex;\n align-items: center;\n padding: 10px 20px;\n background-color: #fefefe;\n border: 1px solid #dcdcdc;\n border-radius: 12px;\n\n font-family: \"Ubuntu\", sans-serif;\n font-size: 16px;\n font-weight: bold;\n color: #333;\n cursor: pointer;\n text-decoration: none;\n transition: all 0.3s ease;\n position: relative;\n overflow: hidden;\n z-index: 0;\n outline: 2px solid #fafafa;\n box-shadow: 9px 9px 44px #cecece3a, -9px -9px 44px #d3d3d33d,\n inset 0 0 0 2px rgba(192, 192, 192, 0.25);\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n border-radius: 30px;\n background: linear-gradient(\n 0deg,\n #fbfbfb 0%,\n #fafafa 5%,\n #f7f7f7 72%,\n #f2f2f2 86%,\n #f0f0f0 100%\n );\n box-shadow: inset 0 2px 7px rgba(143, 143, 143, 0.16);\n transition: all 0.3s ease;\n z-index: -1;\n margin: 2px;\n}\n\n.button:hover::before {\n top: 1px;\n left: 1px;\n right: 1px;\n bottom: 1px;\n margin: 5px;\n}\n\n.button:focus {\n outline: 2px solid #fefefe;\n box-shadow: 9px 9px 44px #cecece3a, -9px -9px 44px #d3d3d33d,\n inset 0 0 0 2px rgba(192, 192, 192, 0.5);\n}\n\n.send-icon {\n margin-right: 5px;\n transition: transform 0.3s ease;\n}\n\n.button:hover .send-icon {\n transform: translateX(7px);\n}\n\n.button:focus .send-icon {\n transform: rotate(-40deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/ChanduOffl_helpless-chipmunk-35.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view viewBox=\"0 0 24 24\" height=\"48\" width=\"48\" xmlns=\"http://www.w3.org/2000/svg\" class=\"send-icon\"></view>\n <path d=\"m16.066 10.184l-3.89-1.795c-2.154-.994-3.231-1.491-3.725-.982c-.493.509.038 1.572 1.101 3.698c.22.44.33.659.33.895s-.11.456-.33.895c-1.063 2.126-1.594 3.19-1.1 3.698c.493.51 1.57.012 3.725-.982l3.889-1.795c1.698-.784 2.548-1.176 2.548-1.816c0-.64-.85-1.032-2.549-1.816\" fill-opacity=\"0.4\" fill=\"currentColor\"></path>\n <path d=\"M8.895 11.684L8.174 9.52a1 1 0 0 0-.707-.654l-1.78-.445a.8.8 0 0 0-.91 1.134l1.111 2.22a.5.5 0 0 1 0 .448l-1.11 2.22a.8.8 0 0 0 .91 1.134l1.78-.445a1 1 0 0 0 .706-.654l.72-2.163a1 1 0 0 0 0-.632\" fill=\"currentColor\"></path>\n </svg>\n Send Message\n</button>",
"script": "export default {\n name: 'GalaxyHelplessChipmunk35',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by ChanduOffl - Tags: icon, animation, white, button, message, btn, buttons, hover button */\n.button {\n display: inline-flex;\n align-items: center;\n padding: 20rpx 40rpx;\n background-color: #fefefe;\n border: 2rpx solid #dcdcdc;\n border-radius: 24rpx;\n\n font-family: \"Ubuntu\", sans-serif;\n font-size: 32rpx;\n font-weight: bold;\n color: #333;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n text-decoration: none;\n transition: all 0.3s ease;\n position: relative;\n overflow: hidden;\n z-index: 0;\n outline: 4rpx solid #fafafa;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 18rpx 18rpx 88rpx #cecece3a, -18rpx -18rpx 88rpx #d3d3d33d,\n inset 0 0 0 4rpx rgba(192, 192, 192, 0.25);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 6rpx;\n left: 6rpx;\n right: 6rpx;\n bottom: 6rpx;\n border-radius: 60rpx;\n background: linear-gradient(\n 0deg,\n #fbfbfb 0%,\n #fafafa 5%,\n #f7f7f7 72%,\n #f2f2f2 86%,\n #f0f0f0 100%\n );\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 4rpx 14rpx rgba(143, 143, 143, 0.16);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s ease;\n z-index: -1;\n margin: 4rpx;\n}\n\n.button:hover::before {\n top: 2rpx;\n left: 2rpx;\n right: 2rpx;\n bottom: 2rpx;\n margin: 10rpx;\n}\n\n.button:focus {\n outline: 4rpx solid #fefefe;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 18rpx 18rpx 88rpx #cecece3a, -18rpx -18rpx 88rpx #d3d3d33d,\n inset 0 0 0 4rpx rgba(192, 192, 192, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.send-icon {\n margin-right: 10rpx;\n transition: transform 0.3s ease;\n}\n\n.button:hover .send-icon {\n transform: translateX(14rpx);\n}\n\n.button:focus .send-icon {\n transform: rotate(-40deg);\n}\n\n",
"component_name": "GalaxyHelplessChipmunk35"
},
"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": 2201,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.902Z",
"updated_at": "2025-07-31T07:55:32.902Z"
}