galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
122 lines • 6.79 kB
JSON
{
"id": "CYBWEBALI_unlucky-insect-96",
"name": "unlucky-insect-96",
"category": "buttons",
"author": "CYBWEBALI",
"description": "unlucky-insect-96 组件 (neumorphism, icon, button, github, btn, cool btn, buttons, rounded button, #ColorfulButton, animation, interactive)",
"tags": [
"neumorphism",
"icon",
"button",
"github",
"btn",
"cool btn",
"buttons",
"rounded button",
"#ColorfulButton",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"btn\">\n <svg width=\"40\" height=\"40\" fill=\"#0092E4\" xmlns=\"http://www.w3.org/2000/svg\" data-name=\"Layer 1\" viewBox=\"0 0 24 24\" id=\"github\">\n <path d=\"M12,2.2467A10.00042,10.00042,0,0,0,8.83752,21.73419c.5.08752.6875-.21247.6875-.475,0-.23749-.01251-1.025-.01251-1.86249C7,19.85919,6.35,18.78423,6.15,18.22173A3.636,3.636,0,0,0,5.125,16.8092c-.35-.1875-.85-.65-.01251-.66248A2.00117,2.00117,0,0,1,6.65,17.17169a2.13742,2.13742,0,0,0,2.91248.825A2.10376,2.10376,0,0,1,10.2,16.65923c-2.225-.25-4.55-1.11254-4.55-4.9375a3.89187,3.89187,0,0,1,1.025-2.6875,3.59373,3.59373,0,0,1,.1-2.65s.83747-.26251,2.75,1.025a9.42747,9.42747,0,0,1,5,0c1.91248-1.3,2.75-1.025,2.75-1.025a3.59323,3.59323,0,0,1,.1,2.65,3.869,3.869,0,0,1,1.025,2.6875c0,3.83747-2.33752,4.6875-4.5625,4.9375a2.36814,2.36814,0,0,1,.675,1.85c0,1.33752-.01251,2.41248-.01251,2.75,0,.26251.1875.575.6875.475A10.0053,10.0053,0,0,0,12,2.2467Z\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by CYBWEBALI - Tags: neumorphism, icon, button, github, btn, cool btn, buttons, rounded button, #ColorfulButton */\n.btn {\n display: grid;\n place-items: center;\n background: #e3edf7;\n padding: 1.4em;\n border-radius: 10px;\n box-shadow: 6px 6px 10px -1px rgba(0,0,0,0.15),\n\t -6px -6px 10px -1px rgba(255,255,255,0.7);\n border: 1px solid rgba(0,0,0,0);\n cursor: pointer;\n transition: transform 0.5s;\n}\n\n.btn:hover {\n box-shadow: inset 4px 4px 6px -1px rgba(0,0,0,0.2),\n\t inset -4px -4px 6px -1px rgba(255,255,255,0.7),\n\t -0.5px -0.5px 0px rgba(255,255,255,1),\n\t 0.5px 0.5px 0px rgba(0,0,0,0.15),\n\t 0px 12px 10px -10px rgba(0,0,0,0.05);\n border: 1px solid rgba(0,0,0,0.1);\n transform: translateY(0.5em);\n}\n\n.btn svg {\n transition: transform 0.5s;\n}\n\n.btn:hover svg {\n transform: scale(0.9);\n fill: #333333;\n}",
"file_path": "/mnt/persist/workspace/Buttons/CYBWEBALI_unlucky-insect-96.html"
},
"uniapp": {
"template": "<button class=\"btn\"></button>\n <view width=\"40\" height=\"40\" fill=\"#0092E4\" xmlns=\"http://www.w3.org/2000/svg\" data-name=\"Layer 1\" viewBox=\"0 0 24 24\" id=\"github\"></view>\n <path d=\"M12,2.2467A10.00042,10.00042,0,0,0,8.83752,21.73419c.5.08752.6875-.21247.6875-.475,0-.23749-.01251-1.025-.01251-1.86249C7,19.85919,6.35,18.78423,6.15,18.22173A3.636,3.636,0,0,0,5.125,16.8092c-.35-.1875-.85-.65-.01251-.66248A2.00117,2.00117,0,0,1,6.65,17.17169a2.13742,2.13742,0,0,0,2.91248.825A2.10376,2.10376,0,0,1,10.2,16.65923c-2.225-.25-4.55-1.11254-4.55-4.9375a3.89187,3.89187,0,0,1,1.025-2.6875,3.59373,3.59373,0,0,1,.1-2.65s.83747-.26251,2.75,1.025a9.42747,9.42747,0,0,1,5,0c1.91248-1.3,2.75-1.025,2.75-1.025a3.59323,3.59323,0,0,1,.1,2.65,3.869,3.869,0,0,1,1.025,2.6875c0,3.83747-2.33752,4.6875-4.5625,4.9375a2.36814,2.36814,0,0,1,.675,1.85c0,1.33752-.01251,2.41248-.01251,2.75,0,.26251.1875.575.6875.475A10.0053,10.0053,0,0,0,12,2.2467Z\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyUnluckyInsect96',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by CYBWEBALI - Tags: neumorphism, icon, button, github, btn, cool btn, buttons, rounded button, #ColorfulButton */\n.btn {\n display: grid;\n place-items: center;\n background: #e3edf7;\n padding: 1.4em;\n border-radius: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 20rpx -2rpx rgba(0,0,0,0.15),\n\t -12rpx -12rpx 20rpx -2rpx rgba(255,255,255,0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 2rpx solid rgba(0,0,0,0);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: transform 0.5s;\n}\n\n.btn:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 8rpx 8rpx 12rpx -2rpx rgba(0,0,0,0.2),\n\t inset -8rpx -8rpx 12rpx -2rpx rgba(255,255,255,0.7),\n\t -1rpx -1rpx 0rpx rgba(255,255,255,1),\n\t 1rpx 1rpx 0rpx rgba(0,0,0,0.15),\n\t 0rpx 24rpx 20rpx -20rpx rgba(0,0,0,0.05);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 2rpx solid rgba(0,0,0,0.1);\n transform: translateY(0.5em);\n}\n\n.btn svg {\n transition: transform 0.5s;\n}\n\n.btn:hover svg {\n transform: scale(0.9);\n fill: #333333;\n}\n\n\n",
"component_name": "GalaxyUnluckyInsect96"
},
"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": 1807,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.852Z",
"updated_at": "2025-07-31T07:55:32.852Z"
}