galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 5.63 kB
JSON
{
"id": "doniaskima_fluffy-bulldog-70",
"name": "fluffy-bulldog-70",
"category": "buttons",
"author": "doniaskima",
"description": "fluffy-bulldog-70 组件 (button, offset, animation, gradient, interactive)",
"tags": [
"button",
"offset",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"btn-57\">Button</button>",
"css": "/* From Uiverse.io by doniaskima - Tags: button, offset */\n.btn-57,\n.btn-57 *,\n.btn-57 :after,\n.btn-57 :before,\n.btn-57:after,\n.btn-57:before {\n border: 0 solid;\n box-sizing: border-box;\n}\n\n.btn-57 {\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-57:disabled {\n cursor: default;\n}\n\n.btn-57:-moz-focusring {\n outline: auto;\n}\n\n.btn-57 svg {\n display: block;\n vertical-align: middle;\n}\n\n.btn-57 [hidden] {\n display: none;\n}\n\n.btn-57 {\n background: none;\n border: 3px solid;\n border-radius: 999px;\n box-sizing: border-box;\n color: #000;\n display: block;\n font-weight: 900;\n -webkit-mask-image: none;\n padding: 20px 60px;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn-57:before {\n background: #fff;\n border-radius: 999px;\n content: \"\";\n inset: 0;\n position: absolute;\n transform: translate(10px, 10px);\n transition: transform 0.2s;\n z-index: -1;\n}\n\n.btn-57:hover:before {\n transform: translate(0);\n}",
"file_path": "/mnt/persist/workspace/Buttons/doniaskima_fluffy-bulldog-70.html"
},
"uniapp": {
"template": "<button class=\"btn-57\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyFluffyBulldog70',\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, offset */\n.btn-57,\n.btn-57 *,\n.btn-57 :after,\n.btn-57 :before,\n.btn-57:after,\n.btn-57:before {\n border: 0 solid;\n box-sizing: border-box;\n}\n\n.btn-57 {\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-57:disabled {\n /* #ifdef H5 */\n cursor: default;\n /* #endif */\n}\n\n.btn-57:-moz-focusring {\n outline: auto;\n}\n\n.btn-57 svg {\n display: block;\n vertical-align: middle;\n}\n\n.btn-57 [hidden] {\n display: none;\n}\n\n.btn-57 {\n background: none;\n border: 6rpx solid;\n border-radius: 1998rpx;\n box-sizing: border-box;\n color: #000;\n display: block;\n font-weight: 900;\n -webkit-mask-image: none;\n padding: 40rpx 120rpx;\n position: relative;\n text-transform: uppercase;\n}\n\n.btn-57:before {\n background: #fff;\n border-radius: 1998rpx;\n content: \"\";\n inset: 0;\n position: absolute;\n transform: translate(20rpx, 20rpx);\n transition: transform 0.2s;\n z-index: -1;\n}\n\n.btn-57:hover:before {\n transform: translate(0);\n}\n\n",
"component_name": "GalaxyFluffyBulldog70"
},
"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": [
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 mask 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1441,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.336Z",
"updated_at": "2025-07-31T07:55:36.336Z"
}