UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 6.25 kB
{ "id": "Yaya12085_tasty-chipmunk-31", "name": "tasty-chipmunk-31", "category": "buttons", "author": "Yaya12085", "description": "tasty-chipmunk-31 组件 (button, gradient, interactive)", "tags": [ "button", "gradient", "interactive" ], "original": { "html": "<button>Button</button>", "css": "/* From Uiverse.io by Yaya12085 - Tags: button */\nbutton {\n font-size: 28px;\n color: rgb(35, 75, 83);\n background-color: rgb(217, 238, 242);\n background-image: linear-gradient(180deg, rgb(201, 194, 240) 30%, transparent 70%);\n background-repeat: no-repeat;\n background-position: center 45%;\n background-size: 100% 200%;\n padding: 10px 30px;\n border-radius: 30px;\n border: none;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;\n position: relative;\n transition: all 0.5s ease;\n outline: none;\n}\n\nbutton::before, button::after {\n content: \"\";\n inset: 0;\n position: absolute;\n border-radius: 5em;\n}\n\nbutton::before {\n background-image: radial-gradient(ellipse, rgba(204, 246, 255, 0.8) 20%, transparent 50%, transparent 200%), linear-gradient(90deg, #404040 -10%, transparent 30%, transparent 70%, #404040 110%);\n box-shadow: inset 0 0.25em 0.75em rgba(0, 0, 0, 0.8), inset 0 -0.05em 0.2em rgba(255, 255, 255, 0.4), inset 0 -1px 3px rgba(25, 196, 230, 0.75);\n background-blend-mode: overlay;\n background-repeat: no-repeat;\n background-size: 200% 80%, cover;\n background-position: center 220%;\n mix-blend-mode: overlay;\n filter: blur(0);\n}\n\nbutton::after {\n background: linear-gradient(180deg, rgba(213, 204, 255, 0.726), rgba(92, 74, 181, 0.75) 40%, transparent 80%);\n top: 0.075em;\n left: 0.75em;\n right: 0.75em;\n bottom: 1.4em;\n filter: blur(1px);\n mix-blend-mode: screen;\n}\n\nbutton:hover, button:active, button:focus {\n outline: none;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n background-position: center calc( 45% - 0.75em );\n}", "file_path": "/mnt/persist/workspace/Buttons/Yaya12085_tasty-chipmunk-31.html" }, "uniapp": { "template": "<button></button>Button</button>", "script": "export default {\n name: 'GalaxyTastyChipmunk31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Yaya12085 - Tags: button */\nbutton {\n font-size: 56rpx;\n color: rgb(35, 75, 83);\n background-color: rgb(217, 238, 242);\n background-image: linear-gradient(180deg, rgb(201, 194, 240) 30%, transparent 70%);\n background-repeat: no-repeat;\n background-position: center 45%;\n background-size: 100% 200%;\n padding: 20rpx 60rpx;\n border-radius: 60rpx;\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.2) 0rpx 120rpx 80rpx -14rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n transition: all 0.5s ease;\n outline: none;\n}\n\nbutton::before, button::after {\n content: \"\";\n inset: 0;\n position: absolute;\n border-radius: 5em;\n}\n\nbutton::before {\n background-image: radial-gradient(ellipse, rgba(204, 246, 255, 0.8) 20%, transparent 50%, transparent 200%), linear-gradient(90deg, #404040 -10%, transparent 30%, transparent 70%, #404040 110%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0.25em 0.75em rgba(0, 0, 0, 0.8), inset 0 -0.05em 0.2em rgba(255, 255, 255, 0.4), inset 0 -2rpx 6rpx rgba(25, 196, 230, 0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-blend-mode: overlay;\n background-repeat: no-repeat;\n background-size: 200% 80%, cover;\n background-position: center 220%;\n \n \n}\n\nbutton::after {\n background: linear-gradient(180deg, rgba(213, 204, 255, 0.726), rgba(92, 74, 181, 0.75) 40%, transparent 80%);\n top: 0.075em;\n left: 0.75em;\n right: 0.75em;\n bottom: 1.4em;\n \n \n}\n\nbutton:hover, button:active, button:focus {\n outline: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(17, 12, 46, 0.15) 0rpx 96rpx 200rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-position: center calc( 45% - 0.75em );\n}\n\n", "component_name": "GalaxyTastyChipmunk31" }, "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 属性", "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 mix-blend-mode 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 1610, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.264Z", "updated_at": "2025-07-31T07:55:35.264Z" }