UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 4.42 kB
{ "id": "PozDevill_hard-cow-33", "name": "hard-cow-33", "category": "buttons", "author": "PozDevill", "description": "hard-cow-33 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button>Button</button>", "css": "/* From Uiverse.io by PozDevill - Tags: button */\nbutton {\n position: relative;\n font-family: 'Heebo', sans-serif;\n padding: 12px 40px;\n border: 0;\n background: rgb(148, 1, 1);\n color: #ffffff;\n font-weight: 500;\n font-size: 1em;\n border-radius: 8px;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s ease-in-out;\n}\n\nbutton:hover {\n text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.562);\n transform: scale(1.01);\n box-shadow: inset 0px 0px 10px rgba(255, 0, 0, 0.575);\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: -100px;\n width: 50%;\n height: 100%;\n transform: rotate(80deg);\n background: #ffffff77;\n filter: blur(10px);\n transition: 0.6s ease-in-out;\n}\n\nbutton:hover::after {\n left: 100%;\n}", "file_path": "/mnt/persist/workspace/Buttons/PozDevill_hard-cow-33.html" }, "uniapp": { "template": "<button></button>Button</button>", "script": "export default {\n name: 'GalaxyHardCow33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by PozDevill - Tags: button */\nbutton {\n position: relative;\n font-family: 'Heebo', sans-serif;\n padding: 24rpx 80rpx;\n border: 0;\n background: rgb(148, 1, 1);\n color: #ffffff;\n font-weight: 500;\n font-size: 1em;\n border-radius: 16rpx;\n overflow: hidden;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: 0.3s ease-in-out;\n}\n\nbutton:hover {\n /* #ifdef H5 */\n text-shadow: 0rpx 10rpx 20rpx rgba(0, 0, 0, 0.562);\n /* #endif */\n transform: scale(1.01);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 20rpx rgba(255, 0, 0, 0.575);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: -200rpx;\n width: 50%;\n height: 100%;\n transform: rotate(80deg);\n background: #ffffff77;\n \n transition: 0.6s ease-in-out;\n}\n\nbutton:hover::after {\n left: 100%;\n}\n", "component_name": "GalaxyHardCow33" }, "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 属性", "不支持 text-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 768, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.237Z", "updated_at": "2025-07-31T07:55:34.237Z" }