galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
120 lines • 5.33 kB
JSON
{
"id": "simontheonlyone_loud-husky-59",
"name": "loud-husky-59",
"category": "buttons",
"author": "simontheonlyone",
"description": "loud-husky-59 组件 (minimalist, button, hover, shadow, glow, light&dark, focus, animation, interactive)",
"tags": [
"minimalist",
"button",
"hover",
"shadow",
"glow",
"light&dark",
"focus",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Button\n</button>",
"css": "/* From Uiverse.io by simontheonlyone - Source: WhiteNervosa - https://uiverse.io/WhiteNervosa/popular-ladybug-27 - Tags: minimalist, button, hover, shadow, glow, light&dark, focus */\n.button {\n position: relative;\n width: 10em;\n height: 2em;\n text-align: center;\n font-family: poppins;\n font-size: 17px;\n font-weight: 300;\n letter-spacing: 5px;\n text-transform: uppercase;\n color: #fff;\n cursor: pointer;\n background-color: rgba(3, 3, 3, .5);\n border: none;\n transition: color .2s linear,\n box-shadow .3s linear,\n background-color .3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.button:focus,\n.button:hover {\n box-shadow: 0 0 110px #fff;\n background-color: rgba(255, 255, 255, 0.4);\n color: #111;\n font-weight: 500;\n}\n\n.button:focus:before,\n.button:hover:before,\n.button:focus:after,\n.button:hover:after {\n width: 100%;\n left: 0%;\n}\n\n.button:before,\n.button:after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 50%;\n width: 0%;\n height: 2px;\n background-color: #fff;\n transition: width, left, 250ms cubic-bezier(0.25, .8, .25, 1);\n}\n\n.button:before {\n top: -2px;\n}\n\n.button:after {\n bottom: -2px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/simontheonlyone_loud-husky-59.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Button\n</button>",
"script": "export default {\n name: 'GalaxyLoudHusky59',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by simontheonlyone - Source: WhiteNervosa - https://uiverse.io/WhiteNervosa/popular-ladybug-27 - Tags: minimalist, button, hover, shadow, glow, light&dark, focus */\n.button {\n position: relative;\n width: 10em;\n height: 2em;\n text-align: center;\n font-family: poppins;\n font-size: 34rpx;\n font-weight: 300;\n letter-spacing: 10rpx;\n text-transform: uppercase;\n color: #fff;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background-color: rgba(3, 3, 3, .5);\n border: none;\n transition: color .2s linear,\n box-shadow .3s linear,\n background-color .3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.button:focus,\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 220rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: rgba(255, 255, 255, 0.4);\n color: #111;\n font-weight: 500;\n}\n\n.button:focus:before,\n.button:hover:before,\n.button:focus:after,\n.button:hover:after {\n width: 100%;\n left: 0%;\n}\n\n.button:before,\n.button:after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 50%;\n width: 0%;\n height: 4rpx;\n background-color: #fff;\n transition: width, left, 250ms cubic-bezier(0.25, .8, .25, 1);\n}\n\n.button:before {\n top: -4rpx;\n}\n\n.button:after {\n bottom: -4rpx;\n}\n",
"component_name": "GalaxyLoudHusky59"
},
"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": "medium",
"bundle_size": 1203,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.865Z",
"updated_at": "2025-07-31T07:55:37.865Z"
}