galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.91 kB
JSON
{
"id": "adamgiebl_soft-gecko-85",
"name": "soft-gecko-85",
"category": "buttons",
"author": "adamgiebl",
"description": "soft-gecko-85 组件 (flashy, pink, gradient, button, animation, interactive)",
"tags": [
"flashy",
"pink",
"gradient",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button> <span class=\"text\">Button</span>\n <span class=\"blob\"></span>\n <span class=\"blob\"></span>\n <span class=\"blob\"></span>\n <span class=\"blob\"></span>\n</button>",
"css": "/* From Uiverse.io by adamgiebl - Tags: flashy, pink, gradient, button */\nbutton {\n position: relative;\n font-family: inherit;\n font-size: 18px;\n border-radius: 40em;\n width: 8em;\n height: 3em;\n z-index: 1;\n color: white;\n overflow: hidden;\n border: none;\n}\n\nbutton .text {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n line-height: 3em;\n border-radius: 40em;\n border: none;\n background: linear-gradient(rgba(255, 255, 255, 0.473), rgba(150, 150, 150, 0.25));\n z-index: 1;\n backdrop-filter: blur(10px);\n -webkit-backdrop-filter: blur(10px);\n}\n\nbutton .blob {\n position: absolute;\n z-index: -1;\n border-radius: 5em;\n width: 5em;\n height: 3em;\n transition: transform .3s ease-in-out, background .3s ease-in-out;\n}\n\nbutton .blob:nth-child(2) {\n left: 0em;\n top: 0;\n background: #ff930f;\n}\n\nbutton .blob:nth-child(3) {\n left: 1.8em;\n top: 0;\n z-index: -1;\n background: #bf0fff;\n}\n\nbutton .blob:nth-child(4) {\n left: 4em;\n top: -1em;\n background: #ff1b6b;\n}\n\nbutton .blob:nth-child(5) {\n left: 4.3em;\n top: 1.6em;\n background: #0061ff;\n}\n\nbutton:hover .blob:nth-child(2) {\n background: #0061ff;\n}\n\nbutton:hover .blob:nth-child(3) {\n background: #ff1b6b;\n}\n\nbutton:hover .blob:nth-child(4) {\n background: #bf0fff;\n}\n\nbutton:hover .blob:nth-child(5) {\n background: #ff930f;\n}\n\nbutton:hover .blob {\n transform: scale(1.3);\n}\n\nbutton:active {\n border: 2px solid white;\n}",
"file_path": "/mnt/persist/workspace/Buttons/adamgiebl_soft-gecko-85.html"
},
"uniapp": {
"template": "<button></button> <text class=\"text\">Button</text>\n <text class=\"blob\"></text>\n <text class=\"blob\"></text>\n <text class=\"blob\"></text>\n <text class=\"blob\"></text>\n</button>",
"script": "export default {\n name: 'GalaxySoftGecko85',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by adamgiebl - Tags: flashy, pink, gradient, button */\nbutton {\n position: relative;\n font-family: inherit;\n font-size: 36rpx;\n border-radius: 40em;\n width: 8em;\n height: 3em;\n z-index: 1;\n color: white;\n overflow: hidden;\n border: none;\n}\n\nbutton .text {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n line-height: 3em;\n border-radius: 40em;\n border: none;\n background: linear-gradient(rgba(255, 255, 255, 0.473), rgba(150, 150, 150, 0.25));\n z-index: 1;\n backdrop-\n -webkit-backdrop-\n}\n\nbutton .blob {\n position: absolute;\n z-index: -1;\n border-radius: 5em;\n width: 5em;\n height: 3em;\n transition: transform .3s ease-in-out, background .3s ease-in-out;\n}\n\nbutton .blob:nth-child(2) {\n left: 0em;\n top: 0;\n background: #ff930f;\n}\n\nbutton .blob:nth-child(3) {\n left: 1.8em;\n top: 0;\n z-index: -1;\n background: #bf0fff;\n}\n\nbutton .blob:nth-child(4) {\n left: 4em;\n top: -1em;\n background: #ff1b6b;\n}\n\nbutton .blob:nth-child(5) {\n left: 4.3em;\n top: 1.6em;\n background: #0061ff;\n}\n\nbutton:hover .blob:nth-child(2) {\n background: #0061ff;\n}\n\nbutton:hover .blob:nth-child(3) {\n background: #ff1b6b;\n}\n\nbutton:hover .blob:nth-child(4) {\n background: #bf0fff;\n}\n\nbutton:hover .blob:nth-child(5) {\n background: #ff930f;\n}\n\nbutton:hover .blob {\n transform: scale(1.3);\n}\n\nbutton:active {\n border: 4rpx solid white;\n}\n\n\n\n\n",
"component_name": "GalaxySoftGecko85"
},
"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": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1607,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.506Z",
"updated_at": "2025-07-31T07:55:35.506Z"
}