galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 7.13 kB
JSON
{
"id": "DevPTG_funny-quail-20",
"name": "funny-quail-20",
"category": "buttons",
"author": "DevPTG",
"description": "funny-quail-20 组件 (button, animation)",
"tags": [
"button",
"animation"
],
"original": {
"html": "<div class=\"chat\">\n <div class=\"background\"></div>\n <svg viewBox=\"0 0 100 100\" height=\"100\" width=\"100\" class=\"chat-bubble\">\n <g class=\"bubble\">\n <path d=\"M 30.7873,85.113394 30.7873,46.556405 C 30.7873,41.101961\n 36.826342,35.342 40.898074,35.342 H 59.113981 C 63.73287,35.342\n 69.29995,40.103201 69.29995,46.784744\" class=\"line line1\"></path>\n <path d=\"M 13.461999,65.039335 H 58.028684 C\n 63.483128,65.039335\n 69.243089,59.000293 69.243089,54.928561 V 45.605853 C\n 69.243089,40.986964 65.02087,35.419884 58.339327,35.419884\" class=\"line line2\"></path>\n </g>\n <circle cx=\"42.5\" cy=\"50.7\" r=\"1.9\" class=\"circle circle1\"></circle>\n <circle r=\"1.9\" cy=\"50.7\" cx=\"49.9\" class=\"circle circle2\"></circle>\n <circle cx=\"57.3\" cy=\"50.7\" r=\"1.9\" class=\"circle circle3\"></circle>\n </svg>\n </div>",
"css": "/* From Uiverse.io by DevPTG - Tags: button */\n.chat {\n display: flex;\n position: relative;\n}\n\n.background {\n background-color: #1950ff;\n border-radius: 50%;\n box-shadow: 0 2.1px 1.3px rgba(0, 0, 0, 0.044),\n 0 5.9px 4.2px rgba(0, 0, 0, 0.054), 0 12.6px 9.5px rgba(0, 0, 0, 0.061),\n 0 25px 20px rgba(0, 0, 0, 0.1);\n height: 80px;\n left: 10px;\n position: absolute;\n top: 10px;\n width: 80px;\n}\n\n.chat-bubble {\n cursor: pointer;\n position: relative;\n}\n\n.bubble {\n transform-origin: 50%;\n transition: transform 500ms cubic-bezier(0.17, 0.61, 0.54, 0.9);\n}\n\n.line {\n fill: none;\n stroke: #ffffff;\n stroke-width: 2.75;\n stroke-linecap: round;\n transition: stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.line1 {\n stroke-dasharray: 60 90;\n stroke-dashoffset: -20;\n}\n\n.line2 {\n stroke-dasharray: 67 87;\n stroke-dashoffset: -18;\n}\n\n.circle {\n fill: #ffffff;\n stroke: none;\n transform-origin: 50%;\n transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.active .bubble {\n transform: translateX(24px) translateY(4px) rotate(45deg);\n}\n\n.active .line1 {\n stroke-dashoffset: 21;\n}\n\n.active .line2 {\n stroke-dashoffset: 30;\n}\n\n.active .circle {\n transform: scale(0);\n}",
"file_path": "/mnt/persist/workspace/Buttons/DevPTG_funny-quail-20.html"
},
"uniapp": {
"template": "<view class=\"chat\"></view>\n <view class=\"background\"></view>\n <view viewBox=\"0 0 100 100\" height=\"100\" width=\"100\" class=\"chat-bubble\"></view>\n <g class=\"bubble\">\n <path d=\"M 30.7873,85.113394 30.7873,46.556405 C 30.7873,41.101961\n 36.826342,35.342 40.898074,35.342 H 59.113981 C 63.73287,35.342\n 69.29995,40.103201 69.29995,46.784744\" class=\"line line1\"></path>\n <path d=\"M 13.461999,65.039335 H 58.028684 C\n 63.483128,65.039335\n 69.243089,59.000293 69.243089,54.928561 V 45.605853 C\n 69.243089,40.986964 65.02087,35.419884 58.339327,35.419884\" class=\"line line2\"></path>\n </g>\n <circle cx=\"42.5\" cy=\"50.7\" r=\"1.9\" class=\"circle circle1\"></circle>\n <circle r=\"1.9\" cy=\"50.7\" cx=\"49.9\" class=\"circle circle2\"></circle>\n <circle cx=\"57.3\" cy=\"50.7\" r=\"1.9\" class=\"circle circle3\"></circle>\n </svg>\n </div>",
"script": "export default {\n name: 'GalaxyFunnyQuail20',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by DevPTG - Tags: button */\n.chat {\n display: flex;\n position: relative;\n}\n\n.background {\n background-color: #1950ff;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4.2rpx 2.6rpx rgba(0, 0, 0, 0.044),\n 0 11.8rpx 8.4rpx rgba(0, 0, 0, 0.054), 0 25.2rpx 19rpx rgba(0, 0, 0, 0.061),\n 0 50rpx 40rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n height: 160rpx;\n left: 20rpx;\n position: absolute;\n top: 20rpx;\n width: 160rpx;\n}\n\n.chat-bubble {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n}\n\n.bubble {\n transform-origin: 50%;\n transition: transform 500ms cubic-bezier(0.17, 0.61, 0.54, 0.9);\n}\n\n.line {\n fill: none;\n stroke: #ffffff;\n stroke-width: 2.75;\n stroke-linecap: round;\n transition: stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.line1 {\n stroke-dasharray: 60 90;\n stroke-dashoffset: -20;\n}\n\n.line2 {\n stroke-dasharray: 67 87;\n stroke-dashoffset: -18;\n}\n\n.circle {\n fill: #ffffff;\n stroke: none;\n transform-origin: 50%;\n transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.active .bubble {\n transform: translateX(48rpx) translateY(8rpx) rotate(45deg);\n}\n\n.active .line1 {\n stroke-dashoffset: 21;\n}\n\n.active .line2 {\n stroke-dashoffset: 30;\n}\n\n.active .circle {\n transform: scale(0);\n}\n",
"component_name": "GalaxyFunnyQuail20"
},
"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": 2118,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.126Z",
"updated_at": "2025-07-31T07:55:33.126Z"
}