galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 5.94 kB
JSON
{
"id": "Subaashbala_quiet-cow-11",
"name": "quiet-cow-11",
"category": "buttons",
"author": "Subaashbala",
"description": "quiet-cow-11 组件 (simple, neumorphism, button, animation, gradient)",
"tags": [
"simple",
"neumorphism",
"button",
"animation",
"gradient"
],
"original": {
"html": "<button class=\"button\">\n <span class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 46 45\" height=\"45\" width=\"46\">\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"3\" stroke=\"black\" d=\"M29.5487 17.0828L27.4588 19.235L20.4922 26.4091M20.4922 26.4091L5.82359 21.5242C1.20662 19.9867 1.28359 13.4294 5.93538 12.0007L37.5858 2.27996C41.4233 1.10135 45.0151 4.69768 43.8315 8.53369L34.3384 39.3027C32.9045 43.9502 26.3517 44.022 24.8163 39.4069L20.4922 26.4091Z\"></path>\n </svg>\n </span>\n <span>Send Message</span>\n</button>",
"css": "/* From Uiverse.io by Subaashbala - Tags: simple, neumorphism, button */\n.button {\n cursor: pointer;\n position: relative;\n border-radius: 55px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 15px;\n gap: 8px;\n font-size: 1rem;\n font-weight: 900;\n background-color: white;\n border: none;\n background: linear-gradient(to bottom, #ecefee, #fff);\n transition: all 500ms;\n}\n.button::after {\n content: \"\";\n position: absolute;\n width: 105%;\n height: 115%;\n background: linear-gradient(to top, #ecefeeb4, #fff);\n z-index: -1;\n top: 50%;\n left: 50%;\n border-radius: 15px;\n padding: 2px;\n transform: translate(-50%, -50%);\n border: 2px solid #d5d6d5;\n border-bottom: 3px solid #7b7d7cc0;\n border-left: 2px solid #b5b5b5;\n border-right: 2px solid #b5b5b5;\n box-shadow: 0px 20px 45px #b5b9b8;\n}\n.icon svg {\n width: 1.18rem;\n height: auto;\n vertical-align: middle;\n}\n.icon path {\n stroke-width: 5px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Subaashbala_quiet-cow-11.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text class=\"icon\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 46 45\" height=\"45\" width=\"46\"></view>\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"3\" stroke=\"black\" d=\"M29.5487 17.0828L27.4588 19.235L20.4922 26.4091M20.4922 26.4091L5.82359 21.5242C1.20662 19.9867 1.28359 13.4294 5.93538 12.0007L37.5858 2.27996C41.4233 1.10135 45.0151 4.69768 43.8315 8.53369L34.3384 39.3027C32.9045 43.9502 26.3517 44.022 24.8163 39.4069L20.4922 26.4091Z\"></path>\n </svg>\n </span>\n <text>Send Message</text>\n</button>",
"script": "export default {\n name: 'GalaxyQuietCow11',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Subaashbala - Tags: simple, neumorphism, button */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n border-radius: 110rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 30rpx;\n gap: 16rpx;\n font-size: 1rem;\n font-weight: 900;\n background-color: white;\n border: none;\n background: linear-gradient(to bottom, #ecefee, #fff);\n transition: all 500ms;\n}\n.button::after {\n content: \"\";\n position: absolute;\n width: 105%;\n height: 115%;\n background: linear-gradient(to top, #ecefeeb4, #fff);\n z-index: -1;\n top: 50%;\n left: 50%;\n border-radius: 30rpx;\n padding: 4rpx;\n transform: translate(-50%, -50%);\n border: 4rpx solid #d5d6d5;\n border-bottom: 6rpx solid #7b7d7cc0;\n border-left: 4rpx solid #b5b5b5;\n border-right: 4rpx solid #b5b5b5;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 40rpx 90rpx #b5b9b8;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.icon svg {\n width: 1.18rem;\n height: auto;\n vertical-align: middle;\n}\n.icon path {\n stroke-width: 10rpx;\n}\n\n",
"component_name": "GalaxyQuietCow11"
},
"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": 1539,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.922Z",
"updated_at": "2025-07-31T07:55:34.922Z"
}