UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

123 lines 9.57 kB
{ "id": "Navs45_quick-dolphin-19", "name": "quick-dolphin-19", "category": "buttons", "author": "Navs45", "description": "quick-dolphin-19 组件 (icon, white, button, transition, btn, hover effect, html, css, animation, interactive)", "tags": [ "icon", "white", "button", "transition", "btn", "hover effect", "html", "css", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n <div class=\"inner\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"icon\">\n <g stroke-width=\"0\" id=\"SVGRepo_bgCarrier\"></g>\n <g stroke-linejoin=\"round\" stroke-linecap=\"round\" id=\"SVGRepo_tracerCarrier\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path fill=\"#000000\" 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\"></path>\n <path fill=\"#000000\" 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\"></path>\n </g>\n </svg>\n <span id=\"text\">Send Message</span>\n </div>\n</button>", "css": "/* From Uiverse.io by Navs45 - Tags: icon, white, button, transition, btn, hover effect, html, css */\n.button {\n cursor: pointer;\n}\n.button {\n border: none;\n position: relative;\n width: 249px;\n height: 80px;\n flex-shrink: 0;\n border-radius: 15px;\n background: #fff;\n box-shadow: -2px 2px 1.3px 1px #7f807f,\n -5px 5px 2.8px 0px rgba(255, 255, 255, 0.5), -5px 7px 4.4px 0px #c5c6c5,\n 0px 0px 2.4px 4px #e4e5e4;\n transition: background-color 0.3s ease, transform 0.3s ease,\n box-shadow 0.3s ease;\n}\n\n.button:hover {\n background-color: #e0e0e0;\n transform: translateY(-5px);\n box-shadow: -2px 2px 1.3px 1px #7f807f,\n -5px 5px 2.8px 0px rgba(255, 255, 255, 0.5), -5px 7px 4.4px 0px #c5c6c5,\n 0px 0px 2.4px 4px #e4e5e4, 0px 10px 20px rgba(0, 0, 0, 0.2);\n}\n\n.inner {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 236px;\n height: 69px;\n flex-shrink: 0;\n border-radius: 39px;\n\n background: #fff;\n box-shadow: -1px -1px 0px 0px rgba(141, 139, 139, 0.35),\n 38px 3px 13.2px 0px rgba(196, 196, 196, 0.25) inset,\n -3px 1px 10.1px 0px rgba(87, 87, 87, 0.25) inset;\n margin: 7px 4px 6px 7px;\n}\n\n.icon {\n width: 30px;\n height: 30px;\n}\n\n#text {\n color: #0b0b0b;\n font-family: \"Poppins\", sans-serif;\n font-size: 23.1px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n padding: 4px;\n transition: color 0.3s, transform 0.3s, text-shadow 0.3s;\n}\n#text:hover {\n color: #fff;\n text-shadow: 1px 1px 1px #acaaaa, 1px 2px 1px #7d7d7d, 1px 1px 1px #acaaaa,\n 1px 2px 1px #7d7d7d, 1px 20px 40px rgba(147, 147, 147, 0.3);\n}", "file_path": "/mnt/persist/workspace/Buttons/Navs45_quick-dolphin-19.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"inner\"></view>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"icon\"></view>\n <g stroke-width=\"0\" id=\"SVGRepo_bgCarrier\"></g>\n <g stroke-linejoin=\"round\" stroke-linecap=\"round\" id=\"SVGRepo_tracerCarrier\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path fill=\"#000000\" 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\"></path>\n <path fill=\"#000000\" 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\"></path>\n </g>\n </svg>\n <text id=\"text\">Send Message</text>\n </div>\n</button>", "script": "export default {\n name: 'GalaxyQuickDolphin19',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Navs45 - Tags: icon, white, button, transition, btn, hover effect, html, css */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n.button {\n border: none;\n position: relative;\n width: 498rpx;\n height: 160rpx;\n flex-shrink: 0;\n border-radius: 30rpx;\n background: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx 4rpx 2.6rpx 2rpx #7f807f,\n -10rpx 10rpx 5.6rpx 0rpx rgba(255, 255, 255, 0.5), -10rpx 14rpx 8.8rpx 0rpx #c5c6c5,\n 0rpx 0rpx 4.8rpx 8rpx #e4e5e4;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: background-color 0.3s ease, transform 0.3s ease,\n box-shadow 0.3s ease;\n}\n\n.button:hover {\n background-color: #e0e0e0;\n transform: translateY(-10rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx 4rpx 2.6rpx 2rpx #7f807f,\n -10rpx 10rpx 5.6rpx 0rpx rgba(255, 255, 255, 0.5), -10rpx 14rpx 8.8rpx 0rpx #c5c6c5,\n 0rpx 0rpx 4.8rpx 8rpx #e4e5e4, 0rpx 20rpx 40rpx 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.inner {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 472rpx;\n height: 138rpx;\n flex-shrink: 0;\n border-radius: 78rpx;\n\n background: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -2rpx -2rpx 0rpx 0rpx rgba(141, 139, 139, 0.35),\n 76rpx 6rpx 26.4rpx 0rpx rgba(196, 196, 196, 0.25) inset,\n -6rpx 2rpx 20.2rpx 0rpx rgba(87, 87, 87, 0.25) inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n margin: 14rpx 8rpx 12rpx 14rpx;\n}\n\n.icon {\n width: 60rpx;\n height: 60rpx;\n}\n\n#text {\n color: #0b0b0b;\n font-family: \"Poppins\", sans-serif;\n font-size: 46.2rpx;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n padding: 8rpx;\n transition: color 0.3s, transform 0.3s, text-shadow 0.3s;\n}\n#text:hover {\n color: #fff;\n /* #ifdef H5 */\n text-shadow: 2rpx 2rpx 2rpx #acaaaa, 2rpx 4rpx 2rpx #7d7d7d, 2rpx 2rpx 2rpx #acaaaa,\n 2rpx 4rpx 2rpx #7d7d7d, 2rpx 40rpx 80rpx rgba(147, 147, 147, 0.3);\n /* #endif */\n}\n\n", "component_name": "GalaxyQuickDolphin19" }, "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 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 3027, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.132Z", "updated_at": "2025-07-31T07:55:34.132Z" }