galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 3.97 kB
JSON
{
"id": "roufkp_chilly-dingo-79",
"name": "chilly-dingo-79",
"category": "buttons",
"author": "roufkp",
"description": "chilly-dingo-79 组件 (button, hover, animation, interactive)",
"tags": [
"button",
"hover",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Button\n</button>",
"css": "/* From Uiverse.io by roufkp - Tags: button, hover */\n.button {\n width: fit-content;\n padding: 12px 28px;\n font-size: 15px;\n font-weight: 600;\n letter-spacing: .1rem;\n border: none;\n background: transparent;\n box-shadow: inset -20px -16px 0px 2px rgb(2 184 72);\n border-radius: 100px;\n color: rgb(67, 46, 19);\n transition: all 1s cubic-bezier(.66, .00, .34, 1.00);\n}\n\nbutton:hover {\n box-shadow: inset 0px 0px 0px 0px rgb(2 184 72);\n background: rgb(33, 30, 24);\n transform: translateY(-5px);\n color: rgb(230, 221, 221);\n font-weight: 700;\n}",
"file_path": "/mnt/persist/workspace/Buttons/roufkp_chilly-dingo-79.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Button\n</button>",
"script": "export default {\n name: 'GalaxyChillyDingo79',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by roufkp - Tags: button, hover */\n.button {\n width: fit-content;\n padding: 24rpx 56rpx;\n font-size: 30rpx;\n font-weight: 600;\n letter-spacing: .1rem;\n border: none;\n background: transparent;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -40rpx -32rpx 0rpx 4rpx rgb(2 184 72);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 200rpx;\n color: rgb(67, 46, 19);\n transition: all 1s cubic-bezier(.66, .00, .34, 1.00);\n}\n\nbutton:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 0rpx 0rpx rgb(2 184 72);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: rgb(33, 30, 24);\n transform: translateY(-10rpx);\n color: rgb(230, 221, 221);\n font-weight: 700;\n}\n\n\n",
"component_name": "GalaxyChillyDingo79"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 605,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.682Z",
"updated_at": "2025-07-31T07:55:37.682Z"
}