galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 7.63 kB
JSON
{
"id": "vikas7754_honest-falcon-30",
"name": "honest-falcon-30",
"category": "buttons",
"author": "vikas7754",
"description": "honest-falcon-30 组件 (button, 3d button, mac button, animation)",
"tags": [
"button",
"3d button",
"mac button",
"animation"
],
"original": {
"html": "<div class=\"container\">\n <button class=\"btn cmd\">\n <svg fill=\"#fff\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"20px\" height=\"20px\" viewBox=\"0 0 80 80\" xml:space=\"preserve\">\n <g>\n <path d=\"M64,48L64,48h-8V32h8c8.836,0,16-7.164,16-16S72.836,0,64,0c-8.837,0-16,7.164-16,16v8H32v-8c0-8.836-7.164-16-16-16\n\t\tS0,7.164,0,16s7.164,16,16,16h8v16h-8l0,0l0,0C7.164,48,0,55.164,0,64s7.164,16,16,16c8.837,0,16-7.164,16-16l0,0v-8h16v7.98\n\t\tc0,0.008-0.001,0.014-0.001,0.02c0,8.836,7.164,16,16,16s16-7.164,16-16S72.836,48.002,64,48z M64,8c4.418,0,8,3.582,8,8\n\t\ts-3.582,8-8,8h-8v-8C56,11.582,59.582,8,64,8z M8,16c0-4.418,3.582-8,8-8s8,3.582,8,8v8h-8C11.582,24,8,20.417,8,16z M16,72\n\t\tc-4.418,0-8-3.582-8-8s3.582-8,8-8l0,0h8v8C24,68.418,20.418,72,16,72z M32,48V32h16v16H32z M64,72c-4.418,0-8-3.582-8-8l0,0v-8\n\t\th7.999c4.418,0,8,3.582,8,8S68.418,72,64,72z\"></path>\n </g>\n </svg>\n command\n </button>\n <a href=\"https://freecodez.com/post/7jypdpp\" class=\"btn c\">C</a>\n</div>",
"css": "/* From Uiverse.io by vikas7754 - Tags: button, 3d button, mac button */\n.container {\n background: #ff6f6f;\n border-radius: 15px;\n padding: 15px;\n display: flex;\n gap: 15px;\n box-shadow: 3px 5px 10px #ff7a7a, inset 3px 0 0 #ff5751d6,\n inset -3px 0 0 #ff5751d6, inset 0 3px 0 #ffffff23, inset 0 -3px 0 #00000023;\n}\n.btn {\n text-decoration: none;\n border: none;\n outline: none;\n background: #ff6f6f;\n padding: 10px;\n box-shadow: 0 0 5px #0000005a, 2px 2px 3px #00000078,\n inset 1px 1px 2px #ffffff9d;\n border-radius: 10px;\n color: #fff;\n font-size: 16px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.2s;\n font-family: sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.btn:focus {\n animation: 0.3s clicked linear;\n}\n.cmd {\n display: flex;\n gap: 10px;\n flex-direction: column;\n justify-content: center;\n align-items: flex-end;\n}\n.c {\n width: 75px;\n font-size: 1.5rem;\n}\n@keyframes clicked {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(0.95);\n box-shadow: 0 0 5px #00000067, inset 0 0 3px #ffffff78;\n }\n 100% {\n transform: scale(1);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/vikas7754_honest-falcon-30.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <button class=\"btn cmd\"></button>\n <view fill=\"#fff\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"20px\" height=\"20px\" viewBox=\"0 0 80 80\" xml:space=\"preserve\"></view>\n <g>\n <path d=\"M64,48L64,48h-8V32h8c8.836,0,16-7.164,16-16S72.836,0,64,0c-8.837,0-16,7.164-16,16v8H32v-8c0-8.836-7.164-16-16-16\n\t\tS0,7.164,0,16s7.164,16,16,16h8v16h-8l0,0l0,0C7.164,48,0,55.164,0,64s7.164,16,16,16c8.837,0,16-7.164,16-16l0,0v-8h16v7.98\n\t\tc0,0.008-0.001,0.014-0.001,0.02c0,8.836,7.164,16,16,16s16-7.164,16-16S72.836,48.002,64,48z M64,8c4.418,0,8,3.582,8,8\n\t\ts-3.582,8-8,8h-8v-8C56,11.582,59.582,8,64,8z M8,16c0-4.418,3.582-8,8-8s8,3.582,8,8v8h-8C11.582,24,8,20.417,8,16z M16,72\n\t\tc-4.418,0-8-3.582-8-8s3.582-8,8-8l0,0h8v8C24,68.418,20.418,72,16,72z M32,48V32h16v16H32z M64,72c-4.418,0-8-3.582-8-8l0,0v-8\n\t\th7.999c4.418,0,8,3.582,8,8S68.418,72,64,72z\"></path>\n </g>\n </svg>\n command\n </button>\n <navigator href=\"https://freecodez.com/post/7jypdpp\" class=\"btn c\">C</navigator>\n</div>",
"script": "export default {\n name: 'GalaxyHonestFalcon30',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vikas7754 - Tags: button, 3d button, mac button */\n.container {\n background: #ff6f6f;\n border-radius: 30rpx;\n padding: 30rpx;\n display: flex;\n gap: 30rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 6rpx 10rpx 20rpx #ff7a7a, inset 6rpx 0 0 #ff5751d6,\n inset -6rpx 0 0 #ff5751d6, inset 0 6rpx 0 #ffffff23, inset 0 -6rpx 0 #00000023;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.btn {\n text-decoration: none;\n border: none;\n outline: none;\n background: #ff6f6f;\n padding: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx #0000005a, 4rpx 4rpx 6rpx #00000078,\n inset 2rpx 2rpx 4rpx #ffffff9d;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 20rpx;\n color: #fff;\n font-size: 32rpx;\n font-weight: 500;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s;\n font-family: sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.btn:focus {\n animation: 0.3s clicked linear;\n}\n.cmd {\n display: flex;\n gap: 20rpx;\n flex-direction: column;\n justify-content: center;\n align-items: flex-end;\n}\n.c {\n width: 150rpx;\n font-size: 1.5rem;\n}\n@keyframes clicked {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(0.95);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx #00000067, inset 0 0 6rpx #ffffff78;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n 100% {\n transform: scale(1);\n }\n}\n\n",
"component_name": "GalaxyHonestFalcon30"
},
"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": 2198,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.005Z",
"updated_at": "2025-07-31T07:55:38.005Z"
}