UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.48 kB
{ "id": "Peary74_cuddly-gecko-61", "name": "cuddly-gecko-61", "category": "buttons", "author": "Peary74", "description": "cuddly-gecko-61 组件 (button, hover, hover button, animation, interactive)", "tags": [ "button", "hover", "hover button", "animation", "interactive" ], "original": { "html": "<div class=\"del\">\n <div>\n Hover\n </div> \n</div>", "css": "/* From Uiverse.io by Peary74 - Tags: button, hover, hover button */\n.del {\n position: relative;\n top: 0;\n left: 0;\n width: 160px;\n height: 50px;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.del div {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: none;\n box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),\n -4px -4px 6px 0 rgba(116, 125, 136, .5), \n inset -4px -4px 6px 0 rgba(255,255,255,.2),\n inset 4px 4px 6px 0 rgba(0, 0, 0, .4);\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n border-top: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n letter-spacing: 1px;\n color: #000;\n z-index: 1;\n transition: .6s;\n}\n\n.del:hover div {\n letter-spacing: 4px;\n color: #fff;\n}\n\n.del::after,\n.del::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.del::after {\n transform: translate(15px, 15px);\n width: 35px;\n height: 35px;\n background: #000;\n backdrop-filter: blur(5px);\n border-radius: 10px;\n}\n\n.del:hover::after {\n border-radius: 10px;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}", "file_path": "/mnt/persist/workspace/Buttons/Peary74_cuddly-gecko-61.html" }, "uniapp": { "template": "<view class=\"del\"></view>\n <view></view>\n Hover\n </div> \n</div>", "script": "export default {\n name: 'GalaxyCuddlyGecko61',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Peary74 - Tags: button, hover, hover button */\n.del {\n position: relative;\n top: 0;\n left: 0;\n width: 320rpx;\n height: 100rpx;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.del div {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 12rpx 0 rgba(255,255,255,.5),\n -8rpx -8rpx 12rpx 0 rgba(116, 125, 136, .5), \n inset -8rpx -8rpx 12rpx 0 rgba(255,255,255,.2),\n inset 8rpx 8rpx 12rpx 0 rgba(0, 0, 0, .4);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-bottom: 2rpx solid rgba(255, 255, 255, 0.1);\n border-top: 2rpx solid rgba(255, 255, 255, 0.1);\n border-radius: 20rpx;\n letter-spacing: 2rpx;\n color: #000;\n z-index: 1;\n transition: .6s;\n}\n\n.del:hover div {\n letter-spacing: 8rpx;\n color: #fff;\n}\n\n.del::after,\n.del::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.del::after {\n transform: translate(30rpx, 30rpx);\n width: 70rpx;\n height: 70rpx;\n background: #000;\n backdrop-\n border-radius: 20rpx;\n}\n\n.del:hover::after {\n border-radius: 20rpx;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}\n\n\n\n\n", "component_name": "GalaxyCuddlyGecko61" }, "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 属性", "不支持 backdrop-filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 backdrop-filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1288, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.189Z", "updated_at": "2025-07-31T07:55:34.189Z" }