galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
124 lines • 6.28 kB
JSON
{
"id": "htwarriors108_lazy-owl-9",
"name": "lazy-owl-9",
"category": "buttons",
"author": "htwarriors108",
"description": "lazy-owl-9 组件 (gradient, button, animated, colorful, hover effect, click effect, click animation, box-shadow, multicolor, animation, interactive)",
"tags": [
"gradient",
"button",
"animated",
"colorful",
"hover effect",
"click effect",
"click animation",
"box-shadow",
"multicolor",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div class=\"display\">\n <div id=\"msg\">Click Me</div>\n </div>\n \n <span></span>\n <span></span>\n</button>",
"css": "/* From Uiverse.io by htwarriors108 - Tags: gradient, button, animated, colorful, hover effect, click effect, click animation, box-shadow, multicolor */\n.button {\n height: 50px;\n width: 180px;\n background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);\n border-radius: 25px;\n animation: animate 1.5s linear infinite;\n border: none;\n cursor: pointer;\n}\n\n.button, .display, #msg {\n transition: 0.3s;\n}\n\n.button:active .display {\n background: rgba(255, 255, 255, 0.5);\n}\n\n.button:active .display #msg {\n -webkit-text-fill-color: #1b1b1b;\n}\n\n.button:hover {\n scale: 1.15;\n animation: animate 0.7s linear infinite;\n transform: translateY(-15px);\n}\n\n.button .display, .button span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.button .display {\n z-index: 1;\n background-color: #1b1b1b;\n height: 42.5px;\n width: 172.5px;\n border-radius: 20px;\n text-align: center;\n}\n\n.button .display #msg {\n line-height: 42.5px;\n font-size: 25px;\n font-weight: 800;\n letter-spacing: 3px;\n background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n@keyframes animate {\n 100% {\n filter: hue-rotate(360deg);\n }\n}\n\n.button span {\n height: 100%;\n width: 100%;\n background: inherit;\n border-radius: 25px;\n}\n\n.button span:first-child {\n filter: blur(15px);\n}\n\n.button span:last-child {\n filter: blur(15px);\n transition: 0.3s;\n}\n\n.button:hover span:last-child {\n width: 110%;\n height: 120%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/htwarriors108_lazy-owl-9.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"display\"></view>\n <view id=\"msg\">Click Me</view>\n </div>\n \n <text></text>\n <text></text>\n</button>",
"script": "export default {\n name: 'GalaxyLazyOwl9',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by htwarriors108 - Tags: gradient, button, animated, colorful, hover effect, click effect, click animation, box-shadow, multicolor */\n.button {\n height: 100rpx;\n width: 360rpx;\n background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);\n border-radius: 50rpx;\n animation: animate 1.5s linear infinite;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button, .display, #msg {\n transition: 0.3s;\n}\n\n.button:active .display {\n background: rgba(255, 255, 255, 0.5);\n}\n\n.button:active .display #msg {\n -webkit-text-fill-color: #1b1b1b;\n}\n\n.button:hover {\n scale: 1.15;\n animation: animate 0.7s linear infinite;\n transform: translateY(-30rpx);\n}\n\n.button .display, .button span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.button .display {\n z-index: 1;\n background-color: #1b1b1b;\n height: 85rpx;\n width: 345rpx;\n border-radius: 40rpx;\n text-align: center;\n}\n\n.button .display #msg {\n line-height: 85rpx;\n font-size: 50rpx;\n font-weight: 800;\n letter-spacing: 6rpx;\n background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n@keyframes animate {\n 100% {\n \n }\n}\n\n.button span {\n height: 100%;\n width: 100%;\n background: inherit;\n border-radius: 50rpx;\n}\n\n.button span:first-child {\n \n}\n\n.button span:last-child {\n \n transition: 0.3s;\n}\n\n.button:hover span:last-child {\n width: 110%;\n height: 120%;\n}\n",
"component_name": "GalaxyLazyOwl9"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1667,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.941Z",
"updated_at": "2025-07-31T07:55:36.941Z"
}