galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.2 kB
JSON
{
"id": "devestter_serious-insect-76",
"name": "serious-insect-76",
"category": "buttons",
"author": "devestter",
"description": "serious-insect-76 组件 (button, click, big, css, accept, interactive)",
"tags": [
"button",
"click",
"big",
"css",
"accept",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg class=\"saveicon\" stroke=\"currentColor\" stroke-width=\"1.7\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M20.25 7.5l-.625 10.632a2.25 2.25 0 01-2.247 2.118H6.622a2.25 2.25 0 01-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0l-3-3m3 3l3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n</svg>\n download \n \n\n</button>",
"css": "/* From Uiverse.io by devestter - Tags: button, click, big, css, accept */\n.button {\n padding: 12px 19px;\n border: none;\n color: rgb(16, 52, 170);\n cursor: pointer;\n background-color: rgb(190, 219, 253);\n border-radius: 7px;\n font-weight: bold;\n transition: 0.5s;\n display: flex;\n gap: 4px;\n align-items: center;\n font-size: 13px;\n box-shadow: rgba(150, 143, 143, 0.2) 0px 2px 8px 0px;\n}\n\n.button:hover {\n background-color: rgb(164, 206, 253);\n box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;\n}\n\n.saveicon {\n width: 17px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/devestter_serious-insect-76.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"saveicon\" stroke=\"currentColor\" stroke-width=\"1.7\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M20.25 7.5l-.625 10.632a2.25 2.25 0 01-2.247 2.118H6.622a2.25 2.25 0 01-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0l-3-3m3 3l3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n</svg>\n download \n \n\n</button>",
"script": "export default {\n name: 'GalaxySeriousInsect76',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by devestter - Tags: button, click, big, css, accept */\n.button {\n padding: 24rpx 38rpx;\n border: none;\n color: rgb(16, 52, 170);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background-color: rgb(190, 219, 253);\n border-radius: 14rpx;\n font-weight: bold;\n transition: 0.5s;\n display: flex;\n gap: 8rpx;\n align-items: center;\n font-size: 26rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(150, 143, 143, 0.2) 0rpx 4rpx 16rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:hover {\n background-color: rgb(164, 206, 253);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.1) 0rpx 8rpx 12rpx -2rpx, rgba(0, 0, 0, 0.06) 0rpx 4rpx 8rpx -2rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.saveicon {\n width: 34rpx;\n}\n",
"component_name": "GalaxySeriousInsect76"
},
"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": "low",
"bundle_size": 1114,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.318Z",
"updated_at": "2025-07-31T07:55:36.318Z"
}