galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 4.65 kB
JSON
{
"id": "ahmedyasserdev_cold-ape-21",
"name": "cold-ape-21",
"category": "buttons",
"author": "ahmedyasserdev",
"description": "cold-ape-21 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Join Today\n <p>→</p>\n</button>",
"css": "/* From Uiverse.io by ahmedyasserdev - Tags: button */\n.button {\n font-family: Arial, sans-serif;\n font-size: 18px;\n font-weight: 500;\n color: #ffffff;\n background-color: #9b59b6;\n border: none;\n padding: 15px 40px;\n border-radius: 12px;\n box-shadow:\n 0px 5px #7d3c98,\n 10px 14px 8px rgba(125, 60, 152, 0.4);\n cursor: pointer;\n transform: rotate3d(1, 1, 1, -10deg);\n display: flex;\n gap: 8px;\n transition:\n transform 0.2s,\n box-shadow 0.2s;\n}\n\n.button:hover {\n transform: translateY(-2px);\n box-shadow:\n 0 4px #7d3c98,\n 0 6px 12px rgba(0, 0, 0, 0.2);\n}\n\n.button:active {\n transform: translateY(2px);\n box-shadow:\n 0 2px #7d3c98,\n 0 4px 8px rgba(0, 0, 0, 0.2);\n}\n\n.button:focus {\n outline: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/ahmedyasserdev_cold-ape-21.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Join Today\n <text>→</text>\n</button>",
"script": "export default {\n name: 'GalaxyColdApe21',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by ahmedyasserdev - Tags: button */\n.button {\n font-family: Arial, sans-serif;\n font-size: 36rpx;\n font-weight: 500;\n color: #ffffff;\n background-color: #9b59b6;\n border: none;\n padding: 30rpx 80rpx;\n border-radius: 24rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n 0rpx 10rpx #7d3c98,\n 20rpx 28rpx 16rpx rgba(125, 60, 152, 0.4);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transform: rotate3d(1, 1, 1, -10deg);\n display: flex;\n gap: 16rpx;\n transition:\n transform 0.2s,\n box-shadow 0.2s;\n}\n\n.button:hover {\n transform: translateY(-4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n 0 8rpx #7d3c98,\n 0 12rpx 24rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:active {\n transform: translateY(4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n 0 4rpx #7d3c98,\n 0 8rpx 16rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:focus {\n outline: none;\n}\n\n",
"component_name": "GalaxyColdApe21"
},
"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": 807,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.544Z",
"updated_at": "2025-07-31T07:55:35.544Z"
}