galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 4.74 kB
JSON
{
"id": "Carlos-vargs_pink-ladybug-22",
"name": "pink-ladybug-22",
"category": "buttons",
"author": "Carlos-vargs",
"description": "pink-ladybug-22 组件 (button, animated, video, play, animation, gradient, interactive)",
"tags": [
"button",
"animated",
"video",
"play",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg viewBox=\"0 0 448 512\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" width=\"26px\"><path d=\"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z\" fill=\"currentColor\"></path></svg>\n</button>",
"css": "/* From Uiverse.io by Carlos-vargs - Tags: button, animated, video, play */\n.button {\n display: flex;\n justify-content: center;\n color: #fff;\n width: 80px;\n height: 80px;\n border-radius: 100%;\n background: linear-gradient(30deg, rgb(255, 130, 0) 20%, rgb(255, 38, 0) 80%);\n transition: all 0.3s ease-in-out 0s;\n box-shadow: rgba(193, 244, 246, 0.698) 0px 0px 0px 0px;\n animation: 1.2s cubic-bezier(0.8, 0, 0, 1) 0s infinite normal none running pulse;\n align-items: center;\n border: 0;\n}\n\n.button:is(:hover, :focus) {\n transform: scale(1.2);\n}\n\n@keyframes pulse {\n 100% {\n box-shadow: 0 0 0 45px rgba(193,244,246,0);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Carlos-vargs_pink-ladybug-22.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view viewBox=\"0 0 448 512\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" width=\"26px\"><path d=\"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z\" fill=\"currentColor\"></path></view>\n</button>",
"script": "export default {\n name: 'GalaxyPinkLadybug22',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Carlos-vargs - Tags: button, animated, video, play */\n.button {\n display: flex;\n justify-content: center;\n color: #fff;\n width: 160rpx;\n height: 160rpx;\n border-radius: 100%;\n background: linear-gradient(30deg, rgb(255, 130, 0) 20%, rgb(255, 38, 0) 80%);\n transition: all 0.3s ease-in-out 0s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(193, 244, 246, 0.698) 0rpx 0rpx 0rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: 1.2s cubic-bezier(0.8, 0, 0, 1) 0s infinite normal none running pulse;\n align-items: center;\n border: 0;\n}\n\n.button:is(:hover, :focus) {\n transform: scale(1.2);\n}\n\n@keyframes pulse {\n 100% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 90rpx rgba(193,244,246,0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n\n\n",
"component_name": "GalaxyPinkLadybug22"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 930,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.885Z",
"updated_at": "2025-07-31T07:55:32.885Z"
}