galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 6.42 kB
JSON
{
"id": "OnCloud125252_angry-dragonfly-77",
"name": "angry-dragonfly-77",
"category": "buttons",
"author": "OnCloud125252",
"description": "angry-dragonfly-77 组件 (simple, black, button, simple button, more info, read more, animation, interactive)",
"tags": [
"simple",
"black",
"button",
"simple button",
"more info",
"read more",
"animation",
"interactive"
],
"original": {
"html": "<div tabindex=\"0\" class=\"plusButton\">\n <svg class=\"plusIcon\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\">\n <g mask=\"url(#mask0_21_345)\">\n <path d=\"M13.75 23.75V16.25H6.25V13.75H13.75V6.25H16.25V13.75H23.75V16.25H16.25V23.75H13.75Z\"></path>\n </g>\n </svg>\n</div>",
"css": "/* From Uiverse.io by OnCloud125252 - Tags: simple, black, button, simple button, more info, read more */\n/* Note that you only needs to edit the config to customize the button! */\n\n.plusButton {\n /* Config start */\n --plus_sideLength: 2.5rem;\n --plus_topRightTriangleSideLength: 0.9rem;\n /* Config end */\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid white;\n width: var(--plus_sideLength);\n height: var(--plus_sideLength);\n background-color: #000000;\n overflow: hidden;\n}\n\n.plusButton::before {\n position: absolute;\n content: \"\";\n top: 0;\n right: 0;\n width: 0;\n height: 0;\n border-width: 0 var(--plus_topRightTriangleSideLength) var(--plus_topRightTriangleSideLength) 0;\n border-style: solid;\n border-color: transparent white transparent transparent;\n transition-timing-function: ease-in-out;\n transition-duration: 0.2s;\n}\n\n.plusButton:hover {\n cursor: pointer;\n}\n\n.plusButton:hover::before {\n --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);\n}\n\n.plusButton:focus-visible::before {\n --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);\n}\n\n.plusButton>.plusIcon {\n fill: white;\n width: calc(var(--plus_sideLength) * 0.7);\n height: calc(var(--plus_sideLength) * 0.7);\n z-index: 1;\n transition-timing-function: ease-in-out;\n transition-duration: 0.2s;\n}\n\n.plusButton:hover>.plusIcon {\n fill: black;\n transform: rotate(180deg);\n}\n\n.plusButton:focus-visible>.plusIcon {\n fill: black;\n transform: rotate(180deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/OnCloud125252_angry-dragonfly-77.html"
},
"uniapp": {
"template": "<view tabindex=\"0\" class=\"plusButton\"></view>\n <view class=\"plusIcon\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"></view>\n <g mask=\"url(#mask0_21_345)\">\n <path d=\"M13.75 23.75V16.25H6.25V13.75H13.75V6.25H16.25V13.75H23.75V16.25H16.25V23.75H13.75Z\"></path>\n </g>\n </svg>\n</div>",
"script": "export default {\n name: 'GalaxyAngryDragonfly77',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by OnCloud125252 - Tags: simple, black, button, simple button, more info, read more */\n/* Note that you only needs to edit the config to customize the button! */\n\n.plusButton {\n /* Config start */\n --plus_sideLength: 2.5rem;\n --plus_topRightTriangleSideLength: 0.9rem;\n /* Config end */\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 2rpx solid white;\n width: var(--plus_sideLength);\n height: var(--plus_sideLength);\n background-color: #000000;\n overflow: hidden;\n}\n\n.plusButton::before {\n position: absolute;\n content: \"\";\n top: 0;\n right: 0;\n width: 0;\n height: 0;\n border-width: 0 var(--plus_topRightTriangleSideLength) var(--plus_topRightTriangleSideLength) 0;\n border-style: solid;\n border-color: transparent white transparent transparent;\n transition-timing-function: ease-in-out;\n transition-duration: 0.2s;\n}\n\n.plusButton:hover {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.plusButton:hover::before {\n --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);\n}\n\n.plusButton:focus-visible::before {\n --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);\n}\n\n.plusButton>.plusIcon {\n fill: white;\n width: calc(var(--plus_sideLength) * 0.7);\n height: calc(var(--plus_sideLength) * 0.7);\n z-index: 1;\n transition-timing-function: ease-in-out;\n transition-duration: 0.2s;\n}\n\n.plusButton:hover>.plusIcon {\n fill: black;\n transform: rotate(180deg);\n}\n\n.plusButton:focus-visible>.plusIcon {\n fill: black;\n transform: rotate(180deg);\n}\n",
"component_name": "GalaxyAngryDragonfly77"
},
"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": 1828,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.175Z",
"updated_at": "2025-07-31T07:55:34.175Z"
}