galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 6.47 kB
JSON
{
"id": "andrew-demchenk0_moody-penguin-72",
"name": "moody-penguin-72",
"category": "buttons",
"author": "andrew-demchenk0",
"description": "moody-penguin-72 组件 (animation, purple, button, opacity, key, small, interactive)",
"tags": [
"animation",
"purple",
"button",
"opacity",
"key",
"small",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg class=\"svg-icon\" fill=\"none\" height=\"20\" viewBox=\"0 0 20 20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\"><path clip-rule=\"evenodd\" d=\"m9.99998 4.16667c1.38072 0 2.50002 1.11929 2.50002 2.5 0 .85577-.4293 1.6115-1.088 2.06341l-.4536.31125.1079.53934 1.2505 6.25263h-4.63366l1.25051-6.25263.10791-.53934-.45358-.31125c-.65876-.45191-1.088-1.20764-1.088-2.06341 0-1.38071 1.11925-2.5 2.5-2.5zm-2.31684 11.66663-.19934.9968-.81715-.1634v-.8334zm5.65016.8334v-.8334h-1.0165l.1993.9968zm.8172-.1634.1993.9967h-1.0165-6.66665-1.0165l.19935-.9967 1.35023-6.75127c.14013.12727.28892.24506.44536.35237l.47144-.68715-.81716-.16342-.09964.4982c-.83832-.76139-1.36642-1.86163-1.36642-3.08536 0-2.30119 1.86549-4.16667 4.16667-4.16667 2.30112 0 4.16662 1.86548 4.16662 4.16667 0 1.22374-.5281 2.32399-1.3664 3.08538l-.0996-.49822-.8172.16342-.4714-.68717.4714.68717-.8171.16342.8171-.16342.4715.68715c.1564-.1073.3052-.22509.4453-.35235z\" fill=\"#fff\" fill-rule=\"evenodd\"></path></svg>\n <span class=\"lable\">Key</span>\n</button>",
"css": "/* From Uiverse.io by andrew-demchenk0 - Tags: animation, purple, button, opacity, key , small */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px 12px;\n gap: 8px;\n height: 32px;\n width: 82px;\n border: none;\n background: #a549dacb;\n border-radius: 20px;\n cursor: pointer;\n}\n\n.lable {\n line-height: 20px;\n font-size: 17px;\n color: #fff;\n font-family: sans-serif;\n letter-spacing: 1px;\n}\n\n.svg-icon {\n width: 20px;\n height: 20px;\n}\n\n.button:hover {\n background: #A649DA;\n}\n\n.button:hover .svg-icon {\n animation: rot 0.5s linear infinite;\n}\n\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n\n 25% {\n transform: rotate(-6deg);\n }\n\n 50% {\n transform: rotate(0deg);\n }\n\n 75% {\n transform: rotate(6deg);\n }\n\n 100% {\n transform: rotate(0deg);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_moody-penguin-72.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"svg-icon\" fill=\"none\" height=\"20\" viewBox=\"0 0 20 20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\"><path clip-rule=\"evenodd\" d=\"m9.99998 4.16667c1.38072 0 2.50002 1.11929 2.50002 2.5 0 .85577-.4293 1.6115-1.088 2.06341l-.4536.31125.1079.53934 1.2505 6.25263h-4.63366l1.25051-6.25263.10791-.53934-.45358-.31125c-.65876-.45191-1.088-1.20764-1.088-2.06341 0-1.38071 1.11925-2.5 2.5-2.5zm-2.31684 11.66663-.19934.9968-.81715-.1634v-.8334zm5.65016.8334v-.8334h-1.0165l.1993.9968zm.8172-.1634.1993.9967h-1.0165-6.66665-1.0165l.19935-.9967 1.35023-6.75127c.14013.12727.28892.24506.44536.35237l.47144-.68715-.81716-.16342-.09964.4982c-.83832-.76139-1.36642-1.86163-1.36642-3.08536 0-2.30119 1.86549-4.16667 4.16667-4.16667 2.30112 0 4.16662 1.86548 4.16662 4.16667 0 1.22374-.5281 2.32399-1.3664 3.08538l-.0996-.49822-.8172.16342-.4714-.68717.4714.68717-.8171.16342.8171-.16342.4715.68715c.1564-.1073.3052-.22509.4453-.35235z\" fill=\"#fff\" fill-rule=\"evenodd\"></path></view>\n <text class=\"lable\">Key</text>\n</button>",
"script": "export default {\n name: 'GalaxyMoodyPenguin72',\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: animation, purple, button, opacity, key , small */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 12rpx 24rpx;\n gap: 16rpx;\n height: 64rpx;\n width: 164rpx;\n border: none;\n background: #a549dacb;\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: #fff;\n font-family: sans-serif;\n letter-spacing: 2rpx;\n}\n\n.svg-icon {\n width: 40rpx;\n height: 40rpx;\n}\n\n.button:hover {\n background: #A649DA;\n}\n\n.button:hover .svg-icon {\n animation: rot 0.5s linear infinite;\n}\n\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n\n 25% {\n transform: rotate(-6deg);\n }\n\n 50% {\n transform: rotate(0deg);\n }\n\n 75% {\n transform: rotate(6deg);\n }\n\n 100% {\n transform: rotate(0deg);\n }\n}\n",
"component_name": "GalaxyMoodyPenguin72"
},
"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": 1876,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.663Z",
"updated_at": "2025-07-31T07:55:35.663Z"
}