galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 4.64 kB
JSON
{
"id": "JkHuger_little-pug-16",
"name": "little-pug-16",
"category": "buttons",
"author": "JkHuger",
"description": "little-pug-16 组件 (button, smooth, animated, animation, gradient, interactive)",
"tags": [
"button",
"smooth",
"animated",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"testbutton\">\n Click me\n</button>",
"css": "/* From Uiverse.io by JkHuger - Tags: button, smooth, animated */\n.testbutton {\n display: block;\n font-family: helvetica;\n color: #000;\n font-size: 16px;\n font-weight: bold;\n box-shadow: 9px 8px 0px -1px#BEE2F9, 9px 8px 0px 1px #000;\n padding: 12px 25px;\n border-radius: 11px;\n border: 2px solid #000;\n background: linear-gradient(to top, #63B8EE, #468CCF);\n transition: .3s;\n cursor: pointer;\n}\n\n.testbutton:hover {\n transition: .3s;\n transform: translate(-.3em, -.3em);\n box-shadow: 14px 13px 0px -1px #BEE2F9, 14px 13px 0px 1px #000;\n border: 2px solid #000;\n}\n\n.testbutton:active {\n transition: .3s;\n transform: translate(.6em, .6em);\n box-shadow: 0px 0px 0px -1px #BEE2F9, 0px 0px 0px 0.1px#000;\n}",
"file_path": "/mnt/persist/workspace/Buttons/JkHuger_little-pug-16.html"
},
"uniapp": {
"template": "<button class=\"testbutton\"></button>\n Click me\n</button>",
"script": "export default {\n name: 'GalaxyLittlePug16',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JkHuger - Tags: button, smooth, animated */\n.testbutton {\n display: block;\n font-family: helvetica;\n color: #000;\n font-size: 32rpx;\n font-weight: bold;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 18rpx 16rpx 0rpx -2rpx#BEE2F9, 18rpx 16rpx 0rpx 2rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n padding: 24rpx 50rpx;\n border-radius: 22rpx;\n border: 4rpx solid #000;\n background: linear-gradient(to top, #63B8EE, #468CCF);\n transition: .3s;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.testbutton:hover {\n transition: .3s;\n transform: translate(-.3em, -.3em);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 28rpx 26rpx 0rpx -2rpx #BEE2F9, 28rpx 26rpx 0rpx 2rpx #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 4rpx solid #000;\n}\n\n.testbutton:active {\n transition: .3s;\n transform: translate(.6em, .6em);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0rpx -2rpx #BEE2F9, 0rpx 0rpx 0rpx 0.2rpx#000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n",
"component_name": "GalaxyLittlePug16"
},
"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": 773,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.558Z",
"updated_at": "2025-07-31T07:55:33.558Z"
}