galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
96 lines • 7.71 kB
JSON
{
"id": "NlghtM4re_jolly-newt-35",
"name": "jolly-newt-35",
"category": "loaders",
"author": "NlghtM4re",
"description": "jolly-newt-35 组件 (3d, green, loader, smooth, tree, animation, gradient)",
"tags": [
"3d",
"green",
"loader",
"smooth",
"tree",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"container\">\n <div class=\"tree\">\n <div class=\"branch\" style=\"--x:0\">\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n <div class=\"branch\" style=\"--x:1\">\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n <div class=\"branch\" style=\"--x:2\">\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n <div class=\"branch\" style=\"--x:3\">\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n <div class=\"stem\">\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n <span class=\"shadow\"></span>\n </div>\n</div>",
"css": "/* From Uiverse.io by NlghtM4re - Tags: 3d, green, loader, smooth, tree */\n.container {\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.tree {\n position: relative;\n width: 50px;\n height: 50px;\n transform-style: preserve-3d;\n transform: rotateX(-20deg) rotateY(30deg);\n animation: treeAnimate 5s linear infinite;\n}\n\n@keyframes treeAnimate {\n 0% {\n transform: rotateX(-20deg) rotateY(360deg);\n }\n\n 100% {\n transform: rotateX(-20deg) rotateY(0deg);\n }\n}\n\n.tree div {\n position: absolute;\n top: -50px;\n left: 0;\n width: 100%;\n height: 100%;\n transform-style: preserve-3d;\n transform: translateY(calc(25px * var(--x))) translateZ(0px);\n}\n\n.tree div.branch span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, #69c069, #77dd77);\n clip-path: polygon(50% 0%, 0% 100%, 100% 100%);\n border-bottom: 5px solid #00000019;\n transform-origin: bottom;\n transform: rotateY(calc(90deg * var(--i))) rotateX(30deg) translateZ(28.5px);\n}\n\n.tree div.stem span {\n position: absolute;\n top: 110px;\n /* updated top value */\n left: calc(50% - 7.5px);\n width: 15px;\n height: 50%;\n background: linear-gradient(90deg, #bb4622, #df7214);\n border-bottom: 5px solid #00000019;\n transform-origin: bottom;\n transform: rotateY(calc(90deg * var(--i))) translateZ(7.5px);\n}\n\n.shadow {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.4);\n filter: blur(20px);\n transform-style: preserve-3d;\n transform: rotateX(90deg) translateZ(-65px);\n}",
"file_path": "/mnt/persist/workspace/loaders/NlghtM4re_jolly-newt-35.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <view class=\"tree\"></view>\n <view class=\"branch\" style=\"--x:0\"></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n <view class=\"branch\" style=\"--x:1\"></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n <view class=\"branch\" style=\"--x:2\"></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n <view class=\"branch\" style=\"--x:3\"></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n <view class=\"stem\"></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n <text class=\"shadow\"></text>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyJollyNewt35',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by NlghtM4re - Tags: 3d, green, loader, smooth, tree */\n.container {\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.tree {\n position: relative;\n width: 100rpx;\n height: 100rpx;\n transform-style: preserve-3d;\n transform: rotateX(-20deg) rotateY(30deg);\n animation: treeAnimate 5s linear infinite;\n}\n\n@keyframes treeAnimate {\n 0% {\n transform: rotateX(-20deg) rotateY(360deg);\n }\n\n 100% {\n transform: rotateX(-20deg) rotateY(0deg);\n }\n}\n\n.tree div {\n position: absolute;\n top: -100rpx;\n left: 0;\n width: 100%;\n height: 100%;\n transform-style: preserve-3d;\n transform: translateY(calc(50rpx * var(--x))) translateZ(0rpx);\n}\n\n.tree div.branch span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, #69c069, #77dd77);\n \n border-bottom: 10rpx solid #00000019;\n transform-origin: bottom;\n transform: rotateY(calc(90deg * var(--i))) rotateX(30deg) translateZ(57rpx);\n}\n\n.tree div.stem span {\n position: absolute;\n top: 220rpx;\n /* updated top value */\n left: calc(50% - 15rpx);\n width: 30rpx;\n height: 50%;\n background: linear-gradient(90deg, #bb4622, #df7214);\n border-bottom: 10rpx solid #00000019;\n transform-origin: bottom;\n transform: rotateY(calc(90deg * var(--i))) translateZ(15rpx);\n}\n\n.shadow {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.4);\n \n transform-style: preserve-3d;\n transform: rotateX(90deg) translateZ(-130rpx);\n}\n\n",
"component_name": "GalaxyJollyNewt35"
},
"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": "是否禁用"
}
],
"events": [],
"slots": [
{
"name": "",
"description": "",
"props": []
}
],
"compatibility": {
"h5": {
"supported": true,
"issues": [],
"alternatives": []
},
"mp-weixin": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2629,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.902Z",
"updated_at": "2025-07-31T07:55:39.902Z"
}