galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 7.73 kB
JSON
{
"id": "Bastiennnn_strong-lionfish-94",
"name": "strong-lionfish-94",
"category": "buttons",
"author": "Bastiennnn",
"description": "strong-lionfish-94 组件 (simple, animation, button, message, svg, interactive)",
"tags": [
"simple",
"animation",
"button",
"message",
"svg",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"svg\" height=\"25px\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z\" fill=\"#000000\"></path>\n <path d=\"M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z\" fill=\"#000000\"></path>\n </svg>\n Send Message\n</button>",
"css": "/* From Uiverse.io by Bastiennnn - Tags: simple, animation, button, message, svg */\n.button {\n cursor: pointer;\n width: 200px;\n height: 60px;\n background-color: white;\n font-size: medium;\n font-weight: bold;\n box-shadow: 0 5px 10px rgb(122, 122, 122);\n border-radius: 10px;\n border: 2px solid gray;\n transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button:hover {\n box-shadow: 0 5px 10px rgb(58, 58, 58);\n transform: translateY(-10px);\n}\n\n.button:active {\n transform: scale(0.95);\n box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.svg {\n padding-right: 8px;\n fill: none;\n height: 25px;\n transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.button:hover .svg {\n animation: flyAround 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n}\n\n@keyframes flyAround {\n 0% {\n transform: translate(0, 0) rotate(0deg) scale(1);\n }\n 50% {\n transform: translate(20px, -100px) rotate(-300deg) scale(1);\n }\n 100% {\n transform: translate(0, 0) rotate(0deg) scale(1);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Bastiennnn_strong-lionfish-94.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" class=\"svg\" height=\"25px\" viewBox=\"0 0 24 24\" fill=\"none\"></view>\n <path d=\"M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z\" fill=\"#000000\"></path>\n <path d=\"M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z\" fill=\"#000000\"></path>\n </svg>\n Send Message\n</button>",
"script": "export default {\n name: 'GalaxyStrongLionfish94',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Bastiennnn - Tags: simple, animation, button, message, svg */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n width: 400rpx;\n height: 120rpx;\n background-color: white;\n font-size: medium;\n font-weight: bold;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 20rpx rgb(122, 122, 122);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 20rpx;\n border: 4rpx solid gray;\n transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 20rpx rgb(58, 58, 58);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(-20rpx);\n}\n\n.button:active {\n transform: scale(0.95);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 4rpx 10rpx 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.svg {\n padding-right: 16rpx;\n fill: none;\n height: 50rpx;\n transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.button:hover .svg {\n animation: flyAround 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n}\n\n@keyframes flyAround {\n 0% {\n transform: translate(0, 0) rotate(0deg) scale(1);\n }\n 50% {\n transform: translate(40rpx, -200rpx) rotate(-300deg) scale(1);\n }\n 100% {\n transform: translate(0, 0) rotate(0deg) scale(1);\n }\n}\n\n",
"component_name": "GalaxyStrongLionfish94"
},
"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": 2271,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.761Z",
"updated_at": "2025-07-31T07:55:32.761Z"
}