galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
123 lines • 4.92 kB
JSON
{
"id": "hamoode-taha-04_red-cobra-61",
"name": "red-cobra-61",
"category": "buttons",
"author": "hamoode-taha-04",
"description": "red-cobra-61 组件 (flashy, red, button, glow, delete, click, box-shadow, buttons, animation, interactive)",
"tags": [
"flashy",
"red",
"button",
"glow",
"delete",
"click",
"box-shadow",
"buttons",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"ui-btn\">Delete</button>",
"css": "/* From Uiverse.io by hamoode-taha-04 - Tags: flashy, red, button, glow, delete, click, box-shadow, buttons */\n.ui-btn {\n cursor: pointer;\n border-radius: 5px;\n color: rgb(219, 218, 218);\n border-style: solid;\n background-color: transparent;\n border-color: rgb(219, 218, 218);\n width: 120px;\n height: 40px;\n transition: 0.2s ease;\n text-transform: uppercase;\n border-width: 2px;\n font-weight: 500;\n font-size: 18px;\n letter-spacing: 2px;\n}\n.ui-btn:hover {\n color: rgb(247, 247, 247);\n background-color: rgb(202, 25, 25);\n border-color: rgb(202, 25, 25);\n text-shadow: 0 0 50px white, 0 0 20px white, 0 0 15px white;\n box-shadow: 0 0 50px rgb(202, 25, 25), 0 0 30px rgb(202, 25, 25),\n 0 0 60px rgb(202, 25, 25), 0 0 120px rgb(202, 25, 25);\n font-size: 20px;\n width: 130px;\n height: 50px;\n letter-spacing: 3px;\n}\n.ui-btn:active {\n width: 115px;\n height: 38px;\n letter-spacing: 0px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/hamoode-taha-04_red-cobra-61.html"
},
"uniapp": {
"template": "<button class=\"ui-btn\"></button>Delete</button>",
"script": "export default {\n name: 'GalaxyRedCobra61',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by hamoode-taha-04 - Tags: flashy, red, button, glow, delete, click, box-shadow, buttons */\n.ui-btn {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border-radius: 10rpx;\n color: rgb(219, 218, 218);\n border-style: solid;\n background-color: transparent;\n border-color: rgb(219, 218, 218);\n width: 240rpx;\n height: 80rpx;\n transition: 0.2s ease;\n text-transform: uppercase;\n border-width: 4rpx;\n font-weight: 500;\n font-size: 36rpx;\n letter-spacing: 4rpx;\n}\n.ui-btn:hover {\n color: rgb(247, 247, 247);\n background-color: rgb(202, 25, 25);\n border-color: rgb(202, 25, 25);\n /* #ifdef H5 */\n text-shadow: 0 0 100rpx white, 0 0 40rpx white, 0 0 30rpx white;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 100rpx rgb(202, 25, 25), 0 0 60rpx rgb(202, 25, 25),\n 0 0 120rpx rgb(202, 25, 25), 0 0 240rpx rgb(202, 25, 25);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-size: 40rpx;\n width: 260rpx;\n height: 100rpx;\n letter-spacing: 6rpx;\n}\n.ui-btn:active {\n width: 230rpx;\n height: 76rpx;\n letter-spacing: 0rpx;\n}\n\n",
"component_name": "GalaxyRedCobra61"
},
"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": 959,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.917Z",
"updated_at": "2025-07-31T07:55:36.917Z"
}