galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.02 kB
JSON
{
"id": "andrew-demchenk0_yellow-otter-87",
"name": "yellow-otter-87",
"category": "buttons",
"author": "andrew-demchenk0",
"description": "yellow-otter-87 组件 (icon, black, button, Microphone, record, opacity, animation, interactive)",
"tags": [
"icon",
"black",
"button",
"Microphone",
"record",
"opacity",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" viewBox=\"0 0 24 24\" height=\"24\" fill=\"none\" class=\"svg-icon\"><g stroke-width=\"2\" stroke-linecap=\"round\" stroke=\"#ff342b\"><rect y=\"3\" x=\"9\" width=\"6\" rx=\"3\" height=\"11\"></rect><path d=\"m12 18v3\"></path><path d=\"m8 21h8\"></path><path d=\"m19 11c0 3.866-3.134 7-7 7-3.86599 0-7-3.134-7-7\"></path></g></svg>\n <span class=\"lable\">Record</span>\n</button>",
"css": "/* From Uiverse.io by andrew-demchenk0 - Tags: icon, black, button, Microphone, record, opacity */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px 12px;\n gap: 8px;\n height: 40px;\n width: 114px;\n border: none;\n background: #1b1b1cde;\n border-radius: 20px;\n cursor: pointer;\n}\n\n.lable {\n line-height: 20px;\n font-size: 17px;\n color: #FF342B;\n font-family: sans-serif;\n letter-spacing: 1px;\n}\n\n.button:hover {\n background: #1b1b1c;\n}\n\n.button:hover .svg-icon {\n animation: scale 1s linear infinite;\n}\n\n@keyframes scale {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.05) rotate(10deg);\n }\n\n 100% {\n transform: scale(1);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_yellow-otter-87.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" viewBox=\"0 0 24 24\" height=\"24\" fill=\"none\" class=\"svg-icon\"><g stroke-width=\"2\" stroke-linecap=\"round\" stroke=\"#ff342b\"><rect y=\"3\" x=\"9\" width=\"6\" rx=\"3\" height=\"11\"></rect><path d=\"m12 18v3\"></path><path d=\"m8 21h8\"></path><path d=\"m19 11c0 3.866-3.134 7-7 7-3.86599 0-7-3.134-7-7\"></path></g></view>\n <text class=\"lable\">Record</text>\n</button>",
"script": "export default {\n name: 'GalaxyYellowOtter87',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by andrew-demchenk0 - Tags: icon, black, button, Microphone, record, opacity */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 12rpx 24rpx;\n gap: 16rpx;\n height: 80rpx;\n width: 228rpx;\n border: none;\n background: #1b1b1cde;\n border-radius: 40rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.lable {\n line-height: 40rpx;\n font-size: 34rpx;\n color: #FF342B;\n font-family: sans-serif;\n letter-spacing: 2rpx;\n}\n\n.button:hover {\n background: #1b1b1c;\n}\n\n.button:hover .svg-icon {\n animation: scale 1s linear infinite;\n}\n\n@keyframes scale {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.05) rotate(10deg);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n",
"component_name": "GalaxyYellowOtter87"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1136,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.747Z",
"updated_at": "2025-07-31T07:55:35.747Z"
}