galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
123 lines • 6.79 kB
JSON
{
"id": "Tsiangana_curly-rat-7",
"name": "curly-rat-7",
"category": "buttons",
"author": "Tsiangana",
"description": "curly-rat-7 组件 (animation, button, hover, space, download, futuristic, gradients, hover button, gradient, interactive)",
"tags": [
"animation",
"button",
"hover",
"space",
"download",
"futuristic",
"gradients",
"hover button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"botao\">\n <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"mysvg\"><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\">\n </g><g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></g><g id=\"SVGRepo_iconCarrier\">\n <g id=\"Interface / Download\"> \n <path id=\"Vector\" d=\"M6 21H18M12 3V17M12 17L17 12M12 17L7 12\" stroke=\"#f1f1f1\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n </path>\n </g> </g>\n </svg>\n <span class=\"texto\">Download</span>\n</button>",
"css": "/* From Uiverse.io by Tsiangana - Tags: animation, button, hover, space, download, futuristic, gradients, hover button */\n.botao {\n width: 125px;\n height: 45px;\n border-radius: 20px;\n border: none;\n box-shadow: 1px 1px rgba(107, 221, 215, 0.37);\n padding: 5px 10px;\n background: rgb(47,93,197);\n background: linear-gradient(160deg, rgba(47,93,197,1) 0%, rgba(46,86,194,1) 5%, rgba(47,93,197,1) 11%, rgba(59,190,230,1) 57%, rgba(0,212,255,1) 71%);\n color: #fff;\n font-family: Roboto, sans-serif;\n font-weight: 505;\n font-size: 16px;\n line-height: 1;\n cursor: pointer;\n filter: drop-shadow(0 0 10px rgba(59, 190, 230, 0.568));\n transition: .5s linear;\n}\n\n.botao .mysvg {\n display: none;\n}\n\n.botao:hover {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n transition: .5s linear;\n}\n\n.botao:hover .texto {\n display: none;\n}\n\n.botao:hover .mysvg {\n display: inline;\n}\n\n.botao:hover::before {\n content: '';\n position: absolute;\n top: -3px;\n left: -3px;\n width: 100%;\n height: 100%;\n border: 3.5px solid transparent;\n border-top: 3.5px solid #fff;\n border-right: 3.5px solid #fff;\n border-radius: 50%;\n animation: animateC 2s linear infinite;\n}\n\n@keyframes animateC {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Tsiangana_curly-rat-7.html"
},
"uniapp": {
"template": "<button class=\"botao\"></button>\n <view width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"mysvg\"></view><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\">\n </g><g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></g><g id=\"SVGRepo_iconCarrier\">\n <g id=\"Interface / Download\"> \n <path id=\"Vector\" d=\"M6 21H18M12 3V17M12 17L17 12M12 17L7 12\" stroke=\"#f1f1f1\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n </path>\n </g> </g>\n </svg>\n <text class=\"texto\">Download</text>\n</button>",
"script": "export default {\n name: 'GalaxyCurlyRat7',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Tsiangana - Tags: animation, button, hover, space, download, futuristic, gradients, hover button */\n.botao {\n width: 250rpx;\n height: 90rpx;\n border-radius: 40rpx;\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 2rpx rgba(107, 221, 215, 0.37);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n padding: 10rpx 20rpx;\n background: rgb(47,93,197);\n background: linear-gradient(160deg, rgba(47,93,197,1) 0%, rgba(46,86,194,1) 5%, rgba(47,93,197,1) 11%, rgba(59,190,230,1) 57%, rgba(0,212,255,1) 71%);\n color: #fff;\n font-family: Roboto, sans-serif;\n font-weight: 505;\n font-size: 32rpx;\n line-height: 1;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n \n transition: .5s linear;\n}\n\n.botao .mysvg {\n display: none;\n}\n\n.botao:hover {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50%;\n transition: .5s linear;\n}\n\n.botao:hover .texto {\n display: none;\n}\n\n.botao:hover .mysvg {\n display: inline;\n}\n\n.botao:hover::before {\n content: '';\n position: absolute;\n top: -6rpx;\n left: -6rpx;\n width: 100%;\n height: 100%;\n border: 7rpx solid transparent;\n border-top: 7rpx solid #fff;\n border-right: 7rpx solid #fff;\n border-radius: 50%;\n animation: animateC 2s linear infinite;\n}\n\n@keyframes animateC {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n",
"component_name": "GalaxyCurlyRat7"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1861,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.017Z",
"updated_at": "2025-07-31T07:55:35.017Z"
}