galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 7.83 kB
JSON
{
"id": "Z4drus_wonderful-termite-25",
"name": "wonderful-termite-25",
"category": "buttons",
"author": "Z4drus",
"description": "wonderful-termite-25 组件 (simple, 3d, action, minimalist, white, black, button, smooth, animation, gradient)",
"tags": [
"simple",
"3d",
"action",
"minimalist",
"white",
"black",
"button",
"smooth",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"button-container\">\n <button class=\"button-3d\">\n <div class=\"button-top\">\n <span class=\"material-icons\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\">\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" stroke=\"#292D32\" d=\"M7.4 6.32l8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92zm2.71 7.33l3.58-3.59\"></path>\n </svg>\n </span>\n <span class=\"button-text\">Send Message</span>\n </div>\n <div class=\"button-bottom\"></div>\n <div class=\"button-base\"></div>\n </button>\n</div>",
"css": "/* From Uiverse.io by Z4drus - Tags: simple, 3d, action, minimalist, white, black, button, smooth */\n.button-container {\n display: flex;\n justify-content: center;\n margin: 20px;\n}\n\n.material-icons {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button-text {\n margin-left: 6px;\n font-weight: 600;\n color: black;\n}\n\n.button-3d {\n -webkit-appearance: none;\n appearance: none;\n position: relative;\n border-width: 0;\n padding: 0 8px;\n min-width: 4em;\n min-height: 4em;\n box-sizing: border-box;\n background: transparent;\n font: inherit;\n cursor: pointer;\n margin: 10px;\n border-radius: 20px;\n}\n\n.button-top {\n display: flex;\n\n align-items: center;\n justify-content: center;\n position: relative;\n z-index: 2;\n padding: 10px 10px;\n transform: translateY(0);\n background-image: linear-gradient(to bottom, #e7e7e775, #ffffff);\n border-radius: 20px;\n transition: transform 0.3s, border-radius 0.3s, background 10s;\n}\n\n.button-3d:active .button-top {\n border-radius: 10px 10px 8px 8px / 8px;\n transform: translateY(2px);\n background-image: linear-gradient(to bottom, #ffffff, #e7e7e7);\n}\n\n.button-bottom {\n position: absolute;\n z-index: 1;\n bottom: 4px;\n left: 4px;\n border-radius: 10px;\n padding-top: 10px;\n width: calc(100% - 8px);\n height: calc(100% - 10px);\n background-image: linear-gradient(to bottom, #ffffff, #e7e7e7);\n box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.5);\n transition: border-radius 0.2s, padding-top 0.2s;\n}\n\n.button-3d:active .button-bottom {\n border-radius: 10px 10px 8px 8px / 8px;\n padding-top: 0;\n}\n\n.button-3d:active .button-base {\n border-radius: 10px 10px 8px 8px / 8px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Z4drus_wonderful-termite-25.html"
},
"uniapp": {
"template": "<view class=\"button-container\"></view>\n <button class=\"button-3d\"></button>\n <view class=\"button-top\"></view>\n <text class=\"material-icons\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\"></view>\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" stroke=\"#292D32\" d=\"M7.4 6.32l8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92zm2.71 7.33l3.58-3.59\"></path>\n </svg>\n </span>\n <text class=\"button-text\">Send Message</text>\n </div>\n <view class=\"button-bottom\"></view>\n <view class=\"button-base\"></view>\n </button>\n</div>",
"script": "export default {\n name: 'GalaxyWonderfulTermite25',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Z4drus - Tags: simple, 3d, action, minimalist, white, black, button, smooth */\n.button-container {\n display: flex;\n justify-content: center;\n margin: 40rpx;\n}\n\n.material-icons {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button-text {\n margin-left: 12rpx;\n font-weight: 600;\n color: black;\n}\n\n.button-3d {\n -webkit-appearance: none;\n appearance: none;\n position: relative;\n border-width: 0;\n padding: 0 16rpx;\n min-width: 4em;\n min-height: 4em;\n box-sizing: border-box;\n background: transparent;\n font: inherit;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n margin: 20rpx;\n border-radius: 40rpx;\n}\n\n.button-top {\n display: flex;\n\n align-items: center;\n justify-content: center;\n position: relative;\n z-index: 2;\n padding: 20rpx 20rpx;\n transform: translateY(0);\n background-image: linear-gradient(to bottom, #e7e7e775, #ffffff);\n border-radius: 40rpx;\n transition: transform 0.3s, border-radius 0.3s, background 10s;\n}\n\n.button-3d:active .button-top {\n border-radius: 20rpx 20rpx 16rpx 16rpx / 16rpx;\n transform: translateY(4rpx);\n background-image: linear-gradient(to bottom, #ffffff, #e7e7e7);\n}\n\n.button-bottom {\n position: absolute;\n z-index: 1;\n bottom: 8rpx;\n left: 8rpx;\n border-radius: 20rpx;\n padding-top: 20rpx;\n width: calc(100% - 16rpx);\n height: calc(100% - 20rpx);\n background-image: linear-gradient(to bottom, #ffffff, #e7e7e7);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(0, 0, 0, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: border-radius 0.2s, padding-top 0.2s;\n}\n\n.button-3d:active .button-bottom {\n border-radius: 20rpx 20rpx 16rpx 16rpx / 16rpx;\n padding-top: 0;\n}\n\n.button-3d:active .button-base {\n border-radius: 20rpx 20rpx 16rpx 16rpx / 16rpx;\n}\n\n",
"component_name": "GalaxyWonderfulTermite25"
},
"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": 2349,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.299Z",
"updated_at": "2025-07-31T07:55:35.299Z"
}