galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 5.2 kB
JSON
{
"id": "KhaledMatalkah_odd-gecko-75",
"name": "odd-gecko-75",
"category": "buttons",
"author": "KhaledMatalkah",
"description": "odd-gecko-75 组件 (button, hover, animated, animation, gradient, interactive)",
"tags": [
"button",
"hover",
"animated",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">HOVER ME!</button>",
"css": "/* From Uiverse.io by KhaledMatalkah - Tags: button, hover, animated */\n@keyframes glowing-pulse {\n 0% {\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);\n }\n\n 70% {\n box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);\n }\n\n 100% {\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n\n.button {\n position: relative;\n display: inline-block;\n background: linear-gradient(to right, #FFB900, #FF7730);\n border: none;\n border-radius: 25px;\n color: white;\n padding: 10px 20px;\n font-size: 18px;\n text-transform: uppercase;\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);\n animation: glowing-pulse 2s infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: -5px;\n left: -5px;\n right: -5px;\n bottom: -5px;\n border-radius: 30px;\n box-shadow: 0 0 20px #FF7730;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease;\n}\n\n.button:hover::before {\n opacity: 1;\n}",
"file_path": "/mnt/persist/workspace/Buttons/KhaledMatalkah_odd-gecko-75.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>HOVER ME!</button>",
"script": "export default {\n name: 'GalaxyOddGecko75',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by KhaledMatalkah - Tags: button, hover, animated */\n@keyframes glowing-pulse {\n 0% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 70% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 60rpx rgba(255, 255, 255, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 100% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n.button {\n position: relative;\n display: inline-block;\n background: linear-gradient(to right, #FFB900, #FF7730);\n border: none;\n border-radius: 50rpx;\n color: white;\n padding: 20rpx 40rpx;\n font-size: 36rpx;\n text-transform: uppercase;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: glowing-pulse 2s infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: -10rpx;\n left: -10rpx;\n right: -10rpx;\n bottom: -10rpx;\n border-radius: 60rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx #FF7730;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease;\n}\n\n.button:hover::before {\n opacity: 1;\n}\n\n",
"component_name": "GalaxyOddGecko75"
},
"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": 949,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.718Z",
"updated_at": "2025-07-31T07:55:33.718Z"
}