galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 8.5 kB
JSON
{
"id": "fabiodevbr_shy-termite-9",
"name": "shy-termite-9",
"category": "buttons",
"author": "fabiodevbr",
"description": "shy-termite-9 组件 (button, click, animated, copy, click effect, animation)",
"tags": [
"button",
"click",
"animated",
"copy",
"click effect",
"animation"
],
"original": {
"html": "<div class=\"centralize\">\n <div>\n <button>\n <span><svg viewBox=\"0 0 467 512.22\" clip-rule=\"evenodd\" fill-rule=\"evenodd\" image-rendering=\"optimizeQuality\" text-rendering=\"geometricPrecision\" shape-rendering=\"geometricPrecision\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"#0E418F\" height=\"12\" width=\"12\"><path d=\"M131.07 372.11c.37 1 .57 2.08.57 3.2 0 1.13-.2 2.21-.57 3.21v75.91c0 10.74 4.41 20.53 11.5 27.62s16.87 11.49 27.62 11.49h239.02c10.75 0 20.53-4.4 27.62-11.49s11.49-16.88 11.49-27.62V152.42c0-10.55-4.21-20.15-11.02-27.18l-.47-.43c-7.09-7.09-16.87-11.5-27.62-11.5H170.19c-10.75 0-20.53 4.41-27.62 11.5s-11.5 16.87-11.5 27.61v219.69zm-18.67 12.54H57.23c-15.82 0-30.1-6.58-40.45-17.11C6.41 356.97 0 342.4 0 326.52V57.79c0-15.86 6.5-30.3 16.97-40.78l.04-.04C27.51 6.49 41.94 0 57.79 0h243.63c15.87 0 30.3 6.51 40.77 16.98l.03.03c10.48 10.48 16.99 24.93 16.99 40.78v36.85h50c15.9 0 30.36 6.5 40.82 16.96l.54.58c10.15 10.44 16.43 24.66 16.43 40.24v302.01c0 15.9-6.5 30.36-16.96 40.82-10.47 10.47-24.93 16.97-40.83 16.97H170.19c-15.9 0-30.35-6.5-40.82-16.97-10.47-10.46-16.97-24.92-16.97-40.82v-69.78zM340.54 94.64V57.79c0-10.74-4.41-20.53-11.5-27.63-7.09-7.08-16.86-11.48-27.62-11.48H57.79c-10.78 0-20.56 4.38-27.62 11.45l-.04.04c-7.06 7.06-11.45 16.84-11.45 27.62v268.73c0 10.86 4.34 20.79 11.38 27.97 6.95 7.07 16.54 11.49 27.17 11.49h55.17V152.42c0-15.9 6.5-30.35 16.97-40.82 10.47-10.47 24.92-16.96 40.82-16.96h170.35z\" fill-rule=\"nonzero\"></path></svg> Copy link</span>\n <span>Copied</span>\n </button>\n <div>\n <div class=\"description\">\n <p>Click to see what happens</p>\n <div>\n<div></div></div></div></div></div></div>",
"css": "/* From Uiverse.io by fabiodevbr - Tags: button, click, animated, copy, click effect */\nbutton {\n background-color: #F2F7FA;\n width: 100px;\n height: 30px;\n border: none;\n border-radius: 10px;\n font-weight: 600;\n overflow: hidden;\n transition-duration: 700ms;\n}\n\nbutton span:first-child {\n color: #0E418F;\n position: absolute;\n transform: translate(-50%, -50%)\n}\n\nbutton span:last-child {\n position: absolute;\n color: #B5CCF3;\n opacity: 0;\n transform: translateY(100%) translateX(-50%);\n height: 14px;\n line-height: 13px;\n}\n\nbutton:focus {\n background-color: #0E418F;\n width: 120px;\n height: 40px;\n transition-delay: 100ms;\n transition-duration: 500ms;\n}\n\nbutton:focus span:first-child {\n color: #B5CCF3;\n transform: translateX(-50%) translateY(-150%);\n opacity: 0;\n transition-duration: 500ms;\n}\n\nbutton:focus span:last-child {\n transform: translateX(-50%) translateY(-50%);\n opacity: 1;\n transition-delay: 300ms;\n transition-duration: 500ms;\n}\n\nbutton:focus:end {\n background-color: #FFFFFF;\n width: 120px;\n height: 40px;\n transition-duration: 900ms;\n}\n\n.centralize {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n\n.description {\n margin-top: 10px;\n color: #B5CCF3;\n}",
"file_path": "/mnt/persist/workspace/Buttons/fabiodevbr_shy-termite-9.html"
},
"uniapp": {
"template": "<view class=\"centralize\"></view>\n <view></view>\n <button></button>\n <text><view viewBox=\"0 0 467 512.22\" clip-rule=\"evenodd\" fill-rule=\"evenodd\" image-rendering=\"optimizeQuality\" text-rendering=\"geometricPrecision\" shape-rendering=\"geometricPrecision\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"#0E418F\" height=\"12\" width=\"12\"><path d=\"M131.07 372.11c.37 1 .57 2.08.57 3.2 0 1.13-.2 2.21-.57 3.21v75.91c0 10.74 4.41 20.53 11.5 27.62s16.87 11.49 27.62 11.49h239.02c10.75 0 20.53-4.4 27.62-11.49s11.49-16.88 11.49-27.62V152.42c0-10.55-4.21-20.15-11.02-27.18l-.47-.43c-7.09-7.09-16.87-11.5-27.62-11.5H170.19c-10.75 0-20.53 4.41-27.62 11.5s-11.5 16.87-11.5 27.61v219.69zm-18.67 12.54H57.23c-15.82 0-30.1-6.58-40.45-17.11C6.41 356.97 0 342.4 0 326.52V57.79c0-15.86 6.5-30.3 16.97-40.78l.04-.04C27.51 6.49 41.94 0 57.79 0h243.63c15.87 0 30.3 6.51 40.77 16.98l.03.03c10.48 10.48 16.99 24.93 16.99 40.78v36.85h50c15.9 0 30.36 6.5 40.82 16.96l.54.58c10.15 10.44 16.43 24.66 16.43 40.24v302.01c0 15.9-6.5 30.36-16.96 40.82-10.47 10.47-24.93 16.97-40.83 16.97H170.19c-15.9 0-30.35-6.5-40.82-16.97-10.47-10.46-16.97-24.92-16.97-40.82v-69.78zM340.54 94.64V57.79c0-10.74-4.41-20.53-11.5-27.63-7.09-7.08-16.86-11.48-27.62-11.48H57.79c-10.78 0-20.56 4.38-27.62 11.45l-.04.04c-7.06 7.06-11.45 16.84-11.45 27.62v268.73c0 10.86 4.34 20.79 11.38 27.97 6.95 7.07 16.54 11.49 27.17 11.49h55.17V152.42c0-15.9 6.5-30.35 16.97-40.82 10.47-10.47 24.92-16.96 40.82-16.96h170.35z\" fill-rule=\"nonzero\"></path></view> Copy link</text>\n <text>Copied</text>\n </button>\n <view></view>\n <view class=\"description\"></view>\n <text>Click to see what happens</text>\n <view></view>\n<view></view></div></div></div></div></div>",
"script": "export default {\n name: 'GalaxyShyTermite9',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by fabiodevbr - Tags: button, click, animated, copy, click effect */\nbutton {\n background-color: #F2F7FA;\n width: 200rpx;\n height: 60rpx;\n border: none;\n border-radius: 20rpx;\n font-weight: 600;\n overflow: hidden;\n transition-duration: 700ms;\n}\n\nbutton span:first-child {\n color: #0E418F;\n position: absolute;\n transform: translate(-50%, -50%)\n}\n\nbutton span:last-child {\n position: absolute;\n color: #B5CCF3;\n opacity: 0;\n transform: translateY(100%) translateX(-50%);\n height: 28rpx;\n line-height: 26rpx;\n}\n\nbutton:focus {\n background-color: #0E418F;\n width: 240rpx;\n height: 80rpx;\n transition-delay: 100ms;\n transition-duration: 500ms;\n}\n\nbutton:focus span:first-child {\n color: #B5CCF3;\n transform: translateX(-50%) translateY(-150%);\n opacity: 0;\n transition-duration: 500ms;\n}\n\nbutton:focus span:last-child {\n transform: translateX(-50%) translateY(-50%);\n opacity: 1;\n transition-delay: 300ms;\n transition-duration: 500ms;\n}\n\nbutton:focus:end {\n background-color: #FFFFFF;\n width: 240rpx;\n height: 80rpx;\n transition-duration: 900ms;\n}\n\n.centralize {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n\n.description {\n margin-top: 20rpx;\n color: #B5CCF3;\n}\n",
"component_name": "GalaxyShyTermite9"
},
"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": [],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2931,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.667Z",
"updated_at": "2025-07-31T07:55:36.667Z"
}