UNPKG

galaxy-uniapp-mcp-server

Version:

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

126 lines 17.3 kB
{ "id": "StealthWorm_young-badger-81", "name": "young-badger-81", "category": "buttons", "author": "StealthWorm", "description": "young-badger-81 组件 (purple, pink, button, smooth, realistic, css, advanced, #button, animation, gradient, interactive)", "tags": [ "purple", "pink", "button", "smooth", "realistic", "css", "advanced", "#button", "animation", "gradient", "interactive" ], "original": { "html": "<button type=\"button\" class=\"btn\">\n <div class=\"smoke\">\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n <div class=\"cloud\"></div>\n </div>\n <div class=\"title\">\n <span class=\"thunder\">⚡</span>\n <strong class=\"description\">Join now</strong>\n </div>\n <div class=\"glass\">\n <div class=\"inner-glass\"></div>\n </div>\n</button>", "css": "/* From Uiverse.io by StealthWorm - Tags: purple, pink, button, smooth, realistic, css, advanced, #button */\n.btn {\n z-index: 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 4px;\n width: 20rem;\n height: 6rem;\n border-top: 2px double #ffffff92;\n border-bottom: none;\n border-left: 2px outset #0000007e;\n border-right: 2px solid #e94fcab3;\n border-radius: 1.8rem;\n background-origin: border-box;\n background-clip: content-box, border-box;\n filter: hue-rotate(-15deg) drop-shadow(0px 30px 10px #00000028) saturate(2);\n\n background: linear-gradient(\n 64.14deg,\n #b938ff 0%,\n #daa1f1 10%,\n #f179ec 15.58%,\n #fefffe 28.15%,\n #fc9f9d 45.31%,\n #ed8664 53.18%,\n #ff7423 58.79%,\n #ff875f 65.28%,\n #fbabae 75.48%,\n #fcbde5 85.31%,\n #e94fca 100.29%\n );\n transition: all 0.5s;\n}\n\n.btn:hover {\n transform: scale(1.1);\n filter: hue-rotate(-365deg) drop-shadow(0px 30px 10px #00000028) saturate(2);\n}\n\n.btn:hover .title > strong {\n font-size: 1.2rem;\n font-weight: 800;\n transition: all 0.8s;\n}\n\n.glass {\n z-index: 10;\n display: flex;\n border: double 2px rgba(255, 255, 255, 0.263);\n backdrop-filter: blur(2px);\n filter: blur(1px) brightness(1.1) saturate(50%) hue-rotate(30deg);\n border-radius: 1.6rem;\n width: 100%;\n height: 100%;\n padding: 1rem;\n background-color: #ffffff1c;\n background-origin: content-box;\n background-clip: content-box, border-box;\n box-shadow: inset 0 0 10px #a84fd88d;\n}\n\n.inner-glass {\n z-index: 10;\n display: flex;\n border-left: 1px solid rgba(255, 255, 255, 0.564);\n border-right: 1px solid rgb(255, 255, 255);\n backdrop-filter: blur(40px);\n box-shadow: inset 0 0 20px rgba(246, 142, 213, 0.86);\n -webkit-backdrop-filter: blur(5px);\n border-radius: 0.6rem;\n width: 100%;\n height: 100%;\n background-origin: border-box;\n background-clip: content-box, border-box;\n filter: brightness(140%);\n}\n\n.title {\n inset: 0;\n display: flex;\n text-align: center;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 90;\n align-items: center;\n justify-content: center;\n color: black;\n font-size: 1rem;\n gap: 0.5rem;\n}\n\n.thunder {\n display: flex;\n align-items: center;\n justify-content: center;\n filter: grayscale(100%) brightness(0);\n font-size: 1.2rem;\n}\n\n.description {\n font-size: 1.2rem;\n font-weight: 600;\n}\n\n.smoke {\n z-index: 90;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.cloud {\n position: absolute;\n border-radius: 9999px;\n}\n\n.cloud:nth-of-type(1) {\n filter: blur(3px) drop-shadow(-2px 0 3px #ffffff);\n display: flex;\n left: 1.6rem;\n top: 0.2rem;\n width: 10rem;\n height: 1rem;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 0.868) 30%,\n transparent 100%\n );\n}\n\n.cloud:nth-of-type(2) {\n left: 2.5rem;\n top: 2rem;\n width: 4rem;\n height: 2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 70%\n );\n /* border: 1px solid red; */\n filter: drop-shadow(-10px 10px 3px #d277cc);\n}\n\n.cloud:nth-of-type(3) {\n left: 10rem;\n top: 0.5rem;\n width: 5rem;\n height: 5rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 50%\n );\n /* border: 1px solid red; */\n filter: drop-shadow(-5px -5px 7px #ff5500b4);\n}\n\n.cloud:nth-of-type(4) {\n left: 17rem;\n top: 1rem;\n width: 3.4rem;\n height: 4rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n transparent 70%\n );\n /* border: 1px solid red; */\n filter: drop-shadow(-1px 0 30px #ff002f);\n}\n\n.cloud:nth-of-type(5) {\n top: 0.5rem;\n width: 100%;\n height: 0.7rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.293) 30%,\n rgba(255, 181, 21, 0.164) 50%,\n rgba(234, 44, 255, 0.419) 60%,\n rgba(255, 255, 255, 0) 90%\n );\n}\n\n.cloud:nth-of-type(6) {\n left: 17.6rem;\n top: -0.1rem;\n width: 2rem;\n height: 2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 70%\n );\n}\n\n.cloud:nth-of-type(7) {\n left: 7.6rem;\n transform: rotate(-35deg);\n top: -2rem;\n width: 2rem;\n height: 5rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.614) 0%,\n #fd87602d 60%,\n rgba(255, 255, 255, 0) 100%\n );\n}\n\n.cloud:nth-of-type(8) {\n left: 5.5rem;\n top: -1rem;\n width: 3rem;\n height: 3rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.614) 0%,\n rgba(255, 255, 255, 0) 80%\n );\n}\n\n.cloud:nth-of-type(9) {\n filter: blur(1px) drop-shadow(0px 0 3px #ffffff);\n left: 0.5rem;\n bottom: 1.4rem;\n width: 100%;\n height: 0.1rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 90%\n );\n}\n\n.cloud:nth-of-type(10) {\n filter: blur(1px) drop-shadow(0px 0 3px #ffffff);\n display: flex;\n left: 0.3rem;\n top: 1rem;\n width: 1rem;\n height: 3rem;\n border-top: 1px solid white;\n border-right: 1px solid white;\n border-bottom: none;\n background: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0.419) 0%,\n transparent 50%\n );\n}\n\n.cloud:nth-of-type(11) {\n border-radius: 100%;\n filter: blur(4px) drop-shadow(0px -10px 10px #ff5107fb);\n display: flex;\n left: 12rem;\n top: 3.5rem;\n width: 5rem;\n height: 1.8rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.773) 10%,\n rgba(255, 255, 255, 0.159) 60%\n );\n}\n\n.cloud:nth-of-type(12) {\n filter: blur(2px) drop-shadow(0px -10px 10px #f36b9d);\n display: flex;\n left: 11rem;\n top: 1.1rem;\n width: 6rem;\n height: 0.3rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.973) 30%,\n rgba(255, 255, 255, 0.159) 100%\n );\n}\n\n.cloud:nth-of-type(13) {\n filter: blur(3px) drop-shadow(-15px 0 5px #f8283d9e);\n display: flex;\n left: 8rem;\n top: 3.7rem;\n width: 5.5rem;\n height: 1.7rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.762) 10%,\n rgba(255, 255, 255, 0.159) 70%\n );\n}\n\n.cloud:nth-of-type(14) {\n filter: blur(1px) drop-shadow(10px -10px 10px #6f0424);\n transform: rotate(-35deg);\n display: flex;\n left: 0.5rem;\n bottom: 0.3rem;\n width: 0.5rem;\n height: 1.2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.848) 0%,\n rgba(255, 255, 255, 0.159) 60%\n );\n}", "file_path": "/mnt/persist/workspace/Buttons/StealthWorm_young-badger-81.html" }, "uniapp": { "template": "<button type=\"button\" class=\"btn\"></button>\n <view class=\"smoke\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud\"></view>\n </div>\n <view class=\"title\"></view>\n <text class=\"thunder\">⚡</text>\n <strong class=\"description\">Join now</strong>\n </div>\n <view class=\"glass\"></view>\n <view class=\"inner-glass\"></view>\n </div>\n</button>", "script": "export default {\n name: 'GalaxyYoungBadger81',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by StealthWorm - Tags: purple, pink, button, smooth, realistic, css, advanced, #button */\n.btn {\n z-index: 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 8rpx;\n width: 20rem;\n height: 6rem;\n border-top: 4rpx double #ffffff92;\n border-bottom: none;\n border-left: 4rpx outset #0000007e;\n border-right: 4rpx solid #e94fcab3;\n border-radius: 1.8rem;\n background-origin: border-box;\n background-clip: content-box, border-box;\n \n\n background: linear-gradient(\n 64.14deg,\n #b938ff 0%,\n #daa1f1 10%,\n #f179ec 15.58%,\n #fefffe 28.15%,\n #fc9f9d 45.31%,\n #ed8664 53.18%,\n #ff7423 58.79%,\n #ff875f 65.28%,\n #fbabae 75.48%,\n #fcbde5 85.31%,\n #e94fca 100.29%\n );\n transition: all 0.5s;\n}\n\n.btn:hover {\n transform: scale(1.1);\n \n}\n\n.btn:hover .title > strong {\n font-size: 1.2rem;\n font-weight: 800;\n transition: all 0.8s;\n}\n\n.glass {\n z-index: 10;\n display: flex;\n border: double 4rpx rgba(255, 255, 255, 0.263);\n backdrop-\n \n border-radius: 1.6rem;\n width: 100%;\n height: 100%;\n padding: 1rem;\n background-color: #ffffff1c;\n background-origin: content-box;\n background-clip: content-box, border-box;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx #a84fd88d;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.inner-glass {\n z-index: 10;\n display: flex;\n border-left: 2rpx solid rgba(255, 255, 255, 0.564);\n border-right: 2rpx solid rgb(255, 255, 255);\n backdrop-\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 40rpx rgba(246, 142, 213, 0.86);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-backdrop-\n border-radius: 0.6rem;\n width: 100%;\n height: 100%;\n background-origin: border-box;\n background-clip: content-box, border-box;\n \n}\n\n.title {\n inset: 0;\n display: flex;\n text-align: center;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 90;\n align-items: center;\n justify-content: center;\n color: black;\n font-size: 1rem;\n gap: 0.5rem;\n}\n\n.thunder {\n display: flex;\n align-items: center;\n justify-content: center;\n \n font-size: 1.2rem;\n}\n\n.description {\n font-size: 1.2rem;\n font-weight: 600;\n}\n\n.smoke {\n z-index: 90;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.cloud {\n position: absolute;\n border-radius: 19998rpx;\n}\n\n.cloud:nth-of-type(1) {\n \n display: flex;\n left: 1.6rem;\n top: 0.2rem;\n width: 10rem;\n height: 1rem;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 0.868) 30%,\n transparent 100%\n );\n}\n\n.cloud:nth-of-type(2) {\n left: 2.5rem;\n top: 2rem;\n width: 4rem;\n height: 2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 70%\n );\n /* border: 2rpx solid red; */\n \n}\n\n.cloud:nth-of-type(3) {\n left: 10rem;\n top: 0.5rem;\n width: 5rem;\n height: 5rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 50%\n );\n /* border: 2rpx solid red; */\n \n}\n\n.cloud:nth-of-type(4) {\n left: 17rem;\n top: 1rem;\n width: 3.4rem;\n height: 4rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n transparent 70%\n );\n /* border: 2rpx solid red; */\n \n}\n\n.cloud:nth-of-type(5) {\n top: 0.5rem;\n width: 100%;\n height: 0.7rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.293) 30%,\n rgba(255, 181, 21, 0.164) 50%,\n rgba(234, 44, 255, 0.419) 60%,\n rgba(255, 255, 255, 0) 90%\n );\n}\n\n.cloud:nth-of-type(6) {\n left: 17.6rem;\n top: -0.1rem;\n width: 2rem;\n height: 2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 70%\n );\n}\n\n.cloud:nth-of-type(7) {\n left: 7.6rem;\n transform: rotate(-35deg);\n top: -2rem;\n width: 2rem;\n height: 5rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.614) 0%,\n #fd87602d 60%,\n rgba(255, 255, 255, 0) 100%\n );\n}\n\n.cloud:nth-of-type(8) {\n left: 5.5rem;\n top: -1rem;\n width: 3rem;\n height: 3rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.614) 0%,\n rgba(255, 255, 255, 0) 80%\n );\n}\n\n.cloud:nth-of-type(9) {\n \n left: 0.5rem;\n bottom: 1.4rem;\n width: 100%;\n height: 0.1rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 90%\n );\n}\n\n.cloud:nth-of-type(10) {\n \n display: flex;\n left: 0.3rem;\n top: 1rem;\n width: 1rem;\n height: 3rem;\n border-top: 2rpx solid white;\n border-right: 2rpx solid white;\n border-bottom: none;\n background: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0.419) 0%,\n transparent 50%\n );\n}\n\n.cloud:nth-of-type(11) {\n border-radius: 100%;\n \n display: flex;\n left: 12rem;\n top: 3.5rem;\n width: 5rem;\n height: 1.8rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.773) 10%,\n rgba(255, 255, 255, 0.159) 60%\n );\n}\n\n.cloud:nth-of-type(12) {\n \n display: flex;\n left: 11rem;\n top: 1.1rem;\n width: 6rem;\n height: 0.3rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.973) 30%,\n rgba(255, 255, 255, 0.159) 100%\n );\n}\n\n.cloud:nth-of-type(13) {\n \n display: flex;\n left: 8rem;\n top: 3.7rem;\n width: 5.5rem;\n height: 1.7rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.762) 10%,\n rgba(255, 255, 255, 0.159) 70%\n );\n}\n\n.cloud:nth-of-type(14) {\n \n transform: rotate(-35deg);\n display: flex;\n left: 0.5rem;\n bottom: 0.3rem;\n width: 0.5rem;\n height: 1.2rem;\n background: radial-gradient(\n circle,\n rgba(255, 255, 255, 0.848) 0%,\n rgba(255, 255, 255, 0.159) 60%\n );\n}\n\n", "component_name": "GalaxyYoungBadger81" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 7093, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.900Z", "updated_at": "2025-07-31T07:55:34.900Z" }