galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 12.6 kB
JSON
{
"id": "Quezaquo_great-ladybug-7",
"name": "great-ladybug-7",
"category": "buttons",
"author": "Quezaquo",
"description": "great-ladybug-7 组件 (button, animation, gradient, interactive)",
"tags": [
"button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<div class=\"container\">\n <button class=\"btn\">\n <div class=\"btn-text default\">EXPLORE..</div>\n <div class=\"btn-text active\">LAUNCH..</div>\n <div class=\"spaceship1\">\n <svg viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n <div class=\"spaceship2\">\n <svg viewBox=\"0 0 24 24\" height=\"18\" width=\"18\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n </button>\n <div class=\"spaceship3\">\n <svg viewBox=\"0 0 24 24\" height=\"40\" width=\"40\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n </div>",
"css": "/* From Uiverse.io by Quezaquo - Tags: button */\n.active {\n opacity: 0;\n position: absolute;\n}\n\n.btn {\n all: unset;\n background: rgb(25,24,37);\n background: linear-gradient(123deg, rgba(25,24,37,1) 0%, rgba(48,30,103,1) 51%, rgba(134,93,255,1) 82%, rgba(227,132,255,1) 100%);\n padding: 0.55em 0.15em 0.55em 1em;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n border-radius: 0.5em;\n}\n\n.btn:hover {\n -webkit-box-shadow: -1px -1px 53px -15px rgba(255,255,255,0.75);\n box-shadow: -1px -1px 53px -15px rgba(255,255,255,0.75);\n}\n\n.btn:hover > .default {\n opacity: 0;\n position: absolute;\n}\n\n.btn:hover > .active {\n opacity: 1;\n position: relative;\n -webkit-transition-delay: .4s;\n transition-delay: .4s;\n}\n\n.btn:hover .spaceship1 {\n opacity: 0;\n}\n\n.btn:hover .spaceship2 {\n opacity: 0;\n}\n\n.btn:hover + .spaceship3 {\n opacity: 1;\n}\n\n.btn:hover::after {\n -webkit-animation: none;\n animation: none;\n display: none;\n}\n\n.btn::after {\n content: '';\n position: absolute;\n border: 3px solid white;\n border-radius: 0.5em;\n top: 43%;\n left: 50%;\n z-index: -1;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-animation-duration: 2s;\n animation-duration: 2s;\n -webkit-animation-delay: 5s;\n animation-delay: 5s;\n -webkit-animation-name: halo;\n animation-name: halo;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n\n.btn:active + .spaceship3 {\n -webkit-animation: lauch 1s ease-in forwards;\n animation: lauch 1s ease-in forwards;\n}\n\n.btn-text {\n color: white;\n font-weight: bold;\n letter-spacing: 0.6em;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-transition: .4s ease-in-out;\n transition: .4s ease-in-out;\n}\n\n.spaceship1 {\n position: relative;\n z-index: 2;\n left: 1em;\n bottom: 0.8em;\n -webkit-animation: 10s float infinite;\n animation: 10s float infinite;\n}\n\n.spaceship2 {\n position: relative;\n z-index: 2;\n left: -14em;\n top: 1.5em;\n -webkit-animation: 7s float infinite;\n animation: 7s float infinite;\n}\n\n.spaceship3 {\n opacity: 0;\n position: relative;\n z-index: -1;\n top: -4.7em;\n left: 5.8em;\n}\n\n@keyframes float {\n 0% {\n -webkit-transform: translatey(0px);\n transform: translatey(0px);\n }\n\n 50% {\n -webkit-transform: translatey(-10px);\n transform: translatey(-10px);\n }\n\n 100% {\n -webkit-transform: translatey(0px);\n transform: translatey(0px);\n }\n}\n\n@keyframes halo {\n from {\n opacity: 0.2;\n width: 0em;\n height: 0em;\n }\n\n to {\n opacity: 0;\n width: 23em;\n height: 3.55em;\n }\n}\n\n@keyframes lauch {\n from {\n -webkit-transform: translatey(0px);\n transform: translatey(0px);\n opacity: 1;\n }\n\n to {\n -webkit-transform: translatey(-110px);\n transform: translatey(-110px);\n opacity: 0;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Quezaquo_great-ladybug-7.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <button class=\"btn\"></button>\n <view class=\"btn-text default\">EXPLORE..</view>\n <view class=\"btn-text active\">LAUNCH..</view>\n <view class=\"spaceship1\"></view>\n <view viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n <view class=\"spaceship2\"></view>\n <view viewBox=\"0 0 24 24\" height=\"18\" width=\"18\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n </button>\n <view class=\"spaceship3\"></view>\n <view viewBox=\"0 0 24 24\" height=\"40\" width=\"40\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32a.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zM12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n </div>",
"script": "export default {\n name: 'GalaxyGreatLadybug7',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Quezaquo - Tags: button */\n.active {\n opacity: 0;\n position: absolute;\n}\n\n.btn {\n all: unset;\n background: rgb(25,24,37);\n background: linear-gradient(123deg, rgba(25,24,37,1) 0%, rgba(48,30,103,1) 51%, rgba(134,93,255,1) 82%, rgba(227,132,255,1) 100%);\n padding: 0.55em 0.15em 0.55em 1em;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n border-radius: 0.5em;\n}\n\n.btn:hover {\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -2rpx -2rpx 106rpx -30rpx rgba(255,255,255,0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -2rpx -2rpx 106rpx -30rpx rgba(255,255,255,0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn:hover > .default {\n opacity: 0;\n position: absolute;\n}\n\n.btn:hover > .active {\n opacity: 1;\n position: relative;\n -webkit-transition-delay: .4s;\n transition-delay: .4s;\n}\n\n.btn:hover .spaceship1 {\n opacity: 0;\n}\n\n.btn:hover .spaceship2 {\n opacity: 0;\n}\n\n.btn:hover + .spaceship3 {\n opacity: 1;\n}\n\n.btn:hover::after {\n -webkit-animation: none;\n animation: none;\n display: none;\n}\n\n.btn::after {\n content: '';\n position: absolute;\n border: 6rpx solid white;\n border-radius: 0.5em;\n top: 43%;\n left: 50%;\n z-index: -1;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-animation-duration: 2s;\n animation-duration: 2s;\n -webkit-animation-delay: 5s;\n animation-delay: 5s;\n -webkit-animation-name: halo;\n animation-name: halo;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n\n.btn:active + .spaceship3 {\n -webkit-animation: lauch 1s ease-in forwards;\n animation: lauch 1s ease-in forwards;\n}\n\n.btn-text {\n color: white;\n font-weight: bold;\n letter-spacing: 0.6em;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-transition: .4s ease-in-out;\n transition: .4s ease-in-out;\n}\n\n.spaceship1 {\n position: relative;\n z-index: 2;\n left: 1em;\n bottom: 0.8em;\n -webkit-animation: 10s float infinite;\n animation: 10s float infinite;\n}\n\n.spaceship2 {\n position: relative;\n z-index: 2;\n left: -14em;\n top: 1.5em;\n -webkit-animation: 7s float infinite;\n animation: 7s float infinite;\n}\n\n.spaceship3 {\n opacity: 0;\n position: relative;\n z-index: -1;\n top: -4.7em;\n left: 5.8em;\n}\n\n@keyframes float {\n 0% {\n -webkit-transform: translatey(0rpx);\n transform: translatey(0rpx);\n }\n\n 50% {\n -webkit-transform: translatey(-20rpx);\n transform: translatey(-20rpx);\n }\n\n 100% {\n -webkit-transform: translatey(0rpx);\n transform: translatey(0rpx);\n }\n}\n\n@keyframes halo {\n from {\n opacity: 0.2;\n width: 0em;\n height: 0em;\n }\n\n to {\n opacity: 0;\n width: 23em;\n height: 3.55em;\n }\n}\n\n@keyframes lauch {\n from {\n -webkit-transform: translatey(0rpx);\n transform: translatey(0rpx);\n opacity: 1;\n }\n\n to {\n -webkit-transform: translatey(-220rpx);\n transform: translatey(-220rpx);\n opacity: 0;\n }\n}\n",
"component_name": "GalaxyGreatLadybug7"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "high",
"bundle_size": 4659,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.392Z",
"updated_at": "2025-07-31T07:55:34.392Z"
}