galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 5.4 kB
JSON
{
"id": "kevkevkevin_tall-horse-10",
"name": "tall-horse-10",
"category": "buttons",
"author": "kevkevkevin",
"description": "tall-horse-10 组件 (button, creative, animation, interactive)",
"tags": [
"button",
"creative",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Hover me 🥹\n</button>",
"css": "/* From Uiverse.io by kevkevkevin - Tags: button, creative */\n.button {\n font-size: 16px;\n font-weight: 700;\n color: #292930;\n background: #ffdc60;\n height: 60px;\n line-height: 60px;\n text-align: center;\n padding: 0 50px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n border-radius: 10px;\n text-transform: capitalize;\n cursor: pointer;\n border: none;\n box-shadow: 0px 0px 77px 12px rgba(0,0,0,0.13);\n -webkit-box-shadow: 0px 0px 77px 12px rgba(0,0,0,0.13);\n -moz-box-shadow: 0px 0px 77px 12px rgba(0,0,0,0.13);\n}\n\nbutton:before, button:after {\n content: \"\";\n background: #5956e9;\n height: 50%;\n width: 0;\n position: absolute;\n transition: .3s cubic-bezier(.785,.135,.15,.86);\n -webkit-transition: .3s cubic-bezier(.785,.135,.15,.86);\n z-index: -1;\n}\n\nbutton::before {\n top: 0;\n left: 0;\n right: auto;\n}\n\nbutton:after {\n bottom: 0;\n right: 0;\n left: auto;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #57c9da;\n}\n\nbutton:hover:before {\n width: 100%;\n right: 0;\n left: auto;\n}\n\nbutton:hover::after {\n width: 100%;\n left: 0;\n right: auto;\n}",
"file_path": "/mnt/persist/workspace/Buttons/kevkevkevin_tall-horse-10.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Hover me 🥹\n</button>",
"script": "export default {\n name: 'GalaxyTallHorse10',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by kevkevkevin - Tags: button, creative */\n.button {\n font-size: 32rpx;\n font-weight: 700;\n color: #292930;\n background: #ffdc60;\n height: 120rpx;\n line-height: 120rpx;\n text-align: center;\n padding: 0 100rpx;\n position: relative;\n z-index: 1;\n overflow: hidden;\n border-radius: 20rpx;\n text-transform: capitalize;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 154rpx 24rpx rgba(0,0,0,0.13);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 154rpx 24rpx rgba(0,0,0,0.13);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -moz-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 154rpx 24rpx rgba(0,0,0,0.13);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:before, button:after {\n content: \"\";\n background: #5956e9;\n height: 50%;\n width: 0;\n position: absolute;\n transition: .3s cubic-bezier(.785,.135,.15,.86);\n -webkit-transition: .3s cubic-bezier(.785,.135,.15,.86);\n z-index: -1;\n}\n\nbutton::before {\n top: 0;\n left: 0;\n right: auto;\n}\n\nbutton:after {\n bottom: 0;\n right: 0;\n left: auto;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #57c9da;\n}\n\nbutton:hover:before {\n width: 100%;\n right: 0;\n left: auto;\n}\n\nbutton:hover::after {\n width: 100%;\n left: 0;\n right: auto;\n}\n\n",
"component_name": "GalaxyTallHorse10"
},
"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": 1142,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.093Z",
"updated_at": "2025-07-31T07:55:37.093Z"
}