galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 7.48 kB
JSON
{
"id": "JkHuger_heavy-lion-95",
"name": "heavy-lion-95",
"category": "buttons",
"author": "JkHuger",
"description": "heavy-lion-95 组件 (neumorphism, button, animation, gradient)",
"tags": [
"neumorphism",
"button",
"animation",
"gradient"
],
"original": {
"html": "<button class=\"btn\"><svg class=\"svg\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.0\" width=\"256.000000pt\" height=\"256.000000pt\" viewBox=\"0 0 256.000000 256.000000\" preserveAspectRatio=\"xMidYMid meet\">\n <g transform=\"translate(0.000000,256.000000) scale(0.100000,-0.100000)\" fill=\"#000000\" stroke=\"none\">\n <path d=\"M200 2525 c-60 -19 -123 -74 -152 -133 -22 -44 -23 -60 -26 -269 -4 -213 -3 -222 17 -242 l21 -21 1180 0 1180 0 -2 -820 -3 -820 -38 -37 -37 -38 -1058 0 c-1041 0 -1057 0 -1084 20 -60 44 -58 23 -58 729 0 633 0 646 -20 666 -11 11 -29 20 -40 20 -11 0 -29 -9 -40 -20 -20 -20 -20 -33 -20 -663 0 -738 -2 -716 80 -797 84 -85 13 -80 1180 -80 1167 0 1096 -5 1180 80 85 84 80 13 80 1180 0 1167 5 1096 -80 1180 -84 85 -12 80 -1184 79 -853 0 -1039 -3 -1076 -14z m231 -254 c64 -65 20 -171 -71 -171 -33 0 -48 6 -71 29 -64 65 -20 171 71 171 33 0 48 -6 71 -29z m400 0 c64 -65 20 -171 -71 -171 -33 0 -48 6 -71 29 -64 65 -20 171 71 171 33 0 48 -6 71 -29z m1427 -27 c30 -20 30 -68 0 -88 -20 -14 -82 -16 -482 -16 -413 0 -461 2 -478 17 -22 20 -23 61 -1 85 15 17 43 18 477 18 402 0 464 -2 484 -16z\"></path>\n </g>\n </svg>\n <i class=\"fas fa-fingerprint\"></i>\n </button>",
"css": "/* From Uiverse.io by JkHuger - Tags: neumorphism, button */\nbutton {\n width: 60px;\n height: 60px;\n transform: scale(1);\n border-style: none;\n outline: none;\n cursor: pointer;\n border-radius: 50%;\n background: rgb(228, 232, 236);\n background: linear-gradient(45deg, rgb(228, 232, 236) 0%, rgb(234 234 234) 100%);\n box-shadow: -2px -7px 10px #f1f1f1, 4px 6px 10px #d4d7da;\n transition: all .3s;\n}\n\nbutton:active {\n background: rgb(218, 221, 224);\n background: linear-gradient(45deg, rgb(218, 221, 224) 0%, rgb(241, 241, 241) 100%);\n box-shadow: -2px -7px 10px #d4d7da, \n 4px 6px 10px #f1f1f1,\n inset -2px -7px 10px #f1f1f1, \n inset 4px 6px 10px #d4d7da;\n transition: all .3s;\n transform: scale(.95);\n}\n\nbutton i {\n font-size: 20px;\n background: linear-gradient(-45deg, gray 0%, lightgray 100%);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n transition: all .3s;\n}\n\nbutton:active i {\n transform: scale(.9);\n transition: all .3s;\n}\n\n.svg {\n width: 25px;\n height: 60px;\n border-style: none;\n align-items: center;\n}",
"file_path": "/mnt/persist/workspace/Buttons/JkHuger_heavy-lion-95.html"
},
"uniapp": {
"template": "<button class=\"btn\"></button><view class=\"svg\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.0\" width=\"256.000000pt\" height=\"256.000000pt\" viewBox=\"0 0 256.000000 256.000000\" preserveAspectRatio=\"xMidYMid meet\"></view>\n <g transform=\"translate(0.000000,256.000000) scale(0.100000,-0.100000)\" fill=\"#000000\" stroke=\"none\">\n <path d=\"M200 2525 c-60 -19 -123 -74 -152 -133 -22 -44 -23 -60 -26 -269 -4 -213 -3 -222 17 -242 l21 -21 1180 0 1180 0 -2 -820 -3 -820 -38 -37 -37 -38 -1058 0 c-1041 0 -1057 0 -1084 20 -60 44 -58 23 -58 729 0 633 0 646 -20 666 -11 11 -29 20 -40 20 -11 0 -29 -9 -40 -20 -20 -20 -20 -33 -20 -663 0 -738 -2 -716 80 -797 84 -85 13 -80 1180 -80 1167 0 1096 -5 1180 80 85 84 80 13 80 1180 0 1167 5 1096 -80 1180 -84 85 -12 80 -1184 79 -853 0 -1039 -3 -1076 -14z m231 -254 c64 -65 20 -171 -71 -171 -33 0 -48 6 -71 29 -64 65 -20 171 71 171 33 0 48 -6 71 -29z m400 0 c64 -65 20 -171 -71 -171 -33 0 -48 6 -71 29 -64 65 -20 171 71 171 33 0 48 -6 71 -29z m1427 -27 c30 -20 30 -68 0 -88 -20 -14 -82 -16 -482 -16 -413 0 -461 2 -478 17 -22 20 -23 61 -1 85 15 17 43 18 477 18 402 0 464 -2 484 -16z\"></path>\n </g>\n </svg>\n <i class=\"fas fa-fingerprint\"></i>\n </button>",
"script": "export default {\n name: 'GalaxyHeavyLion95',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JkHuger - Tags: neumorphism, button */\nbutton {\n width: 120rpx;\n height: 120rpx;\n transform: scale(1);\n border-style: none;\n outline: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border-radius: 50%;\n background: rgb(228, 232, 236);\n background: linear-gradient(45deg, rgb(228, 232, 236) 0%, rgb(234 234 234) 100%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx -14rpx 20rpx #f1f1f1, 8rpx 12rpx 20rpx #d4d7da;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all .3s;\n}\n\nbutton:active {\n background: rgb(218, 221, 224);\n background: linear-gradient(45deg, rgb(218, 221, 224) 0%, rgb(241, 241, 241) 100%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx -14rpx 20rpx #d4d7da, \n 8rpx 12rpx 20rpx #f1f1f1,\n inset -4rpx -14rpx 20rpx #f1f1f1, \n inset 8rpx 12rpx 20rpx #d4d7da;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all .3s;\n transform: scale(.95);\n}\n\nbutton i {\n font-size: 40rpx;\n background: linear-gradient(-45deg, gray 0%, lightgray 100%);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n transition: all .3s;\n}\n\nbutton:active i {\n transform: scale(.9);\n transition: all .3s;\n}\n\n.svg {\n width: 50rpx;\n height: 120rpx;\n border-style: none;\n align-items: center;\n}\n",
"component_name": "GalaxyHeavyLion95"
},
"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": 2242,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.554Z",
"updated_at": "2025-07-31T07:55:33.554Z"
}