galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 7.21 kB
JSON
{
"id": "mrhyddenn_soft-moose-34",
"name": "soft-moose-34",
"category": "buttons",
"author": "mrhyddenn",
"description": "soft-moose-34 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"button\">\n <a class=\"first\"> Keep hovering me </a>\n <a class=\"slidein\"> Welcome to uiverse</a>\n <a class=\"slidein two\"> Keep going </a>\n <a class=\"slidein three\"> Create on uiverse </a>\n <a class=\"slidein four\"> Save favorite </a>\n <a class=\"slidein five\"> ...and enjoy! </a>\n <a class=\"slidein six\"> Respect us.</a>\n <a class=\"slidein seven\"> and we will you. </a>\n <a class=\"slidein eight\"> Happy coding. </a>\n <a class=\"slidein nine\"> ...and thanks. </a>\n <a class=\"slidein ten\"> uiverse.io </a>\n</div>",
"css": "/* From Uiverse.io by mrhyddenn - Tags: button */\n.button {\n cursor: pointer;\n position: relative;\n text-align: center;\n display: block;\n width: 200px;\n border: none;\n font-size: 12px;\n height: 45px;\n text-decoration: none;\n font-weight: 600;\n overflow: hidden;\n box-shadow: 0 10px 50px #006eff;\n border-radius: 10px;\n padding: 10px 20px;\n}\n\n.button .ten {\n line-height: 52px;\n}\n\n.button:hover .slidein {\n left: 0%;\n}\n\n.button:hover .two {\n left: 0%;\n transition-delay: 1.5s;\n}\n\n.button:hover .three {\n left: 0%;\n transition-delay: 3s;\n}\n\n.button:hover .four {\n left: 0%;\n transition-delay: 4.5s;\n}\n\n.button:hover .five {\n left: 0%;\n transition-delay: 6s;\n}\n\n.button:hover .six {\n left: 0%;\n transition-delay: 7.5s;\n}\n\n.button:hover .seven {\n left: 0%;\n transition-delay: 9s;\n}\n\n.button:hover .eight {\n left: 0%;\n transition-delay: 10.5s;\n}\n\n.button:hover .nine {\n left: 0%;\n transition-delay: 12s;\n}\n\n.button:hover .ten {\n left: 0%;\n transition-delay: 14s;\n}\n\n.button .slidein {\n background: #3398ff;\n left: -100%;\n z-index: 2;\n}\n\n.button a {\n text-transform: uppercase;\n transition: left 300ms;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 1px;\n background: #006eff;\n position: absolute;\n font-weight: bold;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n color: #fff;\n}\n\n.slidein:nth-child( even) {\n background: #348bfc !important;\n}\n\n.slidein:nth-child( odd) {\n background: #0873ff !important;\n}",
"file_path": "/mnt/persist/workspace/Buttons/mrhyddenn_soft-moose-34.html"
},
"uniapp": {
"template": "<view class=\"button\"></view>\n <navigator class=\"first\"> Keep hovering me </navigator>\n <navigator class=\"slidein\"> Welcome to uiverse</navigator>\n <navigator class=\"slidein two\"> Keep going </navigator>\n <navigator class=\"slidein three\"> Create on uiverse </navigator>\n <navigator class=\"slidein four\"> Save favorite </navigator>\n <navigator class=\"slidein five\"> ...and enjoy! </navigator>\n <navigator class=\"slidein six\"> Respect us.</navigator>\n <navigator class=\"slidein seven\"> and we will you. </navigator>\n <navigator class=\"slidein eight\"> Happy coding. </navigator>\n <navigator class=\"slidein nine\"> ...and thanks. </navigator>\n <navigator class=\"slidein ten\"> uiverse.io </navigator>\n</div>",
"script": "export default {\n name: 'GalaxySoftMoose34',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mrhyddenn - Tags: button */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n text-align: center;\n display: block;\n width: 400rpx;\n border: none;\n font-size: 24rpx;\n height: 90rpx;\n text-decoration: none;\n font-weight: 600;\n overflow: hidden;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 100rpx #006eff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 20rpx;\n padding: 20rpx 40rpx;\n}\n\n.button .ten {\n line-height: 104rpx;\n}\n\n.button:hover .slidein {\n left: 0%;\n}\n\n.button:hover .two {\n left: 0%;\n transition-delay: 1.5s;\n}\n\n.button:hover .three {\n left: 0%;\n transition-delay: 3s;\n}\n\n.button:hover .four {\n left: 0%;\n transition-delay: 4.5s;\n}\n\n.button:hover .five {\n left: 0%;\n transition-delay: 6s;\n}\n\n.button:hover .six {\n left: 0%;\n transition-delay: 7.5s;\n}\n\n.button:hover .seven {\n left: 0%;\n transition-delay: 9s;\n}\n\n.button:hover .eight {\n left: 0%;\n transition-delay: 10.5s;\n}\n\n.button:hover .nine {\n left: 0%;\n transition-delay: 12s;\n}\n\n.button:hover .ten {\n left: 0%;\n transition-delay: 14s;\n}\n\n.button .slidein {\n background: #3398ff;\n left: -100%;\n z-index: 2;\n}\n\n.button a {\n text-transform: uppercase;\n transition: left 300ms;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 2rpx;\n background: #006eff;\n position: absolute;\n font-weight: bold;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n color: #fff;\n}\n\n.slidein:nth-child( even) {\n background: #348bfc !important;\n}\n\n.slidein:nth-child( odd) {\n background: #0873ff !important;\n}\n",
"component_name": "GalaxySoftMoose34"
},
"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": "high",
"bundle_size": 2056,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.361Z",
"updated_at": "2025-07-31T07:55:37.361Z"
}