galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 5.98 kB
JSON
{
"id": "vinodjangid07_clever-bird-35",
"name": "clever-bird-35",
"category": "buttons",
"author": "vinodjangid07",
"description": "clever-bird-35 组件 (animation, button, hover, download, interactive)",
"tags": [
"animation",
"button",
"hover",
"download",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 384 512\" class=\"svgIcon\">\n <path d=\"M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\"></path>\n </svg>\n <span class=\"icon2\"></span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: animation, button, hover, download */\n.Btn {\n width: 50px;\n height: 50px;\n border: 2px solid rgb(214, 214, 214);\n border-radius: 15px;\n background-color: rgb(255, 255, 255);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative;\n transition-duration: 0.3s;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);\n}\n\n.svgIcon {\n fill: rgb(70, 70, 70);\n}\n\n.icon2 {\n width: 18px;\n height: 5px;\n border-bottom: 2px solid rgb(70, 70, 70);\n border-left: 2px solid rgb(70, 70, 70);\n border-right: 2px solid rgb(70, 70, 70);\n}\n\n.Btn:hover {\n background-color: rgb(51, 51, 51);\n transition-duration: 0.3s;\n}\n\n.Btn:hover .icon2 {\n border-bottom: 2px solid rgb(235, 235, 235);\n border-left: 2px solid rgb(235, 235, 235);\n border-right: 2px solid rgb(235, 235, 235);\n}\n\n.Btn:hover .svgIcon {\n fill: rgb(255, 255, 255);\n animation: slide-in-top 1s linear infinite;\n}\n\n@keyframes slide-in-top {\n 0% {\n transform: translateY(-10px);\n opacity: 0;\n }\n\n 100% {\n transform: translateY(0px);\n opacity: 1;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_clever-bird-35.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 384 512\" class=\"svgIcon\"></view>\n <path d=\"M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\"></path>\n </svg>\n <text class=\"icon2\"></text>\n</button>",
"script": "export default {\n name: 'GalaxyCleverBird35',\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: animation, button, hover, download */\n.Btn {\n width: 100rpx;\n height: 100rpx;\n border: 4rpx solid rgb(214, 214, 214);\n border-radius: 30rpx;\n background-color: rgb(255, 255, 255);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n transition-duration: 0.3s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.11);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.svgIcon {\n fill: rgb(70, 70, 70);\n}\n\n.icon2 {\n width: 36rpx;\n height: 10rpx;\n border-bottom: 4rpx solid rgb(70, 70, 70);\n border-left: 4rpx solid rgb(70, 70, 70);\n border-right: 4rpx solid rgb(70, 70, 70);\n}\n\n.Btn:hover {\n background-color: rgb(51, 51, 51);\n transition-duration: 0.3s;\n}\n\n.Btn:hover .icon2 {\n border-bottom: 4rpx solid rgb(235, 235, 235);\n border-left: 4rpx solid rgb(235, 235, 235);\n border-right: 4rpx solid rgb(235, 235, 235);\n}\n\n.Btn:hover .svgIcon {\n fill: rgb(255, 255, 255);\n animation: slide-in-top 1s linear infinite;\n}\n\n@keyframes slide-in-top {\n 0% {\n transform: translateY(-20rpx);\n opacity: 0;\n }\n\n 100% {\n transform: translateY(0rpx);\n opacity: 1;\n }\n}\n\n",
"component_name": "GalaxyCleverBird35"
},
"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": 1555,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.083Z",
"updated_at": "2025-07-31T07:55:38.083Z"
}