galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.63 kB
JSON
{
"id": "cybrejon_old-termite-43",
"name": "old-termite-43",
"category": "buttons",
"author": "cybrejon",
"description": "old-termite-43 组件 (glassmorphism, button, download, animation, gradient, interactive)",
"tags": [
"glassmorphism",
"button",
"download",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<a><svg viewBox=\"0 0 256 256\" height=\"32\" width=\"38\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M74.34 85.66a8 8 0 0 1 11.32-11.32L120 108.69V24a8 8 0 0 1 16 0v84.69l34.34-34.35a8 8 0 0 1 11.32 11.32l-48 48a8 8 0 0 1-11.32 0ZM240 136v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h52.4a4 4 0 0 1 2.83 1.17L111 145a24 24 0 0 0 34 0l23.8-23.8a4 4 0 0 1 2.8-1.2H224a16 16 0 0 1 16 16m-40 32a12 12 0 1 0-12 12a12 12 0 0 0 12-12\" fill=\"currentColor\"></path></svg></a>",
"css": "/* From Uiverse.io by cybrejon - Tags: glassmorphism, button, download */\na {\n color: rgba(255, 255, 255, 0.692);\n padding: 10px 15px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n text-shadow: 0 0 20px rgba(255, 255, 255, 0.397);\n background: rgba(255, 255, 255, 0.068);\n overflow: hidden;\n font-size: 0.9rem;\n font-weight: 600;\n gap: 8px;\n border-radius: 5px;\n margin: 0 5px;\n transition: 0.2s;\n border: 1px solid transparent;\n}\n\na:hover {\n border-color: rgba(255, 255, 255, 0.623);\n background: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0.144),\n rgba(255, 255, 255, 0.247),\n rgba(255, 255, 255, 0.39)\n );\n box-shadow: 0 6px rgba(255, 255, 255, 0.623);\n transform: translateY(-6px);\n}\n\na:active {\n transform: translateY(2px);\n box-shadow: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/cybrejon_old-termite-43.html"
},
"uniapp": {
"template": "<navigator></navigator><view viewBox=\"0 0 256 256\" height=\"32\" width=\"38\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M74.34 85.66a8 8 0 0 1 11.32-11.32L120 108.69V24a8 8 0 0 1 16 0v84.69l34.34-34.35a8 8 0 0 1 11.32 11.32l-48 48a8 8 0 0 1-11.32 0ZM240 136v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h52.4a4 4 0 0 1 2.83 1.17L111 145a24 24 0 0 0 34 0l23.8-23.8a4 4 0 0 1 2.8-1.2H224a16 16 0 0 1 16 16m-40 32a12 12 0 1 0-12 12a12 12 0 0 0 12-12\" fill=\"currentColor\"></path></svg></a>",
"script": "export default {\n name: 'GalaxyOldTermite43',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by cybrejon - Tags: glassmorphism, button, download */\na {\n color: rgba(255, 255, 255, 0.692);\n padding: 20rpx 30rpx;\n display: flex;\n justify-content: space-between;\n align-items: center;\n /* #ifdef H5 */\n text-shadow: 0 0 40rpx rgba(255, 255, 255, 0.397);\n /* #endif */\n background: rgba(255, 255, 255, 0.068);\n overflow: hidden;\n font-size: 0.9rem;\n font-weight: 600;\n gap: 16rpx;\n border-radius: 10rpx;\n margin: 0 10rpx;\n transition: 0.2s;\n border: 2rpx solid transparent;\n}\n\na:hover {\n border-color: rgba(255, 255, 255, 0.623);\n background: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0.144),\n rgba(255, 255, 255, 0.247),\n rgba(255, 255, 255, 0.39)\n );\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 12rpx rgba(255, 255, 255, 0.623);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(-12rpx);\n}\n\na:active {\n transform: translateY(4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxyOldTermite43"
},
"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 属性",
"不支持 text-shadow 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1312,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.248Z",
"updated_at": "2025-07-31T07:55:36.248Z"
}