galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 7.48 kB
JSON
{
"id": "VashonG_tiny-snake-44",
"name": "tiny-snake-44",
"category": "buttons",
"author": "VashonG",
"description": "tiny-snake-44 组件 (flashy, animation, button, interactive)",
"tags": [
"flashy",
"animation",
"button",
"interactive"
],
"original": {
"html": "<a class=\"code-button code-button--html code-button--color\" href=\"#\">\n <b class=\"code-button__bracket\"><</b>\n <span class=\"code-button__code\">/</span>\n <span class=\"code-button__text\">html</span>\n <b class=\"code-button__bracket\">></b>\n</a>",
"css": "/* From Uiverse.io by VashonG - Tags: flashy, animation, button */\n.code-button {\n display: inline-block;\n font-family: \"Menlo\", \"Bitstream Vera Sans Mono\", \"DejaVu Sans Mono\", \"Monaco\", \"Consolas\", monospace;\n margin: 1em;\n border-radius: 3px;\n background: #434d5a;\n border: none;\n padding: 1em 0;\n color: white;\n text-align: center;\n text-decoration: none;\n width: 9em;\n transition: all 0.2s ease, background-color 0.2s ease-in 0.15s, box-shadow 0.2s ease-in 0.15s, color 0s ease;\n}\n\n.code-button__bracket, .code-button__text, .code-button__code {\n display: inline-block;\n margin-right: -3px;\n text-align: center;\n width: 0.5em;\n transition: all 0.2s ease, color 0s ease;\n}\n\n.code-button__bracket {\n font-weight: normal;\n}\n\n.code-button__text {\n opacity: 0;\n position: absolute;\n transition: all 0s ease;\n}\n\n.code-button:hover {\n padding: 1em 0;\n transition: all 0.2s ease, background-color 0.2s ease-in 0.05s, box-shadow 0.2s ease-in 0.05s, color 0s ease;\n}\n\n.code-button:hover .code-button__code, .code-button:hover .code-button__text {\n width: 2em;\n}\n\n.code-button:hover .code-button__code, .code-button:hover .code-button__text, .code-button:hover .code-button__bracket {\n transition: all 0.2s ease, color 0s ease;\n}\n\n.code-button:hover .code-button__code {\n opacity: 0;\n position: absolute;\n}\n\n.code-button:hover .code-button__text {\n opacity: 1;\n position: static;\n}\n\n.code-button--color:hover {\n color: #434d5a;\n}\n\n.code-button--color:hover.code-button--css {\n background-color: #aaffa9;\n box-shadow: inset 15px 5px 70px -10px #aaffa9, inset -15px -5px 70px -10px #11ffbd;\n}\n\n.code-button--color:hover.code-button--html {\n background-color: #fc8f71;\n box-shadow: inset 15px 15px 90px -20px #fc8f71, inset -15px -5px 80px -10px #fcdcab;\n}\n\n.code-button--color:hover.code-button--js {\n background-color: #87e1ed;\n box-shadow: inset 15px 15px 90px -20px #7996d1, inset -15px -5px 80px -10px #87e1ed;\n}",
"file_path": "/mnt/persist/workspace/Buttons/VashonG_tiny-snake-44.html"
},
"uniapp": {
"template": "<navigator class=\"code-button code-button--html code-button--color\" href=\"#\"></navigator>\n <b class=\"code-button__bracket\"><</b>\n <text class=\"code-button__code\">/</text>\n <text class=\"code-button__text\">html</text>\n <b class=\"code-button__bracket\">></b>\n</a>",
"script": "export default {\n name: 'GalaxyTinySnake44',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by VashonG - Tags: flashy, animation, button */\n.code-button {\n display: inline-block;\n font-family: \"Menlo\", \"Bitstream Vera Sans Mono\", \"DejaVu Sans Mono\", \"Monaco\", \"Consolas\", monospace;\n margin: 1em;\n border-radius: 6rpx;\n background: #434d5a;\n border: none;\n padding: 1em 0;\n color: white;\n text-align: center;\n text-decoration: none;\n width: 9em;\n transition: all 0.2s ease, background-color 0.2s ease-in 0.15s, box-shadow 0.2s ease-in 0.15s, color 0s ease;\n}\n\n.code-button__bracket, .code-button__text, .code-button__code {\n display: inline-block;\n margin-right: -6rpx;\n text-align: center;\n width: 0.5em;\n transition: all 0.2s ease, color 0s ease;\n}\n\n.code-button__bracket {\n font-weight: normal;\n}\n\n.code-button__text {\n opacity: 0;\n position: absolute;\n transition: all 0s ease;\n}\n\n.code-button:hover {\n padding: 1em 0;\n transition: all 0.2s ease, background-color 0.2s ease-in 0.05s, box-shadow 0.2s ease-in 0.05s, color 0s ease;\n}\n\n.code-button:hover .code-button__code, .code-button:hover .code-button__text {\n width: 2em;\n}\n\n.code-button:hover .code-button__code, .code-button:hover .code-button__text, .code-button:hover .code-button__bracket {\n transition: all 0.2s ease, color 0s ease;\n}\n\n.code-button:hover .code-button__code {\n opacity: 0;\n position: absolute;\n}\n\n.code-button:hover .code-button__text {\n opacity: 1;\n position: static;\n}\n\n.code-button--color:hover {\n color: #434d5a;\n}\n\n.code-button--color:hover.code-button--css {\n background-color: #aaffa9;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 30rpx 10rpx 140rpx -20rpx #aaffa9, inset -30rpx -10rpx 140rpx -20rpx #11ffbd;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.code-button--color:hover.code-button--html {\n background-color: #fc8f71;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 30rpx 30rpx 180rpx -40rpx #fc8f71, inset -30rpx -10rpx 160rpx -20rpx #fcdcab;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.code-button--color:hover.code-button--js {\n background-color: #87e1ed;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 30rpx 30rpx 180rpx -40rpx #7996d1, inset -30rpx -10rpx 160rpx -20rpx #87e1ed;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n \n",
"component_name": "GalaxyTinySnake44"
},
"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": 2198,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.103Z",
"updated_at": "2025-07-31T07:55:35.103Z"
}