galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 4.49 kB
JSON
{
"id": "Mike11jr_warm-zebra-80",
"name": "warm-zebra-80",
"category": "buttons",
"author": "Mike11jr",
"description": "warm-zebra-80 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"btn\"> Shop now\n</button>",
"css": "/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n padding: 1.1em 2em;\n background: none;\n border: 2px solid #fff;\n font-size: 15px;\n color: #131313;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n transition: all 0.3s;\n border-radius: 12px;\n background-color: #ecd448;\n font-weight: bolder;\n box-shadow: 0 2px 0 2px #000;\n}\n\n.btn:before {\n content: \"\";\n position: absolute;\n width: 100px;\n height: 120%;\n background-color: #ff6700;\n top: 50%;\n transform: skewX(30deg) translate(-150%, -50%);\n transition: all 0.5s;\n}\n\n.btn:hover {\n background-color: #4cc9f0;\n color: #fff;\n box-shadow: 0 2px 0 2px #0d3b66;\n}\n\n.btn:hover::before {\n transform: skewX(30deg) translate(150%, -50%);\n transition-delay: 0.1s;\n}\n\n.btn:active {\n transform: scale(0.9);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Mike11jr_warm-zebra-80.html"
},
"uniapp": {
"template": "<button class=\"btn\"></button> Shop now\n</button>",
"script": "export default {\n name: 'GalaxyWarmZebra80',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n padding: 1.1em 2em;\n background: none;\n border: 4rpx solid #fff;\n font-size: 30rpx;\n color: #131313;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n transition: all 0.3s;\n border-radius: 24rpx;\n background-color: #ecd448;\n font-weight: bolder;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 0 4rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn:before {\n content: \"\";\n position: absolute;\n width: 200rpx;\n height: 120%;\n background-color: #ff6700;\n top: 50%;\n transform: skewX(30deg) translate(-150%, -50%);\n transition: all 0.5s;\n}\n\n.btn:hover {\n background-color: #4cc9f0;\n color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 0 4rpx #0d3b66;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn:hover::before {\n transform: skewX(30deg) translate(150%, -50%);\n transition-delay: 0.1s;\n}\n\n.btn:active {\n transform: scale(0.9);\n}\n",
"component_name": "GalaxyWarmZebra80"
},
"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": 807,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.973Z",
"updated_at": "2025-07-31T07:55:33.973Z"
}