galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.92 kB
JSON
{
"id": "adamgiebl_ugly-robin-41",
"name": "ugly-robin-41",
"category": "buttons",
"author": "adamgiebl",
"description": "ugly-robin-41 组件 (button, animation, gradient, interactive)",
"tags": [
"button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button> I'M READY\n</button>",
"css": "/* From Uiverse.io by adamgiebl - Tags: button */\nbutton {\n --green: #1BFD9C;\n font-size: 15px;\n padding: 0.7em 2.7em;\n letter-spacing: 0.06em;\n position: relative;\n font-family: inherit;\n border-radius: 0.6em;\n overflow: hidden;\n transition: all 0.3s;\n line-height: 1.4em;\n border: 2px solid var(--green);\n background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);\n color: var(--green);\n box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);\n}\n\nbutton:hover {\n color: #82ffc9;\n box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n left: -4em;\n width: 4em;\n height: 100%;\n top: 0;\n transition: transform .4s ease-in-out;\n background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);\n}\n\nbutton:hover:before {\n transform: translateX(15em);\n}",
"file_path": "/mnt/persist/workspace/Buttons/adamgiebl_ugly-robin-41.html"
},
"uniapp": {
"template": "<button></button> I'M READY\n</button>",
"script": "export default {\n name: 'GalaxyUglyRobin41',\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: button */\nbutton {\n --green: #1BFD9C;\n font-size: 30rpx;\n padding: 0.7em 2.7em;\n letter-spacing: 0.06em;\n position: relative;\n font-family: inherit;\n border-radius: 0.6em;\n overflow: hidden;\n transition: all 0.3s;\n line-height: 1.4em;\n border: 4rpx solid var(--green);\n background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);\n color: var(--green);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx rgba(27, 253, 156, 0.4), 0 0 18rpx 6rpx rgba(27, 253, 156, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:hover {\n color: #82ffc9;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx rgba(27, 253, 156, 0.6), 0 0 18rpx 6rpx rgba(27, 253, 156, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n left: -4em;\n width: 4em;\n height: 100%;\n top: 0;\n transition: transform .4s ease-in-out;\n background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);\n}\n\nbutton:hover:before {\n transform: translateX(15em);\n}\n",
"component_name": "GalaxyUglyRobin41"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1065,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.509Z",
"updated_at": "2025-07-31T07:55:35.509Z"
}