galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 5.04 kB
JSON
{
"id": "cosnametv_fast-otter-99",
"name": "fast-otter-99",
"category": "buttons",
"author": "cosnametv",
"description": "fast-otter-99 组件 (button, infinite, subscribe, animation, interactive)",
"tags": [
"button",
"infinite",
"subscribe",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button type1\">\n</button>",
"css": "/* From Uiverse.io by cosnametv - Tags: button, infinite, subscribe */\n.button {\n height: 50px;\n width: 150px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n transition: all 0.5s ease-in-out;\n}\n\n.button:hover {\n box-shadow: .5px .5px 150px #252525;\n}\n\n.type1::after {\n content: \"THANK YOU\";\n height: 50px;\n width: 150px;\n background-color: #4617ec;\n color: #fff;\n transform: translateY(100px);\n font-size: 1.2rem;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n}\n\n.type1::before {\n content: \"SUBSCRIBE\";\n height: 50px;\n width: 150px;\n background-color: rgb(240, 9, 9);\n color: #f5f8f8;\n position: absolute;\n transform: translateY(0px) scale(1.1);\n font-size: 1.2rem;\n font-weight: 900;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n}\n\n.type1:hover::after {\n transform: translateY(-2px) scale(1.2) rotate(0deg);\n}\n\n.type1:hover::before {\n transform: translateY(-50px) rotate(290deg);\n}",
"file_path": "/mnt/persist/workspace/Buttons/cosnametv_fast-otter-99.html"
},
"uniapp": {
"template": "<button class=\"button type1\"></button>\n</button>",
"script": "export default {\n name: 'GalaxyFastOtter99',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by cosnametv - Tags: button, infinite, subscribe */\n.button {\n height: 100rpx;\n width: 300rpx;\n border: none;\n border-radius: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n transition: all 0.5s ease-in-out;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: .10rpx .10rpx 300rpx #252525;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.type1::after {\n content: \"THANK YOU\";\n height: 100rpx;\n width: 300rpx;\n background-color: #4617ec;\n color: #fff;\n transform: translateY(200rpx);\n font-size: 1.2rem;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n}\n\n.type1::before {\n content: \"SUBSCRIBE\";\n height: 100rpx;\n width: 300rpx;\n background-color: rgb(240, 9, 9);\n color: #f5f8f8;\n position: absolute;\n transform: translateY(0rpx) scale(1.1);\n font-size: 1.2rem;\n font-weight: 900;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n}\n\n.type1:hover::after {\n transform: translateY(-4rpx) scale(1.2) rotate(0deg);\n}\n\n.type1:hover::before {\n transform: translateY(-100rpx) rotate(290deg);\n}\n",
"component_name": "GalaxyFastOtter99"
},
"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 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1105,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.125Z",
"updated_at": "2025-07-31T07:55:36.125Z"
}