galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 6.17 kB
JSON
{
"id": "Bodyhc_smart-puma-31",
"name": "smart-puma-31",
"category": "buttons",
"author": "Bodyhc",
"description": "smart-puma-31 组件 (button, simple button, hover button, #button, tailwindbutton, 3d button, button hover effect, 2d button, animation, interactive)",
"tags": [
"button",
"simple button",
"hover button",
"#button",
"tailwindbutton",
"3d button",
"button hover effect",
"2d button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"send-button\">\n <div class=\"send\">\n <svg viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1 260.2c-22.6 12.9-20.5 47.3 3.6 57.3L160 376V479.3c0 18.1 14.6 32.7 32.7 32.7c9.7 0 18.9-4.3 25.1-11.8l62-74.3 123.9 51.6c18.9 7.9 40.8-4.5 43.9-24.7l64-416c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256zm52.1 25.5L409.7 90.6 190.1 336l1.2 1L68.2 285.7zM403.3 425.4L236.7 355.9 450.8 116.6 403.3 425.4z\"></path>\n </svg>\n Send Message\n </div>\n</button>",
"css": "/* From Uiverse.io by Bodyhc - Tags: button, simple button, hover button, #button, tailwindbutton, 3d button, button hover effect , 2d button */\n.send-button {\n display: flex;\n height: 60px;\n width: 180px;\n align-items: center;\n justify-content: center;\n border: 2px solid #b7b7b7;\n padding: 2px;\n border-radius: 12px;\n background-color: #fff;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),\n inset 0 1px 0 rgba(255, 255, 255, 0.6);\n font-family: \"Arial\", sans-serif;\n font-size: 16px;\n color: #000;\n cursor: pointer;\n transition: all 0.3s ease;\n}\n\n.send {\n display: flex;\n width: 180px;\n height: 100%;\n border-radius: 50px;\n align-items: center;\n justify-content: center;\n font-size: 15px;\n font-weight: 700;\n box-shadow: inset -3px 1px 10px #eff1ef, inset -3px 1px 10px #eff1ef;\n transition: all 0.3s ease;\n}\n\n.send-button svg {\n margin-right: 10px;\n width: 15px;\n height: 15px;\n transition: all 0.3s ease;\n}\n\n.send-button:hover svg {\n transform: rotate(50deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Bodyhc_smart-puma-31.html"
},
"uniapp": {
"template": "<button class=\"send-button\"></button>\n <view class=\"send\"></view>\n <view viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M16.1 260.2c-22.6 12.9-20.5 47.3 3.6 57.3L160 376V479.3c0 18.1 14.6 32.7 32.7 32.7c9.7 0 18.9-4.3 25.1-11.8l62-74.3 123.9 51.6c18.9 7.9 40.8-4.5 43.9-24.7l64-416c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256zm52.1 25.5L409.7 90.6 190.1 336l1.2 1L68.2 285.7zM403.3 425.4L236.7 355.9 450.8 116.6 403.3 425.4z\"></path>\n </svg>\n Send Message\n </div>\n</button>",
"script": "export default {\n name: 'GalaxySmartPuma31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Bodyhc - Tags: button, simple button, hover button, #button, tailwindbutton, 3d button, button hover effect , 2d button */\n.send-button {\n display: flex;\n height: 120rpx;\n width: 360rpx;\n align-items: center;\n justify-content: center;\n border: 4rpx solid #b7b7b7;\n padding: 4rpx;\n border-radius: 24rpx;\n background-color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1),\n inset 0 2rpx 0 rgba(255, 255, 255, 0.6);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-family: \"Arial\", sans-serif;\n font-size: 32rpx;\n color: #000;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s ease;\n}\n\n.send {\n display: flex;\n width: 360rpx;\n height: 100%;\n border-radius: 100rpx;\n align-items: center;\n justify-content: center;\n font-size: 30rpx;\n font-weight: 700;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -6rpx 2rpx 20rpx #eff1ef, inset -6rpx 2rpx 20rpx #eff1ef;\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}\n\n.send-button svg {\n margin-right: 20rpx;\n width: 30rpx;\n height: 30rpx;\n transition: all 0.3s ease;\n}\n\n.send-button:hover svg {\n transform: rotate(50deg);\n}\n\n",
"component_name": "GalaxySmartPuma31"
},
"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": 1506,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.798Z",
"updated_at": "2025-07-31T07:55:32.798Z"
}