UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

118 lines 6.13 kB
{ "id": "Dashrath-Sharma_tall-robin-16", "name": "tall-robin-16", "category": "buttons", "author": "Dashrath-Sharma", "description": "tall-robin-16 组件 (button, text animation, animated, colorful, color, text, btn, animation, interactive)", "tags": [ "button", "text animation", "animated", "colorful", "color", "text", "btn", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by Dashrath-Sharma - Tags: button, text animation, animated, colorful, color, text, btn */\n.button {\n border: none;\n font-size: 17px;\n padding: 1em 2em;\n position: relative;\n display: grid;\n place-items: center;\n overflow: hidden;\n z-index: 1;\n background: #caf0f8;\n border-radius: 8px;\n box-shadow: 2px 2px 0 #333,\n 2px 2px 200px #ffba08 inset;\n color: #fff;\n}\n\n.button:active {\n transform: scale(.98);\n}\n\n.button:hover {\n box-shadow: 2px 2px 0 #333,\n 2px 2px 200px #003566 inset;\n}\n\n.button::before {\n content: '';\n position: absolute;\n left: -41%;\n width: 150%;\n height: 300%;\n border-radius: 50%;\n box-shadow: 2px 2px 0 #333,\n 0 0 0 8px #d00000 inset,\n 0 0 0 16px #dc2f02 inset,\n 0 0 0 24px #e85d04 inset,\n 0 0 0 32px #f48c06 inset,\n 0 0 0 40px #faa307 inset;\n z-index: -1;\n transition: .2s;\n}\n\n.button:active::before {\n opacity: .001;\n box-shadow: 2px 2px 200px #03045e inset;\n}\n\n.button:hover::before {\n box-shadow: 2px 2px 0 #333,\n 0 0 0 8px #90e0ef inset,\n 0 0 0 16px #48cae4 inset,\n 0 0 0 24px #00b4d8 inset,\n 0 0 0 32px #0096c7 inset,\n 0 0 0 40px #0077b6 inset;\n left: -9%;\n width: 150%;\n height: 300%;\n}", "file_path": "/mnt/persist/workspace/Buttons/Dashrath-Sharma_tall-robin-16.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyTallRobin16',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Dashrath-Sharma - Tags: button, text animation, animated, colorful, color, text, btn */\n.button {\n border: none;\n font-size: 34rpx;\n padding: 1em 2em;\n position: relative;\n display: grid;\n place-items: center;\n overflow: hidden;\n z-index: 1;\n background: #caf0f8;\n border-radius: 16rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0 #333,\n 4rpx 4rpx 400rpx #ffba08 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: #fff;\n}\n\n.button:active {\n transform: scale(.98);\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0 #333,\n 4rpx 4rpx 400rpx #003566 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button::before {\n content: '';\n position: absolute;\n left: -41%;\n width: 150%;\n height: 300%;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0 #333,\n 0 0 0 16rpx #d00000 inset,\n 0 0 0 32rpx #dc2f02 inset,\n 0 0 0 48rpx #e85d04 inset,\n 0 0 0 64rpx #f48c06 inset,\n 0 0 0 80rpx #faa307 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n z-index: -1;\n transition: .2s;\n}\n\n.button:active::before {\n opacity: .001;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 400rpx #03045e inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:hover::before {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0 #333,\n 0 0 0 16rpx #90e0ef inset,\n 0 0 0 32rpx #48cae4 inset,\n 0 0 0 48rpx #00b4d8 inset,\n 0 0 0 64rpx #0096c7 inset,\n 0 0 0 80rpx #0077b6 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n left: -9%;\n width: 150%;\n height: 300%;\n}\n", "component_name": "GalaxyTallRobin16" }, "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": 1352, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.079Z", "updated_at": "2025-07-31T07:55:33.079Z" }