galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
120 lines • 11.8 kB
JSON
{
"id": "vinodjangid07_nervous-warthog-37",
"name": "nervous-warthog-37",
"category": "buttons",
"author": "vinodjangid07",
"description": "nervous-warthog-37 组件 (animation, purple, gradient, button, hover, svg, hover effect, projects, interactive)",
"tags": [
"animation",
"purple",
"gradient",
"button",
"hover",
"svg",
"hover effect",
"projects",
"interactive"
],
"original": {
"html": "<button class=\"Projects-Button\">\n <span class=\"IconContainer\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 259 259\" class=\"svgBG\">\n <circle stroke-width=\"7\" stroke=\"#fff\" r=\"69\" cy=\"129.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"18.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"51.5\" cx=\"206.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"129.5\" cx=\"240.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"207.5\" cx=\"207.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"206.5\" cx=\"52.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"240.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"129.5\" cx=\"18.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"50.5\" cx=\"51.5\"></circle>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"78.7279\" x2=\"79.3848\" y1=\"63.1716\" x1=\"63.8284\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"194.728\" x2=\"195.385\" y1=\"179.172\" x1=\"179.828\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"58\" x2=\"130\" y1=\"36\" x1=\"130\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"64.1715\" x2=\"194.314\" y1=\"78.3137\" x1=\"180.172\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"180.172\" x2=\"78.3137\" y1=\"194.314\" x1=\"64.1716\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"223\" x2=\"130\" y1=\"201\" x1=\"130\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"129\" x2=\"223\" y1=\"129\" x1=\"201\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"129\" x2=\"58\" y1=\"129\" x1=\"36\"></line>\n </svg>\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 110 110\" class=\"svgFG\">\n <circle stroke-width=\"28\" stroke=\"#fff\" r=\"32\" cy=\"55\" cx=\"55\"></circle>\n <path fill=\"#fff\" d=\"M41 4C41 1.79086 42.7909 0 45 0H65C67.2091 0 69 1.79086 69 4V12H41V4Z\"></path>\n <path fill=\"#fff\" d=\"M91.9838 16.9513C93.9123 15.8736 96.3492 16.5633 97.4269 18.4918L107.183 35.9507C108.261 37.8791 107.571 40.3161 105.643 41.3937L98.6592 45.2963L85.0002 20.8538L91.9838 16.9513Z\"></path>\n <path fill=\"#fff\" d=\"M106.209 69.0964C108.106 70.2275 108.728 72.6828 107.596 74.5804L97.3555 91.7596C96.2243 93.6571 93.7691 94.2784 91.8715 93.1472L84.9998 89.0509L99.337 65L106.209 69.0964Z\"></path>\n <path fill=\"#fff\" d=\"M69 106C69 108.209 67.2091 110 65 110L45 110C42.7909 110 41 108.209 41 106L41 98L69 98V106Z\"></path>\n <path fill=\"#fff\" d=\"M17.4641 93.2485C15.5509 94.3531 13.1046 93.6976 12 91.7844L2 74.4639C0.89543 72.5508 1.55093 70.1044 3.4641 68.9998L10.3923 64.9998L24.3923 89.2485L17.4641 93.2485Z\"></path>\n <path fill=\"#fff\" d=\"M3.4641 41.2485C1.55093 40.144 0.895431 37.6976 2 35.7844L12 18.4639C13.1046 16.5508 15.5509 15.8953 17.4641 16.9998L24.3923 20.9998L10.3923 45.2485L3.4641 41.2485Z\"></path>\n </svg>\n </span>\n\n <span class=\"text\">Projects</span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: animation, purple, gradient, button, hover, svg, hover effect, projects */\n.Projects-Button {\n width: fit-content;\n height: 45px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 5px 20px;\n gap: 10px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n background: linear-gradient(120deg, rgb(150, 86, 199), rgb(98, 47, 138));\n transition: all 0.3s;\n box-shadow: 0px 10px 10px rgba(144, 0, 255, 0.166);\n}\n.IconContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 25px;\n height: 25px;\n position: relative;\n}\n.svgBG {\n width: 25px;\n height: auto;\n}\n.svgFG {\n width: 9px;\n height: auto;\n z-index: 2;\n position: absolute;\n}\n.text {\n color: rgb(240, 240, 240);\n font-weight: 500;\n font-size: 16px;\n}\n.Projects-Button:hover .svgFG {\n animation: clockwise 2s linear infinite;\n}\n\n.Projects-Button:hover .svgBG {\n animation: anti-clockwise 2s linear infinite;\n}\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes anti-clockwise {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(-360deg);\n }\n}\n.Projects-Button:hover {\n background-color: rgb(119, 57, 166);\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_nervous-warthog-37.html"
},
"uniapp": {
"template": "<button class=\"Projects-Button\"></button>\n <text class=\"IconContainer\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 259 259\" class=\"svgBG\"></view>\n <circle stroke-width=\"7\" stroke=\"#fff\" r=\"69\" cy=\"129.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"18.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"51.5\" cx=\"206.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"129.5\" cx=\"240.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"207.5\" cx=\"207.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"206.5\" cx=\"52.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"240.5\" cx=\"129.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"129.5\" cx=\"18.5\"></circle>\n <circle fill=\"#fff\" r=\"18.5\" cy=\"50.5\" cx=\"51.5\"></circle>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"78.7279\" x2=\"79.3848\" y1=\"63.1716\" x1=\"63.8284\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"194.728\" x2=\"195.385\" y1=\"179.172\" x1=\"179.828\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"58\" x2=\"130\" y1=\"36\" x1=\"130\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"64.1715\" x2=\"194.314\" y1=\"78.3137\" x1=\"180.172\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"180.172\" x2=\"78.3137\" y1=\"194.314\" x1=\"64.1716\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"223\" x2=\"130\" y1=\"201\" x1=\"130\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"129\" x2=\"223\" y1=\"129\" x1=\"201\"></line>\n <line stroke-width=\"8\" stroke=\"#fff\" y2=\"129\" x2=\"58\" y1=\"129\" x1=\"36\"></line>\n </svg>\n\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 110 110\" class=\"svgFG\"></view>\n <circle stroke-width=\"28\" stroke=\"#fff\" r=\"32\" cy=\"55\" cx=\"55\"></circle>\n <path fill=\"#fff\" d=\"M41 4C41 1.79086 42.7909 0 45 0H65C67.2091 0 69 1.79086 69 4V12H41V4Z\"></path>\n <path fill=\"#fff\" d=\"M91.9838 16.9513C93.9123 15.8736 96.3492 16.5633 97.4269 18.4918L107.183 35.9507C108.261 37.8791 107.571 40.3161 105.643 41.3937L98.6592 45.2963L85.0002 20.8538L91.9838 16.9513Z\"></path>\n <path fill=\"#fff\" d=\"M106.209 69.0964C108.106 70.2275 108.728 72.6828 107.596 74.5804L97.3555 91.7596C96.2243 93.6571 93.7691 94.2784 91.8715 93.1472L84.9998 89.0509L99.337 65L106.209 69.0964Z\"></path>\n <path fill=\"#fff\" d=\"M69 106C69 108.209 67.2091 110 65 110L45 110C42.7909 110 41 108.209 41 106L41 98L69 98V106Z\"></path>\n <path fill=\"#fff\" d=\"M17.4641 93.2485C15.5509 94.3531 13.1046 93.6976 12 91.7844L2 74.4639C0.89543 72.5508 1.55093 70.1044 3.4641 68.9998L10.3923 64.9998L24.3923 89.2485L17.4641 93.2485Z\"></path>\n <path fill=\"#fff\" d=\"M3.4641 41.2485C1.55093 40.144 0.895431 37.6976 2 35.7844L12 18.4639C13.1046 16.5508 15.5509 15.8953 17.4641 16.9998L24.3923 20.9998L10.3923 45.2485L3.4641 41.2485Z\"></path>\n </svg>\n </span>\n\n <text class=\"text\">Projects</text>\n</button>",
"script": "export default {\n name: 'GalaxyNervousWarthog37',\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: animation, purple, gradient, button, hover, svg, hover effect, projects */\n.Projects-Button {\n width: fit-content;\n height: 90rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 10rpx 40rpx;\n gap: 20rpx;\n border: none;\n border-radius: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background: linear-gradient(120deg, rgb(150, 86, 199), rgb(98, 47, 138));\n transition: all 0.3s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 20rpx rgba(144, 0, 255, 0.166);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.IconContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50rpx;\n height: 50rpx;\n position: relative;\n}\n.svgBG {\n width: 50rpx;\n height: auto;\n}\n.svgFG {\n width: 18rpx;\n height: auto;\n z-index: 2;\n position: absolute;\n}\n.text {\n color: rgb(240, 240, 240);\n font-weight: 500;\n font-size: 32rpx;\n}\n.Projects-Button:hover .svgFG {\n animation: clockwise 2s linear infinite;\n}\n\n.Projects-Button:hover .svgBG {\n animation: anti-clockwise 2s linear infinite;\n}\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes anti-clockwise {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(-360deg);\n }\n}\n.Projects-Button:hover {\n background-color: rgb(119, 57, 166);\n}\n\n",
"component_name": "GalaxyNervousWarthog37"
},
"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": 4125,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.188Z",
"updated_at": "2025-07-31T07:55:38.188Z"
}