galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 7.08 kB
JSON
{
"id": "vinodjangid07_chilly-kangaroo-37",
"name": "chilly-kangaroo-37",
"category": "buttons",
"author": "vinodjangid07",
"description": "chilly-kangaroo-37 组件 (button, comment, button hover effect, animation, interactive)",
"tags": [
"button",
"comment",
"button hover effect",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"bookmarkBtn\">\n <span class=\"IconContainer\"> \n <svg fill=\"white\" viewBox=\"0 0 512 512\" height=\"1em\"><path d=\"M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9c.1-.2 .2-.3 .3-.5z\"></path></svg>\n </span>\n <p class=\"text\">Comment</p>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: button, comment, button hover effect */\n.bookmarkBtn {\n width: 130px;\n height: 40px;\n border-radius: 40px;\n border: none;\n background-color: rgb(255, 255, 255);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition-duration: .3s;\n overflow: hidden;\n box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.062);\n}\n\n.IconContainer {\n width: 30px;\n height: 30px;\n background-color: rgb(103, 74, 228);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n z-index: 2;\n transition-duration: .3s;\n}\n\n.icon {\n border-radius: 1px;\n}\n\n.text {\n height: 100%;\n width: 90px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgb(26, 26, 26);\n z-index: 1;\n transition-duration: .3s;\n font-size: 1.04em;\n font-weight: 600;\n}\n\n.bookmarkBtn:hover .IconContainer {\n width: 120px;\n border-radius: 40px;\n transition-duration: .3s;\n}\n\n.bookmarkBtn:hover .text {\n transform: translate(10px);\n width: 0;\n font-size: 0;\n transition-duration: .3s;\n}\n\n.bookmarkBtn:active {\n transform: scale(0.95);\n transition-duration: .3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_chilly-kangaroo-37.html"
},
"uniapp": {
"template": "<button class=\"bookmarkBtn\"></button>\n <text class=\"IconContainer\"></text> \n <view fill=\"white\" viewBox=\"0 0 512 512\" height=\"1em\"><path d=\"M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9c.1-.2 .2-.3 .3-.5z\"></path></view>\n </span>\n <text class=\"text\">Comment</text>\n</button>",
"script": "export default {\n name: 'GalaxyChillyKangaroo37',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: button, comment, button hover effect */\n.bookmarkBtn {\n width: 260rpx;\n height: 80rpx;\n border-radius: 80rpx;\n border: none;\n background-color: rgb(255, 255, 255);\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition-duration: .3s;\n overflow: hidden;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 20rpx 20rpx 20rpx rgba(0, 0, 0, 0.062);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.IconContainer {\n width: 60rpx;\n height: 60rpx;\n background-color: rgb(103, 74, 228);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n z-index: 2;\n transition-duration: .3s;\n}\n\n.icon {\n border-radius: 2rpx;\n}\n\n.text {\n height: 100%;\n width: 180rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgb(26, 26, 26);\n z-index: 1;\n transition-duration: .3s;\n font-size: 1.04em;\n font-weight: 600;\n}\n\n.bookmarkBtn:hover .IconContainer {\n width: 240rpx;\n border-radius: 80rpx;\n transition-duration: .3s;\n}\n\n.bookmarkBtn:hover .text {\n transform: translate(20rpx);\n width: 0;\n font-size: 0;\n transition-duration: .3s;\n}\n\n.bookmarkBtn:active {\n transform: scale(0.95);\n transition-duration: .3s;\n}\n",
"component_name": "GalaxyChillyKangaroo37"
},
"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": 2066,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.068Z",
"updated_at": "2025-07-31T07:55:38.068Z"
}