galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 5.2 kB
JSON
{
"id": "barisdogansutcu_black-duck-67",
"name": "black-duck-67",
"category": "buttons",
"author": "barisdogansutcu",
"description": "black-duck-67 组件 (neumorphism, icon, button, animation, interactive)",
"tags": [
"neumorphism",
"icon",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button>\n <svg viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><polygon points=\"13 2 3 14 12 14 11 22 21 10 12 10 13 2\"></polygon></svg> Explore me\n</button>",
"css": "/* From Uiverse.io by barisdogansutcu - Tags: neumorphism, icon, button */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n font-family: inherit;\n font-size: 13px;\n font-weight: 500;\n text-transform: uppercase;\n letter-spacing: 0.4px;\n color: #7e97b8;\n background-color: #e0e8ef;\n border-style: solid;\n border-width: 2px 2px 2px 2px;\n border-color: rgba(255, 255, 255, 0.333);\n border-radius: 40px 40px 40px 40px;\n padding: 16px 24px 16px 28px;\n transform: translate(0px, 0px) rotate(0deg);\n transition: 0.2s;\n box-shadow: -4px -2px 16px 0px #ffffff, 4px 2px 16px 0px rgb(95 157 231 / 48%);\n}\n\nbutton:hover {\n color: #516d91;\n background-color: #E5EDF5;\n box-shadow: -2px -1px 8px 0px #ffffff, 2px 1px 8px 0px rgb(95 157 231 / 48%);\n}\n\nbutton:active {\n box-shadow: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/barisdogansutcu_black-duck-67.html"
},
"uniapp": {
"template": "<button></button>\n <view viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><polygon points=\"13 2 3 14 12 14 11 22 21 10 12 10 13 2\"></polygon></view> Explore me\n</button>",
"script": "export default {\n name: 'GalaxyBlackDuck67',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by barisdogansutcu - Tags: neumorphism, icon, button */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 20rpx;\n font-family: inherit;\n font-size: 26rpx;\n font-weight: 500;\n text-transform: uppercase;\n letter-spacing: 0.8rpx;\n color: #7e97b8;\n background-color: #e0e8ef;\n border-style: solid;\n border-width: 4rpx 4rpx 4rpx 4rpx;\n border-color: rgba(255, 255, 255, 0.333);\n border-radius: 80rpx 80rpx 80rpx 80rpx;\n padding: 32rpx 48rpx 32rpx 56rpx;\n transform: translate(0rpx, 0rpx) rotate(0deg);\n transition: 0.2s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -8rpx -4rpx 32rpx 0rpx #ffffff, 8rpx 4rpx 32rpx 0rpx rgb(95 157 231 / 48%);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:hover {\n color: #516d91;\n background-color: #E5EDF5;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx -2rpx 16rpx 0rpx #ffffff, 4rpx 2rpx 16rpx 0rpx rgb(95 157 231 / 48%);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n",
"component_name": "GalaxyBlackDuck67"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1083,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.850Z",
"updated_at": "2025-07-31T07:55:35.850Z"
}