galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 7.61 kB
JSON
{
"id": "vinodjangid07_smooth-rabbit-93",
"name": "smooth-rabbit-93",
"category": "buttons",
"author": "vinodjangid07",
"description": "smooth-rabbit-93 组件 (animation, button, hover, hover effect, read more, read, interactive)",
"tags": [
"animation",
"button",
"hover",
"hover effect",
"read more",
"read",
"interactive"
],
"original": {
"html": "<button class=\"readmore-btn\">\n <span class=\"book-wrapper\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"rgb(86, 69, 117)\" viewBox=\"0 0 126 75\" class=\"book\">\n <rect stroke-width=\"3\" stroke=\"#fff\" rx=\"7.5\" height=\"70\" width=\"121\" y=\"2.5\" x=\"2.5\"></rect>\n <line stroke-width=\"3\" stroke=\"#fff\" y2=\"75\" x2=\"63.5\" x1=\"63.5\"></line>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M25 20H50\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M101 20H76\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M16 30L50 30\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M110 30L76 30\"></path>\n </svg>\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 65 75\" class=\"book-page\">\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M40 20H15\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M49 30L15 30\"></path>\n <path stroke-width=\"3\" stroke=\"#fff\" d=\"M2.5 2.5H55C59.1421 2.5 62.5 5.85786 62.5 10V65C62.5 69.1421 59.1421 72.5 55 72.5H2.5V2.5Z\"></path>\n </svg>\n </span>\n <span class=\"text\"> Read more </span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: animation, button, hover, hover effect, read more, read */\n.readmore-btn {\n width: fit-contentd;\n height: 55px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background-color: rgb(186, 125, 255);\n border: none;\n border-radius: 10px;\n padding: 0px 15px;\n gap: 0px;\n transition: all 0.4s;\n}\n.book-wrapper {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: relative;\n width: 45px;\n height: 100%;\n}\n.book-wrapper .book-page {\n width: 50%;\n height: auto;\n position: absolute;\n}\n.readmore-btn:hover .book-page {\n animation: paging 0.4s linear infinite;\n transform-origin: left;\n}\n.readmore-btn:hover {\n background-color: rgb(159, 74, 255);\n}\n@keyframes paging {\n 0% {\n transform: rotateY(0deg) skewY(0deg);\n }\n 50% {\n transform: rotateY(90deg) skewY(-20deg);\n }\n 100% {\n transform: rotateY(180deg) skewY(0deg);\n }\n}\n.text {\n width: 105px;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n font-size: 15px;\n color: rgb(255, 255, 255);\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_smooth-rabbit-93.html"
},
"uniapp": {
"template": "<button class=\"readmore-btn\"></button>\n <text class=\"book-wrapper\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"rgb(86, 69, 117)\" viewBox=\"0 0 126 75\" class=\"book\"></view>\n <rect stroke-width=\"3\" stroke=\"#fff\" rx=\"7.5\" height=\"70\" width=\"121\" y=\"2.5\" x=\"2.5\"></rect>\n <line stroke-width=\"3\" stroke=\"#fff\" y2=\"75\" x2=\"63.5\" x1=\"63.5\"></line>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M25 20H50\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M101 20H76\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M16 30L50 30\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M110 30L76 30\"></path>\n </svg>\n\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 65 75\" class=\"book-page\"></view>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M40 20H15\"></path>\n <path stroke-linecap=\"round\" stroke-width=\"4\" stroke=\"#fff\" d=\"M49 30L15 30\"></path>\n <path stroke-width=\"3\" stroke=\"#fff\" d=\"M2.5 2.5H55C59.1421 2.5 62.5 5.85786 62.5 10V65C62.5 69.1421 59.1421 72.5 55 72.5H2.5V2.5Z\"></path>\n </svg>\n </span>\n <text class=\"text\"> Read more </text>\n</button>",
"script": "export default {\n name: 'GalaxySmoothRabbit93',\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: animation, button, hover, hover effect, read more, read */\n.readmore-btn {\n width: fit-contentd;\n height: 110rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background-color: rgb(186, 125, 255);\n border: none;\n border-radius: 20rpx;\n padding: 0rpx 30rpx;\n gap: 0rpx;\n transition: all 0.4s;\n}\n.book-wrapper {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: relative;\n width: 90rpx;\n height: 100%;\n}\n.book-wrapper .book-page {\n width: 50%;\n height: auto;\n position: absolute;\n}\n.readmore-btn:hover .book-page {\n animation: paging 0.4s linear infinite;\n transform-origin: left;\n}\n.readmore-btn:hover {\n background-color: rgb(159, 74, 255);\n}\n@keyframes paging {\n 0% {\n transform: rotateY(0deg) skewY(0deg);\n }\n 50% {\n transform: rotateY(90deg) skewY(-20deg);\n }\n 100% {\n transform: rotateY(180deg) skewY(0deg);\n }\n}\n.text {\n width: 210rpx;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n font-size: 30rpx;\n color: rgb(255, 255, 255);\n}\n\n",
"component_name": "GalaxySmoothRabbit93"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2349,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.254Z",
"updated_at": "2025-07-31T07:55:38.254Z"
}