galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
123 lines • 6.46 kB
JSON
{
"id": "elijahgummer_stale-fireant-57",
"name": "stale-fireant-57",
"category": "buttons",
"author": "elijahgummer",
"description": "stale-fireant-57 组件 (simple, animation, button, shadow, realistic, click effect, gold, golden effect, gradient, interactive)",
"tags": [
"simple",
"animation",
"button",
"shadow",
"realistic",
"click effect",
"gold",
"golden effect",
"gradient",
"interactive"
],
"original": {
"html": "<button role=\"button\" class=\"golden-button\">\n <span class=\"golden-text\">Golden Button</span>\n</button>",
"css": "/* From Uiverse.io by elijahgummer - Tags: simple, animation, button, shadow, realistic, click effect, gold, golden effect */\n.golden-button {\n touch-action: manipulation;\n display: inline-block;\n outline: none;\n font-family: inherit;\n font-size: 1em;\n box-sizing: border-box;\n border: none;\n border-radius: 0.3em;\n height: 2.75em;\n line-height: 2.5em;\n text-transform: uppercase;\n padding: 0 1em;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(110, 80, 20, 0.4),\n inset 0 -2px 5px 1px rgba(139, 66, 8, 1),\n inset 0 -1px 1px 3px rgba(250, 227, 133, 1);\n background-image: linear-gradient(\n 160deg,\n #a54e07,\n #b47e11,\n #fef1a2,\n #bc881b,\n #a54e07\n );\n border: 1px solid #a55d07;\n color: rgb(120, 50, 5);\n text-shadow: 0 2px 2px rgba(250, 227, 133, 1);\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n background-size: 100% 100%;\n background-position: center;\n}\n\n.golden-button:focus,\n.golden-button:hover {\n background-size: 150% 150%;\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23),\n inset 0 -2px 5px 1px #b17d10, inset 0 -1px 1px 3px rgba(250, 227, 133, 1);\n border: 1px solid rgba(165, 93, 7, 0.6);\n color: rgba(120, 50, 5, 0.8);\n}\n\n.golden-button:active {\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(110, 80, 20, 0.4),\n inset 0 -2px 5px 1px #b17d10, inset 0 -1px 1px 3px rgba(250, 227, 133, 1);\n}",
"file_path": "/mnt/persist/workspace/Buttons/elijahgummer_stale-fireant-57.html"
},
"uniapp": {
"template": "<button role=\"button\" class=\"golden-button\"></button>\n <text class=\"golden-text\">Golden Button</text>\n</button>",
"script": "export default {\n name: 'GalaxyStaleFireant57',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by elijahgummer - Tags: simple, animation, button, shadow, realistic, click effect, gold, golden effect */\n.golden-button {\n touch-action: manipulation;\n display: inline-block;\n outline: none;\n font-family: inherit;\n font-size: 1em;\n box-sizing: border-box;\n border: none;\n border-radius: 0.3em;\n height: 2.75em;\n line-height: 2.5em;\n text-transform: uppercase;\n padding: 0 1em;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.16), 0 6rpx 12rpx rgba(110, 80, 20, 0.4),\n inset 0 -4rpx 10rpx 2rpx rgba(139, 66, 8, 1),\n inset 0 -2rpx 2rpx 6rpx rgba(250, 227, 133, 1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-image: linear-gradient(\n 160deg,\n #a54e07,\n #b47e11,\n #fef1a2,\n #bc881b,\n #a54e07\n );\n border: 2rpx solid #a55d07;\n color: rgb(120, 50, 5);\n /* #ifdef H5 */\n text-shadow: 0 4rpx 4rpx rgba(250, 227, 133, 1);\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s ease-in-out;\n background-size: 100% 100%;\n background-position: center;\n}\n\n.golden-button:focus,\n.golden-button:hover {\n background-size: 150% 150%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.19), 0 12rpx 12rpx rgba(0, 0, 0, 0.23),\n inset 0 -4rpx 10rpx 2rpx #b17d10, inset 0 -2rpx 2rpx 6rpx rgba(250, 227, 133, 1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 2rpx solid rgba(165, 93, 7, 0.6);\n color: rgba(120, 50, 5, 0.8);\n}\n\n.golden-button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.16), 0 6rpx 12rpx rgba(110, 80, 20, 0.4),\n inset 0 -4rpx 10rpx 2rpx #b17d10, inset 0 -2rpx 2rpx 6rpx rgba(250, 227, 133, 1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxyStaleFireant57"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1533,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.547Z",
"updated_at": "2025-07-31T07:55:36.547Z"
}