galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.69 kB
JSON
{
"id": "mRcOol7_quiet-moth-18",
"name": "quiet-moth-18",
"category": "buttons",
"author": "mRcOol7",
"description": "quiet-moth-18 组件 (button, ring, futuristic, animation, gradient, interactive)",
"tags": [
"button",
"ring",
"futuristic",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"ring-futuristic-button\">Click Me</button>",
"css": "/* From Uiverse.io by mRcOol7 - Tags: button, ring, futuristic */\n.ring-futuristic-button {\n width: 200px;\n height: 60px;\n background: linear-gradient(to bottom right, #ff7e5f, #feb47b);\n color: white;\n font-size: 16px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n outline: none;\n position: relative;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n letter-spacing: 1px;\n transition: transform 0.5s, background 0.5s, color 0.3s, box-shadow 0.3s;\n position: relative;\n z-index: 1;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);\n}\n\n.ring-futuristic-button::before {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n border: 2px solid rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n box-sizing: border-box;\n opacity: 0;\n transform: scale(0);\n transition: transform 0.5s, opacity 0.5s;\n}\n\n.ring-futuristic-button:hover {\n background: linear-gradient(to bottom right, #feb47b, #ff7e5f);\n color: #fff;\n transform: scale(1.05);\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);\n}\n\n.ring-futuristic-button:hover::before {\n opacity: 1;\n transform: scale(2);\n}\n\n.ring-futuristic-button:active {\n transform: scale(0.95);\n transition: transform 0.1s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/mRcOol7_quiet-moth-18.html"
},
"uniapp": {
"template": "<button class=\"ring-futuristic-button\"></button>Click Me</button>",
"script": "export default {\n name: 'GalaxyQuietMoth18',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mRcOol7 - Tags: button, ring, futuristic */\n.ring-futuristic-button {\n width: 400rpx;\n height: 120rpx;\n background: linear-gradient(to bottom right, #ff7e5f, #feb47b);\n color: white;\n font-size: 32rpx;\n border: none;\n border-radius: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n outline: none;\n position: relative;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n letter-spacing: 2rpx;\n transition: transform 0.5s, background 0.5s, color 0.3s, box-shadow 0.3s;\n position: relative;\n z-index: 1;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.ring-futuristic-button::before {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n border: 4rpx solid rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n box-sizing: border-box;\n opacity: 0;\n transform: scale(0);\n transition: transform 0.5s, opacity 0.5s;\n}\n\n.ring-futuristic-button:hover {\n background: linear-gradient(to bottom right, #feb47b, #ff7e5f);\n color: #fff;\n transform: scale(1.05);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.ring-futuristic-button:hover::before {\n opacity: 1;\n transform: scale(2);\n}\n\n.ring-futuristic-button:active {\n transform: scale(0.95);\n transition: transform 0.1s;\n}\n\n",
"component_name": "GalaxyQuietMoth18"
},
"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": 1361,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.173Z",
"updated_at": "2025-07-31T07:55:37.173Z"
}