galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 7.91 kB
JSON
{
"id": "Amir10Amir_big-dolphin-56",
"name": "big-dolphin-56",
"category": "buttons",
"author": "Amir10Amir",
"description": "big-dolphin-56 组件 (gradient, button, animation, interactive)",
"tags": [
"gradient",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"bn\">Hover!</button>",
"css": "/* From Uiverse.io by Amir10Amir - Tags: gradient, button */\nbutton {\n --border-radius: 25px;\n --border-width: 7px;\n appearance: none;\n position: relative;\n padding: 1em 2em;\n border: 0;\n background-color: #212121;\n font-family: \"Roboto\", Arial, \"Segoe UI\", sans-serif;\n font-size: 18px;\n font-weight: 500;\n color: #ffff;\n z-index: 2;\n}\n\nbutton::after {\n --m-i: linear-gradient(#000, #000);\n --m-o: content-box, padding-box;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n padding: var(--border-width);\n background-image: conic-gradient(\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080\n\t);\n -webkit-mask-image: var(--m-i), var(--m-i);\n mask-image: var(--m-i), var(--m-i);\n -webkit-mask-origin: var(--m-o);\n mask-origin: var(--m-o);\n mask-clip: var(--m-o);\n mask-composite: exclude;\n -webkit-mask-composite: destination-out;\n filter: hue-rotate(0);\n animation: rotate-hue634 linear 500ms infinite;\n animation-play-state: paused;\n border-radius: 20px;\n border-color: #000;\n}\n\nbutton:hover::after {\n animation-play-state: running;\n border-radius: 10px;\n}\n\n@keyframes rotate-hue634 {\n to {\n filter: hue-rotate(1turn);\n }\n}\n\nbutton,\nbutton::after {\n box-sizing: border-box;\n border-radius: 20px;\n}\n\nbutton:active {\n --border-width: 5px;\n}\n\n.bn {\n padding: 0.9em 1.6em;\n border: none;\n outline: none;\n color: #FFF;\n font-family: inherit;\n font-weight: 500;\n font-size: 17px;\n cursor: pointer;\n position: relative;\n z-index: 0;\n border-radius: 32px;\n}\n\n.bn::after {\n content: \"\";\n z-index: -1;\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: rgb(46, 46, 46);\n left: 0;\n top: 0;\n border-radius: 10px;\n}\n\n.bn::before {\n content: \"\";\n background: linear-gradient(\n 45deg,\n #07d888, #e40851, #2f00ff, #00ff37,\n #ec0808, #2600ff, #0bd157, #2f00ff\n);\n position: absolute;\n top: -2px;\n left: -2px;\n background-size: 600%;\n z-index: -1;\n width: calc(100% + 4px);\n height: calc(100% + 4px);\n filter: blur(8px);\n animation: glowing345 20s linear infinite;\n transition: opacity .3s ease-in-out;\n border-radius: 20px;\n opacity: 0;\n}\n\n@keyframes glowing345 {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}\n\n.bn:hover::before {\n opacity: 1;\n}\n\n.bn:active:after {\n background: transparent;\n}\n\n.bn:active {\n color: #000;\n font-weight: bold;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Amir10Amir_big-dolphin-56.html"
},
"uniapp": {
"template": "<button class=\"bn\"></button>Hover!</button>",
"script": "export default {\n name: 'GalaxyBigDolphin56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Amir10Amir - Tags: gradient, button */\nbutton {\n --border-radius: 50rpx;\n --border-width: 14rpx;\n appearance: none;\n position: relative;\n padding: 1em 2em;\n border: 0;\n background-color: #212121;\n font-family: \"Roboto\", Arial, \"Segoe UI\", sans-serif;\n font-size: 36rpx;\n font-weight: 500;\n color: #ffff;\n z-index: 2;\n}\n\nbutton::after {\n --m-i: linear-gradient(#000, #000);\n --m-o: content-box, padding-box;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n padding: var(--border-width);\n background-image: conic-gradient(\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080,\n\t\t#ff0080\n\t);\n -webkit-mask-image: var(--m-i), var(--m-i);\n mask-image: var(--m-i), var(--m-i);\n -webkit-mask-origin: var(--m-o);\n mask-origin: var(--m-o);\n mask-clip: var(--m-o);\n mask-composite: exclude;\n -webkit-mask-composite: destination-out;\n \n animation: rotate-hue634 linear 500ms infinite;\n animation-play-state: paused;\n border-radius: 40rpx;\n border-color: #000;\n}\n\nbutton:hover::after {\n animation-play-state: running;\n border-radius: 20rpx;\n}\n\n@keyframes rotate-hue634 {\n to {\n \n }\n}\n\nbutton,\nbutton::after {\n box-sizing: border-box;\n border-radius: 40rpx;\n}\n\nbutton:active {\n --border-width: 10rpx;\n}\n\n.bn {\n padding: 0.9em 1.6em;\n border: none;\n outline: none;\n color: #FFF;\n font-family: inherit;\n font-weight: 500;\n font-size: 34rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n z-index: 0;\n border-radius: 64rpx;\n}\n\n.bn::after {\n content: \"\";\n z-index: -1;\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: rgb(46, 46, 46);\n left: 0;\n top: 0;\n border-radius: 20rpx;\n}\n\n.bn::before {\n content: \"\";\n background: linear-gradient(\n 45deg,\n #07d888, #e40851, #2f00ff, #00ff37,\n #ec0808, #2600ff, #0bd157, #2f00ff\n);\n position: absolute;\n top: -4rpx;\n left: -4rpx;\n background-size: 600%;\n z-index: -1;\n width: calc(100% + 8rpx);\n height: calc(100% + 8rpx);\n \n animation: glowing345 20s linear infinite;\n transition: opacity .3s ease-in-out;\n border-radius: 40rpx;\n opacity: 0;\n}\n\n@keyframes glowing345 {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}\n\n.bn:hover::before {\n opacity: 1;\n}\n\n.bn:active:after {\n background: transparent;\n}\n\n.bn:active {\n color: #000;\n font-weight: bold;\n}\n",
"component_name": "GalaxyBigDolphin56"
},
"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": [
"不支持 filter 属性",
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "high",
"bundle_size": 2521,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.607Z",
"updated_at": "2025-07-31T07:55:32.607Z"
}