galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 5.03 kB
JSON
{
"id": "Deri-Kurniawan_moody-lion-47",
"name": "moody-lion-47",
"category": "buttons",
"author": "Deri-Kurniawan",
"description": "moody-lion-47 组件 (button, colorful, btn, hover effect, gradient, interactive)",
"tags": [
"button",
"colorful",
"btn",
"hover effect",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div class=\"light-border\">Colorful Shiny</div>\n</button>",
"css": "/* From Uiverse.io by Deri-Kurniawan - Tags: button, colorful, btn, hover effect */\n.button {\n position: relative;\n cursor: pointer;\n padding: 6px 6px;\n position: relative;\n background: linear-gradient(\n 75deg,\n rgba(192, 97, 237, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(255, 255, 255, 0.4),\n rgba(252, 144, 98, 0.8),\n rgba(252, 144, 98, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(228, 89, 199, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(228, 89, 199, 0.8)\n );\n border: 1.5px solid transparent;\n border-radius: 12px;\n inset: 0;\n}\n\n.button .light-border {\n padding: 8px 24px;\n border: 0.1px solid rgba(255, 255, 255, 0.4);\n border-radius: 8px;\n pointer-events: none;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);\n}\n\n.button:hover {\n filter: contrast(1.2) brightness(1.2);\n box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);\n transition: all 0.3s ease-in-out;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Deri-Kurniawan_moody-lion-47.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"light-border\">Colorful Shiny</view>\n</button>",
"script": "export default {\n name: 'GalaxyMoodyLion47',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Deri-Kurniawan - Tags: button, colorful, btn, hover effect */\n.button {\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 12rpx 12rpx;\n position: relative;\n background: linear-gradient(\n 75deg,\n rgba(192, 97, 237, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(255, 255, 255, 0.4),\n rgba(252, 144, 98, 0.8),\n rgba(252, 144, 98, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(228, 89, 199, 0.8),\n rgba(255, 255, 255, 0.4),\n rgba(228, 89, 199, 0.8)\n );\n border: 3rpx solid transparent;\n border-radius: 24rpx;\n inset: 0;\n}\n\n.button .light-border {\n padding: 16rpx 48rpx;\n border: 0.2rpx solid rgba(255, 255, 255, 0.4);\n border-radius: 16rpx;\n pointer-events: none;\n transition: all 0.3s ease-in-out;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx rgba(255, 255, 255, 0.8);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:hover {\n \n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx rgba(255, 255, 255, 0.8);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s ease-in-out;\n}\n\n",
"component_name": "GalaxyMoodyLion47"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 1024,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.122Z",
"updated_at": "2025-07-31T07:55:33.122Z"
}