galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.52 kB
JSON
{
"id": "vinodjangid07_fluffy-sheep-17",
"name": "fluffy-sheep-17",
"category": "buttons",
"author": "vinodjangid07",
"description": "fluffy-sheep-17 组件 (gradient, button, hover effect, sign up, animation, interactive)",
"tags": [
"gradient",
"button",
"hover effect",
"sign up",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"signupBtn\">\n SIGN UP\n <span class=\"arrow\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 320 512\" fill=\"rgb(183, 128, 255)\"><path d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"></path></svg>\n </span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover effect, sign up */\n.signupBtn {\n width: 120px;\n height: 40px;\n border-radius: 30px;\n border: none;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding-left: 20px;\n gap: 9px;\n color: white;\n background: linear-gradient(to right,rgb(128, 128, 255),rgb(183, 128, 255));\n position: relative;\n cursor: pointer;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.212);\n}\n\n.arrow {\n position: absolute;\n right: 7.5px;\n background-color: rgb(255, 255, 255);\n width: 25px;\n height: 25px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.signupBtn:hover .arrow {\n animation: slide-in-left 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-left {\n 0% {\n transform: translateX(-10px);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_fluffy-sheep-17.html"
},
"uniapp": {
"template": "<button class=\"signupBtn\"></button>\n SIGN UP\n <text class=\"arrow\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 320 512\" fill=\"rgb(183, 128, 255)\"><path d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"></path></view>\n </span>\n</button>",
"script": "export default {\n name: 'GalaxyFluffySheep17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, hover effect, sign up */\n.signupBtn {\n width: 240rpx;\n height: 80rpx;\n border-radius: 60rpx;\n border: none;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding-left: 40rpx;\n gap: 18rpx;\n color: white;\n background: linear-gradient(to right,rgb(128, 128, 255),rgb(183, 128, 255));\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.212);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.arrow {\n position: absolute;\n right: 15rpx;\n background-color: rgb(255, 255, 255);\n width: 50rpx;\n height: 50rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.signupBtn:hover .arrow {\n animation: slide-in-left 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-left {\n 0% {\n transform: translateX(-20rpx);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}\n",
"component_name": "GalaxyFluffySheep17"
},
"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": 1316,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.120Z",
"updated_at": "2025-07-31T07:55:38.120Z"
}