UNPKG

galaxy-uniapp-mcp-server

Version:

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

111 lines 4.6 kB
{ "id": "boryanakrasteva_terrible-dingo-70", "name": "terrible-dingo-70", "category": "buttons", "author": "boryanakrasteva", "description": "terrible-dingo-70 组件 (button, animation)", "tags": [ "button", "animation" ], "original": { "html": "<button class=\"btn\">\n <div class=\"scroll\"> </div>\n</button>", "css": "/* From Uiverse.io by boryanakrasteva - Tags: button */\n.btn {\n width: 30px;\n height: 50px;\n border-radius: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: transparent;\n border: none;\n outline: 2px solid rgb(105, 127, 255);\n box-shadow: 0px 0px 10px rgb(105, 127, 255);\n position: relative;\n}\n\n.scroll {\n width: 5px;\n height: 10px;\n border-radius: 10px;\n background-color: rgb(105, 127, 255);\n box-shadow: 0px 0px 10px rgb(105, 127, 255);\n animation: scroll_4013 2s linear infinite;\n transform: translateY(40%);\n}\n\n.btn:after {\n content: 'scroll';\n position: absolute;\n top: 140%;\n color: whitesmoke;\n text-transform: uppercase;\n letter-spacing: 1.5px;\n}\n\n@keyframes scroll_4013 {\n 0% {\n transform: translateY(40%);\n }\n\n 50% {\n transform: translateY(90%);\n }\n};", "file_path": "/mnt/persist/workspace/Buttons/boryanakrasteva_terrible-dingo-70.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n <view class=\"scroll\"> </view>\n</button>", "script": "export default {\n name: 'GalaxyTerribleDingo70',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by boryanakrasteva - Tags: button */\n.btn {\n width: 60rpx;\n height: 100rpx;\n border-radius: 60rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: transparent;\n border: none;\n outline: 4rpx solid rgb(105, 127, 255);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 20rpx rgb(105, 127, 255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n}\n\n.scroll {\n width: 10rpx;\n height: 20rpx;\n border-radius: 20rpx;\n background-color: rgb(105, 127, 255);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 20rpx rgb(105, 127, 255);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: scroll_4013 2s linear infinite;\n transform: translateY(40%);\n}\n\n.btn:after {\n content: 'scroll';\n position: absolute;\n top: 140%;\n color: whitesmoke;\n text-transform: uppercase;\n letter-spacing: 3rpx;\n}\n\n@keyframes scroll_4013 {\n 0% {\n transform: translateY(40%);\n }\n\n 50% {\n transform: translateY(90%);\n }\n};\n", "component_name": "GalaxyTerribleDingo70" }, "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": 902, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.033Z", "updated_at": "2025-07-31T07:55:36.033Z" }