galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 4.27 kB
JSON
{
"id": "Subaashbala_new-snail-95",
"name": "new-snail-95",
"category": "buttons",
"author": "Subaashbala",
"description": "new-snail-95 组件 (animation, button, animated, stripe, gradient, interactive)",
"tags": [
"animation",
"button",
"animated",
"stripe",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div>Hover</div>\n</button>",
"css": "/* From Uiverse.io by Subaashbala - Tags: animation, button, animated, stripe */\n.button {\n cursor: pointer;\n font-size: 1.25em;\n padding: 1em 2em;\n border-radius: 5px;\n border: none;\n position: relative;\n font-weight: 900;\n background: repeating-linear-gradient(\n 45deg,\n rgb(255, 209, 124),\n rgb(255, 209, 124) 10px,\n rgb(255, 139, 97) 10px,\n rgb(255, 139, 97) 20px\n );\n animation: move 500ms infinite linear forwards;\n animation-play-state: paused;\n box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.199);\n}\n.button:hover {\n animation-play-state: running;\n}\n@keyframes move {\n from {\n background-position: 0;\n }\n to {\n background-position: 30px;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Subaashbala_new-snail-95.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view>Hover</view>\n</button>",
"script": "export default {\n name: 'GalaxyNewSnail95',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Subaashbala - Tags: animation, button, animated, stripe */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-size: 1.25em;\n padding: 1em 2em;\n border-radius: 10rpx;\n border: none;\n position: relative;\n font-weight: 900;\n background: repeating-linear-gradient(\n 45deg,\n rgb(255, 209, 124),\n rgb(255, 209, 124) 20rpx,\n rgb(255, 139, 97) 20rpx,\n rgb(255, 139, 97) 40rpx\n );\n animation: move 500ms infinite linear forwards;\n animation-play-state: paused;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 12rpx 30rpx rgba(0, 0, 0, 0.199);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.button:hover {\n animation-play-state: running;\n}\n@keyframes move {\n from {\n background-position: 0;\n }\n to {\n background-position: 60rpx;\n }\n}\n\n",
"component_name": "GalaxyNewSnail95"
},
"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": 745,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.916Z",
"updated_at": "2025-07-31T07:55:34.916Z"
}