galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 6.91 kB
JSON
{
"id": "aaronross1_kind-bobcat-81",
"name": "kind-bobcat-81",
"category": "buttons",
"author": "aaronross1",
"description": "kind-bobcat-81 组件 (button, edit, animation, interactive)",
"tags": [
"button",
"edit",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"edit-button\">\n <svg class=\"edit-svgIcon\" viewBox=\"0 0 512 512\">\n <path d=\"M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by aaronross1 - Tags: button, edit */\n.edit-button {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: rgb(20, 20, 20);\n border: none;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);\n cursor: pointer;\n transition-duration: 0.3s;\n overflow: hidden;\n position: relative;\n text-decoration: none !important;\n}\n\n.edit-svgIcon {\n width: 17px;\n transition-duration: 0.3s;\n}\n\n.edit-svgIcon path {\n fill: white;\n}\n\n.edit-button:hover {\n width: 120px;\n border-radius: 50px;\n transition-duration: 0.3s;\n background-color: rgb(255, 69, 69);\n align-items: center;\n}\n\n.edit-button:hover .edit-svgIcon {\n width: 20px;\n transition-duration: 0.3s;\n transform: translateY(60%);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n\n.edit-button::before {\n display: none;\n content: \"Edit\";\n color: white;\n transition-duration: 0.3s;\n font-size: 2px;\n}\n\n.edit-button:hover::before {\n display: block;\n padding-right: 10px;\n font-size: 13px;\n opacity: 1;\n transform: translateY(0px);\n transition-duration: 0.3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/aaronross1_kind-bobcat-81.html"
},
"uniapp": {
"template": "<button class=\"edit-button\"></button>\n <view class=\"edit-svgIcon\" viewBox=\"0 0 512 512\"></view>\n <path d=\"M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyKindBobcat81',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by aaronross1 - Tags: button, edit */\n.edit-button {\n width: 80rpx;\n height: 80rpx;\n border-radius: 50%;\n background-color: rgb(20, 20, 20);\n border: none;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 40rpx rgba(0, 0, 0, 0.164);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition-duration: 0.3s;\n overflow: hidden;\n position: relative;\n text-decoration: none !important;\n}\n\n.edit-svgIcon {\n width: 34rpx;\n transition-duration: 0.3s;\n}\n\n.edit-svgIcon path {\n fill: white;\n}\n\n.edit-button:hover {\n width: 240rpx;\n border-radius: 100rpx;\n transition-duration: 0.3s;\n background-color: rgb(255, 69, 69);\n align-items: center;\n}\n\n.edit-button:hover .edit-svgIcon {\n width: 40rpx;\n transition-duration: 0.3s;\n transform: translateY(60%);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n\n.edit-button::before {\n display: none;\n content: \"Edit\";\n color: white;\n transition-duration: 0.3s;\n font-size: 4rpx;\n}\n\n.edit-button:hover::before {\n display: block;\n padding-right: 20rpx;\n font-size: 26rpx;\n opacity: 1;\n transform: translateY(0rpx);\n transition-duration: 0.3s;\n}\n\n",
"component_name": "GalaxyKindBobcat81"
},
"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": 2036,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.351Z",
"updated_at": "2025-07-31T07:55:35.351Z"
}