galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 14.6 kB
JSON
{
"id": "MuhammadHasann_slimy-fish-99",
"name": "slimy-fish-99",
"category": "buttons",
"author": "MuhammadHasann",
"description": "slimy-fish-99 组件 (button, light, glow, animation, gradient, interactive)",
"tags": [
"button",
"light",
"glow",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button>\n <div class=\"svg-1\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 58.56 116.18\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M51.68 79.32c-5.6,0.48 -18.01,6.61 -22.08,10.58 -0.8,0.78 -1.48,1.77 -2.33,2.43 0.46,-1.76 1.17,-3.5 1.71,-5.18 2.05,-6.36 0.6,-3.94 6.72,-6.92 4.39,-2.13 7.93,-4.39 11.48,-7.91 2.87,-2.84 6.6,-7.49 8.43,-10.95 -3.22,0.75 -8.91,3.73 -12.2,5.14 -3.4,1.56 -7.64,4.64 -10.05,7.42l1.92 -7.77c0.18,-0.6 12.35,-10.32 15.54,-15.33 3.24,-5.07 5.83,-12.73 7.72,-18.52 -3.83,2.95 -11.19,10.7 -14.1,14.29 -2.1,2.58 -4.06,5.29 -6.05,7.95 0.13,-1.52 1.01,-4.66 1.36,-6.17 2.16,-9.19 5.06,-41.4 -1.01,-48.38 0,3.22 -1.49,12.51 -2.05,15.9 -1.29,7.79 -4.08,25.67 -3.07,33.01l0.47 8.51c0.07,2.12 -0.24,6.17 -1.45,7.91 0,-8.9 -9.67,-35.19 -16.51,-40.2 0,5.82 4.29,23.1 6.2,27.9 1.71,4.29 4.8,10.38 7.54,14 1.93,2.55 2.5,2.41 -0.02,9.43l-3.29 11.08 -3.9 -12.16c-2.78,-6.77 -11.01,-23.67 -15.86,-26.92 0,11.78 8.37,33.86 19.11,40.13 -0.29,2.07 -3.42,10.31 -4.93,11.77 -1.78,-10.97 -7.2,-20.86 -13.98,-29.49l-7.03 -8.05c0.06,2.73 1.9,7.3 2.51,10.1 0.36,0.47 3.98,11.12 9.2,19.09 2.49,3.81 6.41,7.11 8.48,10.28 -1.04,3.19 -5.75,9.78 -8.03,12.98l1.81 0.91c2.75,-2.62 8.6,-12.41 9.74,-15.89 6.1,-3.14 7.06,-2.33 14.56,-7.45 5.18,-3.54 5.49,-4.51 8.86,-8.02 1.06,-1.1 4.21,-4.24 4.55,-5.5z\" class=\"fil0\"></path></g></svg>\n </div>\n <p>Button</p>\n</button>",
"css": "/* From Uiverse.io by MuhammadHasann - Tags: button, light, glow */\nbutton {\n position: relative;\n padding: 0;\n width: 135px;\n height: 65px;\n background: transparent;\n font-size: 17px;\n border: 1px solid #ffffff1c;\n border-radius: 8px;\n box-shadow: inset 0 0 10px #ffffff1c;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 135px;\n height: 65px;\n background: radial-gradient(circle at 100% -50%, #ffffff69 45%, #d4d4d44f 60%, #ffffff36 2%);\n /* background-size: 200%; */\n background-repeat: no-repeat;\n filter: opacity(.3) blur(.3em);\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 120%;\n left: 0;\n transform: perspective(1.5em) rotateX(35deg) scale(1, .6);\n height: 100%;\n width: 100%;\n background-color: #fbfd7b;\n filter: blur(2em);\n opacity: 0;\n pointer-events: none;\n}\n\nbutton p {\n display: inline-block;\n width: 135px;\n line-height: 65px;\n font-size: 17px;\n font-weight: 900;\n color: #d6d6d6;\n filter: blur(.02em);\n z-index: 5;\n}\n\nbutton .svg-1 {\n position: absolute;\n top: 50%;\n left: 20%;\n transform: translate(0, -50%) rotate(45deg);\n width: 2.5rem;\n height: auto;\n filter: blur(.1rem) opacity(.5);\n z-index: -5;\n}\n\n.fil0 {\n fill: #935E28\n}\n\nbutton:hover {\n filter: blur(.05em);\n animation: lightBox 1s ease-in-out forwards;\n}\n\nbutton:hover::after {\n animation: light 1s ease-in-out forwards;\n}\n\nbutton:hover p {\n animation: lightText 1s ease-in-out forwards;\n}\n\n@keyframes lightBox {\n 0% {\n border: 1px solid #fbfd7b;\n box-shadow: 0 0 5px 0px #fbfd7b8a, inset 0 0 10px #fbfd7b8a;\n }\n\n 20% {\n border: 1px solid #ffffff1c;\n box-shadow: none;\n }\n\n 30% {\n border: 1px solid #fbfd7b;\n box-shadow: 0 0 10px 0px #fbfd7b8a, inset 0 0 15px #fbfd7b8a;\n }\n\n 38% {\n border: 1px solid #ffffff1c;\n box-shadow: none;\n }\n\n 45% {\n border: 1px solid #fbfd7b;\n box-shadow: 0 0 15px 0px #fbfd7b8a, inset 0 0 20px #fbfd7b8a;\n }\n\n 50% {\n border: 1px solid #ffffff1c;\n box-shadow: none;\n }\n\n 53% {\n border: 1px solid #fbfd7b;\n box-shadow: 0 0 15px 0px #fbfd7b8a, inset 0 0 25px #fbfd7b8a;\n }\n\n 65% {\n border: 1px solid #ffffff1c;\n box-shadow: none;\n }\n\n 100% {\n border: 1px solid #fbfd7b;\n box-shadow: 0 0 15px 0px #fbfd7b8a, inset 0 0 25px #fbfd7b8a;\n }\n}\n\n@keyframes light {\n 0% {\n opacity: .7;\n }\n\n 20% {\n opacity: 0;\n }\n\n 30% {\n opacity: .7;\n }\n\n 38% {\n opacity: 0;\n }\n\n 45% {\n opacity: .7;\n }\n\n 50% {\n opacity: 0;\n }\n\n 53% {\n opacity: .7;\n }\n\n 65% {\n opacity: 0;\n }\n\n 100% {\n opacity: .7;\n }\n}\n\n@keyframes lightText {\n 0% {\n color: #fbfd7b;\n text-shadow: 0 0 5px #fbfd7b8a;\n }\n\n 20% {\n color: #ffffff;\n text-shadow: none;\n }\n\n 30% {\n color: #fbfd7b;\n text-shadow: 0 0 10px #fbfd7b8a;\n }\n\n 38% {\n color: #ffffff;\n text-shadow: none;\n }\n\n 45% {\n color: #fbfd7b;\n text-shadow: 0 0 15px #fbfd7b8a;\n }\n\n 50% {\n color: #ffffff;\n text-shadow: none;\n }\n\n 53% {\n color: #fbfd7b;\n text-shadow: 0 0 15px #fbfd7b8a;\n }\n\n 65% {\n color: #ffffff;\n text-shadow: none;\n }\n\n 100% {\n color: #fbfd7b;\n text-shadow: 0 0 15px #fbfd7b8a;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/MuhammadHasann_slimy-fish-99.html"
},
"uniapp": {
"template": "<button></button>\n <view class=\"svg-1\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 58.56 116.18\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M51.68 79.32c-5.6,0.48 -18.01,6.61 -22.08,10.58 -0.8,0.78 -1.48,1.77 -2.33,2.43 0.46,-1.76 1.17,-3.5 1.71,-5.18 2.05,-6.36 0.6,-3.94 6.72,-6.92 4.39,-2.13 7.93,-4.39 11.48,-7.91 2.87,-2.84 6.6,-7.49 8.43,-10.95 -3.22,0.75 -8.91,3.73 -12.2,5.14 -3.4,1.56 -7.64,4.64 -10.05,7.42l1.92 -7.77c0.18,-0.6 12.35,-10.32 15.54,-15.33 3.24,-5.07 5.83,-12.73 7.72,-18.52 -3.83,2.95 -11.19,10.7 -14.1,14.29 -2.1,2.58 -4.06,5.29 -6.05,7.95 0.13,-1.52 1.01,-4.66 1.36,-6.17 2.16,-9.19 5.06,-41.4 -1.01,-48.38 0,3.22 -1.49,12.51 -2.05,15.9 -1.29,7.79 -4.08,25.67 -3.07,33.01l0.47 8.51c0.07,2.12 -0.24,6.17 -1.45,7.91 0,-8.9 -9.67,-35.19 -16.51,-40.2 0,5.82 4.29,23.1 6.2,27.9 1.71,4.29 4.8,10.38 7.54,14 1.93,2.55 2.5,2.41 -0.02,9.43l-3.29 11.08 -3.9 -12.16c-2.78,-6.77 -11.01,-23.67 -15.86,-26.92 0,11.78 8.37,33.86 19.11,40.13 -0.29,2.07 -3.42,10.31 -4.93,11.77 -1.78,-10.97 -7.2,-20.86 -13.98,-29.49l-7.03 -8.05c0.06,2.73 1.9,7.3 2.51,10.1 0.36,0.47 3.98,11.12 9.2,19.09 2.49,3.81 6.41,7.11 8.48,10.28 -1.04,3.19 -5.75,9.78 -8.03,12.98l1.81 0.91c2.75,-2.62 8.6,-12.41 9.74,-15.89 6.1,-3.14 7.06,-2.33 14.56,-7.45 5.18,-3.54 5.49,-4.51 8.86,-8.02 1.06,-1.1 4.21,-4.24 4.55,-5.5z\" class=\"fil0\"></path></g></view>\n </div>\n <text>Button</text>\n</button>",
"script": "export default {\n name: 'GalaxySlimyFish99',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by MuhammadHasann - Tags: button, light, glow */\nbutton {\n position: relative;\n padding: 0;\n width: 270rpx;\n height: 130rpx;\n background: transparent;\n font-size: 34rpx;\n border: 2rpx solid #ffffff1c;\n border-radius: 16rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx #ffffff1c;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 270rpx;\n height: 130rpx;\n background: radial-gradient(circle at 100% -50%, #ffffff69 45%, #d4d4d44f 60%, #ffffff36 2%);\n /* background-size: 200%; */\n background-repeat: no-repeat;\n \n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 120%;\n left: 0;\n transform: perspective(1.5em) rotateX(35deg) scale(1, .6);\n height: 100%;\n width: 100%;\n background-color: #fbfd7b;\n \n opacity: 0;\n pointer-events: none;\n}\n\nbutton p {\n display: inline-block;\n width: 270rpx;\n line-height: 130rpx;\n font-size: 34rpx;\n font-weight: 900;\n color: #d6d6d6;\n \n z-index: 5;\n}\n\nbutton .svg-1 {\n position: absolute;\n top: 50%;\n left: 20%;\n transform: translate(0, -50%) rotate(45deg);\n width: 2.5rem;\n height: auto;\n \n z-index: -5;\n}\n\n.fil0 {\n fill: #935E28\n}\n\nbutton:hover {\n \n animation: lightBox 1s ease-in-out forwards;\n}\n\nbutton:hover::after {\n animation: light 1s ease-in-out forwards;\n}\n\nbutton:hover p {\n animation: lightText 1s ease-in-out forwards;\n}\n\n@keyframes lightBox {\n 0% {\n border: 2rpx solid #fbfd7b;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx 0rpx #fbfd7b8a, inset 0 0 20rpx #fbfd7b8a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 20% {\n border: 2rpx solid #ffffff1c;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 30% {\n border: 2rpx solid #fbfd7b;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 20rpx 0rpx #fbfd7b8a, inset 0 0 30rpx #fbfd7b8a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 38% {\n border: 2rpx solid #ffffff1c;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 45% {\n border: 2rpx solid #fbfd7b;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 30rpx 0rpx #fbfd7b8a, inset 0 0 40rpx #fbfd7b8a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 50% {\n border: 2rpx solid #ffffff1c;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 53% {\n border: 2rpx solid #fbfd7b;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 30rpx 0rpx #fbfd7b8a, inset 0 0 50rpx #fbfd7b8a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 65% {\n border: 2rpx solid #ffffff1c;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 100% {\n border: 2rpx solid #fbfd7b;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 30rpx 0rpx #fbfd7b8a, inset 0 0 50rpx #fbfd7b8a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n@keyframes light {\n 0% {\n opacity: .7;\n }\n\n 20% {\n opacity: 0;\n }\n\n 30% {\n opacity: .7;\n }\n\n 38% {\n opacity: 0;\n }\n\n 45% {\n opacity: .7;\n }\n\n 50% {\n opacity: 0;\n }\n\n 53% {\n opacity: .7;\n }\n\n 65% {\n opacity: 0;\n }\n\n 100% {\n opacity: .7;\n }\n}\n\n@keyframes lightText {\n 0% {\n color: #fbfd7b;\n /* #ifdef H5 */\n text-shadow: 0 0 10rpx #fbfd7b8a;\n /* #endif */\n }\n\n 20% {\n color: #ffffff;\n /* #ifdef H5 */\n text-shadow: none;\n /* #endif */\n }\n\n 30% {\n color: #fbfd7b;\n /* #ifdef H5 */\n text-shadow: 0 0 20rpx #fbfd7b8a;\n /* #endif */\n }\n\n 38% {\n color: #ffffff;\n /* #ifdef H5 */\n text-shadow: none;\n /* #endif */\n }\n\n 45% {\n color: #fbfd7b;\n /* #ifdef H5 */\n text-shadow: 0 0 30rpx #fbfd7b8a;\n /* #endif */\n }\n\n 50% {\n color: #ffffff;\n /* #ifdef H5 */\n text-shadow: none;\n /* #endif */\n }\n\n 53% {\n color: #fbfd7b;\n /* #ifdef H5 */\n text-shadow: 0 0 30rpx #fbfd7b8a;\n /* #endif */\n }\n\n 65% {\n color: #ffffff;\n /* #ifdef H5 */\n text-shadow: none;\n /* #endif */\n }\n\n 100% {\n color: #fbfd7b;\n /* #ifdef H5 */\n text-shadow: 0 0 30rpx #fbfd7b8a;\n /* #endif */\n }\n}\n",
"component_name": "GalaxySlimyFish99"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "high",
"bundle_size": 4882,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.074Z",
"updated_at": "2025-07-31T07:55:34.074Z"
}