galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 5.12 kB
JSON
{
"id": "Pradeepsaranbishnoi_wet-donkey-50",
"name": "wet-donkey-50",
"category": "buttons",
"author": "Pradeepsaranbishnoi",
"description": "wet-donkey-50 组件 (button, claymorphism, emoji, animation)",
"tags": [
"button",
"claymorphism",
"emoji",
"animation"
],
"original": {
"html": "<div class=\"mybutton\">\n<button class=\"button\" type=\"button\">\n <span>Hello 😊</span>\n</button>\n</div>",
"css": "/* From Uiverse.io by Pradeepsaranbishnoi - Tags: button, claymorphism, emoji */\n.mybutton {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.button {\n all: unset;\n display: flex;\n justify-content: center;\n align-items: center;\n column-gap: .5em;\n position: relative;\n border-radius: 50px;\n padding: 16px 24px;\n background-color: #f0f7fa;\n box-shadow: inset 0 -4px 8px #87bfd8, 0 4px 6px rgba(0, 0, 0, 0.2);\n cursor: pointer;\n color: #0470e3;\n transition: transform 0.4s cubic-bezier(0.55, 1, 0.15, 1);\n will-change: transform;\n}\n\n.button:active {\n transform: scale(0.92);\n}\n\n.button:active::after {\n opacity: 1;\n outline: none;\n border: 0;\n}\n\n.button::after {\n content: '';\n position: absolute;\n inset: 0;\n border-image-slice: 50%;\n border-image-width: 40px;\n border-style: solid;\n transform: scale(1.04, 1.08);\n opacity: 0;\n border: 0;\n transition-property: opacity;\n transition-duration: .4s;\n transition-timing-function: cubic-bezier(0.55, 1, 0.15, 1);\n will-change: transform;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Pradeepsaranbishnoi_wet-donkey-50.html"
},
"uniapp": {
"template": "<view class=\"mybutton\"></view>\n<button class=\"button\" type=\"button\"></button>\n <text>Hello 😊</text>\n</button>\n</div>",
"script": "export default {\n name: 'GalaxyWetDonkey50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Pradeepsaranbishnoi - Tags: button, claymorphism, emoji */\n.mybutton {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.button {\n all: unset;\n display: flex;\n justify-content: center;\n align-items: center;\n column-gap: .5em;\n position: relative;\n border-radius: 100rpx;\n padding: 32rpx 48rpx;\n background-color: #f0f7fa;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 -8rpx 16rpx #87bfd8, 0 8rpx 12rpx 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 /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: #0470e3;\n transition: transform 0.4s cubic-bezier(0.55, 1, 0.15, 1);\n will-change: transform;\n}\n\n.button:active {\n transform: scale(0.92);\n}\n\n.button:active::after {\n opacity: 1;\n outline: none;\n border: 0;\n}\n\n.button::after {\n content: '';\n position: absolute;\n inset: 0;\n border-image-slice: 50%;\n border-image-width: 80rpx;\n border-style: solid;\n transform: scale(1.04, 1.08);\n opacity: 0;\n border: 0;\n transition-property: opacity;\n transition-duration: .4s;\n transition-timing-function: cubic-bezier(0.55, 1, 0.15, 1);\n will-change: transform;\n}\n\n",
"component_name": "GalaxyWetDonkey50"
},
"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": 1143,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.334Z",
"updated_at": "2025-07-31T07:55:34.334Z"
}