galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 9.92 kB
JSON
{
"id": "Ayzen-Dev_empty-dog-31",
"name": "empty-dog-31",
"category": "buttons",
"author": "Ayzen-Dev",
"description": "empty-dog-31 组件 (blue, button, active, download, animation, gradient, interactive)",
"tags": [
"blue",
"button",
"active",
"download",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<div class=\"button\">\n <a href=\"#\">Download</a>\n <b class=\"top\">click to download</b>\n <b class=\"bottom\">1.2MB .zip</b>\n</div>",
"css": "/* From Uiverse.io by Ayzen-Dev - Tags: blue, button, active, download */\n.button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%)\n}\n\n.button a {\n display: block;\n height: 50px;\n width: 200px;\n background: #00b7ea;\n color: white;\n font: 17px/50px Helvetica, Verdana, sans-serif;\n text-decoration: none;\n text-align: center;\n text-transform: uppercase;\n -webkit-border-radius: 10px;\n -moz-border-radius: 10px;\n border-radius: 10px;\n -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n background: -moz-linear-gradient(top, #00b7ea 0%, #009ec3 100%);\n background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#009ec3));\n background: -webkit-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: -o-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: -ms-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 );\n}\n\nb {\n background: #222;\n display: block;\n height: 40px;\n width: 180px;\n margin: -50px 0 0 10px;\n text-align: center;\n font: 12px/45px Helvetica, Verdana, sans-serif;\n color: #fff;\n position: absolute;\n z-index: -1;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n border-radius: 5px;\n -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n -webkit-transition: all 0.5s ease;\n -moz-transition: all 0.5s ease;\n -o-transition: all 0.5s ease;\n -ms-transition: all 0.5s ease;\n transition: all 0.5s ease;\n}\n\n.button a, b {\n -webkit-border-radius: 10px;\n -moz-border-radius: 10px;\n border-radius: 10px;\n -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n box-shadow: 2px 2px 8px rgba(0,0,0,0.2);\n}\n\n.button:hover .top {\n margin: -80px 0 0 10px;\n line-height: 35px;\n}\n\n.button:hover .bottom {\n margin: -10px 0 0 10px;\n}\n\n.button a:active {\n background: #00b7ea;\n background: -moz-linear-gradient(top, #00b7ea 36%, #009ec3 100%);\n background: -webkit-gradient(linear, left top, left bottom, color-stop(36%,#00b7ea), color-stop(100%,#009ec3));\n background: -webkit-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: -o-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: -ms-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 );\n}\n\n.button:active .bottom {\n margin: -20px 0 0 10px;\n}\n\n.button:active .top {\n margin: -70px 0 0 10px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Ayzen-Dev_empty-dog-31.html"
},
"uniapp": {
"template": "<view class=\"button\"></view>\n <navigator href=\"#\">Download</navigator>\n <b class=\"top\">click to download</b>\n <b class=\"bottom\">1.2MB .zip</b>\n</div>",
"script": "export default {\n name: 'GalaxyEmptyDog31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Ayzen-Dev - Tags: blue, button, active, download */\n.button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%)\n}\n\n.button a {\n display: block;\n height: 100rpx;\n width: 400rpx;\n background: #00b7ea;\n color: white;\n font: 34rpx/100rpx Helvetica, Verdana, sans-serif;\n text-decoration: none;\n text-align: center;\n text-transform: uppercase;\n -webkit-border-radius: 20rpx;\n -moz-border-radius: 20rpx;\n border-radius: 20rpx;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -moz-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\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: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: -moz-linear-gradient(top, #00b7ea 0%, #009ec3 100%);\n background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#009ec3));\n background: -webkit-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: -o-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: -ms-linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n background: linear-gradient(top, #00b7ea 0%,#009ec3 100%);\n \n}\n\nb {\n background: #222;\n display: block;\n height: 80rpx;\n width: 360rpx;\n margin: -100rpx 0 0 20rpx;\n text-align: center;\n font: 24rpx/90rpx Helvetica, Verdana, sans-serif;\n color: #fff;\n position: absolute;\n z-index: -1;\n -webkit-border-radius: 10rpx;\n -moz-border-radius: 10rpx;\n border-radius: 10rpx;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -moz-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\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: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-transition: all 0.5s ease;\n -moz-transition: all 0.5s ease;\n -o-transition: all 0.5s ease;\n -ms-transition: all 0.5s ease;\n transition: all 0.5s ease;\n}\n\n.button a, b {\n -webkit-border-radius: 20rpx;\n -moz-border-radius: 20rpx;\n border-radius: 20rpx;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -moz-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\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: 4rpx 4rpx 16rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:hover .top {\n margin: -160rpx 0 0 20rpx;\n line-height: 70rpx;\n}\n\n.button:hover .bottom {\n margin: -20rpx 0 0 20rpx;\n}\n\n.button a:active {\n background: #00b7ea;\n background: -moz-linear-gradient(top, #00b7ea 36%, #009ec3 100%);\n background: -webkit-gradient(linear, left top, left bottom, color-stop(36%,#00b7ea), color-stop(100%,#009ec3));\n background: -webkit-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: -o-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: -ms-linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n background: linear-gradient(top, #00b7ea 36%,#009ec3 100%);\n \n}\n\n.button:active .bottom {\n margin: -40rpx 0 0 20rpx;\n}\n\n.button:active .top {\n margin: -140rpx 0 0 20rpx;\n}\n",
"component_name": "GalaxyEmptyDog31"
},
"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 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 3009,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.731Z",
"updated_at": "2025-07-31T07:55:32.731Z"
}