galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
122 lines • 7.29 kB
JSON
{
"id": "elijahgummer_proud-goat-69",
"name": "proud-goat-69",
"category": "buttons",
"author": "elijahgummer",
"description": "proud-goat-69 组件 (icon, animation, 3d, button, hover, modern, play, cyan, interactive)",
"tags": [
"icon",
"animation",
"3d",
"button",
"hover",
"modern",
"play",
"cyan",
"interactive"
],
"original": {
"html": "<button class=\"button-with-icon\">\n <svg class=\"icon\" id=\"Play\" viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\">\n <path class=\"color000000 svgShape\" fill=\"#ffffff\" d=\"M12 39c-.549 0-1.095-.15-1.578-.447A3.008 3.008 0 0 1 9 36V12c0-1.041.54-2.007 1.422-2.553a3.014 3.014 0 0 1 2.919-.132l24 12a3.003 3.003 0 0 1 0 5.37l-24 12c-.42.21-.885.315-1.341.315z\"></path>\n </svg>\n <span class=\"text\">Play</span>\n</button>",
"css": "/* From Uiverse.io by elijahgummer - Tags: icon, animation, 3d, button, hover, modern, play, cyan */\n.button-with-icon {\n overflow: hidden;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid #0f988e;\n font-family: \"Istok Web\", sans-serif;\n letter-spacing: 1px;\n padding: 0 12px;\n text-align: center;\n width: 120px;\n height: 40px;\n font-size: 14px;\n text-transform: uppercase;\n font-weight: normal;\n border-radius: 3px;\n outline: none;\n user-select: none;\n cursor: pointer;\n transform: translateY(0px);\n position: relative;\n box-shadow:\n inset 0 30px 30px -15px rgba(255, 255, 255, 0.1),\n inset 0 0 0 1px rgba(255, 255, 255, 0.3),\n inset 0 1px 20px rgba(0, 0, 0, 0),\n 0 3px 0 #0f988e,\n 0 3px 2px rgba(0, 0, 0, 0.2),\n 0 5px 10px rgba(0, 0, 0, 0.1),\n 0 10px 20px rgba(0, 0, 0, 0.1);\n background: #15ccbe;\n color: white;\n text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);\n transition: 150ms all ease-in-out;\n}\n\n.button-with-icon .icon {\n margin-right: 8px;\n width: 24px;\n height: 24px;\n transition: all 0.5s ease-in-out;\n}\n\n.button-with-icon:active {\n transform: translateY(3px);\n box-shadow:\n inset 0 16px 2px -15px rgba(0, 0, 0, 0),\n inset 0 0 0 1px rgba(255, 255, 255, 0.15),\n inset 0 1px 20px rgba(0, 0, 0, 0.1),\n 0 0 0 #0f988e,\n 0 0 0 2px rgba(255, 255, 255, 0.5),\n 0 0 0 rgba(0, 0, 0, 0),\n 0 0 0 rgba(0, 0, 0, 0);\n}\n\n.button-with-icon:hover .text {\n transform: translateX(80px);\n}\n.button-with-icon:hover .icon {\n transform: translate(23px);\n}\n\n.text {\n transition: all 0.5s ease-in-out;\n}",
"file_path": "/mnt/persist/workspace/Buttons/elijahgummer_proud-goat-69.html"
},
"uniapp": {
"template": "<button class=\"button-with-icon\"></button>\n <view class=\"icon\" id=\"Play\" viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path class=\"color000000 svgShape\" fill=\"#ffffff\" d=\"M12 39c-.549 0-1.095-.15-1.578-.447A3.008 3.008 0 0 1 9 36V12c0-1.041.54-2.007 1.422-2.553a3.014 3.014 0 0 1 2.919-.132l24 12a3.003 3.003 0 0 1 0 5.37l-24 12c-.42.21-.885.315-1.341.315z\"></path>\n </svg>\n <text class=\"text\">Play</text>\n</button>",
"script": "export default {\n name: 'GalaxyProudGoat69',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by elijahgummer - Tags: icon, animation, 3d, button, hover, modern, play, cyan */\n.button-with-icon {\n overflow: hidden;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 2rpx solid #0f988e;\n font-family: \"Istok Web\", sans-serif;\n letter-spacing: 2rpx;\n padding: 0 24rpx;\n text-align: center;\n width: 240rpx;\n height: 80rpx;\n font-size: 28rpx;\n text-transform: uppercase;\n font-weight: normal;\n border-radius: 6rpx;\n outline: none;\n user-select: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transform: translateY(0rpx);\n position: relative;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n inset 0 60rpx 60rpx -30rpx rgba(255, 255, 255, 0.1),\n inset 0 0 0 2rpx rgba(255, 255, 255, 0.3),\n inset 0 2rpx 40rpx rgba(0, 0, 0, 0),\n 0 6rpx 0 #0f988e,\n 0 6rpx 4rpx rgba(0, 0, 0, 0.2),\n 0 10rpx 20rpx rgba(0, 0, 0, 0.1),\n 0 20rpx 40rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: #15ccbe;\n color: white;\n /* #ifdef H5 */\n text-shadow: 0 2rpx 0 rgba(0, 0, 0, 0.3);\n /* #endif */\n transition: 150ms all ease-in-out;\n}\n\n.button-with-icon .icon {\n margin-right: 16rpx;\n width: 48rpx;\n height: 48rpx;\n transition: all 0.5s ease-in-out;\n}\n\n.button-with-icon:active {\n transform: translateY(6rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow:\n inset 0 32rpx 4rpx -30rpx rgba(0, 0, 0, 0),\n inset 0 0 0 2rpx rgba(255, 255, 255, 0.15),\n inset 0 2rpx 40rpx rgba(0, 0, 0, 0.1),\n 0 0 0 #0f988e,\n 0 0 0 4rpx rgba(255, 255, 255, 0.5),\n 0 0 0 rgba(0, 0, 0, 0),\n 0 0 0 rgba(0, 0, 0, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button-with-icon:hover .text {\n transform: translateX(160rpx);\n}\n.button-with-icon:hover .icon {\n transform: translate(46rpx);\n}\n\n.text {\n transition: all 0.5s ease-in-out;\n}\n\n",
"component_name": "GalaxyProudGoat69"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2031,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.524Z",
"updated_at": "2025-07-31T07:55:36.524Z"
}