galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 4.78 kB
JSON
{
"id": "Siyu1017_wise-yak-7",
"name": "wise-yak-7",
"category": "buttons",
"author": "Siyu1017",
"description": "wise-yak-7 组件 (button, awesome, gradient, interactive)",
"tags": [
"button",
"awesome",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">Awesome Button</button>",
"css": "/* From Uiverse.io by Siyu1017 - Tags: button, awesome */\n.button {\n --color-1: #e5fb6a;\n --color-2: #2bf46e;\n --color-1-shadow: #e5fb6a23;\n --color-2-shadow: #2bf46e23;\n --color-1-shadow-focus: #e5fb6a67;\n --color-2-shadow-focus: #2bf46e67;\n cursor: pointer;\n padding: 1rem 1.5rem;\n border-radius: 0.75rem;\n border: 0;\n font-size: 1rem;\n background-image: linear-gradient(\n to right bottom,\n var(--color-1) 0%,\n var(--color-2) 100%\n );\n box-shadow:\n -4px -4px 16px 8px var(--color-1-shadow),\n 4px 4px 16px 8px var(--color-2-shadow);\n transition: all 0.3s cubic-bezier(0.6, 0.12, 0.39, 0.83);\n}\n\n.button:hover,\n.button:active,\n.button:focus,\n.button:focus-visible,\n.button:focus-within {\n box-shadow:\n -4px -4px 32px 4px var(--color-1-shadow-focus),\n 4px 4px 32px 4px var(--color-2-shadow-focus);\n}\n\n.button:hover {\n filter: contrast(1.25);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Siyu1017_wise-yak-7.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Awesome Button</button>",
"script": "export default {\n name: 'GalaxyWiseYak7',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Siyu1017 - Tags: button, awesome */\n.button {\n --color-1: #e5fb6a;\n --color-2: #2bf46e;\n --color-1-shadow: #e5fb6a23;\n --color-2-shadow: #2bf46e23;\n --color-1-shadow-focus: #e5fb6a67;\n --color-2-shadow-focus: #2bf46e67;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 1rem 1.5rem;\n border-radius: 0.75rem;\n border: 0;\n font-size: 1rem;\n background-image: linear-gradient(\n to right bottom,\n var(--color-1) 0%,\n var(--color-2) 100%\n );\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n -8rpx -8rpx 32rpx 16rpx var(--color-1-shadow),\n 8rpx 8rpx 32rpx 16rpx var(--color-2-shadow);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s cubic-bezier(0.6, 0.12, 0.39, 0.83);\n}\n\n.button:hover,\n.button:active,\n.button:focus,\n.button:focus-visible,\n.button:focus-within {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n -8rpx -8rpx 64rpx 8rpx var(--color-1-shadow-focus),\n 8rpx 8rpx 64rpx 8rpx var(--color-2-shadow-focus);\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 \n}\n\n",
"component_name": "GalaxyWiseYak7"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 937,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.749Z",
"updated_at": "2025-07-31T07:55:34.749Z"
}