galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 6.27 kB
JSON
{
"id": "cssbuttons-io_massive-mayfly-74",
"name": "massive-mayfly-74",
"category": "buttons",
"author": "cssbuttons-io",
"description": "massive-mayfly-74 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"learn-more\">\n <span class=\"circle\" aria-hidden=\"true\">\n <span class=\"icon arrow\"></span>\n </span>\n <span class=\"button-text\">Learn More</span>\n</button>",
"css": "/* From Uiverse.io by cssbuttons-io - Tags: button */\nbutton {\n position: relative;\n display: inline-block;\n cursor: pointer;\n outline: none;\n border: 0;\n vertical-align: middle;\n text-decoration: none;\n background: transparent;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n}\n\nbutton.learn-more {\n width: 12rem;\n height: auto;\n}\n\nbutton.learn-more .circle {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: relative;\n display: block;\n margin: 0;\n width: 3rem;\n height: 3rem;\n background: #282936;\n border-radius: 1.625rem;\n}\n\nbutton.learn-more .circle .icon {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: absolute;\n top: 0;\n bottom: 0;\n margin: auto;\n background: #fff;\n}\n\nbutton.learn-more .circle .icon.arrow {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n left: 0.625rem;\n width: 1.125rem;\n height: 0.125rem;\n background: none;\n}\n\nbutton.learn-more .circle .icon.arrow::before {\n position: absolute;\n content: \"\";\n top: -0.29rem;\n right: 0.0625rem;\n width: 0.625rem;\n height: 0.625rem;\n border-top: 0.125rem solid #fff;\n border-right: 0.125rem solid #fff;\n transform: rotate(45deg);\n}\n\nbutton.learn-more .button-text {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n padding: 0.75rem 0;\n margin: 0 0 0 1.85rem;\n color: #282936;\n font-weight: 700;\n line-height: 1.6;\n text-align: center;\n text-transform: uppercase;\n}\n\nbutton:hover .circle {\n width: 100%;\n}\n\nbutton:hover .circle .icon.arrow {\n background: #fff;\n transform: translate(1rem, 0);\n}\n\nbutton:hover .button-text {\n color: #fff;\n}",
"file_path": "/mnt/persist/workspace/Buttons/cssbuttons-io_massive-mayfly-74.html"
},
"uniapp": {
"template": "<button class=\"learn-more\"></button>\n <text class=\"circle\" aria-hidden=\"true\"></text>\n <text class=\"icon arrow\"></text>\n </span>\n <text class=\"button-text\">Learn More</text>\n</button>",
"script": "export default {\n name: 'GalaxyMassiveMayfly74',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by cssbuttons-io - Tags: button */\nbutton {\n position: relative;\n display: inline-block;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n outline: none;\n border: 0;\n vertical-align: middle;\n text-decoration: none;\n background: transparent;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n}\n\nbutton.learn-more {\n width: 12rem;\n height: auto;\n}\n\nbutton.learn-more .circle {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: relative;\n display: block;\n margin: 0;\n width: 3rem;\n height: 3rem;\n background: #282936;\n border-radius: 1.625rem;\n}\n\nbutton.learn-more .circle .icon {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: absolute;\n top: 0;\n bottom: 0;\n margin: auto;\n background: #fff;\n}\n\nbutton.learn-more .circle .icon.arrow {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n left: 0.625rem;\n width: 1.125rem;\n height: 0.125rem;\n background: none;\n}\n\nbutton.learn-more .circle .icon.arrow::before {\n position: absolute;\n content: \"\";\n top: -0.29rem;\n right: 0.0625rem;\n width: 0.625rem;\n height: 0.625rem;\n border-top: 0.125rem solid #fff;\n border-right: 0.125rem solid #fff;\n transform: rotate(45deg);\n}\n\nbutton.learn-more .button-text {\n transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n padding: 0.75rem 0;\n margin: 0 0 0 1.85rem;\n color: #282936;\n font-weight: 700;\n line-height: 1.6;\n text-align: center;\n text-transform: uppercase;\n}\n\nbutton:hover .circle {\n width: 100%;\n}\n\nbutton:hover .circle .icon.arrow {\n background: #fff;\n transform: translate(1rem, 0);\n}\n\nbutton:hover .button-text {\n color: #fff;\n}\n",
"component_name": "GalaxyMassiveMayfly74"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1803,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.196Z",
"updated_at": "2025-07-31T07:55:36.196Z"
}