galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 5.39 kB
JSON
{
"id": "AndrewHeinke_pink-lion-94",
"name": "pink-lion-94",
"category": "buttons",
"author": "AndrewHeinke",
"description": "pink-lion-94 组件 (button, interactive)",
"tags": [
"button",
"interactive"
],
"original": {
"html": "<button class=\"space-btn\">\n <svg stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M15.59 14.37a6 6 0 01-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 006.16-12.12A14.98 14.98 0 009.631 8.41m5.96 5.96a14.926 14.926 0 01-5.841 2.58m-.119-8.54a6 6 0 00-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 00-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 01-2.448-2.448 14.9 14.9 0 01.06-.312m-2.24 2.39a4.493 4.493 0 00-1.757 4.306 4.493 4.493 0 004.306-1.758M16.5 9a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path> </svg>\n to infinity\n</button>",
"css": "/* From Uiverse.io by AndrewHeinke - Tags: button */\n.space-btn {\n background: #FBFBFF;\n border: 2px solid #FF4F00;\n color: #363537;\n font-size: 1rem;\n font-weight: bold;\n line-height: 1;\n letter-spacing: 1px;\n padding: .5rem .75rem;\n font-family: monospace;\n border-radius: 4px;\n display: flex;\n align-items: center;\n box-shadow: 0 2px 1px rgba(0,0,0,0.09), \n 0 4px 2px rgba(0,0,0,0.09), \n 0 8px 4px rgba(0,0,0,0.09), \n 0 16px 8px rgba(0,0,0,0.09),\n 0 32px 16px rgba(0,0,0,0.09);\n transition: .3s ease-in;\n}\n\n.space-btn:hover {\n background: #FF4F00;\n color: white;\n}\n\n.space-btn svg {\n width: 1em;\n height: 1em;\n color: currentColor;\n margin-right: .5rem;\n}",
"file_path": "/mnt/persist/workspace/Buttons/AndrewHeinke_pink-lion-94.html"
},
"uniapp": {
"template": "<button class=\"space-btn\"></button>\n <view stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M15.59 14.37a6 6 0 01-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 006.16-12.12A14.98 14.98 0 009.631 8.41m5.96 5.96a14.926 14.926 0 01-5.841 2.58m-.119-8.54a6 6 0 00-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 00-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 01-2.448-2.448 14.9 14.9 0 01.06-.312m-2.24 2.39a4.493 4.493 0 00-1.757 4.306 4.493 4.493 0 004.306-1.758M16.5 9a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path> </view>\n to infinity\n</button>",
"script": "export default {\n name: 'GalaxyPinkLion94',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by AndrewHeinke - Tags: button */\n.space-btn {\n background: #FBFBFF;\n border: 4rpx solid #FF4F00;\n color: #363537;\n font-size: 1rem;\n font-weight: bold;\n line-height: 1;\n letter-spacing: 2rpx;\n padding: .5rem .75rem;\n font-family: monospace;\n border-radius: 8rpx;\n display: flex;\n align-items: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 2rpx rgba(0,0,0,0.09), \n 0 8rpx 4rpx rgba(0,0,0,0.09), \n 0 16rpx 8rpx rgba(0,0,0,0.09), \n 0 32rpx 16rpx rgba(0,0,0,0.09),\n 0 64rpx 32rpx rgba(0,0,0,0.09);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: .3s ease-in;\n}\n\n.space-btn:hover {\n background: #FF4F00;\n color: white;\n}\n\n.space-btn svg {\n width: 1em;\n height: 1em;\n color: currentColor;\n margin-right: .5rem;\n}\n",
"component_name": "GalaxyPinkLion94"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 1386,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.616Z",
"updated_at": "2025-07-31T07:55:32.616Z"
}