UNPKG

galaxy-uniapp-mcp-server

Version:

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

122 lines 7.95 kB
{ "id": "Dashrath-Sharma_thin-mole-87", "name": "thin-mole-87", "category": "buttons", "author": "Dashrath-Sharma", "description": "thin-mole-87 组件 (material design, animation, 3d, white, black, button, simple button)", "tags": [ "material design", "animation", "3d", "white", "black", "button", "simple button" ], "original": { "html": "<button class=\"button\">\n <svg xml:space=\"preserve\" viewBox=\"0 0 256 256\" height=\"256\" width=\"256\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\">\n <defs></defs>\n <g transform=\"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)\" style=\"stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;\">\n <path stroke-linecap=\"round\" transform=\"matrix(1 0 0 1 0 0)\" style=\"stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;\" d=\"M 71.79 34.614 c -0.334 -0.497 -0.926 -0.745 -1.513 -0.63 l -18.311 3.528 l 3.718 -35.877 c 0.071 -0.682 -0.332 -1.32 -0.979 -1.55 c -0.648 -0.229 -1.362 0.011 -1.738 0.585 L 18.202 53.746 c -0.328 0.5 -0.325 1.144 0.008 1.639 c 0.33 0.493 0.922 0.742 1.513 0.632 l 18.312 -3.529 l -3.718 35.876 c -0.071 0.684 0.332 1.322 0.979 1.551 C 35.455 89.971 35.622 90 35.792 90 c 0.502 0 0.965 -0.251 1.241 -0.67 l 34.765 -53.076 C 72.126 35.754 72.122 35.11 71.79 34.614 z\"></path>\n </g>\n </svg>\n Join Now\n</button>", "css": "/* From Uiverse.io by Dashrath-Sharma - Tags: material design, animation, 3d, white, black, button, simple button */\n.button {\n box-shadow: -5px -5px 15px #444, 5px 5px 15px #222, inset 5px 5px 15px #444,\n inset -5px -5px 15px #222;\n}\n\n.button {\n cursor: pointer;\n position: relative;\n font-size: 17px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1.5em 4.5em;\n border-radius: 15px;\n border: none;\n font-weight: bold;\n transition: 0.5s;\n z-index: 1;\n}\n.button:active {\n transform: scale(0.8);\n}\n.button:active::before {\n transform: translateY(-10px);\n}\n\n.button > svg {\n width: 15px;\n height: 15px;\n margin-right: 5px;\n}\n\n.button::before,\n.button::after {\n content: \"\";\n position: absolute;\n transition: 0.2s;\n border-radius: 15px;\n background: rgba(255, 255, 255, 0.1);\n box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);\n backdrop-filter: blur(2.5px);\n -webkit-backdrop-filter: blur(2.5px);\n border: 1px solid rgba(255, 255, 255, 0.58);\n z-index: -1;\n}\n\n.button::after {\n width: 90%;\n height: 68%;\n}\n\n.button::before {\n width: 99%;\n height: 90%;\n}", "file_path": "/mnt/persist/workspace/Buttons/Dashrath-Sharma_thin-mole-87.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view xml:space=\"preserve\" viewBox=\"0 0 256 256\" height=\"256\" width=\"256\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <defs></defs>\n <g transform=\"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)\" style=\"stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;\">\n <path stroke-linecap=\"round\" transform=\"matrix(1 0 0 1 0 0)\" style=\"stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;\" d=\"M 71.79 34.614 c -0.334 -0.497 -0.926 -0.745 -1.513 -0.63 l -18.311 3.528 l 3.718 -35.877 c 0.071 -0.682 -0.332 -1.32 -0.979 -1.55 c -0.648 -0.229 -1.362 0.011 -1.738 0.585 L 18.202 53.746 c -0.328 0.5 -0.325 1.144 0.008 1.639 c 0.33 0.493 0.922 0.742 1.513 0.632 l 18.312 -3.529 l -3.718 35.876 c -0.071 0.684 0.332 1.322 0.979 1.551 C 35.455 89.971 35.622 90 35.792 90 c 0.502 0 0.965 -0.251 1.241 -0.67 l 34.765 -53.076 C 72.126 35.754 72.122 35.11 71.79 34.614 z\"></path>\n </g>\n </svg>\n Join Now\n</button>", "script": "export default {\n name: 'GalaxyThinMole87',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Dashrath-Sharma - Tags: material design, animation, 3d, white, black, button, simple button */\n.button {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -10rpx -10rpx 30rpx #444, 10rpx 10rpx 30rpx #222, inset 10rpx 10rpx 30rpx #444,\n inset -10rpx -10rpx 30rpx #222;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n font-size: 34rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1.5em 4.5em;\n border-radius: 30rpx;\n border: none;\n font-weight: bold;\n transition: 0.5s;\n z-index: 1;\n}\n.button:active {\n transform: scale(0.8);\n}\n.button:active::before {\n transform: translateY(-20rpx);\n}\n\n.button > svg {\n width: 30rpx;\n height: 30rpx;\n margin-right: 10rpx;\n}\n\n.button::before,\n.button::after {\n content: \"\";\n position: absolute;\n transition: 0.2s;\n border-radius: 30rpx;\n background: rgba(255, 255, 255, 0.1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 16rpx 64rpx 0 rgba(31, 38, 135, 0.37);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n backdrop-\n -webkit-backdrop-\n border: 2rpx solid rgba(255, 255, 255, 0.58);\n z-index: -1;\n}\n\n.button::after {\n width: 90%;\n height: 68%;\n}\n\n.button::before {\n width: 99%;\n height: 90%;\n}\n\n", "component_name": "GalaxyThinMole87" }, "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": "medium", "bundle_size": 2361, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.084Z", "updated_at": "2025-07-31T07:55:33.084Z" }