galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 4.07 kB
JSON
{
"id": "andrew-demchenk0_afraid-squid-51",
"name": "afraid-squid-51",
"category": "buttons",
"author": "andrew-demchenk0",
"description": "afraid-squid-51 组件 (animation, button, arrow, submit, confirm)",
"tags": [
"animation",
"button",
"arrow",
"submit",
"confirm"
],
"original": {
"html": "<button class=\"button\">\n Let`s go →\n</button>",
"css": "/* From Uiverse.io by andrew-demchenk0 - Tags: animation, button, arrow, submit, confirm */\n.button {\n --font-color: #323232;\n --bg-color: #fff;\n --main-color: #323232;\n width: 120px;\n height: 40px;\n border-radius: 5px;\n border: 2px solid var(--main-color);\n background-color: var(--bg-color);\n box-shadow: 4px 4px var(--main-color);\n font-size: 17px;\n font-weight: 600;\n color: var(--font-color);\n cursor: pointer;\n}\n\n.button:active {\n box-shadow: 0px 0px var(--main-color);\n transform: translate(3px, 3px);\n}",
"file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_afraid-squid-51.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Let`s go →\n</button>",
"script": "export default {\n name: 'GalaxyAfraidSquid51',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by andrew-demchenk0 - Tags: animation, button, arrow, submit, confirm */\n.button {\n --font-color: #323232;\n --bg-color: #fff;\n --main-color: #323232;\n width: 240rpx;\n height: 80rpx;\n border-radius: 10rpx;\n border: 4rpx solid var(--main-color);\n background-color: var(--bg-color);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx var(--main-color);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-size: 34rpx;\n font-weight: 600;\n color: var(--font-color);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx var(--main-color);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(6rpx, 6rpx);\n}\n\n",
"component_name": "GalaxyAfraidSquid51"
},
"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": 576,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.610Z",
"updated_at": "2025-07-31T07:55:35.610Z"
}