galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 21.9 kB
JSON
{
"id": "simontheonlyone_loud-husky-46",
"name": "loud-husky-46",
"category": "buttons",
"author": "simontheonlyone",
"description": "loud-husky-46 组件 (exotic, button, active, weather, animated, focus, night, day, animation, gradient)",
"tags": [
"exotic",
"button",
"active",
"weather",
"animated",
"focus",
"night",
"day",
"animation",
"gradient"
],
"original": {
"html": "<button>\n <span class=\"night\">Night</span>\n <span class=\"day\">Day</span>\n <svg class=\"lightning\" style=\"color: rgb(255, 228, 56);\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\n <path d=\"M5.52.359A.5.5 0 0 1 6 0h4a.5.5 0 0 1 .474.658L8.694 6H12.5a.5.5 0 0 1 .395.807l-7 9a.5.5 0 0 1-.873-.454L6.823 9.5H3.5a.5.5 0 0 1-.48-.641l2.5-8.5z\" fill=\"#ffe438\"></path> \n </svg>\n <svg class=\"mini-cloud\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\"> \n <path d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <svg class=\"stars star1\" id=\"IconChangeColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" height=\"20\" width=\"20\">\n <path d=\"M208,512,155.62,372.38,16,320l139.62-52.38L208,128l52.38,139.62L400,320,260.38,372.38Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M88,176,64.43,111.57,0,88,64.43,64.43,88,0l23.57,64.43L176,88l-64.43,23.57Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M400,256l-31.11-80.89L288,144l80.89-31.11L400,32l31.11,80.89L512,144l-80.89,31.11Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n </svg>\n <svg class=\"stars star2\" id=\"IconChangeColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" height=\"20\" width=\"20\">\n <path d=\"M208,512,155.62,372.38,16,320l139.62-52.38L208,128l52.38,139.62L400,320,260.38,372.38Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M88,176,64.43,111.57,0,88,64.43,64.43,88,0l23.57,64.43L176,88l-64.43,23.57Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M400,256l-31.11-80.89L288,144l80.89-31.11L400,32l31.11,80.89L512,144l-80.89,31.11Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n </svg>\n <span class=\"cloud left-side\"></span>\n <span class=\"cloud left-side1\"></span>\n <span class=\"cloud middle-side\"></span>\n <span class=\"cloud middle-side1\"></span>\n <span class=\"cloud right-side\"></span>\n <span class=\"cloud right-side1\"></span>\n <span class=\"sun\"></span>\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\" class=\"sunshine\">\n <path d=\"M0 0h256v256H0z\" fill=\"none\"></path>\n <path class=\"stroke-000000\" d=\"M128 32v32M195.9 60.1l-22.6 22.6M224 128h-32M195.9 195.9l-22.6-22.6M128 224v-32M60.1 195.9l22.6-22.6M32 128h32M60.1 60.1l22.6 22.6\" stroke-width=\"8\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"#fe8a1e\" fill=\"none\">\n </path>\n </svg>\n <svg viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-one\">\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <svg viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-two\">\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <svg viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-three\">\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n</button>",
"css": "/* From Uiverse.io by simontheonlyone - Tags: exotic, button, active, weather, animated, focus, night, day */\nbutton {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 11em;\n height: 4em;\n border: none;\n border-radius: 2.1em;\n background-color: rgb(23, 56, 128);\n color: whitesmoke;\n font-weight: bold;\n font-size: 17px;\n text-align: center;\n cursor: pointer;\n transition: background-color .2s linear 1.1s,\n color .2s linear 1.1s;\n}\n\nbutton:active,\nbutton:focus {\n background: rgb(254, 138, 30);\n}\n\nbutton .day {\n position: absolute;\n opacity: 0;\n transition: all .2s ease 1.1s;\n}\n\nbutton .night {\n transition: all .2s ease 1.1s;\n}\n\nbutton:active .night,\nbutton:focus .night {\n color: transparent;\n}\n\nbutton:active .day,\nbutton:focus .day {\n opacity: 1;\n}\n/* mini cloud */\n.mini-cloud {\n content: '';\n position: absolute;\n inset: -26% 62%;\n scale: 2;\n opacity: 1;\n color: rgb(150, 150, 150);\n transform: rotate(3deg);\n transition: scale .4s ease .3s,\n opacity .4s ease 1.3s;\n pointer-events: none;\n}\n/* lightning */\n.lightning {\n content: '';\n position: absolute;\n inset: -4% 62%;\n scale: 1.3;\n transform: rotate(15deg);\n transition: all .4s ease .2s,\n opacity .4s ease 1.5s;\n pointer-events: none;\n}\n/* stars */\n.stars {\n content: '';\n position: absolute;\n pointer-events: none;\n}\n\n.star1 {\n inset: 15% 10%;\n scale: 1.2;\n opacity: 1;\n transition: all .4s ease .4s,\n opacity .4s ease 1.6s;\n}\n\n.star2 {\n inset: 45% 80%;\n scale: 1;\n opacity: 1;\n transition: all .4s ease .5s,\n opacity .4s ease 1.7s;\n}\n/* cloud */\n.cloud {\n content: '';\n position: absolute;\n pointer-events: none;\n border: none;\n}\n\n.left-side {\n width: 4.4em;\n height: 4.4em;\n bottom: 0;\n left: -.8em;\n scale: 1;\n border-radius: 50%;\n z-index: -5;\n background-color: rgb(15, 39, 91);\n transition: all .6s ease .6s;\n}\n\n.left-side1 {\n width: 4.4em;\n height: 4.4em;\n bottom: 0;\n left: -.4em;\n scale: .95;\n border-radius: 50%;\n z-index: -4;\n background-color: rgb(23, 56, 128);\n transition: all .5s ease .5s;\n}\n\n.middle-side {\n width: 9em;\n height: 8.3em;\n bottom: 0;\n left: 1em;\n border-radius: 50%;\n scale: 1;\n z-index: -7;\n background-color: rgb(15, 39, 91);\n transition: scale, bottom, .4s ease .8s, opactiy .2s linear .8s;\n}\n\n.middle-side1 {\n width: 9em;\n height: 8.3em;\n bottom: -2px;\n left: 1.1em;\n scale: .95;\n z-index: -6;\n border-radius: 50%;\n background-color: rgb(23, 56, 128);\n transition: scale, bottom, .4s ease .75s, opactiy .2s linear .75s;\n}\n\n.right-side {\n width: 5.5em;\n height: 5.5em;\n bottom: -1px;\n right: -1.4em;\n border-radius: 50%;\n scale: .98;\n z-index: -5;\n background-color: rgb(15, 39, 91);\n transition: all .6s ease .7s;\n}\n\n.right-side1 {\n width: 5.5em;\n height: 5.5em;\n bottom: 0;\n right: -1.05em;\n border-radius: 50%;\n scale: .92;\n z-index: -4;\n background-color: rgb(23, 56, 128);\n transition: all .5s ease .6s;\n}\n/* night active animation */\nbutton:active .star1,\nbutton:focus .star1 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .star2,\nbutton:focus .star2 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .mini-cloud,\nbutton:focus .mini-cloud {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .lightning,\nbutton:focus .lightning {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .left-side,\nbutton:focus .left-side,\nbutton:active .left-side1,\nbutton:focus .left-side1 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .middle-side,\nbutton:focus .middle-side,\nbutton:active .middle-side1,\nbutton:focus .middle-side1 {\n scale: 0;\n opacity: 0;\n bottom: -40%;\n}\n\nbutton:active .right-side,\nbutton:focus .right-side,\nbutton:active .right-side1,\nbutton:focus .right-side1 {\n scale: 0;\n opacity: 0;\n}\n/* sun */\n.sun {\n position: absolute;\n top: -100%;\n left: -4%;\n width: 12em;\n height: 12em;\n background-color: #fe8a1e;\n /* background: linear-gradient(blue, red); */\n border: none;\n border-radius: 50%;\n scale: 0;\n opacity: 0;\n pointer-events: none;\n z-index: -10;\n pointer-events: none;\n transition: scale .3s ease 1.4s,\n opacity .7s ease;\n}\n\nbutton:active .sun,\nbutton:focus .sun {\n scale: .95;\n opacity: 1;\n}\n/* sunshine */\n.sunshine {\n content: '';\n position: absolute;\n width: 18.5em;\n height: 18.5em;\n scale: 0;\n opacity: 0;\n z-index: -9;\n pointer-events: none;\n animation: spin 15s infinite linear;\n transition: scale .3s ease 1.5s,\n opacity .1s ease;\n}\n\nbutton:active .sunshine,\nbutton:focus .sunshine {\n scale: 1;\n opacity: 1;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.cloudflare {\n position: absolute;\n opacity: 0;\n scale: 0;\n pointer-events: none;\n}\n\n.cloudflare-one {\n inset: 5% 77%;\n width: 25px;\n height: 25px;\n transition: scale .3s ease 1.6s,\n opacity .3s ease;\n}\n\n.cloudflare-two {\n inset: -43% 45%;\n width: 32px;\n height: 32px;\n transition: scale .3s ease 1.8s,\n opacity .3s ease;\n}\n\n.cloudflare-three {\n inset: -10% 17%;\n width: 23px;\n height: 23px;\n transition: scale .3s ease 1.7s,\n opacity .3s ease;\n}\n\nbutton:active .cloudflare,\nbutton:focus .cloudflare {\n scale: 1;\n opacity: 1;\n}",
"file_path": "/mnt/persist/workspace/Buttons/simontheonlyone_loud-husky-46.html"
},
"uniapp": {
"template": "<button></button>\n <text class=\"night\">Night</text>\n <text class=\"day\">Day</text>\n <view class=\"lightning\" style=\"color: rgb(255, 228, 56);\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\"></view>\n <path d=\"M5.52.359A.5.5 0 0 1 6 0h4a.5.5 0 0 1 .474.658L8.694 6H12.5a.5.5 0 0 1 .395.807l-7 9a.5.5 0 0 1-.873-.454L6.823 9.5H3.5a.5.5 0 0 1-.48-.641l2.5-8.5z\" fill=\"#ffe438\"></path> \n </svg>\n <view class=\"mini-cloud\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\"></view> \n <path d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <view class=\"stars star1\" id=\"IconChangeColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" height=\"20\" width=\"20\"></view>\n <path d=\"M208,512,155.62,372.38,16,320l139.62-52.38L208,128l52.38,139.62L400,320,260.38,372.38Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M88,176,64.43,111.57,0,88,64.43,64.43,88,0l23.57,64.43L176,88l-64.43,23.57Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M400,256l-31.11-80.89L288,144l80.89-31.11L400,32l31.11,80.89L512,144l-80.89,31.11Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n </svg>\n <view class=\"stars star2\" id=\"IconChangeColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" height=\"20\" width=\"20\"></view>\n <path d=\"M208,512,155.62,372.38,16,320l139.62-52.38L208,128l52.38,139.62L400,320,260.38,372.38Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M88,176,64.43,111.57,0,88,64.43,64.43,88,0l23.57,64.43L176,88l-64.43,23.57Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n <path d=\"M400,256l-31.11-80.89L288,144l80.89-31.11L400,32l31.11,80.89L512,144l-80.89,31.11Z\" id=\"mainIconPathAttribute\" fill=\"yellow\"></path>\n </svg>\n <text class=\"cloud left-side\"></text>\n <text class=\"cloud left-side1\"></text>\n <text class=\"cloud middle-side\"></text>\n <text class=\"cloud middle-side1\"></text>\n <text class=\"cloud right-side\"></text>\n <text class=\"cloud right-side1\"></text>\n <text class=\"sun\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\" class=\"sunshine\"></view>\n <path d=\"M0 0h256v256H0z\" fill=\"none\"></path>\n <path class=\"stroke-000000\" d=\"M128 32v32M195.9 60.1l-22.6 22.6M224 128h-32M195.9 195.9l-22.6-22.6M128 224v-32M60.1 195.9l22.6-22.6M32 128h32M60.1 60.1l22.6 22.6\" stroke-width=\"8\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"#fe8a1e\" fill=\"none\">\n </path>\n </svg>\n <view viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-one\"></view>\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <view viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-two\"></view>\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n <view viewBox=\"0 0 16 16\" fill=\"currentColor\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\" style=\"color: rgb(92, 236, 255);\" class=\"cloudflare cloudflare-three\"></view>\n <path fill=\"#5cecff\" d=\"M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyLoudHusky46',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by simontheonlyone - Tags: exotic, button, active, weather, animated, focus, night, day */\nbutton {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 11em;\n height: 4em;\n border: none;\n border-radius: 2.1em;\n background-color: rgb(23, 56, 128);\n color: whitesmoke;\n font-weight: bold;\n font-size: 34rpx;\n text-align: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: background-color .2s linear 1.1s,\n color .2s linear 1.1s;\n}\n\nbutton:active,\nbutton:focus {\n background: rgb(254, 138, 30);\n}\n\nbutton .day {\n position: absolute;\n opacity: 0;\n transition: all .2s ease 1.1s;\n}\n\nbutton .night {\n transition: all .2s ease 1.1s;\n}\n\nbutton:active .night,\nbutton:focus .night {\n color: transparent;\n}\n\nbutton:active .day,\nbutton:focus .day {\n opacity: 1;\n}\n/* mini cloud */\n.mini-cloud {\n content: '';\n position: absolute;\n inset: -26% 62%;\n scale: 2;\n opacity: 1;\n color: rgb(150, 150, 150);\n transform: rotate(3deg);\n transition: scale .4s ease .3s,\n opacity .4s ease 1.3s;\n pointer-events: none;\n}\n/* lightning */\n.lightning {\n content: '';\n position: absolute;\n inset: -4% 62%;\n scale: 1.3;\n transform: rotate(15deg);\n transition: all .4s ease .2s,\n opacity .4s ease 1.5s;\n pointer-events: none;\n}\n/* stars */\n.stars {\n content: '';\n position: absolute;\n pointer-events: none;\n}\n\n.star1 {\n inset: 15% 10%;\n scale: 1.2;\n opacity: 1;\n transition: all .4s ease .4s,\n opacity .4s ease 1.6s;\n}\n\n.star2 {\n inset: 45% 80%;\n scale: 1;\n opacity: 1;\n transition: all .4s ease .5s,\n opacity .4s ease 1.7s;\n}\n/* cloud */\n.cloud {\n content: '';\n position: absolute;\n pointer-events: none;\n border: none;\n}\n\n.left-side {\n width: 4.4em;\n height: 4.4em;\n bottom: 0;\n left: -.8em;\n scale: 1;\n border-radius: 50%;\n z-index: -5;\n background-color: rgb(15, 39, 91);\n transition: all .6s ease .6s;\n}\n\n.left-side1 {\n width: 4.4em;\n height: 4.4em;\n bottom: 0;\n left: -.4em;\n scale: .95;\n border-radius: 50%;\n z-index: -4;\n background-color: rgb(23, 56, 128);\n transition: all .5s ease .5s;\n}\n\n.middle-side {\n width: 9em;\n height: 8.3em;\n bottom: 0;\n left: 1em;\n border-radius: 50%;\n scale: 1;\n z-index: -7;\n background-color: rgb(15, 39, 91);\n transition: scale, bottom, .4s ease .8s, opactiy .2s linear .8s;\n}\n\n.middle-side1 {\n width: 9em;\n height: 8.3em;\n bottom: -4rpx;\n left: 1.1em;\n scale: .95;\n z-index: -6;\n border-radius: 50%;\n background-color: rgb(23, 56, 128);\n transition: scale, bottom, .4s ease .75s, opactiy .2s linear .75s;\n}\n\n.right-side {\n width: 5.5em;\n height: 5.5em;\n bottom: -2rpx;\n right: -1.4em;\n border-radius: 50%;\n scale: .98;\n z-index: -5;\n background-color: rgb(15, 39, 91);\n transition: all .6s ease .7s;\n}\n\n.right-side1 {\n width: 5.5em;\n height: 5.5em;\n bottom: 0;\n right: -1.05em;\n border-radius: 50%;\n scale: .92;\n z-index: -4;\n background-color: rgb(23, 56, 128);\n transition: all .5s ease .6s;\n}\n/* night active animation */\nbutton:active .star1,\nbutton:focus .star1 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .star2,\nbutton:focus .star2 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .mini-cloud,\nbutton:focus .mini-cloud {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .lightning,\nbutton:focus .lightning {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .left-side,\nbutton:focus .left-side,\nbutton:active .left-side1,\nbutton:focus .left-side1 {\n scale: 0;\n opacity: 0;\n}\n\nbutton:active .middle-side,\nbutton:focus .middle-side,\nbutton:active .middle-side1,\nbutton:focus .middle-side1 {\n scale: 0;\n opacity: 0;\n bottom: -40%;\n}\n\nbutton:active .right-side,\nbutton:focus .right-side,\nbutton:active .right-side1,\nbutton:focus .right-side1 {\n scale: 0;\n opacity: 0;\n}\n/* sun */\n.sun {\n position: absolute;\n top: -100%;\n left: -4%;\n width: 12em;\n height: 12em;\n background-color: #fe8a1e;\n /* background: linear-gradient(blue, red); */\n border: none;\n border-radius: 50%;\n scale: 0;\n opacity: 0;\n pointer-events: none;\n z-index: -10;\n pointer-events: none;\n transition: scale .3s ease 1.4s,\n opacity .7s ease;\n}\n\nbutton:active .sun,\nbutton:focus .sun {\n scale: .95;\n opacity: 1;\n}\n/* sunshine */\n.sunshine {\n content: '';\n position: absolute;\n width: 18.5em;\n height: 18.5em;\n scale: 0;\n opacity: 0;\n z-index: -9;\n pointer-events: none;\n animation: spin 15s infinite linear;\n transition: scale .3s ease 1.5s,\n opacity .1s ease;\n}\n\nbutton:active .sunshine,\nbutton:focus .sunshine {\n scale: 1;\n opacity: 1;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.cloudflare {\n position: absolute;\n opacity: 0;\n scale: 0;\n pointer-events: none;\n}\n\n.cloudflare-one {\n inset: 5% 77%;\n width: 50rpx;\n height: 50rpx;\n transition: scale .3s ease 1.6s,\n opacity .3s ease;\n}\n\n.cloudflare-two {\n inset: -43% 45%;\n width: 64rpx;\n height: 64rpx;\n transition: scale .3s ease 1.8s,\n opacity .3s ease;\n}\n\n.cloudflare-three {\n inset: -10% 17%;\n width: 46rpx;\n height: 46rpx;\n transition: scale .3s ease 1.7s,\n opacity .3s ease;\n}\n\nbutton:active .cloudflare,\nbutton:focus .cloudflare {\n scale: 1;\n opacity: 1;\n}\n",
"component_name": "GalaxyLoudHusky46"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "high",
"bundle_size": 9116,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.861Z",
"updated_at": "2025-07-31T07:55:37.861Z"
}