galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
94 lines • 4.54 kB
JSON
{
"id": "MiniJohan_sweet-warthog-36",
"name": "sweet-warthog-36",
"category": "loaders",
"author": "MiniJohan",
"description": "sweet-warthog-36 组件 (animation, loader, flip, gold, gradient)",
"tags": [
"animation",
"loader",
"flip",
"gold",
"gradient"
],
"original": {
"html": "<div class=\"coin\">\n <span class=\"engraving\">$</span>\n</div>",
"css": "/* From Uiverse.io by MiniJohan - Tags: animation, loader, flip, gold */\n.body {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100px;\n margin: 0;\n background-color: #f0f0f0;\n}\n\n.coin {\n position: relative;\n width: 100px;\n height: 100px;\n background-color: #d4af37; /* Coin color */\n border-radius: 50%;\n box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Coin shadow */\n background-image: radial-gradient(\n circle at 50% 120%,\n rgba(255, 255, 255, 0.5) 0%,\n rgba(255, 255, 255, 0) 80%\n ); /* Coin texture */\n animation: flip 1s infinite;\n}\n\n.engraving {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 50px;\n font-weight: bold;\n color: rgba(0, 0, 0, 0.5); /* Engraving color */\n text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5); /* Engraving shadow */\n}\n\n@keyframes flip {\n 0% {\n transform: rotateY(0deg);\n }\n 50% {\n transform: rotateY(180deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/MiniJohan_sweet-warthog-36.html"
},
"uniapp": {
"template": "<view class=\"coin\"></view>\n <text class=\"engraving\">$</text>\n</div>",
"script": "export default {\n name: 'GalaxySweetWarthog36',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by MiniJohan - Tags: animation, loader, flip, gold */\n.body {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200rpx;\n margin: 0;\n background-color: #f0f0f0;\n}\n\n.coin {\n position: relative;\n width: 200rpx;\n height: 200rpx;\n background-color: #d4af37; /* Coin color */\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 10rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */ /* Coin shadow */\n background-image: radial-gradient(\n circle at 50% 120%,\n rgba(255, 255, 255, 0.5) 0%,\n rgba(255, 255, 255, 0) 80%\n ); /* Coin texture */\n animation: flip 1s infinite;\n}\n\n.engraving {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 100rpx;\n font-weight: bold;\n color: rgba(0, 0, 0, 0.5); /* Engraving color */\n /* #ifdef H5 */\n text-shadow: 2rpx 2rpx 2rpx rgba(255, 255, 255, 0.5);\n /* #endif */ /* Engraving shadow */\n}\n\n@keyframes flip {\n 0% {\n transform: rotateY(0deg);\n }\n 50% {\n transform: rotateY(180deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}\n\n",
"component_name": "GalaxySweetWarthog36"
},
"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": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1076,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.696Z",
"updated_at": "2025-07-31T07:55:39.696Z"
}