UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.03 kB
{ "id": "Afacanc38_polite-chipmunk-64", "name": "polite-chipmunk-64", "category": "buttons", "author": "Afacanc38", "description": "polite-chipmunk-64 组件 (skeuomorphism, minimalist, black, button, dark, cool btn, interactive)", "tags": [ "skeuomorphism", "minimalist", "black", "button", "dark", "cool btn", "interactive" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by Afacanc38 - Tags: skeuomorphism, minimalist, black, button, dark, cool btn */\n.button {\n padding: 12px 24px;\n border: none;\n border-radius: 2px;\n background: #424242;\n color: white;\n box-shadow: 0 1px 0 0 rgba(255, 255, 255, .1) inset,\n 0 0 0 1px rgba(0, 0, 0, .7),\n 0 -1px 0 0 rgba(0, 0, 0, .7) inset,\n 0 1px 2px 1px rgba(0, 0, 0, .6);\n cursor: pointer;\n transition: 50ms ease-out;\n font-weight: 600;\n}\n\n.button:hover, .button:focus, .button:focus-visible {\n background: #353535;\n box-shadow: 0 1px 0 0 rgba(255, 255, 255, .05) inset,\n 0 0 0 1px rgba(0, 0, 0, .7),\n 0 -1px 0 0 rgba(0, 0, 0, .7) inset,\n 0 1px 2px 1px rgba(0, 0, 0, .6);\n border: none;\n outline: none;\n}\n\n.button:active {\n background: #181818;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .7) inset,\n 0 1px 0 0 rgba(255, 255, 255, .05),\n 0 1px 2px 1px rgba(0, 0, 0, .6) inset;\n}", "file_path": "/mnt/persist/workspace/Buttons/Afacanc38_polite-chipmunk-64.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyPoliteChipmunk64',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Afacanc38 - Tags: skeuomorphism, minimalist, black, button, dark, cool btn */\n.button {\n padding: 24rpx 48rpx;\n border: none;\n border-radius: 4rpx;\n background: #424242;\n color: white;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 0 0 rgba(255, 255, 255, .1) inset,\n 0 0 0 2rpx rgba(0, 0, 0, .7),\n 0 -2rpx 0 0 rgba(0, 0, 0, .7) inset,\n 0 2rpx 4rpx 2rpx rgba(0, 0, 0, .6);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: 50ms ease-out;\n font-weight: 600;\n}\n\n.button:hover, .button:focus, .button:focus-visible {\n background: #353535;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 0 0 rgba(255, 255, 255, .05) inset,\n 0 0 0 2rpx rgba(0, 0, 0, .7),\n 0 -2rpx 0 0 rgba(0, 0, 0, .7) inset,\n 0 2rpx 4rpx 2rpx rgba(0, 0, 0, .6);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: none;\n outline: none;\n}\n\n.button:active {\n background: #181818;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 2rpx rgba(0, 0, 0, .7) inset,\n 0 2rpx 0 0 rgba(255, 255, 255, .05),\n 0 2rpx 4rpx 2rpx rgba(0, 0, 0, .6) inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyPoliteChipmunk64" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 943, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.547Z", "updated_at": "2025-07-31T07:55:32.547Z" }