galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 4.13 kB
JSON
{
"id": "bhaveshxrawat_red-stingray-60",
"name": "red-stingray-60",
"category": "buttons",
"author": "bhaveshxrawat",
"description": "red-stingray-60 组件 (button, interactive)",
"tags": [
"button",
"interactive"
],
"original": {
"html": "<button> Grab it!\n</button>",
"css": "/* From Uiverse.io by bhaveshxrawat - Tags: button */\nbutton {\n background-color: #fff;\n border-radius: 24px;\n border-style: none;\n box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;\n box-sizing: border-box;\n color: #3c4043;\n font-size: 14px;\n font-weight: 500;\n font-family: inherit;\n letter-spacing: .25px;\n line-height: normal;\n padding: 11px 24px;\n transition: background box-shadow 280ms ease;\n}\n\nbutton:hover {\n background: #F6F9FE;\n color: #174ea6;\n}\n\nbutton:active {\n box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);\n outline: none;\n border: 2px solid #4285f4;\n}",
"file_path": "/mnt/persist/workspace/Buttons/bhaveshxrawat_red-stingray-60.html"
},
"uniapp": {
"template": "<button></button> Grab it!\n</button>",
"script": "export default {\n name: 'GalaxyRedStingray60',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by bhaveshxrawat - Tags: button */\nbutton {\n background-color: #fff;\n border-radius: 48rpx;\n border-style: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, .2) 0 6rpx 10rpx -2rpx,rgba(0, 0, 0, .14) 0 12rpx 20rpx 0,rgba(0, 0, 0, .12) 0 2rpx 36rpx 0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n box-sizing: border-box;\n color: #3c4043;\n font-size: 28rpx;\n font-weight: 500;\n font-family: inherit;\n letter-spacing: .50rpx;\n line-height: normal;\n padding: 22rpx 48rpx;\n transition: background box-shadow 280ms ease;\n}\n\nbutton:hover {\n background: #F6F9FE;\n color: #174ea6;\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 8rpx 0 rgb(60 64 67 / 30%), 0 16rpx 24rpx 12rpx rgb(60 64 67 / 15%);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n outline: none;\n border: 4rpx solid #4285f4;\n}\n\n",
"component_name": "GalaxyRedStingray60"
},
"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": "low",
"bundle_size": 693,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.971Z",
"updated_at": "2025-07-31T07:55:35.971Z"
}