galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
124 lines • 5.6 kB
JSON
{
"id": "akshat-patel28_grumpy-lizard-55",
"name": "grumpy-lizard-55",
"category": "buttons",
"author": "akshat-patel28",
"description": "grumpy-lizard-55 组件 (glassmorphism, button, square, css, hover effect, css effect, hover button, animation, interactive)",
"tags": [
"glassmorphism",
"button",
"square",
"css",
"hover effect",
"css effect",
"hover button",
"animation",
"interactive"
],
"original": {
"html": "<div>\n<button class=\"button\">\n Hover Me!\n</button>\n<span class=\"backdrop\"></span>\n</div>",
"css": "/* From Uiverse.io by akshat-patel28 - Tags: glassmorphism, button, square, css, hover effect, css effect, hover button */\n.button {\n width: 90px;\n height: 90px;\n border-radius: 15px;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n background-color: rgba(255, 255, 255, 0.1);\n border: 0px;\n cursor: pointer;\n outline: 0px;\n padding: 0 2px;\n font-weight: 600;\n font-size: 18px;\n color: white;\n box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;\n}\n\n.backdrop {\n position: absolute;\n width: 80px;\n height: 80px;\n background-color: rgb(36, 33, 228);\n z-index: -1;\n top: 50%;\n left: 50%;\n border-radius: 15px;\n transform: translateX(-50%) translateY(-50%);\n transition: all ease-in-out 0.5s;\n}\n\n.button:hover + .backdrop {\n top: 48%;\n box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;\n transform: rotate(15deg) translateX(-50%) translateY(-50%);\n}\n\n.button:active,.button:active +.backdrop {\n box-shadow: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/akshat-patel28_grumpy-lizard-55.html"
},
"uniapp": {
"template": "<view></view>\n<button class=\"button\"></button>\n Hover Me!\n</button>\n<text class=\"backdrop\"></text>\n</div>",
"script": "export default {\n name: 'GalaxyGrumpyLizard55',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by akshat-patel28 - Tags: glassmorphism, button, square, css, hover effect, css effect, hover button */\n.button {\n width: 180rpx;\n height: 180rpx;\n border-radius: 30rpx;\n -webkit-backdrop-\n backdrop-\n background-color: rgba(255, 255, 255, 0.1);\n border: 0rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n outline: 0rpx;\n padding: 0 4rpx;\n font-weight: 600;\n font-size: 36rpx;\n color: white;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.3) 0rpx 38rpx 76rpx, rgba(0, 0, 0, 0.22) 0rpx 30rpx 24rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.backdrop {\n position: absolute;\n width: 160rpx;\n height: 160rpx;\n background-color: rgb(36, 33, 228);\n z-index: -1;\n top: 50%;\n left: 50%;\n border-radius: 30rpx;\n transform: translateX(-50%) translateY(-50%);\n transition: all ease-in-out 0.5s;\n}\n\n.button:hover + .backdrop {\n top: 48%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.3) 0rpx 38rpx 76rpx, rgba(0, 0, 0, 0.22) 0rpx 30rpx 24rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: rotate(15deg) translateX(-50%) translateY(-50%);\n}\n\n.button:active,.button:active +.backdrop {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n",
"component_name": "GalaxyGrumpyLizard55"
},
"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 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1110,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.551Z",
"updated_at": "2025-07-31T07:55:35.551Z"
}