UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 9.99 kB
{ "id": "vinodjangid07_proud-quail-59", "name": "proud-quail-59", "category": "buttons", "author": "vinodjangid07", "description": "proud-quail-59 组件 (button, superhero, captain, marvel, captain america, animation, interactive)", "tags": [ "button", "superhero", "captain", "marvel", "captain america", "animation", "interactive" ], "original": { "html": "<button class=\"Btn\">\n <svg class=\"Layer\" viewBox=\"0 0 1095.66 1095.63\"><path class=\"cls-1\" d=\"M1298,749.62c.4,300.41-243,548-548.1,547.9C446.23,1297.4,201.92,1051.2,202.29,749c.37-301.52,244.49-547.41,548.34-547.12C1055.43,202.18,1298.25,449.6,1298,749.62Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-2\" d=\"M1285.89,749.79c-.25,297.07-241.24,535.86-536.12,535.66-296.34-.21-537-241.72-535.29-539,1.68-293.16,240.83-534.18,539.15-532.37C1046.8,215.84,1285.62,453.88,1285.89,749.79Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-3\" d=\"M1195.29,749.56c.54,244.73-198.67,446.2-446.87,445.33C503.27,1194,304,994.53,304.93,748c.91-244.52,199.12-443.08,444.39-443.49C997.43,304,1195.74,505.59,1195.29,749.56Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-4\" d=\"M1097.23,749.87c.22,190.31-154.42,347.43-348,346.92-192-.5-346.48-156.44-346.17-347.7C403.33,558,558.18,402,751.08,402.55,944.62,403.09,1097.69,560.56,1097.23,749.87Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-5\" d=\"M1006.72,744.28c2.81,143.23-110.17,257.35-247.42,261.9C613.15,1011,498.22,895.93,493.71,758.88,488.93,613.71,603,498,740.69,493.28,886.73,488.24,1004,603.87,1006.72,744.28Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-6\" d=\"M607.55,553.77c5.13,3.72,10.28,7.42,15.4,11.15l124.12,90.24a8.57,8.57,0,0,1,1.2.84c1.26,1.27,2.35,1.09,3.77,0,6.36-4.74,12.82-9.35,19.24-14l118.23-85.89c1.07-.78,2.17-1.54,3.28-2.32.82,1.1,0,2-.27,2.77Q866.29,637.48,840,718.38c-1.11,3.42-1.13,3.42,1.81,5.56l136,98.81c1.17.86,2.33,1.74,3.79,2.83-1.48.73-2.79.45-4,.45q-84.07,0-168.16,0h-.73c-3.7,0-3.68,0-4.8,3.43q-26.1,80.4-52.23,160.78c-.4,1.21-.45,2.66-1.77,3.6L735,948.24q-19.34-59.52-38.68-119c-1-3.16-1-3.17-4.6-3.17q-84.27,0-168.53,0a10.57,10.57,0,0,1-4.24-.34,13.17,13.17,0,0,1,3.33-2.77q67.55-49.08,135.1-98.18c5-3.63,4.38-1.8,2.43-7.83q-25.94-80.07-52-160.11c-.3-.91-.57-1.83-.85-2.75Z\" transform=\"translate(-202.29 -201.89)\"></path></svg>\n <p class=\"text\">Hover Me</p>\n </button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: button, superhero, captain, marvel, captain america */\n.Btn {\n position: relative;\n width: 180px;\n height: 50px;\n border: none;\n background-color: #005f99;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: 30px;\n cursor: pointer;\n box-shadow: 8px 8px 0px rgb(12, 12, 12);\n transition-duration: .3s;\n}\n\n.Layer {\n width: 60px;\n position: absolute;\n left: -30px;\n transition-duration: .3s;\n animation: spin 5s linear infinite;\n}\n\n.Btn:hover {\n transform: translateY(5px);\n box-shadow: 3px 3px 0px black;\n transition-duration: .3s;\n}\n\n@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n.Btn:hover .Layer {\n left: 0%;\n width: 100%;\n transition-duration: .3s;\n}\n\n.text {\n color: white;\n font-weight: 600;\n font-size: 1.1em;\n position: absolute;\n z-index: 2;\n transition-duration: .1s;\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.Btn:hover .text {\n color: transparent;\n transition-duration: .3s;\n}\n/* svg colors */\n.cls-1 {\n fill: #242021;\n}\n\n.cls-2 {\n fill: #e82728;\n}\n\n.cls-3 {\n fill: #fefefe;\n}\n\n.cls-4 {\n fill: #e92728;\n}\n\n.cls-5 {\n fill: #005f99;\n}\n\n.cls-6 {\n fill: #fff;\n}\n/* svg colors */", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_proud-quail-59.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n <view class=\"Layer\" viewBox=\"0 0 1095.66 1095.63\"><path class=\"cls-1\" d=\"M1298,749.62c.4,300.41-243,548-548.1,547.9C446.23,1297.4,201.92,1051.2,202.29,749c.37-301.52,244.49-547.41,548.34-547.12C1055.43,202.18,1298.25,449.6,1298,749.62Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-2\" d=\"M1285.89,749.79c-.25,297.07-241.24,535.86-536.12,535.66-296.34-.21-537-241.72-535.29-539,1.68-293.16,240.83-534.18,539.15-532.37C1046.8,215.84,1285.62,453.88,1285.89,749.79Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-3\" d=\"M1195.29,749.56c.54,244.73-198.67,446.2-446.87,445.33C503.27,1194,304,994.53,304.93,748c.91-244.52,199.12-443.08,444.39-443.49C997.43,304,1195.74,505.59,1195.29,749.56Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-4\" d=\"M1097.23,749.87c.22,190.31-154.42,347.43-348,346.92-192-.5-346.48-156.44-346.17-347.7C403.33,558,558.18,402,751.08,402.55,944.62,403.09,1097.69,560.56,1097.23,749.87Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-5\" d=\"M1006.72,744.28c2.81,143.23-110.17,257.35-247.42,261.9C613.15,1011,498.22,895.93,493.71,758.88,488.93,613.71,603,498,740.69,493.28,886.73,488.24,1004,603.87,1006.72,744.28Z\" transform=\"translate(-202.29 -201.89)\"></path><path class=\"cls-6\" d=\"M607.55,553.77c5.13,3.72,10.28,7.42,15.4,11.15l124.12,90.24a8.57,8.57,0,0,1,1.2.84c1.26,1.27,2.35,1.09,3.77,0,6.36-4.74,12.82-9.35,19.24-14l118.23-85.89c1.07-.78,2.17-1.54,3.28-2.32.82,1.1,0,2-.27,2.77Q866.29,637.48,840,718.38c-1.11,3.42-1.13,3.42,1.81,5.56l136,98.81c1.17.86,2.33,1.74,3.79,2.83-1.48.73-2.79.45-4,.45q-84.07,0-168.16,0h-.73c-3.7,0-3.68,0-4.8,3.43q-26.1,80.4-52.23,160.78c-.4,1.21-.45,2.66-1.77,3.6L735,948.24q-19.34-59.52-38.68-119c-1-3.16-1-3.17-4.6-3.17q-84.27,0-168.53,0a10.57,10.57,0,0,1-4.24-.34,13.17,13.17,0,0,1,3.33-2.77q67.55-49.08,135.1-98.18c5-3.63,4.38-1.8,2.43-7.83q-25.94-80.07-52-160.11c-.3-.91-.57-1.83-.85-2.75Z\" transform=\"translate(-202.29 -201.89)\"></path></view>\n <text class=\"text\">Hover Me</text>\n </button>", "script": "export default {\n name: 'GalaxyProudQuail59',\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: button, superhero, captain, marvel, captain america */\n.Btn {\n position: relative;\n width: 360rpx;\n height: 100rpx;\n border: none;\n background-color: #005f99;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: 60rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 0rpx rgb(12, 12, 12);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-duration: .3s;\n}\n\n.Layer {\n width: 120rpx;\n position: absolute;\n left: -60rpx;\n transition-duration: .3s;\n animation: spin 5s linear infinite;\n}\n\n.Btn:hover {\n transform: translateY(10rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 6rpx 6rpx 0rpx black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-duration: .3s;\n}\n\n@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n.Btn:hover .Layer {\n left: 0%;\n width: 100%;\n transition-duration: .3s;\n}\n\n.text {\n color: white;\n font-weight: 600;\n font-size: 1.1em;\n position: absolute;\n z-index: 2;\n transition-duration: .1s;\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.Btn:hover .text {\n color: transparent;\n transition-duration: .3s;\n}\n/* svg colors */\n.cls-1 {\n fill: #242021;\n}\n\n.cls-2 {\n fill: #e82728;\n}\n\n.cls-3 {\n fill: #fefefe;\n}\n\n.cls-4 {\n fill: #e92728;\n}\n\n.cls-5 {\n fill: #005f99;\n}\n\n.cls-6 {\n fill: #fff;\n}\n/* svg colors */\n", "component_name": "GalaxyProudQuail59" }, "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": 3393, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.224Z", "updated_at": "2025-07-31T07:55:38.224Z" }