galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 4.74 kB
JSON
{
"id": "vinodjangid07_modern-bear-96",
"name": "modern-bear-96",
"category": "buttons",
"author": "vinodjangid07",
"description": "modern-bear-96 组件 (gradient, button, hover effect, animation, interactive)",
"tags": [
"gradient",
"button",
"hover effect",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n <p class=\"text\">Button</p>\n <span class=\"BG\"></span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover effect */\n.Btn {\n position: relative;\n background-color: transparent;\n border: none;\n width: 100px;\n height: 40px;\n border-radius: 5px;\n cursor: pointer;\n transition: all .3s;\n}\n\n.text {\n width: 100%;\n height: 100%;\n background-color: rgba(230, 230, 230, 0.466);\n border: none;\n border-radius: 7px;\n backdrop-filter: blur(5px);\n color: rgb(26, 26, 26);\n display: flex;\n font-weight: 600;\n align-items: center;\n justify-content: center;\n letter-spacing: 0.8px;\n}\n\n.BG {\n position: absolute;\n content: \"\";\n width: 100%;\n height: 100%;\n background-image: linear-gradient(147deg, #FFE53B, #FF2525);\n z-index: -1;\n left: 6px;\n top: 6px;\n border-radius: 7px;\n pointer-events: none;\n transition: all .3s;\n}\n\n.Btn:hover {\n transform: translateY(-2px);\n}\n\n.Btn:hover .BG {\n transform: translateY(-1px);\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_modern-bear-96.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n <text class=\"text\">Button</text>\n <text class=\"BG\"></text>\n</button>",
"script": "export default {\n name: 'GalaxyModernBear96',\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: gradient, button, hover effect */\n.Btn {\n position: relative;\n background-color: transparent;\n border: none;\n width: 200rpx;\n height: 80rpx;\n border-radius: 10rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all .3s;\n}\n\n.text {\n width: 100%;\n height: 100%;\n background-color: rgba(230, 230, 230, 0.466);\n border: none;\n border-radius: 14rpx;\n backdrop-\n color: rgb(26, 26, 26);\n display: flex;\n font-weight: 600;\n align-items: center;\n justify-content: center;\n letter-spacing: 1.6rpx;\n}\n\n.BG {\n position: absolute;\n content: \"\";\n width: 100%;\n height: 100%;\n background-image: linear-gradient(147deg, #FFE53B, #FF2525);\n z-index: -1;\n left: 12rpx;\n top: 12rpx;\n border-radius: 14rpx;\n pointer-events: none;\n transition: all .3s;\n}\n\n.Btn:hover {\n transform: translateY(-4rpx);\n}\n\n.Btn:hover .BG {\n transform: translateY(-2rpx);\n}\n",
"component_name": "GalaxyModernBear96"
},
"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": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 986,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.170Z",
"updated_at": "2025-07-31T07:55:38.170Z"
}