galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 6.64 kB
JSON
{
"id": "mininaim_helpless-horse-85",
"name": "helpless-horse-85",
"category": "buttons",
"author": "mininaim",
"description": "helpless-horse-85 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"space-button\">\n <svg class=\"space-icon\" viewBox=\"0 0 24 24\" width=\"16\" height=\"16\">\n <path fill=\"currentColor\" d=\"M12 0c-1.2 0-2.2 1-2.2 2.2v3.3c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1V2.2C7.6 1 6.7 0 5.5 0S3.4 1 3.4 2.2v3.3c0 .6-.5 1.1-1.1 1.1S1.1 6.1 1.1 5.5V2.2C1.1 1 0 2 0 3.2 0 16.3 7.7 24 20.8 24 23 24 24 23 24 20.8c0-1.2-1-2.2-2.2-2.2s-2.2 1-2.2 2.2c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-1.2-1-2.2-2.2-2.2s-2.2 1-2.2 2.2c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-2.1 1.7-3.8 3.8-3.8s3.8 1.7 3.8 3.8c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-1.2-1-2.2-2.2-2.2z\"></path>\n </svg>\n Launch\n</button>",
"css": "/* From Uiverse.io by mininaim - Tags: button */\n.space-button {\n font-size: 1.2rem;\n font-weight: bold;\n text-transform: uppercase;\n border: none;\n border-radius: 5px;\n padding: 10px 20px;\n transition: all 0.3s ease;\n display: flex;\n align-items: center;\n}\n\n.space-icon {\n margin-right: 10px;\n fill: currentColor;\n}\n\n/* Light Mode */\n@media (prefers-color-scheme: light) {\n .space-button {\n background-color: #0074D9;\n color: #fff;\n box-shadow: 0px 0px 10px 0px #0074D9;\n }\n\n .space-button:hover {\n box-shadow: 0px 0px 20px 0px #fff;\n }\n\n .space-button:active {\n box-shadow: none;\n background-color: #001f3f;\n }\n}\n\n/* Dark Mode */\n@media (prefers-color-scheme: dark) {\n .space-button {\n background-color: #f0f0f0;\n color: #000;\n box-shadow: 0px 0px 10px 0px #000;\n }\n\n .space-button:hover {\n box-shadow: 0px 0px 20px 0px #fff;\n }\n\n .space-button:active {\n box-shadow: none;\n background-color: #bbb;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/mininaim_helpless-horse-85.html"
},
"uniapp": {
"template": "<button class=\"space-button\"></button>\n <view class=\"space-icon\" viewBox=\"0 0 24 24\" width=\"16\" height=\"16\"></view>\n <path fill=\"currentColor\" d=\"M12 0c-1.2 0-2.2 1-2.2 2.2v3.3c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1V2.2C7.6 1 6.7 0 5.5 0S3.4 1 3.4 2.2v3.3c0 .6-.5 1.1-1.1 1.1S1.1 6.1 1.1 5.5V2.2C1.1 1 0 2 0 3.2 0 16.3 7.7 24 20.8 24 23 24 24 23 24 20.8c0-1.2-1-2.2-2.2-2.2s-2.2 1-2.2 2.2c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-1.2-1-2.2-2.2-2.2s-2.2 1-2.2 2.2c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-2.1 1.7-3.8 3.8-3.8s3.8 1.7 3.8 3.8c0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-1.2-1-2.2-2.2-2.2z\"></path>\n </svg>\n Launch\n</button>",
"script": "export default {\n name: 'GalaxyHelplessHorse85',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mininaim - Tags: button */\n.space-button {\n font-size: 1.2rem;\n font-weight: bold;\n text-transform: uppercase;\n border: none;\n border-radius: 10rpx;\n padding: 20rpx 40rpx;\n transition: all 0.3s ease;\n display: flex;\n align-items: center;\n}\n\n.space-icon {\n margin-right: 20rpx;\n fill: currentColor;\n}\n\n/* Light Mode */\n@media (prefers-color-scheme: light) {\n .space-button {\n background-color: #0074D9;\n color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 20rpx 0rpx #0074D9;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n .space-button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 40rpx 0rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n .space-button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: #001f3f;\n }\n}\n\n/* Dark Mode */\n@media (prefers-color-scheme: dark) {\n .space-button {\n background-color: #f0f0f0;\n color: #000;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 20rpx 0rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n .space-button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 40rpx 0rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n .space-button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: #bbb;\n }\n}\n\n",
"component_name": "GalaxyHelplessHorse85"
},
"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": "medium",
"bundle_size": 1596,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.263Z",
"updated_at": "2025-07-31T07:55:37.263Z"
}