galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 4.83 kB
JSON
{
"id": "laminelawal_sharp-dodo-86",
"name": "sharp-dodo-86",
"category": "buttons",
"author": "laminelawal",
"description": "sharp-dodo-86 组件 (button, 3d button, gradient, interactive)",
"tags": [
"button",
"3d button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Click Me\n</button>",
"css": "/* From Uiverse.io by laminelawal - Tags: button, 3d button */\nbutton {\n border-radius: 30px;\n border: none;\n cursor: pointer;\n outline: none;\n width: 150px;\n height: 54px;\n background-image: linear-gradient(to top, #222 0%, #333 80%, #444 100%);\n color: white;\n font-size: 20px;\n font-weight: 400;\n font-family: monospace;\n transition: all 0.3s;\n text-shadow: 0 4px 3px black;\n}\n\nbutton:hover {\n box-shadow: 0 4px 3px 1px #333, 0 6px 8px #222, 0 -4px 4px #222, 0 -6px 4px #333, inset 0 0 3px 3px black;\n}\n\nbutton:active {\n box-shadow: 0 4px 3px 1px #333, 0 6px 8px #222, 0 -4px 4px #222, 0 -6px 4px #333, inset 0 0 3px 3px black;\n}\n\nbutton:focus {\n box-shadow: 0 4px 3px 1px #333, 0 6px 8px #222, 0 -4px 4px #222, 0 -6px 4px #333, inset 0 5px 7px 0 black;\n}",
"file_path": "/mnt/persist/workspace/Buttons/laminelawal_sharp-dodo-86.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Click Me\n</button>",
"script": "export default {\n name: 'GalaxySharpDodo86',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by laminelawal - Tags: button, 3d button */\nbutton {\n border-radius: 60rpx;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n outline: none;\n width: 300rpx;\n height: 108rpx;\n background-image: linear-gradient(to top, #222 0%, #333 80%, #444 100%);\n color: white;\n font-size: 40rpx;\n font-weight: 400;\n font-family: monospace;\n transition: all 0.3s;\n /* #ifdef H5 */\n text-shadow: 0 8rpx 6rpx black;\n /* #endif */\n}\n\nbutton:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 6rpx 2rpx #333, 0 12rpx 16rpx #222, 0 -8rpx 8rpx #222, 0 -12rpx 8rpx #333, inset 0 0 6rpx 6rpx black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 6rpx 2rpx #333, 0 12rpx 16rpx #222, 0 -8rpx 8rpx #222, 0 -12rpx 8rpx #333, inset 0 0 6rpx 6rpx black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:focus {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 6rpx 2rpx #333, 0 12rpx 16rpx #222, 0 -8rpx 8rpx #222, 0 -12rpx 8rpx #333, inset 0 10rpx 14rpx 0 black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxySharpDodo86"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 825,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.130Z",
"updated_at": "2025-07-31T07:55:37.130Z"
}