galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 6.75 kB
JSON
{
"id": "EddyBel_brave-horse-21",
"name": "brave-horse-21",
"category": "buttons",
"author": "EddyBel",
"description": "brave-horse-21 组件 (gradient, button, click, animation, interactive)",
"tags": [
"gradient",
"button",
"click",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button__click\">\n <div class=\"button__click__background\"></div>\n Click me\n</button>",
"css": "/* From Uiverse.io by EddyBel - Tags: gradient, button, click */\n.button__click {\n border: none;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n text-transform: uppercase;\n transition: box-shadow 400ms;\n padding: 0.7em 1.7em;\n font-size: 1rem;\n border-radius: 20px;\n color: rgb(0, 0, 0, 0.75);\n background: transparent;\n transform: scale(1.1) perspective(500px) rotateX(15deg) rotateY(-10deg);\n}\n\n.button__click:hover {\n animation: button__click__animation 5.5s infinite both;\n}\n\n.button__click__background {\n transition: transform 1.5s;\n z-index: -2;\n position: absolute;\n left: 0;\n top: 0;\n width: 200%;\n height: 200%;\n animation: button__click__background 10s infinite;\n background-color: #99fff8;\n background-image: radial-gradient(at 89% 76%, hsla(13,63%,73%,1) 0px, transparent 50%),\n radial-gradient(at 69% 38%, hsla(217,85%,71%,1) 0px, transparent 50%),\n radial-gradient(at 12% 8%, hsla(214,70%,64%,1) 0px, transparent 50%),\n radial-gradient(at 53% 10%, hsla(339,64%,65%,1) 0px, transparent 50%),\n radial-gradient(at 5% 67%, hsla(212,74%,70%,1) 0px, transparent 50%);\n}\n\n.button__click::before {\n content: \"\";\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: -1;\n background: rgba(255, 255, 255, 0.295);\n}\n\n.button__click:focus {\n box-shadow: 0px 0px 0px 2px #000;\n}\n\n@keyframes button__click__animation {\n 0%, 100% {\n transform: scale(1.1) perspective(500px) rotateX(15deg) rotateY(-10deg);\n }\n\n 50% {\n transform: scale(0.9) perspective(500px) rotateX(-15deg) rotateY(15deg);\n }\n}\n\n@keyframes button__click__background {\n 0%, 100% {\n transform: translateX(0%);\n }\n\n 25% {\n transform: translateX(-50%);\n }\n\n 50% {\n transform: translateX(-50%) translateY(-50%);\n }\n\n 75% {\n transform: translateX(0%) translateY(-50%);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/EddyBel_brave-horse-21.html"
},
"uniapp": {
"template": "<button class=\"button__click\"></button>\n <view class=\"button__click__background\"></view>\n Click me\n</button>",
"script": "export default {\n name: 'GalaxyBraveHorse21',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by EddyBel - Tags: gradient, button, click */\n.button__click {\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n text-transform: uppercase;\n transition: box-shadow 400ms;\n padding: 0.7em 1.7em;\n font-size: 1rem;\n border-radius: 40rpx;\n color: rgb(0, 0, 0, 0.75);\n background: transparent;\n transform: scale(1.1) perspective(1000rpx) rotateX(15deg) rotateY(-10deg);\n}\n\n.button__click:hover {\n animation: button__click__animation 5.5s infinite both;\n}\n\n.button__click__background {\n transition: transform 1.5s;\n z-index: -2;\n position: absolute;\n left: 0;\n top: 0;\n width: 200%;\n height: 200%;\n animation: button__click__background 10s infinite;\n background-color: #99fff8;\n background-image: radial-gradient(at 89% 76%, hsla(13,63%,73%,1) 0rpx, transparent 50%),\n radial-gradient(at 69% 38%, hsla(217,85%,71%,1) 0rpx, transparent 50%),\n radial-gradient(at 12% 8%, hsla(214,70%,64%,1) 0rpx, transparent 50%),\n radial-gradient(at 53% 10%, hsla(339,64%,65%,1) 0rpx, transparent 50%),\n radial-gradient(at 5% 67%, hsla(212,74%,70%,1) 0rpx, transparent 50%);\n}\n\n.button__click::before {\n content: \"\";\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: -1;\n background: rgba(255, 255, 255, 0.295);\n}\n\n.button__click:focus {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0rpx 4rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes button__click__animation {\n 0%, 100% {\n transform: scale(1.1) perspective(1000rpx) rotateX(15deg) rotateY(-10deg);\n }\n\n 50% {\n transform: scale(0.9) perspective(1000rpx) rotateX(-15deg) rotateY(15deg);\n }\n}\n\n@keyframes button__click__background {\n 0%, 100% {\n transform: translateX(0%);\n }\n\n 25% {\n transform: translateX(-50%);\n }\n\n 50% {\n transform: translateX(-50%) translateY(-50%);\n }\n\n 75% {\n transform: translateX(0%) translateY(-50%);\n }\n}\n",
"component_name": "GalaxyBraveHorse21"
},
"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": 1939,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.189Z",
"updated_at": "2025-07-31T07:55:33.189Z"
}