UNPKG

galaxy-uniapp-mcp-server

Version:

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

93 lines 7.86 kB
{ "id": "vnuny_stale-mouse-74", "name": "stale-mouse-74", "category": "tooltips", "author": "vnuny", "description": "stale-mouse-74 组件 (simple, tooltip, animation, black, animated, interactive)", "tags": [ "simple", "tooltip", "animation", "black", "animated", "interactive" ], "original": { "html": "<div class=\"item-hints\">\n <div class=\"hint\" data-position=\"4\">\n <span class=\"hint-radius\"></span>\n <span class=\"hint-dot\">Tip</span>\n <div class=\"hint-content do--split-children\">\n <p>Use Navbar to navigate the website quickly and easily.</p>\n </div>\n </div>\n</div>", "css": "/* From Uiverse.io by vnuny - Tags: simple, tooltip, animation, black, animated */\n.item-hints {\n --purple: #720c8f;\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n padding-right: 170px;\n}\n.item-hints .hint {\n margin: 150px auto;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.item-hints .hint-dot {\n z-index: 3;\n border: 1px solid #ffe4e4;\n border-radius: 50%;\n width: 60px;\n height: 60px;\n -webkit-transform: translate(-0%, -0%) scale(0.95);\n transform: translate(-0%, -0%) scale(0.95);\n margin: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n}\n.item-hints .hint-radius {\n background-color: rgba(255, 255, 255, 0.1);\n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -125px 0 0 -125px;\n opacity: 0;\n visibility: hidden;\n -webkit-transform: scale(0);\n transform: scale(0);\n}\n.item-hints .hint[data-position=\"1\"] .hint-content {\n top: 85px;\n left: 50%;\n margin-left: 56px;\n}\n.item-hints .hint-content {\n width: 300px;\n position: absolute;\n z-index: 5;\n padding: 35px 0;\n opacity: 0;\n transition: opacity 0.7s ease, visibility 0.7s ease;\n color: #fff;\n visibility: hidden;\n pointer-events: none;\n}\n.item-hints .hint:hover .hint-content {\n position: absolute;\n z-index: 5;\n padding: 35px 0;\n opacity: 1;\n -webkit-transition: opacity 0.7s ease, visibility 0.7s ease;\n transition: opacity 0.7s ease, visibility 0.7s ease;\n color: #fff;\n visibility: visible;\n pointer-events: none;\n}\n.item-hints .hint-content::before {\n width: 0px;\n bottom: 29px;\n left: 0;\n content: \"\";\n background-color: #fff;\n height: 1px;\n position: absolute;\n transition: width 0.4s;\n}\n.item-hints .hint:hover .hint-content::before {\n width: 180px;\n transition: width 0.4s;\n}\n.item-hints .hint-content::after {\n -webkit-transform-origin: 0 50%;\n transform-origin: 0 50%;\n -webkit-transform: rotate(-225deg);\n transform: rotate(-225deg);\n bottom: 29px;\n left: 0;\n width: 80px;\n content: \"\";\n background-color: #fff;\n height: 1px;\n position: absolute;\n opacity: 1;\n -webkit-transition: opacity 0.5s ease;\n transition: opacity 0.5s ease;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n}\n.item-hints .hint:hover .hint-content::after {\n opacity: 1;\n visibility: visible;\n}\n.item-hints .hint[data-position=\"4\"] .hint-content {\n bottom: 85px;\n left: 50%;\n margin-left: 56px;\n}", "file_path": "/mnt/persist/workspace/Tooltips/vnuny_stale-mouse-74.html" }, "uniapp": { "template": "<view class=\"item-hints\"></view>\n <view class=\"hint\" data-position=\"4\"></view>\n <text class=\"hint-radius\"></text>\n <text class=\"hint-dot\">Tip</text>\n <view class=\"hint-content do--split-children\"></view>\n <text>Use Navbar to navigate the website quickly and easily.</text>\n </div>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyStaleMouse74',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vnuny - Tags: simple, tooltip, animation, black, animated */\n.item-hints {\n --purple: #720c8f;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n justify-content: flex-start;\n padding-right: 340rpx;\n}\n.item-hints .hint {\n margin: 300rpx auto;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.item-hints .hint-dot {\n z-index: 3;\n border: 2rpx solid #ffe4e4;\n border-radius: 50%;\n width: 120rpx;\n height: 120rpx;\n -webkit-transform: translate(-0%, -0%) scale(0.95);\n transform: translate(-0%, -0%) scale(0.95);\n margin: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n}\n.item-hints .hint-radius {\n background-color: rgba(255, 255, 255, 0.1);\n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -250rpx 0 0 -250rpx;\n opacity: 0;\n visibility: hidden;\n -webkit-transform: scale(0);\n transform: scale(0);\n}\n.item-hints .hint[data-position=\"1\"] .hint-content {\n top: 170rpx;\n left: 50%;\n margin-left: 112rpx;\n}\n.item-hints .hint-content {\n width: 600rpx;\n position: absolute;\n z-index: 5;\n padding: 70rpx 0;\n opacity: 0;\n transition: opacity 0.7s ease, visibility 0.7s ease;\n color: #fff;\n visibility: hidden;\n pointer-events: none;\n}\n.item-hints .hint:hover .hint-content {\n position: absolute;\n z-index: 5;\n padding: 70rpx 0;\n opacity: 1;\n -webkit-transition: opacity 0.7s ease, visibility 0.7s ease;\n transition: opacity 0.7s ease, visibility 0.7s ease;\n color: #fff;\n visibility: visible;\n pointer-events: none;\n}\n.item-hints .hint-content::before {\n width: 0rpx;\n bottom: 58rpx;\n left: 0;\n content: \"\";\n background-color: #fff;\n height: 2rpx;\n position: absolute;\n transition: width 0.4s;\n}\n.item-hints .hint:hover .hint-content::before {\n width: 360rpx;\n transition: width 0.4s;\n}\n.item-hints .hint-content::after {\n -webkit-transform-origin: 0 50%;\n transform-origin: 0 50%;\n -webkit-transform: rotate(-225deg);\n transform: rotate(-225deg);\n bottom: 58rpx;\n left: 0;\n width: 160rpx;\n content: \"\";\n background-color: #fff;\n height: 2rpx;\n position: absolute;\n opacity: 1;\n -webkit-transition: opacity 0.5s ease;\n transition: opacity 0.5s ease;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n}\n.item-hints .hint:hover .hint-content::after {\n opacity: 1;\n visibility: visible;\n}\n.item-hints .hint[data-position=\"4\"] .hint-content {\n bottom: 170rpx;\n left: 50%;\n margin-left: 112rpx;\n}\n\n", "component_name": "GalaxyStaleMouse74" }, "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": "是否禁用" } ], "events": [], "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": "high", "bundle_size": 2743, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.778Z", "updated_at": "2025-07-31T07:55:38.778Z" }