galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
120 lines • 6.67 kB
JSON
{
"id": "VashonG_rotten-frog-52",
"name": "rotten-frog-52",
"category": "buttons",
"author": "VashonG",
"description": "rotten-frog-52 组件 (flashy, button, game, 3d button, shimmer, cred, neopop, animation, gradient)",
"tags": [
"flashy",
"button",
"game",
"3d button",
"shimmer",
"cred",
"neopop",
"animation",
"gradient"
],
"original": {
"html": "<button class=\"neo-pop-tilted-button\">\n <span>Play Now</span>\n</button>",
"css": "/* From Uiverse.io by VashonG - Tags: flashy, button, game, 3d button, shimmer, cred, neopop */\n.neo-pop-tilted-button {\n border: 0.1px;\n padding-bottom: 6px;\n box-shadow: 1px 5px 7px #494a4b;\n position: relative;\n overflow: hidden;\n background-color: #b7a81d;\n color: #000000;\n font-size: 1.25rem;\n font-weight: 600;\n cursor: pointer;\n transform: perspective(180px) rotateX(30deg) translateY(2px);\n transition: transform 0.3s ease, background-color 0.3s ease;\n}\n\n.neo-pop-tilted-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 60%;\n width: 35%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(196, 196, 196, 0.8) 5px,\n rgba(196, 196, 196, 0) 5px,\n rgba(196, 196, 196, 0) 10px,\n rgba(196, 196, 196, 0.8) 2px\n );\n animation: shimmer 5.5s infinite linear;\n}\n\n.neo-pop-tilted-button span::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 60%;\n width: 35%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 1) 5px,\n rgba(255, 255, 255, 0) 5px,\n rgba(255, 255, 255, 0) 10px,\n rgba(255, 255, 255, 1) 2px\n );\n animation: shimmer 5.5s infinite linear;\n}\n\n@keyframes shimmer {\n 0% {\n transform: translateX(-1950%);\n }\n 100% {\n transform: translateX(100%);\n }\n}\n\n.neo-pop-tilted-button span {\n background: #ffeb34;\n padding: 1rem 2.5rem;\n position: relative;\n z-index: 1;\n display: block;\n border-radius: 0px;\n border: 1px solid #494a4b;\n}\n\n.neo-pop-tilted-button:focus {\n outline: none;\n}\n\n.neo-pop-tilted-button:focus-visible {\n box-shadow: 0 0 0 3px rgba(255, 235, 52, 0.5);\n}\n\nbutton:active {\n transform: perspective(170px) rotateX(36deg) translateY(5px);\n}",
"file_path": "/mnt/persist/workspace/Buttons/VashonG_rotten-frog-52.html"
},
"uniapp": {
"template": "<button class=\"neo-pop-tilted-button\"></button>\n <text>Play Now</text>\n</button>",
"script": "export default {\n name: 'GalaxyRottenFrog52',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by VashonG - Tags: flashy, button, game, 3d button, shimmer, cred, neopop */\n.neo-pop-tilted-button {\n border: 0.2rpx;\n padding-bottom: 12rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 10rpx 14rpx #494a4b;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n overflow: hidden;\n background-color: #b7a81d;\n color: #000000;\n font-size: 1.25rem;\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transform: perspective(360rpx) rotateX(30deg) translateY(4rpx);\n transition: transform 0.3s ease, background-color 0.3s ease;\n}\n\n.neo-pop-tilted-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 60%;\n width: 35%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(196, 196, 196, 0.8) 10rpx,\n rgba(196, 196, 196, 0) 10rpx,\n rgba(196, 196, 196, 0) 20rpx,\n rgba(196, 196, 196, 0.8) 4rpx\n );\n animation: shimmer 5.5s infinite linear;\n}\n\n.neo-pop-tilted-button span::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 60%;\n width: 35%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 1) 10rpx,\n rgba(255, 255, 255, 0) 10rpx,\n rgba(255, 255, 255, 0) 20rpx,\n rgba(255, 255, 255, 1) 4rpx\n );\n animation: shimmer 5.5s infinite linear;\n}\n\n@keyframes shimmer {\n 0% {\n transform: translateX(-1950%);\n }\n 100% {\n transform: translateX(100%);\n }\n}\n\n.neo-pop-tilted-button span {\n background: #ffeb34;\n padding: 1rem 2.5rem;\n position: relative;\n z-index: 1;\n display: block;\n border-radius: 0rpx;\n border: 2rpx solid #494a4b;\n}\n\n.neo-pop-tilted-button:focus {\n outline: none;\n}\n\n.neo-pop-tilted-button:focus-visible {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 6rpx rgba(255, 235, 52, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:active {\n transform: perspective(340rpx) rotateX(36deg) translateY(10rpx);\n}\n\n",
"component_name": "GalaxyRottenFrog52"
},
"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": 1786,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.099Z",
"updated_at": "2025-07-31T07:55:35.099Z"
}