UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 5.01 kB
{ "id": "cssbuttons-io_fat-tiger-100", "name": "fat-tiger-100", "category": "buttons", "author": "cssbuttons-io", "description": "fat-tiger-100 组件 (button, duolingo, animation, interactive)", "tags": [ "button", "duolingo", "animation", "interactive" ], "original": { "html": "<button> Button\n</button>", "css": "/* From Uiverse.io by cssbuttons-io - Tags: button, duolingo */\nbutton {\n appearance: button;\n background-color: #1899D6;\n border: solid transparent;\n border-radius: 16px;\n border-width: 0 0 4px;\n box-sizing: border-box;\n color: #FFFFFF;\n cursor: pointer;\n display: inline-block;\n font-size: 15px;\n font-weight: 700;\n letter-spacing: .8px;\n line-height: 20px;\n margin: 0;\n outline: none;\n overflow: visible;\n padding: 13px 19px;\n text-align: center;\n text-transform: uppercase;\n touch-action: manipulation;\n transform: translateZ(0);\n transition: filter .2s;\n user-select: none;\n -webkit-user-select: none;\n vertical-align: middle;\n white-space: nowrap;\n}\n\nbutton:after {\n background-clip: padding-box;\n background-color: #1CB0F6;\n border: solid transparent;\n border-radius: 16px;\n border-width: 0 0 4px;\n bottom: -4px;\n content: \"\";\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n z-index: -1;\n}\n\nbutton:main, button:focus {\n user-select: auto;\n}\n\nbutton:hover:not(:disabled) {\n filter: brightness(1.1);\n}\n\nbutton:disabled {\n cursor: auto;\n}\n\nbutton:active:after {\n border-width: 0 0 0px;\n}\n\nbutton:active {\n padding-bottom: 10px;\n}", "file_path": "/mnt/persist/workspace/Buttons/cssbuttons-io_fat-tiger-100.html" }, "uniapp": { "template": "<button></button> Button\n</button>", "script": "export default {\n name: 'GalaxyFatTiger100',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by cssbuttons-io - Tags: button, duolingo */\nbutton {\n appearance: button;\n background-color: #1899D6;\n border: solid transparent;\n border-radius: 32rpx;\n border-width: 0 0 8rpx;\n box-sizing: border-box;\n color: #FFFFFF;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-block;\n font-size: 30rpx;\n font-weight: 700;\n letter-spacing: .16rpx;\n line-height: 40rpx;\n margin: 0;\n outline: none;\n overflow: visible;\n padding: 26rpx 38rpx;\n text-align: center;\n text-transform: uppercase;\n touch-action: manipulation;\n transform: translateZ(0);\n transition: filter .2s;\n user-select: none;\n -webkit-user-select: none;\n vertical-align: middle;\n white-space: nowrap;\n}\n\nbutton:after {\n background-clip: padding-box;\n background-color: #1CB0F6;\n border: solid transparent;\n border-radius: 32rpx;\n border-width: 0 0 8rpx;\n bottom: -8rpx;\n content: \"\";\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n z-index: -1;\n}\n\nbutton:main, button:focus {\n user-select: auto;\n}\n\nbutton:hover:not(:disabled) {\n \n}\n\nbutton:disabled {\n /* #ifdef H5 */\n cursor: auto;\n /* #endif */\n}\n\nbutton:active:after {\n border-width: 0 0 0rpx;\n}\n\nbutton:active {\n padding-bottom: 20rpx;\n}\n", "component_name": "GalaxyFatTiger100" }, "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": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1166, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.185Z", "updated_at": "2025-07-31T07:55:36.185Z" }