galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 6.12 kB
JSON
{
"id": "doniaskima_great-dolphin-45",
"name": "great-dolphin-45",
"category": "buttons",
"author": "doniaskima",
"description": "great-dolphin-45 组件 (button, animated, animation, gradient, interactive)",
"tags": [
"button",
"animated",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"btn-56\">Button</button>",
"css": "/* From Uiverse.io by doniaskima - Tags: button, animated */\n.btn-56,\n.btn-56 *,\n.btn-56 :after,\n.btn-56 :before,\n.btn-56:after,\n.btn-56:before {\n border: 0 solid;\n box-sizing: border-box;\n}\n\n.btn-56 {\n -webkit-tap-highlight-color: transparent;\n -webkit-appearance: button;\n background-color: #000;\n background-image: none;\n color: #fff;\n cursor: pointer;\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,\n Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;\n font-size: 100%;\n line-height: 1.5;\n margin: 0;\n -webkit-mask-image: -webkit-radial-gradient(#000, #fff);\n padding: 0;\n}\n\n.btn-56:disabled {\n cursor: default;\n}\n\n.btn-56:-moz-focusring {\n outline: auto;\n}\n\n.btn-56 svg {\n display: block;\n vertical-align: middle;\n}\n\n.btn-56 [hidden] {\n display: none;\n}\n\n.btn-56 {\n border: 1px solid;\n border-radius: 999px;\n box-sizing: border-box;\n display: block;\n font-weight: 900;\n -webkit-mask-image: none;\n overflow: hidden;\n padding: 1.2rem 3rem;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn-56:hover {\n -webkit-animation: pulse 0.5s;\n animation: pulse 0.5s;\n box-shadow: 0 0 0 2em transparent;\n}\n\n@-webkit-keyframes pulse {\n 0% {\n box-shadow: 0 0 0 0 #fff;\n }\n}\n\n@keyframes pulse {\n 0% {\n box-shadow: 0 0 0 0 #fff;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/doniaskima_great-dolphin-45.html"
},
"uniapp": {
"template": "<button class=\"btn-56\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyGreatDolphin45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by doniaskima - Tags: button, animated */\n.btn-56,\n.btn-56 *,\n.btn-56 :after,\n.btn-56 :before,\n.btn-56:after,\n.btn-56:before {\n border: 0 solid;\n box-sizing: border-box;\n}\n\n.btn-56 {\n -webkit-tap-highlight-color: transparent;\n -webkit-appearance: button;\n background-color: #000;\n background-image: none;\n color: #fff;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,\n Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;\n font-size: 100%;\n line-height: 1.5;\n margin: 0;\n -webkit-mask-image: -webkit-radial-gradient(#000, #fff);\n padding: 0;\n}\n\n.btn-56:disabled {\n /* #ifdef H5 */\n cursor: default;\n /* #endif */\n}\n\n.btn-56:-moz-focusring {\n outline: auto;\n}\n\n.btn-56 svg {\n display: block;\n vertical-align: middle;\n}\n\n.btn-56 [hidden] {\n display: none;\n}\n\n.btn-56 {\n border: 2rpx solid;\n border-radius: 1998rpx;\n box-sizing: border-box;\n display: block;\n font-weight: 900;\n -webkit-mask-image: none;\n overflow: hidden;\n padding: 1.2rem 3rem;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn-56:hover {\n -webkit-animation: pulse 0.5s;\n animation: pulse 0.5s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 2em transparent;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@-webkit-keyframes pulse {\n 0% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n@keyframes pulse {\n 0% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n",
"component_name": "GalaxyGreatDolphin45"
},
"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 属性",
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1431,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.340Z",
"updated_at": "2025-07-31T07:55:36.340Z"
}