galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 15.9 kB
JSON
{
"id": "MuhammadHasann_silent-lizard-44",
"name": "silent-lizard-44",
"category": "buttons",
"author": "MuhammadHasann",
"description": "silent-lizard-44 组件 (button, hover, star, interactive)",
"tags": [
"button",
"hover",
"star",
"interactive"
],
"original": {
"html": "<button>Button\n <div class=\"star-1\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n <div class=\"star-2\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n <div class=\"star-3\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n <div class=\"star-4\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n <div class=\"star-5\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n <div class=\"star-6\">\n <svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></svg>\n </div>\n</button>",
"css": "/* From Uiverse.io by MuhammadHasann - Tags: button, hover, star */\nbutton {\n position: relative;\n padding: 12px 35px;\n background: #FEC195;\n font-size: 17px;\n font-weight: 500;\n color: #181818;\n border: 3px solid #FEC195;\n border-radius: 8px;\n box-shadow: 0 0 0 #fec1958c;\n transition: all .3s ease-in-out;\n}\n\n.star-1 {\n position: absolute;\n top: 20%;\n left: 20%;\n width: 25px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);\n}\n\n.star-2 {\n position: absolute;\n top: 45%;\n left: 45%;\n width: 15px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-3 {\n position: absolute;\n top: 40%;\n left: 40%;\n width: 5px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-4 {\n position: absolute;\n top: 20%;\n left: 40%;\n width: 8px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all .8s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-5 {\n position: absolute;\n top: 25%;\n left: 45%;\n width: 15px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all .6s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-6 {\n position: absolute;\n top: 5%;\n left: 50%;\n width: 5px;\n height: auto;\n filter: drop-shadow(0 0 0 #fffdef);\n z-index: -5;\n transition: all .8s ease;\n}\n\nbutton:hover {\n background: transparent;\n color: #FEC195;\n box-shadow: 0 0 25px #fec1958c;\n}\n\nbutton:hover .star-1 {\n position: absolute;\n top: -80%;\n left: -30%;\n width: 25px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\nbutton:hover .star-2 {\n position: absolute;\n top: -25%;\n left: 10%;\n width: 15px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\nbutton:hover .star-3 {\n position: absolute;\n top: 55%;\n left: 25%;\n width: 5px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\nbutton:hover .star-4 {\n position: absolute;\n top: 30%;\n left: 80%;\n width: 8px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\nbutton:hover .star-5 {\n position: absolute;\n top: 25%;\n left: 115%;\n width: 15px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\nbutton:hover .star-6 {\n position: absolute;\n top: 5%;\n left: 60%;\n width: 5px;\n height: auto;\n filter: drop-shadow(0 0 10px #fffdef);\n z-index: 2;\n}\n\n.fil0 {\n fill: #FFFDEF\n}",
"file_path": "/mnt/persist/workspace/Buttons/MuhammadHasann_silent-lizard-44.html"
},
"uniapp": {
"template": "<button></button>Button\n <view class=\"star-1\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n <view class=\"star-2\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n <view class=\"star-3\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n <view class=\"star-4\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n <view class=\"star-5\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n <view class=\"star-6\"></view>\n <view xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 784.11 815.53\" style=\"shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd\" version=\"1.1\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"><defs></defs><g id=\"Layer_x0020_1\"><metadata id=\"CorelCorpID_0Corel-Layer\"></metadata><path d=\"M392.05 0c-20.9,210.08 -184.06,378.41 -392.05,407.78 207.96,29.37 371.12,197.68 392.05,407.74 20.93,-210.06 184.09,-378.37 392.05,-407.74 -207.98,-29.38 -371.16,-197.69 -392.06,-407.78z\" class=\"fil0\"></path></g></view>\n </div>\n</button>",
"script": "export default {\n name: 'GalaxySilentLizard44',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by MuhammadHasann - Tags: button, hover, star */\nbutton {\n position: relative;\n padding: 24rpx 70rpx;\n background: #FEC195;\n font-size: 34rpx;\n font-weight: 500;\n color: #181818;\n border: 6rpx solid #FEC195;\n border-radius: 16rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 #fec1958c;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all .3s ease-in-out;\n}\n\n.star-1 {\n position: absolute;\n top: 20%;\n left: 20%;\n width: 50rpx;\n height: auto;\n \n z-index: -5;\n transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);\n}\n\n.star-2 {\n position: absolute;\n top: 45%;\n left: 45%;\n width: 30rpx;\n height: auto;\n \n z-index: -5;\n transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-3 {\n position: absolute;\n top: 40%;\n left: 40%;\n width: 10rpx;\n height: auto;\n \n z-index: -5;\n transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-4 {\n position: absolute;\n top: 20%;\n left: 40%;\n width: 16rpx;\n height: auto;\n \n z-index: -5;\n transition: all .8s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-5 {\n position: absolute;\n top: 25%;\n left: 45%;\n width: 30rpx;\n height: auto;\n \n z-index: -5;\n transition: all .6s cubic-bezier(0, 0.4, 0, 1.01);\n}\n\n.star-6 {\n position: absolute;\n top: 5%;\n left: 50%;\n width: 10rpx;\n height: auto;\n \n z-index: -5;\n transition: all .8s ease;\n}\n\nbutton:hover {\n background: transparent;\n color: #FEC195;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 50rpx #fec1958c;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:hover .star-1 {\n position: absolute;\n top: -80%;\n left: -30%;\n width: 50rpx;\n height: auto;\n \n z-index: 2;\n}\n\nbutton:hover .star-2 {\n position: absolute;\n top: -25%;\n left: 10%;\n width: 30rpx;\n height: auto;\n \n z-index: 2;\n}\n\nbutton:hover .star-3 {\n position: absolute;\n top: 55%;\n left: 25%;\n width: 10rpx;\n height: auto;\n \n z-index: 2;\n}\n\nbutton:hover .star-4 {\n position: absolute;\n top: 30%;\n left: 80%;\n width: 16rpx;\n height: auto;\n \n z-index: 2;\n}\n\nbutton:hover .star-5 {\n position: absolute;\n top: 25%;\n left: 115%;\n width: 30rpx;\n height: auto;\n \n z-index: 2;\n}\n\nbutton:hover .star-6 {\n position: absolute;\n top: 5%;\n left: 60%;\n width: 10rpx;\n height: auto;\n \n z-index: 2;\n}\n\n.fil0 {\n fill: #FFFDEF\n}\n",
"component_name": "GalaxySilentLizard44"
},
"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": "high",
"bundle_size": 6446,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.069Z",
"updated_at": "2025-07-31T07:55:34.069Z"
}