galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 5.49 kB
JSON
{
"id": "mark-edison-jim_dangerous-penguin-53",
"name": "dangerous-penguin-53",
"category": "buttons",
"author": "mark-edison-jim",
"description": "dangerous-penguin-53 组件 (simple, icon, button, gradient)",
"tags": [
"simple",
"icon",
"button",
"gradient"
],
"original": {
"html": "<div class=\"wrapper\">\n <button class=\"button\">\n <svg viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\" class=\"icon\">\n <path d=\"M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z\"></path>\n </svg>\n Send Message\n </button>\n</div>",
"css": "/* From Uiverse.io by mark-edison-jim - Tags: simple, icon, button */\n.wrapper {\n box-sizing: border-box;\n padding: 4px;\n border: 3px solid #5e5f5e83;\n border-top: 3px solid #c4c5c4ce;\n border-bottom: 3px solid #5e5d5da1;\n border-radius: 15px;\n box-shadow: 0 2px 5px 2px #8b8b8b8f;\n background-color: #fbfcfb;\n}\n\n.icon {\n width: 20px;\n}\n\n.button {\n font-family: Arial, Helvetica, sans-serif;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n width: 200px;\n height: 60px;\n border-radius: 100px;\n font-size: 1.3em;\n font-weight: bold;\n border: none;\n box-shadow: 0 1px 20px 0.1px #7a7b7a2f;\n background: linear-gradient(to bottom, #e0e2e0e3 10%, #fdfdfd);\n}",
"file_path": "/mnt/persist/workspace/Buttons/mark-edison-jim_dangerous-penguin-53.html"
},
"uniapp": {
"template": "<view class=\"wrapper\"></view>\n <button class=\"button\"></button>\n <view viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\" class=\"icon\"></view>\n <path d=\"M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z\"></path>\n </svg>\n Send Message\n </button>\n</div>",
"script": "export default {\n name: 'GalaxyDangerousPenguin53',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mark-edison-jim - Tags: simple, icon, button */\n.wrapper {\n box-sizing: border-box;\n padding: 8rpx;\n border: 6rpx solid #5e5f5e83;\n border-top: 6rpx solid #c4c5c4ce;\n border-bottom: 6rpx solid #5e5d5da1;\n border-radius: 30rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 10rpx 4rpx #8b8b8b8f;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: #fbfcfb;\n}\n\n.icon {\n width: 40rpx;\n}\n\n.button {\n font-family: Arial, Helvetica, sans-serif;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20rpx;\n width: 400rpx;\n height: 120rpx;\n border-radius: 200rpx;\n font-size: 1.3em;\n font-weight: bold;\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 40rpx 0.2rpx #7a7b7a2f;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: linear-gradient(to bottom, #e0e2e0e3 10%, #fdfdfd);\n}\n\n",
"component_name": "GalaxyDangerousPenguin53"
},
"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": "low",
"bundle_size": 1263,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.193Z",
"updated_at": "2025-07-31T07:55:37.193Z"
}