galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 5.73 kB
JSON
{
"id": "KhelVers_loud-lion-80",
"name": "loud-lion-80",
"category": "buttons",
"author": "KhelVers",
"description": "loud-lion-80 组件 (, interactive)",
"tags": [
"",
"interactive"
],
"original": {
"html": "<div class=\"btnContainer\">\n <button class=\"button\">\n Hover Me\n</button>\n</div>",
"css": "/* From Uiverse.io by KhelVers - Tags: */\n.btnContainer {\n /* Appearance */\n background: #e0e0e0;\n -webkit-box-shadow: 6px 6px 16px #bebebe,\n -6px -6px 16px #ffffff9a;\n box-shadow: 6px 6px 16px #bebebe,\n -6px -6px 16px #ffffff9a;\n/* Dimensions */\n width: 160px;\n height: 60px;\n/* Border */\n border: none;\n border-radius: 16px;\n/* Content Aligment */\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.button {\n /* Appearance */\n background: #e0e0e0;\n /* Font-Style */\n font-size: 20px;\n font-weight: 600;\n /* Dimensions */\n height: 85%;\n width: 95%;\n /* Border */\n border: none;\n border-radius: 14px;\n /* Transition */\n -webkit-transition: all 250ms ease-in-out;\n transition: all 250ms ease-in-out;\n}\n\n.button:hover {\n /* Appearance */\n background: #e0e0e0;\n -webkit-box-shadow: inset 5px 5px 4px #c0c0c0,\n inset -5px -5px 4px #dddddd;\n box-shadow: inset 5px 5px 4px #c0c0c0,\n inset -5px -5px 4px #dddddd;\n /* Font-Style */\n font-size: 20px;\n font-weight: 400;\n color: #333333;\n}",
"file_path": "/mnt/persist/workspace/Buttons/KhelVers_loud-lion-80.html"
},
"uniapp": {
"template": "<view class=\"btnContainer\"></view>\n <button class=\"button\"></button>\n Hover Me\n</button>\n</div>",
"script": "export default {\n name: 'GalaxyLoudLion80',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by KhelVers - Tags: */\n.btnContainer {\n /* Appearance */\n background: #e0e0e0;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 32rpx #bebebe,\n -12rpx -12rpx 32rpx #ffffff9a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 32rpx #bebebe,\n -12rpx -12rpx 32rpx #ffffff9a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n/* Dimensions */\n width: 320rpx;\n height: 120rpx;\n/* Border */\n border: none;\n border-radius: 32rpx;\n/* Content Aligment */\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.button {\n /* Appearance */\n background: #e0e0e0;\n /* Font-Style */\n font-size: 40rpx;\n font-weight: 600;\n /* Dimensions */\n height: 85%;\n width: 95%;\n /* Border */\n border: none;\n border-radius: 28rpx;\n /* Transition */\n -webkit-transition: all 250ms ease-in-out;\n transition: all 250ms ease-in-out;\n}\n\n.button:hover {\n /* Appearance */\n background: #e0e0e0;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 10rpx 10rpx 8rpx #c0c0c0,\n inset -10rpx -10rpx 8rpx #dddddd;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 10rpx 10rpx 8rpx #c0c0c0,\n inset -10rpx -10rpx 8rpx #dddddd;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* Font-Style */\n font-size: 40rpx;\n font-weight: 400;\n color: #333333;\n}\n\n\n",
"component_name": "GalaxyLoudLion80"
},
"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": 1322,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.736Z",
"updated_at": "2025-07-31T07:55:33.736Z"
}