galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 7.63 kB
JSON
{
"id": "asgardOP_light-shrimp-73",
"name": "light-shrimp-73",
"category": "buttons",
"author": "asgardOP",
"description": "light-shrimp-73 组件 (simple, animation, white, button, message, modern, btn, click animation, gradient, interactive)",
"tags": [
"simple",
"animation",
"white",
"button",
"message",
"modern",
"btn",
"click animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"w-6 h-6 text-gray-800 dark:text-white\">\n <path d=\"m12 18-7 3 7-18 7 18-7-3Zm0 0v-5\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n Send Message\n </div>\n</button>",
"css": "/* From Uiverse.io by asgardOP - Tags: simple, animation, white, button, message, modern, btn, click animation */\n.button {\n width: 170px;\n height: 55px;\n border-radius: 10px;\n border: 1px solid gray;\n border-bottom: 2px solid rgb(77, 77, 77);\n display: flex;\n box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.349);\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative;\n transition: 0.4s;\n background: linear-gradient(140deg, white, rgb(214, 214, 214));\n}\n\n.button:hover {\n box-shadow: none;\n transform: scaleY(0.6);\n border-bottom: 2px solid rgb(77, 77, 77);\n background: linear-gradient(160deg, white, rgb(214, 214, 214));\n}\n\n.button:active {\n margin-top: 20px;\n transition: 0.05s;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n left: -1px;\n bottom: 0px;\n width: 170px;\n height: 0px;\n background: rgb(194, 194, 194);\n border-top: 0px solid black;\n border-bottom: 0px solid black;\n transition: height 0.4s, bottom 0.4s, opacity 0s 0.35s;\n opacity: 0;\n box-shadow: inset 0px -10px 10px rgba(167, 167, 167, 0.719);\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n}\n\n.button:hover::before {\n height: 35px;\n bottom: -27px;\n opacity: 1;\n border-bottom: 1px solid black;\n transition: height 0.4s, bottom 0.4s;\n}\n\n.button:active::before {\n height: 18px;\n bottom: -9px;\n transition: height 0.05s, bottom 0.05s, opacity 0s 0s;\n}\n\n.button div {\n width: 150px;\n height: 40px;\n background: linear-gradient(180deg, rgba(212, 212, 212, 0.925), white);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 20px;\n font-weight: 900;\n}\n\n.button div svg {\n width: 20px;\n transform: rotate(40deg);\n margin-right: 5px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/asgardOP_light-shrimp-73.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view></view>\n <view viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"w-6 h-6 text-gray-800 dark:text-white\"></view>\n <path d=\"m12 18-7 3 7-18 7 18-7-3Zm0 0v-5\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n Send Message\n </div>\n</button>",
"script": "export default {\n name: 'GalaxyLightShrimp73',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by asgardOP - Tags: simple, animation, white, button, message, modern, btn, click animation */\n.button {\n width: 340rpx;\n height: 110rpx;\n border-radius: 20rpx;\n border: 2rpx solid gray;\n border-bottom: 4rpx solid rgb(77, 77, 77);\n display: flex;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 10rpx 20rpx rgba(0, 0, 0, 0.349);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n transition: 0.4s;\n background: linear-gradient(140deg, white, rgb(214, 214, 214));\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: scaleY(0.6);\n border-bottom: 4rpx solid rgb(77, 77, 77);\n background: linear-gradient(160deg, white, rgb(214, 214, 214));\n}\n\n.button:active {\n margin-top: 40rpx;\n transition: 0.05s;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n left: -2rpx;\n bottom: 0rpx;\n width: 340rpx;\n height: 0rpx;\n background: rgb(194, 194, 194);\n border-top: 0rpx solid black;\n border-bottom: 0rpx solid black;\n transition: height 0.4s, bottom 0.4s, opacity 0s 0.35s;\n opacity: 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx -20rpx 20rpx rgba(167, 167, 167, 0.719);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-bottom-left-radius: 10rpx;\n border-bottom-right-radius: 10rpx;\n}\n\n.button:hover::before {\n height: 70rpx;\n bottom: -54rpx;\n opacity: 1;\n border-bottom: 2rpx solid black;\n transition: height 0.4s, bottom 0.4s;\n}\n\n.button:active::before {\n height: 36rpx;\n bottom: -18rpx;\n transition: height 0.05s, bottom 0.05s, opacity 0s 0s;\n}\n\n.button div {\n width: 300rpx;\n height: 80rpx;\n background: linear-gradient(180deg, rgba(212, 212, 212, 0.925), white);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 40rpx;\n font-weight: 900;\n}\n\n.button div svg {\n width: 40rpx;\n transform: rotate(40deg);\n margin-right: 10rpx;\n}\n\n",
"component_name": "GalaxyLightShrimp73"
},
"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": 2130,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.797Z",
"updated_at": "2025-07-31T07:55:35.797Z"
}