galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 6.98 kB
JSON
{
"id": "vinodjangid07_massive-moose-26",
"name": "massive-moose-26",
"category": "buttons",
"author": "vinodjangid07",
"description": "massive-moose-26 组件 (simple, icon, button, hover, download, click effect, interactive)",
"tags": [
"simple",
"icon",
"button",
"hover",
"download",
"click effect",
"interactive"
],
"original": {
"html": "<button class=\"Download-button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"20\" viewBox=\"0 0 640 512\">\n <path d=\"M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z\" fill=\"white\"></path>\n </svg>\n <span>Download</span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: simple, icon, button, hover, download, click effect */\n.Download-button {\n display: flex;\n align-items: center;\n font-family: inherit;\n font-weight: 500;\n font-size: 17px;\n padding: 12px 20px;\n color: white;\n background: rgb(103, 92, 156);\n border: none;\n box-shadow: 0 0.7em 1.5em -0.5em rgba(59, 48, 78, 0.527);\n letter-spacing: 0.05em;\n border-radius: 8px;\n cursor: pointer;\n position: relative;\n}\n\n.Download-button svg {\n margin-right: 8px;\n width: 25px;\n}\n\n.Download-button:hover {\n box-shadow: 0 0.5em 1.5em -0.5em rgba(88, 71, 116, 0.627);\n}\n\n.Download-button:active {\n box-shadow: 0 0.3em 1em -0.5em rgba(88, 71, 116, 0.627);\n}\n\n.Download-button::before {\n content: \"\";\n width: 4px;\n height: 40%;\n background-color: white;\n position: absolute;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n left: 0;\n transition: all 0.2s;\n}\n\n.Download-button::after {\n content: \"\";\n width: 4px;\n height: 40%;\n background-color: white;\n position: absolute;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n right: 0;\n transition: all 0.2s;\n}\n\n.Download-button:hover::before,\n.Download-button:hover::after {\n height: 60%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_massive-moose-26.html"
},
"uniapp": {
"template": "<button class=\"Download-button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"20\" viewBox=\"0 0 640 512\"></view>\n <path d=\"M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z\" fill=\"white\"></path>\n </svg>\n <text>Download</text>\n</button>",
"script": "export default {\n name: 'GalaxyMassiveMoose26',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: simple, icon, button, hover, download, click effect */\n.Download-button {\n display: flex;\n align-items: center;\n font-family: inherit;\n font-weight: 500;\n font-size: 34rpx;\n padding: 24rpx 40rpx;\n color: white;\n background: rgb(103, 92, 156);\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0.7em 1.5em -0.5em rgba(59, 48, 78, 0.527);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n letter-spacing: 0.05em;\n border-radius: 16rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n}\n\n.Download-button svg {\n margin-right: 16rpx;\n width: 50rpx;\n}\n\n.Download-button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0.5em 1.5em -0.5em rgba(88, 71, 116, 0.627);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.Download-button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0.3em 1em -0.5em rgba(88, 71, 116, 0.627);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.Download-button::before {\n content: \"\";\n width: 8rpx;\n height: 40%;\n background-color: white;\n position: absolute;\n border-top-right-radius: 10rpx;\n border-bottom-right-radius: 10rpx;\n left: 0;\n transition: all 0.2s;\n}\n\n.Download-button::after {\n content: \"\";\n width: 8rpx;\n height: 40%;\n background-color: white;\n position: absolute;\n border-top-left-radius: 10rpx;\n border-bottom-left-radius: 10rpx;\n right: 0;\n transition: all 0.2s;\n}\n\n.Download-button:hover::before,\n.Download-button:hover::after {\n height: 60%;\n}\n\n",
"component_name": "GalaxyMassiveMoose26"
},
"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": 1882,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.166Z",
"updated_at": "2025-07-31T07:55:38.166Z"
}