galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.33 kB
JSON
{
"id": "praveen-prasad2_swift-yak-93",
"name": "swift-yak-93",
"category": "buttons",
"author": "praveen-prasad2",
"description": "swift-yak-93 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button type=\"submit\" class=\"button\">\n <span>Hello</span>\n</button>",
"css": "/* From Uiverse.io by praveen-prasad2 - Tags: button */\nbutton {\n width: 100px;\n height: 50px;\n border-radius: 30em;\n font-size: 15px;\n font-family: inherit;\n border: none;\n position: relative;\n overflow: hidden;\n z-index: 1;\n box-shadow: 6px 6px 12px #c5c5c5,\n -6px -6px 12px #ffffff;\n}\n\nbutton:hover {\n color: #ffffff;\n transform: scale(1.1);\n outline: 2px solid #70bdca;\n box-shadow: 4px 5px 17px -4px #268391;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n left: -50px;\n top: 0;\n width: 0;\n height: 100%;\n background-color: #2c9caf;\n transform: skewX(45deg);\n z-index: -1;\n transition: width 1000ms;\n}\n\nbutton:hover::before {\n width: 250%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/praveen-prasad2_swift-yak-93.html"
},
"uniapp": {
"template": "<button type=\"submit\" class=\"button\"></button>\n <text>Hello</text>\n</button>",
"script": "export default {\n name: 'GalaxySwiftYak93',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by praveen-prasad2 - Tags: button */\nbutton {\n width: 200rpx;\n height: 100rpx;\n border-radius: 30em;\n font-size: 30rpx;\n font-family: inherit;\n border: none;\n position: relative;\n overflow: hidden;\n z-index: 1;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 24rpx #c5c5c5,\n -12rpx -12rpx 24rpx #ffffff;\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: #ffffff;\n transform: scale(1.1);\n outline: 4rpx solid #70bdca;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 10rpx 34rpx -8rpx #268391;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n left: -100rpx;\n top: 0;\n width: 0;\n height: 100%;\n background-color: #2c9caf;\n transform: skewX(45deg);\n z-index: -1;\n transition: width 1000ms;\n}\n\nbutton:hover::before {\n width: 250%;\n}\n\n\n\n\n",
"component_name": "GalaxySwiftYak93"
},
"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": 767,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.598Z",
"updated_at": "2025-07-31T07:55:37.598Z"
}