galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
123 lines • 8.98 kB
JSON
{
"id": "elijahgummer_hard-turkey-58",
"name": "hard-turkey-58",
"category": "buttons",
"author": "elijahgummer",
"description": "hard-turkey-58 组件 (simple, neumorphism, minimalist, button, modern, hover effect, click effect, animation, gradient, interactive)",
"tags": [
"simple",
"neumorphism",
"minimalist",
"button",
"modern",
"hover effect",
"click effect",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"styled-button\">\n Register Now\n <div class=\"inner-button\">\n <svg id=\"Arrow\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" height=\"30px\" width=\"30px\" class=\"icon\">\n <defs>\n <linearGradient y2=\"100%\" x2=\"100%\" y1=\"0%\" x1=\"0%\" id=\"iconGradient\">\n <stop style=\"stop-color:#FFFFFF;stop-opacity:1\" offset=\"0%\"></stop>\n <stop style=\"stop-color:#AAAAAA;stop-opacity:1\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <path fill=\"url(#iconGradient)\" d=\"M4 15a1 1 0 0 0 1 1h19.586l-4.292 4.292a1 1 0 0 0 1.414 1.414l6-6a.99.99 0 0 0 .292-.702V15c0-.13-.026-.26-.078-.382a.99.99 0 0 0-.216-.324l-6-6a1 1 0 0 0-1.414 1.414L24.586 14H5a1 1 0 0 0-1 1z\"></path>\n </svg>\n </div>\n</button>",
"css": "/* From Uiverse.io by elijahgummer - Website: https://x.com/farrelput/status/1772222462329287156 - Name: Farrel Putra - Tags: simple, neumorphism, minimalist, button, modern, hover effect, click effect */\n.styled-button {\n position: relative;\n padding: 1rem 2rem;\n font-size: 1.1rem;\n font-weight: bold;\n color: #ffffff;\n background: linear-gradient(to bottom, #171717, #242424);\n border-radius: 9999px;\n cursor: pointer;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 10px 20px rgba(0, 0, 0, 0.4);\n transition: all 0.2s ease;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid #292929;\n}\n\n.styled-button::before {\n content: \"\";\n position: absolute;\n top: -2px;\n right: -1px;\n bottom: -1px;\n left: -1px;\n background: linear-gradient(to bottom, #292929, #000000);\n z-index: -1;\n border-radius: 9999px;\n transition: all 0.2s ease;\n opacity: 1;\n}\n\n.styled-button:active {\n transform: translateY(2px);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 1), 0 5px 10px rgba(0, 0, 0, 0.4);\n}\n\n.styled-button .inner-button {\n position: relative; /* Ensure relative positioning for pseudo-element */\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(to bottom, #171717, #242424);\n width: 40px;\n height: 40px;\n margin-left: 10px;\n border-radius: 50%;\n box-shadow: 0 0 1px rgba(0, 0, 0, 1);\n border: 1px solid #252525;\n transition: all 0.2s ease;\n}\n\n.styled-button .inner-button::before {\n content: \"\";\n position: absolute;\n top: -2px;\n right: -1px;\n bottom: -1px;\n left: -1px;\n background: linear-gradient(to bottom, #292929, #000000);\n z-index: -1;\n border-radius: 9999px;\n transition: all 0.2s ease;\n opacity: 1;\n}\n.styled-button .inner-button .icon {\n filter: drop-shadow(0 10px 20px rgba(26, 25, 25, 0.9))\n drop-shadow(0 0 4px rgba(0, 0, 0, 1));\n transition: all 0.4s ease-in-out;\n}\n.styled-button .inner-button .icon:hover {\n filter: drop-shadow(0 10px 20px rgba(50, 50, 50, 1))\n drop-shadow(0 0 20px rgba(2, 2, 2, 1));\n transform: rotate(-35deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/elijahgummer_hard-turkey-58.html"
},
"uniapp": {
"template": "<button class=\"styled-button\"></button>\n Register Now\n <view class=\"inner-button\"></view>\n <view id=\"Arrow\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" height=\"30px\" width=\"30px\" class=\"icon\"></view>\n <defs>\n <linearGradient y2=\"100%\" x2=\"100%\" y1=\"0%\" x1=\"0%\" id=\"iconGradient\">\n <stop style=\"stop-color:#FFFFFF;stop-opacity:1\" offset=\"0%\"></stop>\n <stop style=\"stop-color:#AAAAAA;stop-opacity:1\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <path fill=\"url(#iconGradient)\" d=\"M4 15a1 1 0 0 0 1 1h19.586l-4.292 4.292a1 1 0 0 0 1.414 1.414l6-6a.99.99 0 0 0 .292-.702V15c0-.13-.026-.26-.078-.382a.99.99 0 0 0-.216-.324l-6-6a1 1 0 0 0-1.414 1.414L24.586 14H5a1 1 0 0 0-1 1z\"></path>\n </svg>\n </div>\n</button>",
"script": "export default {\n name: 'GalaxyHardTurkey58',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by elijahgummer - Website: https://x.com/farrelput/status/1772222462329287156 - Name: Farrel Putra - Tags: simple, neumorphism, minimalist, button, modern, hover effect, click effect */\n.styled-button {\n position: relative;\n padding: 1rem 2rem;\n font-size: 1.1rem;\n font-weight: bold;\n color: #ffffff;\n background: linear-gradient(to bottom, #171717, #242424);\n border-radius: 19998rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 1), 0 20rpx 40rpx rgba(0, 0, 0, 0.4);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.2s ease;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 2rpx solid #292929;\n}\n\n.styled-button::before {\n content: \"\";\n position: absolute;\n top: -4rpx;\n right: -2rpx;\n bottom: -2rpx;\n left: -2rpx;\n background: linear-gradient(to bottom, #292929, #000000);\n z-index: -1;\n border-radius: 19998rpx;\n transition: all 0.2s ease;\n opacity: 1;\n}\n\n.styled-button:active {\n transform: translateY(4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 1), 0 10rpx 20rpx rgba(0, 0, 0, 0.4);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.styled-button .inner-button {\n position: relative; /* Ensure relative positioning for pseudo-element */\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(to bottom, #171717, #242424);\n width: 80rpx;\n height: 80rpx;\n margin-left: 20rpx;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 2rpx rgba(0, 0, 0, 1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 2rpx solid #252525;\n transition: all 0.2s ease;\n}\n\n.styled-button .inner-button::before {\n content: \"\";\n position: absolute;\n top: -4rpx;\n right: -2rpx;\n bottom: -2rpx;\n left: -2rpx;\n background: linear-gradient(to bottom, #292929, #000000);\n z-index: -1;\n border-radius: 19998rpx;\n transition: all 0.2s ease;\n opacity: 1;\n}\n.styled-button .inner-button .icon {\n \n transition: all 0.4s ease-in-out;\n}\n.styled-button .inner-button .icon:hover {\n \n transform: rotate(-35deg);\n}\n\n",
"component_name": "GalaxyHardTurkey58"
},
"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": 2834,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.519Z",
"updated_at": "2025-07-31T07:55:36.519Z"
}