galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.67 kB
JSON
{
"id": "vinodjangid07_tall-termite-79",
"name": "tall-termite-79",
"category": "buttons",
"author": "vinodjangid07",
"description": "tall-termite-79 组件 (icon, button, pay, animation, interactive)",
"tags": [
"icon",
"button",
"pay",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n Pay\n <svg class=\"svgIcon\" viewBox=\"0 0 576 512\"><path d=\"M512 80c8.8 0 16 7.2 16 16v32H48V96c0-8.8 7.2-16 16-16H512zm16 144V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224H528zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm56 304c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24H248z\"></path></svg>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: icon, button, pay */\n.Btn {\n width: 130px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgb(15, 15, 15);\n border: none;\n color: white;\n font-weight: 600;\n gap: 8px;\n cursor: pointer;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103);\n position: relative;\n overflow: hidden;\n transition-duration: .3s;\n}\n\n.svgIcon {\n width: 16px;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.Btn::before {\n width: 130px;\n height: 130px;\n position: absolute;\n content: \"\";\n background-color: white;\n border-radius: 50%;\n left: -100%;\n top: 0;\n transition-duration: .3s;\n mix-blend-mode: difference;\n}\n\n.Btn:hover::before {\n transition-duration: .3s;\n transform: translate(100%,-50%);\n border-radius: 0;\n}\n\n.Btn:active {\n transform: translate(5px,5px);\n transition-duration: .3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_tall-termite-79.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n Pay\n <view class=\"svgIcon\" viewBox=\"0 0 576 512\"><path d=\"M512 80c8.8 0 16 7.2 16 16v32H48V96c0-8.8 7.2-16 16-16H512zm16 144V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224H528zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm56 304c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24H248z\"></path></view>\n</button>",
"script": "export default {\n name: 'GalaxyTallTermite79',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: icon, button, pay */\n.Btn {\n width: 260rpx;\n height: 80rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgb(15, 15, 15);\n border: none;\n color: white;\n font-weight: 600;\n gap: 16rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.103);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n overflow: hidden;\n transition-duration: .3s;\n}\n\n.svgIcon {\n width: 32rpx;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.Btn::before {\n width: 260rpx;\n height: 260rpx;\n position: absolute;\n content: \"\";\n background-color: white;\n border-radius: 50%;\n left: -100%;\n top: 0;\n transition-duration: .3s;\n \n}\n\n.Btn:hover::before {\n transition-duration: .3s;\n transform: translate(100%,-50%);\n border-radius: 0;\n}\n\n.Btn:active {\n transform: translate(10rpx,10rpx);\n transition-duration: .3s;\n}\n",
"component_name": "GalaxyTallTermite79"
},
"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 属性",
"不支持 mix-blend-mode 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 mix-blend-mode 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1388,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.270Z",
"updated_at": "2025-07-31T07:55:38.270Z"
}