galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
120 lines • 8.22 kB
JSON
{
"id": "alessandrodesign_empty-rabbit-96",
"name": "empty-rabbit-96",
"category": "buttons",
"author": "alessandrodesign",
"description": "empty-rabbit-96 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"container\">\n <button>\n Button\n </button>\n</div>",
"css": "/* From Uiverse.io by alessandrodesign - Tags: button */\nbutton {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: rgba(255, 255, 255, 0.2);\n border: 2px solid #26c4c3;\n border-right-color: transparent;\n -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 1), 0 0 10px rgb(194,255,255);\n box-shadow: 0 4px 20px rgba(0, 0, 0, 1), 0 0 10px rgb(194,255,255);\n -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 20%, 100% 20%, 85% 100%, 80% 100%, 95% 20%, 50% 20%, 30% 0);\n clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 20%, 100% 20%, 85% 100%, 80% 100%, 95% 20%, 50% 20%, 30% 0);\n backdrop-filter: blur(2px);\n -webkit-backdrop-filter: blur(2px);\n width: 150px;\n height: 55px;\n font-size: 1.5rem;\n color: white;\n text-shadow: 0 1px 1px black;\n position: relative;\n -webkit-transition: all .5s ease-in-out;\n transition: all .5s ease-in-out;\n}\n\nbutton:hover {\n -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 20%, 100% 20%, 100% 100%, 100% 100%, 100% 20%, 50% 20%, 30% 0);\n clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 20%, 100% 20%, 100% 100%, 100% 100%, 100% 20%, 50% 20%, 30% 0);\n backdrop-filter: blur(5px);\n -webkit-backdrop-filter: blur(5px);\n}\n\nbutton::after {\n content: '';\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 50%;\n height: 5px;\n background-color: rgb(194,255,255);\n -webkit-box-shadow: 0 0 5px rgb(194,255,255);\n box-shadow: 0 0 5px rgb(194,255,255);\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n z-index: 2;\n -webkit-animation: btn 1s infinite ease-in-out;\n animation: btn 1s infinite ease-in-out;\n}\n\nbutton::before {\n content: '';\n position: absolute;\n display: block;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 5px;\n background-color: rgb(194,255,255);\n -webkit-box-shadow: 0 0 5px rgb(194,255,255);\n box-shadow: 0 0 5px rgb(194,255,255);\n -webkit-transform: translateY(50%);\n -ms-transform: translateY(50%);\n transform: translateY(50%);\n z-index: 3;\n animation: btn_51 1s infinite ease-in-out reverse;\n}\n\n@keyframes btn_51 {\n 0%,100% {\n width: 100%;\n }\n\n 25%,75% {\n width: 0;\n }\n\n 50% {\n width: 50%;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/alessandrodesign_empty-rabbit-96.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <button></button>\n Button\n </button>\n</div>",
"script": "export default {\n name: 'GalaxyEmptyRabbit96',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by alessandrodesign - Tags: button */\nbutton {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: rgba(255, 255, 255, 0.2);\n border: 4rpx solid #26c4c3;\n border-right-color: transparent;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 1), 0 0 20rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 1), 0 0 20rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-\n \n backdrop-\n -webkit-backdrop-\n width: 300rpx;\n height: 110rpx;\n font-size: 1.5rem;\n color: white;\n /* #ifdef H5 */\n text-shadow: 0 2rpx 2rpx black;\n /* #endif */\n position: relative;\n -webkit-transition: all .5s ease-in-out;\n transition: all .5s ease-in-out;\n}\n\nbutton:hover {\n -webkit-\n \n backdrop-\n -webkit-backdrop-\n}\n\nbutton::after {\n content: '';\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 50%;\n height: 10rpx;\n background-color: rgb(194,255,255);\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n z-index: 2;\n -webkit-animation: btn 1s infinite ease-in-out;\n animation: btn 1s infinite ease-in-out;\n}\n\nbutton::before {\n content: '';\n position: absolute;\n display: block;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 10rpx;\n background-color: rgb(194,255,255);\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgb(194,255,255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-transform: translateY(50%);\n -ms-transform: translateY(50%);\n transform: translateY(50%);\n z-index: 3;\n animation: btn_51 1s infinite ease-in-out reverse;\n}\n\n@keyframes btn_51 {\n 0%,100% {\n width: 100%;\n }\n\n 25%,75% {\n width: 0;\n }\n\n 50% {\n width: 50%;\n }\n}\n",
"component_name": "GalaxyEmptyRabbit96"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 filter 属性",
"不支持 backdrop-filter 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2443,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.560Z",
"updated_at": "2025-07-31T07:55:35.560Z"
}