galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
120 lines • 5.31 kB
JSON
{
"id": "vinodjangid07_new-emu-14",
"name": "new-emu-14",
"category": "buttons",
"author": "vinodjangid07",
"description": "new-emu-14 组件 (icon, animation, blue, gradient, button, next, hover effect, skip, interactive)",
"tags": [
"icon",
"animation",
"blue",
"gradient",
"button",
"next",
"hover effect",
"skip",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n SKIP\n <svg viewBox=\"0 0 320 512\" class=\"svg\">\n <path d=\"M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96C0 83.6 7.2 72.3 18.4 67s24.5-3.6 34.1 4.4l192 160L256 241V96c0-17.7 14.3-32 32-32s32 14.3 32 32V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V271l-11.5 9.6-192 160z\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: icon, animation, blue, gradient, button, next, hover effect, skip */\n.Btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 100px;\n height: 40px;\n border: none;\n padding: 0px 20px;\n background: linear-gradient(to right, #8be3fc, #576bff);\n color: white;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n border-radius: 12px;\n box-shadow: 0 20px 30px -7px rgba(97, 118, 238, 0.5);\n transition-duration: 0.3s;\n}\n\n.svg {\n width: 12px;\n position: absolute;\n right: 0;\n margin-right: 20px;\n fill: white;\n transition-duration: 0.3s;\n}\n\n.Btn:hover {\n color: transparent;\n}\n\n.Btn:hover svg {\n right: 43%;\n margin: 0;\n padding: 0;\n border: none;\n transition-duration: 0.3s;\n}\n\n.Btn:active {\n transform: translate(3px, 3px);\n transition-duration: 0.3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_new-emu-14.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n SKIP\n <view viewBox=\"0 0 320 512\" class=\"svg\"></view>\n <path d=\"M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96C0 83.6 7.2 72.3 18.4 67s24.5-3.6 34.1 4.4l192 160L256 241V96c0-17.7 14.3-32 32-32s32 14.3 32 32V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V271l-11.5 9.6-192 160z\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyNewEmu14',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: icon, animation, blue, gradient, button, next, hover effect, skip */\n.Btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 200rpx;\n height: 80rpx;\n border: none;\n padding: 0rpx 40rpx;\n background: linear-gradient(to right, #8be3fc, #576bff);\n color: white;\n font-size: 32rpx;\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border-radius: 24rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 40rpx 60rpx -14rpx rgba(97, 118, 238, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-duration: 0.3s;\n}\n\n.svg {\n width: 24rpx;\n position: absolute;\n right: 0;\n margin-right: 40rpx;\n fill: white;\n transition-duration: 0.3s;\n}\n\n.Btn:hover {\n color: transparent;\n}\n\n.Btn:hover svg {\n right: 43%;\n margin: 0;\n padding: 0;\n border: none;\n transition-duration: 0.3s;\n}\n\n.Btn:active {\n transform: translate(6rpx, 6rpx);\n transition-duration: 0.3s;\n}\n\n",
"component_name": "GalaxyNewEmu14"
},
"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 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1209,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.198Z",
"updated_at": "2025-07-31T07:55:38.198Z"
}