UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

113 lines 4.98 kB
{ "id": "TISEPSE_empty-turkey-39", "name": "empty-turkey-39", "category": "buttons", "author": "TISEPSE", "description": "empty-turkey-39 组件 (animation, button, click, interactive)", "tags": [ "animation", "button", "click", "interactive" ], "original": { "html": "<a class=\"bck-grnd\"><span class=\"style\"></span>Hover me </a>", "css": "/* From Uiverse.io by TISEPSE - Tags: animation, button, click */\n.bck-grnd {\n position: relative;\n display: flex;\n background-color: #dac0a3;\n padding: 15px 20px;\n font-size: 25px;\n color: black;\n text-decoration: none;\n border: 3px solid transparent;\n overflow: hidden;\n font-family: \"Gill Sans\", \"Gill Sans MT\", Calibri, \"Trebuchet MS\", sans-serif;\n z-index: 2;\n border-radius: 10px;\n letter-spacing: 3px;\n box-shadow: 0 0.4rem #eadbc8;\n box-shadow: 0.4rem 0.4rem 0 #eadbc8;\n transition: 0.5s;\n}\n\n.bck-grnd .style {\n background: #f8f0e5;\n height: 150px;\n width: 100%;\n position: absolute;\n left: 0;\n bottom: 0;\n border-radius: 30px 30px 0px 0px;\n top: 120%;\n z-index: -1;\n transition: 0.5s;\n}\n\n.bck-grnd:hover .style {\n top: -70%;\n border-radius: 50px 50px 0px 0px;\n}\n\n.bck-grnd:hover {\n color: #d8ba98;\n border: 3px solid #dac0a3;\n box-shadow: none;\n}\n\n.bck-grnd:active {\n transform: scale(1.1);\n}", "file_path": "/mnt/persist/workspace/Buttons/TISEPSE_empty-turkey-39.html" }, "uniapp": { "template": "<navigator class=\"bck-grnd\"><text class=\"style\"></text>Hover me </navigator>", "script": "export default {\n name: 'GalaxyEmptyTurkey39',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by TISEPSE - Tags: animation, button, click */\n.bck-grnd {\n position: relative;\n display: flex;\n background-color: #dac0a3;\n padding: 30rpx 40rpx;\n font-size: 50rpx;\n color: black;\n text-decoration: none;\n border: 6rpx solid transparent;\n overflow: hidden;\n font-family: \"Gill Sans\", \"Gill Sans MT\", Calibri, \"Trebuchet MS\", sans-serif;\n z-index: 2;\n border-radius: 20rpx;\n letter-spacing: 6rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0.4rem #eadbc8;\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.4rem 0.4rem 0 #eadbc8;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: 0.5s;\n}\n\n.bck-grnd .style {\n background: #f8f0e5;\n height: 300rpx;\n width: 100%;\n position: absolute;\n left: 0;\n bottom: 0;\n border-radius: 60rpx 60rpx 0rpx 0rpx;\n top: 120%;\n z-index: -1;\n transition: 0.5s;\n}\n\n.bck-grnd:hover .style {\n top: -70%;\n border-radius: 100rpx 100rpx 0rpx 0rpx;\n}\n\n.bck-grnd:hover {\n color: #d8ba98;\n border: 6rpx solid #dac0a3;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.bck-grnd:active {\n transform: scale(1.1);\n}\n\n", "component_name": "GalaxyEmptyTurkey39" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1004, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.964Z", "updated_at": "2025-07-31T07:55:34.964Z" }