galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 7.24 kB
JSON
{
"id": "Cornerstone-04_helpless-cheetah-32",
"name": "helpless-cheetah-32",
"category": "buttons",
"author": "Cornerstone-04",
"description": "helpless-cheetah-32 组件 (button, animation, gradient, interactive)",
"tags": [
"button",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button><span>Hover</span></button>",
"css": "/* From Uiverse.io by Cornerstone-04 - Tags: button */\nbutton {\n cursor: pointer;\n background: transparent;\n position: relative;\n display: inline-block;\n padding: 15px 30px;\n outline: none;\n border: 2px solid #0f0;\n margin: 40px;\n width: 150px;\n height: 60px;\n text-transform: uppercase;\n font-weight: 900;\n text-decoration: none;\n letter-spacing: 2px;\n color: #fff;\n -webkit-box-reflect: below 0px linear-gradient(transparent, #0002);\n transition: 0.45s;\n transition-delay: 0s;\n}\n\nbutton:hover {\n transition-delay: 1.5s;\n color: #000;\n box-shadow: 0 0 10px #0f0,\n 0 0 20px #0f0,\n 0 0 40px #0f0, \n 0 0 80px #0f0, \n 0 0 100px #0f0;\n}\n\nbutton span {\n position: relative;\n z-index: 100;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n left: -20px;\n top: 50%;\n transform: translateY(-50%);\n width: 20px;\n height: 2px;\n background: #0f0;\n box-shadow: 5px -8px 0 #0f0, \n 5px 8px 0 #0f0;\n transition: width 0.5s, \n left 0.5s, \n height 0.5s, \n box-shadow 0.5s;\n transition-delay: 1s, 0.5s, 0s, 0s;\n}\n\nbutton:hover::before {\n width: 60%;\n height: 100%;\n /* right: -2px; */\n left: -2px;\n box-shadow: 5px 0 0 #0f0, \n 5px 0 0 #0f0;\n transition-delay: 0s, 0.5s, 1s, 1s;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n right: -20px;\n top: 50%;\n transform: translateY(-50%);\n width: 20px;\n height: 2px;\n background: #0f0;\n box-shadow: -5px -8px 0 #0f0, \n -5px 8px 0 #0f0;\n transition: width 0.5s, right 0.5s, height 0.5s, box-shadow 0.5s;\n transition-delay: 1s, 0.5s, 0s, 0s;\n}\n\nbutton:hover::after {\n width: 60%;\n height: 102%;\n right: -2px;\n box-shadow: -5px 0 0 #0f0, -5px 0 0 #0f0;\n transition-delay: 0s, 0.5s, 1s, 1s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Cornerstone-04_helpless-cheetah-32.html"
},
"uniapp": {
"template": "<button></button><text>Hover</text></button>",
"script": "export default {\n name: 'GalaxyHelplessCheetah32',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Cornerstone-04 - Tags: button */\nbutton {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background: transparent;\n position: relative;\n display: inline-block;\n padding: 30rpx 60rpx;\n outline: none;\n border: 4rpx solid #0f0;\n margin: 80rpx;\n width: 300rpx;\n height: 120rpx;\n text-transform: uppercase;\n font-weight: 900;\n text-decoration: none;\n letter-spacing: 4rpx;\n color: #fff;\n -webkit-box-reflect: below 0rpx linear-gradient(transparent, #0002);\n transition: 0.45s;\n transition-delay: 0s;\n}\n\nbutton:hover {\n transition-delay: 1.5s;\n color: #000;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 20rpx #0f0,\n 0 0 40rpx #0f0,\n 0 0 80rpx #0f0, \n 0 0 160rpx #0f0, \n 0 0 200rpx #0f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton span {\n position: relative;\n z-index: 100;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n left: -40rpx;\n top: 50%;\n transform: translateY(-50%);\n width: 40rpx;\n height: 4rpx;\n background: #0f0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx -16rpx 0 #0f0, \n 10rpx 16rpx 0 #0f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: width 0.5s, \n left 0.5s, \n height 0.5s, \n box-shadow 0.5s;\n transition-delay: 1s, 0.5s, 0s, 0s;\n}\n\nbutton:hover::before {\n width: 60%;\n height: 100%;\n /* right: -4rpx; */\n left: -4rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 0 0 #0f0, \n 10rpx 0 0 #0f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-delay: 0s, 0.5s, 1s, 1s;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n right: -40rpx;\n top: 50%;\n transform: translateY(-50%);\n width: 40rpx;\n height: 4rpx;\n background: #0f0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -10rpx -16rpx 0 #0f0, \n -10rpx 16rpx 0 #0f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: width 0.5s, right 0.5s, height 0.5s, box-shadow 0.5s;\n transition-delay: 1s, 0.5s, 0s, 0s;\n}\n\nbutton:hover::after {\n width: 60%;\n height: 102%;\n right: -4rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -10rpx 0 0 #0f0, -10rpx 0 0 #0f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-delay: 0s, 0.5s, 1s, 1s;\n}\n\n",
"component_name": "GalaxyHelplessCheetah32"
},
"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 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1858,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.965Z",
"updated_at": "2025-07-31T07:55:32.965Z"
}