galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.66 kB
JSON
{
"id": "vinodjangid07_splendid-panda-48",
"name": "splendid-panda-48",
"category": "buttons",
"author": "vinodjangid07",
"description": "splendid-panda-48 组件 (button, hover effect, filter, setting, interactive)",
"tags": [
"button",
"hover effect",
"filter",
"setting",
"interactive"
],
"original": {
"html": "<button title=\"filter\" class=\"filter\">\n <svg viewBox=\"0 0 512 512\" height=\"1em\">\n <path d=\"M0 416c0 17.7 14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384c-17.7 0-32 14.3-32 32zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-32.8 0-61 19.7-73.3 48L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm73.3-64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64z\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: button, hover effect, filter, setting */\n.filter {\n width: 50px;\n height: 50px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid rgba(0, 0, 0, 0.192);\n cursor: pointer;\n box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.021);\n transition: all 0.3s;\n}\n\n.filter svg {\n height: 16px;\n fill: rgb(77, 77, 77);\n transition: all 0.3s;\n}\n.filter:hover {\n box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.11);\n background-color: rgb(59, 59, 59);\n}\n.filter:hover svg {\n fill: white;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_splendid-panda-48.html"
},
"uniapp": {
"template": "<button title=\"filter\" class=\"filter\"></button>\n <view viewBox=\"0 0 512 512\" height=\"1em\"></view>\n <path d=\"M0 416c0 17.7 14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384c-17.7 0-32 14.3-32 32zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-32.8 0-61 19.7-73.3 48L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm73.3-64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64z\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxySplendidPanda48',\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, hover effect, filter, setting */\n.filter {\n width: 100rpx;\n height: 100rpx;\n border-radius: 20rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2rpx solid rgba(0, 0, 0, 0.192);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 20rpx rgba(0, 0, 0, 0.021);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s;\n}\n\n.filter svg {\n height: 32rpx;\n fill: rgb(77, 77, 77);\n transition: all 0.3s;\n}\n.\n /* #endif */\n background-color: rgb(59, 59, 59);\n}\n.\n}\n\n",
"component_name": "GalaxySplendidPanda48"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 1436,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.258Z",
"updated_at": "2025-07-31T07:55:38.258Z"
}