galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 5.64 kB
JSON
{
"id": "irfnmdlptra_strong-cheetah-50",
"name": "strong-cheetah-50",
"category": "buttons",
"author": "irfnmdlptra",
"description": "strong-cheetah-50 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<a class=\"space-button\" href=\"#\">\n <svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 2c-5.523 0-10 4.477-10 10s4.477 10 10 10 10-4.477 10-10-4.477-10-10-10zm0 18.5c-4.688 0-8.5-3.812-8.5-8.5s3.812-8.5 8.5-8.5 8.5 3.812 8.5 8.5-3.812 8.5-8.5 8.5zm1.5-10.5h-3v-4.5h-1v4.5h-3l4.5 5z\" fill=\"currentColor\"></path></svg>\n Explore Space\n</a>",
"css": "/* From Uiverse.io by irfnmdlptra - Tags: button */\n.space-button {\n display: inline-block;\n padding: 10px 20px;\n font-size: 1.2rem;\n text-transform: uppercase;\n color: #fff;\n background-color: #2d3142;\n border-radius: 5px;\n border: none;\n text-decoration: none;\n transition: all 0.3s ease;\n position: relative;\n}\n\n.space-button:hover {\n background-color: #454b5d;\n transform: translateY(-3px);\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);\n}\n\n.space-button:active {\n background-color: #1e222f;\n transform: translateY(-1px);\n box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n}\n\n.space-button svg {\n display: inline-block;\n margin-right: 10px;\n width: 20px;\n height: 20px;\n fill: #fff;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n transform: translateZ(0);\n transition: all 0.3s ease;\n}\n\n.space-button:hover svg {\n transform: translateZ(10px) rotateY(180deg) rotateX(180deg);\n}\n\n.space-button:active svg {\n transform: translateZ(5px) rotateY(180deg) rotateX(180deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/irfnmdlptra_strong-cheetah-50.html"
},
"uniapp": {
"template": "<navigator class=\"space-button\" href=\"#\"></navigator>\n <view height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 2c-5.523 0-10 4.477-10 10s4.477 10 10 10 10-4.477 10-10-4.477-10-10-10zm0 18.5c-4.688 0-8.5-3.812-8.5-8.5s3.812-8.5 8.5-8.5 8.5 3.812 8.5 8.5-3.812 8.5-8.5 8.5zm1.5-10.5h-3v-4.5h-1v4.5h-3l4.5 5z\" fill=\"currentColor\"></path></view>\n Explore Space\n</a>",
"script": "export default {\n name: 'GalaxyStrongCheetah50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by irfnmdlptra - Tags: button */\n.space-button {\n display: inline-block;\n padding: 20rpx 40rpx;\n font-size: 1.2rem;\n text-transform: uppercase;\n color: #fff;\n background-color: #2d3142;\n border-radius: 10rpx;\n border: none;\n text-decoration: none;\n transition: all 0.3s ease;\n position: relative;\n}\n\n.space-button:hover {\n background-color: #454b5d;\n transform: translateY(-6rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.space-button:active {\n background-color: #1e222f;\n transform: translateY(-2rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.space-button svg {\n display: inline-block;\n margin-right: 20rpx;\n width: 40rpx;\n height: 40rpx;\n fill: #fff;\n \n transform: translateZ(0);\n transition: all 0.3s ease;\n}\n\n.space-button:hover svg {\n transform: translateZ(20rpx) rotateY(180deg) rotateX(180deg);\n}\n\n.space-button:active svg {\n transform: translateZ(10rpx) rotateY(180deg) rotateX(180deg);\n}\n\n",
"component_name": "GalaxyStrongCheetah50"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1382,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.991Z",
"updated_at": "2025-07-31T07:55:36.991Z"
}