diff --git a/docs/assets/css/main-min.css b/docs/assets/css/main-min.css
index 169d24ea..ab2b1bb9 100644
--- a/docs/assets/css/main-min.css
+++ b/docs/assets/css/main-min.css
@@ -1,3 +1 @@
-:root{--theme-color:hsl(204,90%,45%)}*{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif}a{text-decoration:none!important}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:200px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px!important;text-align:center}#mb_header .el-menu-item div{padding:0 10px!important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:999;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}#progressbar{position:fixed;left:0;top:0;right:0;background-color:white;bottom:0;z-index:99999}#progressbar .el-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.markdown-section{max-width:75%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}}.item-title{white-space:nowrap;text-align:center;margin-top:10px;margin-bottom:10px}.item a{color:black;text-decoration:none}.item a:hover{text-decoration:none}.dropdown{display:inline-block;transition:all .25s ease;color:#343a40}.dropdown div{position:absolute;overflow:hidden;height:0;background-color:#fff;transition:all .25s ease;left:-50px;text-align:center;top:40px;z-index:1001;min-width:10rem}.dropdown:hover{box-shadow:0 2px 0 0 #007bff;color:#007bff}.dropdown:hover div{padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;list-style:none;background-clip:padding-box;height:max-content;box-shadow:0 17px 18px 0 #f0f0f0}.dropdown div a:hover{color:#007bff!important}.dropdown div a:active{background-color:#ccc!important}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.83);color:#fff;opacity:0}.mask h3{text-align:center}.item a:hover .mask{opacity:1}.mask-btn1{position:relative;top:30px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.mask-btn2{position:relative;top:67px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item:hover{box-shadow:0 0 10px #6ab2ff}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue!important}.banner{width:100%;height:300px;background-color:#fffbff}.d-flex{z-index:10000;position:fixed;top:0;right:0;left:0}.btn-toggle{display:none}.pc-navigation{position:fixed;top:20%;left:4%}.pc-navigation button{font-weight:bold;height:53px}.mb-navigation{display:none}.product_page{margin-left:60px;margin-top:100px}.search{display:none;position:fixed;z-index:2000;top:22px;left:260px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}
-.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:25px}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:25px}@media screen and (max-width:768px){.dropdown{display:block}#mb_header{display:block}#pc_header{display:none}.d-flex{display:none!important;left:auto;transition:all .25s ease;top:50px;width:50%;background-color:white;right:-50%}.d-flex>h1{display:none}.d-flex.open{display:block!important;position:fixed;right:0;z-index:10000}.d-flex.open>h1{display:none}.d-flex.open nav a{display:block}.btn-toggle{display:block;position:fixed;right:0;top:0;width:100%;height:50px;z-index:1000;box-shadow:1px 0 10px 0 #888;background-color:white}.btn-toggle::before,.btn-toggle::after{content:"";position:absolute;transition:all .25s ease;width:30px;height:2px;background-color:gray}.btn-toggle::before{top:10px;right:10px;box-shadow:0 12px 0 gray}.btn-toggle::after{top:34px;right:10px}.btn-toggle.open::before{top:25px;right:10px;transform:rotate(45deg);box-shadow:none}.btn-toggle.open::after{top:25px;right:10px;transform:rotate(-45deg)}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;z-index:10001;top:15px;left:50%;transform:translateX(-50%)}.mask{display:none;width:130px;height:186px}.mask-btn1{position:relative;top:50px;left:23px}.mask-btn2{position:relative;top:75px;left:23px}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#2673ffe0;color:white;border-radius:5px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666!important;font-size:16px!important;position:relative;margin:0!important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666!important;font-size:16px!important;position:relative;margin:0!important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666!important;font-size:16px!important;position:relative;margin:0!important;padding-right:30px!important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0!important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666!important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666!important;font-size:16px!important;position:relative;margin:0!important;padding-right:30px!important}.anchor-box{position:fixed;top:22%;left:50px;display:-webkit-flex;display:flex;flex-direction:column;z-index:50;width:max-content}.anchor-box img{width:30px;height:31px;margin-left:10px;margin-top:2px}.anchor-box svg{margin-left:10px;margin-top:2px}.anchor-box>a{display:-webkit-flex;display:flex;flex-direction:row;height:40px;width:180px;padding:2px 10px;text-decoration:none;outline:0;border:0;border-radius:25px;color:#fff!important;font-size:16px;line-height:1.2;transition:all .3s ease;background-color:#333;box-shadow:4px 4px 8px 0 #aeaeae;-moz-box-shadow:4px 4px 8px 0 #aeaeae;-webkit-box-shadow:4px 4px 8px 0 #aeaeae;margin-top:12px}
-.anchor-box>a:hover{background-color:#007aff!important;box-shadow:4px 4px 8px 0 #007aff5c!important;-moz-box-shadow:4px 4px 8px 0 #007aff5c!important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c!important}.anchor-box span{width:100px;text-align:center;margin-left:6px;overflow:hidden;white-space:nowrap}.anchor-box svg{margin-left:12px;margin-top:4px}.anchor-active{background-color:#007aff!important;box-shadow:4px 4px 8px 0 #007aff5c!important;-moz-box-shadow:4px 4px 8px 0 #007aff5c!important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c!important}.anchor-quiet{background-color:#333!important;box-shadow:4px 4px 8px 0 #aeaeae!important;-moz-box-shadow:4px 4px 8px 0 #aeaeae!important;-webkit-box-shadow:4px 4px 8px 0 #aeaeae!important}@media screen and (max-width:1645px){.anchor-box{left:20px}}@media screen and (max-width:1460px){.anchor-box{left:0}}@media screen and (max-width:1300px){.anchor-box{left:-30px}}@media screen and (max-width:1180px){.anchor-box{left:-54px}}@media screen and (max-width:768px){.anchor-box{position:fixed;top:32%;left:auto;right:-120px;display:-webkit-flex;display:flex;flex-direction:column;z-index:9999;display:none}.anchor-active{float:left;transform:translateX(-100px)!important}.anchor-quiet{float:left;transform:translateX(0px)!important}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white!important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:450px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:45%;width:150px;height:150px;margin:-60px 0 0 -60px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93)}.platform-item a:hover .platform-tag{transform:scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;right:-30px;top:455px}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table!important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1!important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed!important}table tr:nth-child(odd){background:#FFF!important}@media screen and (max-width:768px){table{display:block!important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}
\ No newline at end of file
+:root{--theme-color:hsl(204,90%,45%)}*{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif}a{text-decoration:none !important}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:200px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:999;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}#progressbar{position:fixed;left:0;top:0;right:0;background-color:white;bottom:0;z-index:99999}#progressbar .el-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.markdown-section{max-width:75%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}}.item-title{white-space:nowrap;text-align:center;margin-top:10px;margin-bottom:10px}.item a{color:black;text-decoration:none}.item a:hover{text-decoration:none}.dropdown{display:inline-block;transition:all .25s ease;color:#343a40}.dropdown div{position:absolute;overflow:hidden;height:0;background-color:#fff;transition:all .25s ease;left:-50px;text-align:center;top:40px;z-index:1001;min-width:10rem}.dropdown:hover{box-shadow:0 2px 0 0 #007bff;color:#007bff}.dropdown:hover div{padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;list-style:none;background-clip:padding-box;height:max-content;box-shadow:0 17px 18px 0 #f0f0f0}.dropdown div a:hover{color:#007bff !important}.dropdown div a:active{background-color:#ccc !important}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.83);color:#fff;opacity:0}.mask h3{text-align:center}.item a:hover .mask{opacity:1}.mask-btn1{position:relative;top:30px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.mask-btn2{position:relative;top:67px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item:hover{box-shadow:0 0 10px #6ab2ff}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.d-flex{z-index:10000;position:fixed;top:0;right:0;left:0}.btn-toggle{display:none}.pc-navigation{position:fixed;top:20%;left:4%}.pc-navigation button{font-weight:bold;height:53px}.mb-navigation{display:none}.product_page{margin-left:60px;margin-top:100px}.search{display:none;position:fixed;z-index:1999;top:22px;left:260px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:25px}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:25px}@media screen and (max-width:768px){.dropdown{display:block}#mb_header{display:block}#pc_header{display:none}.d-flex{display:none !important;left:auto;transition:all .25s ease;top:50px;width:50%;background-color:white;right:-50%}.d-flex>h1{display:none}.d-flex.open{display:block !important;position:fixed;right:0;z-index:10000}.d-flex.open>h1{display:none}.d-flex.open nav a{display:block}.btn-toggle{display:block;position:fixed;right:0;top:0;width:100%;height:50px;z-index:1000;box-shadow:1px 0 10px 0 #888;background-color:white}.btn-toggle::before,.btn-toggle::after{content:"";position:absolute;transition:all .25s ease;width:30px;height:2px;background-color:gray}.btn-toggle::before{top:10px;right:10px;box-shadow:0 12px 0 gray}.btn-toggle::after{top:34px;right:10px}.btn-toggle.open::before{top:25px;right:10px;transform:rotate(45deg);box-shadow:none}.btn-toggle.open::after{top:25px;right:10px;transform:rotate(-45deg)}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;top:15px;left:50%;transform:translateX(-50%)}.mask{display:none;width:130px;height:186px}.mask-btn1{position:relative;top:50px;left:23px}.mask-btn2{position:relative;top:75px;left:23px}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#2673ffe0;color:white;border-radius:5px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.anchor-box{position:fixed;top:22%;left:50px;display:-webkit-flex;display:flex;flex-direction:column;z-index:50;width:max-content}.anchor-box img{width:30px;height:31px;margin-left:10px;margin-top:2px}.anchor-box svg{margin-left:10px;margin-top:2px}.anchor-box>a{display:-webkit-flex;display:flex;flex-direction:row;height:40px;width:180px;padding:2px 10px;text-decoration:none;outline:0;border:0;border-radius:25px;color:#fff !important;font-size:16px;line-height:1.2;transition:all .3s ease;background-color:#333;box-shadow:4px 4px 8px 0 #aeaeae;-moz-box-shadow:4px 4px 8px 0 #aeaeae;-webkit-box-shadow:4px 4px 8px 0 #aeaeae;margin-top:12px}.anchor-box>a:hover{background-color:#007aff !important;box-shadow:4px 4px 8px 0 #007aff5c !important;-moz-box-shadow:4px 4px 8px 0 #007aff5c !important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c !important}.anchor-box span{width:100px;text-align:center;margin-left:6px;overflow:hidden;white-space:nowrap}.anchor-box svg{margin-left:12px;margin-top:4px}.anchor-active{background-color:#007aff !important;box-shadow:4px 4px 8px 0 #007aff5c !important;-moz-box-shadow:4px 4px 8px 0 #007aff5c !important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c !important}.anchor-quiet{background-color:#333 !important;box-shadow:4px 4px 8px 0 #aeaeae !important;-moz-box-shadow:4px 4px 8px 0 #aeaeae !important;-webkit-box-shadow:4px 4px 8px 0 #aeaeae !important}@media screen and (max-width:1645px){.anchor-box{left:20px}}@media screen and (max-width:1460px){.anchor-box{left:0}}@media screen and (max-width:1300px){.anchor-box{left:-30px}}@media screen and (max-width:1180px){.anchor-box{left:-54px}}@media screen and (max-width:768px){.anchor-box{position:fixed;top:32%;left:auto;right:-120px;display:-webkit-flex;display:flex;flex-direction:column;z-index:9999;display:none}.anchor-active{float:left;transform:translateX(-100px) !important}.anchor-quiet{float:left;transform:translateX(0px) !important}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:450px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:45%;width:150px;height:150px;margin:-60px 0 0 -60px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93)}.platform-item a:hover .platform-tag{transform:scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;right:-30px;top:455px}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}[v-cloak]{display:none}
diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css
index 98e639ab..f4a7f8e4 100755
--- a/docs/assets/css/main.css
+++ b/docs/assets/css/main.css
@@ -442,7 +442,7 @@ div.card-img-overlay:hover {
.search {
display: none;
position: fixed;
- z-index: 2000;
+ z-index: 1999;
top: 22px;
left: 260px;
padding: 0 20px
@@ -679,7 +679,6 @@ body[data-page="zh_CN/README.md"] .markdown-section {
.search {
position: fixed;
- z-index: 10001;
top: 15px;
left: 50%;
transform: translateX(-50%);
@@ -1271,4 +1270,8 @@ table tr:nth-child(odd) {
.el-icon-loading{
font-size:88px
- }
\ No newline at end of file
+ }
+
+ [v-cloak] {
+ display: none;
+}
\ No newline at end of file
diff --git a/docs/assets/js/custom.js b/docs/assets/js/custom.js
index fe392f20..09ef3d45 100644
--- a/docs/assets/js/custom.js
+++ b/docs/assets/js/custom.js
@@ -56,7 +56,81 @@ var header = new Vue({
}
})
-
+var zoom_image = new Vue({
+ el: '#zoom_image',
+ data: {
+ url: '',
+ srcList: [],
+ show: false,
+ index:0,
+ rotate:0,
+ width:580,
+ scale:1
+ },
+ methods: {
+ stopScroll(){
+ var mo=function(e){e.preventDefault();};
+ document.body.style.overflow='hidden';
+ document.addEventListener("touchmove",mo,false);//禁止页面滑动
+ },
+ canScroll(){
+ var mo=function(e){e.preventDefault();};
+ document.body.style.overflow='';//出现滚动条
+ document.removeEventListener("touchmove",mo,false);
+ },
+ close(){
+ this.show = false;
+ this.index = 0;
+ this.rotate = 0;
+ this.width = 550;
+ this.scale = 1;
+ this.canScroll();
+ },
+ next() {
+ if(this.index>=this.srcList.length){
+ this.index = 0;
+ }else{
+ this.index++;
+ }
+ this.url = this.srcList[this.index]
+ },
+ prev() {
+ if(this.index<=0){
+ this.index = this.srcList.length-1;
+ }else{
+ this.index--;
+ }
+ this.url = this.srcList[this.index]
+ },
+ left() {
+ this.rotate = this.rotate - 90;
+ },
+ right() {
+ this.rotate = this.rotate + 90;
+ },
+ zoom_in() {
+ this.width = this.width + 50
+ },
+ zoom_out() {
+ this.width = this.width - 50
+ },
+ full() {
+ this.width = this.width = 800
+ },
+ rollImg() {
+ if(event.wheelDelta > 0){
+ this.scale = this.scale + 0.05;
+ }else{
+ this.scale = this.scale - 0.05;
+ }
+ }
+ },
+ computed: {
+ img_style : function(){
+ return `transition:all 0.2s ease 0s;transform: scale(${this.scale}) rotate(${this.rotate}deg); margin-left: 0px; margin-top: 0px; max-height: 100%; max-width: 100%; width:${this.width}px;`
+ }
+ }
+})
function anchor_create(anchor_name,anchor_id){
@@ -79,16 +153,18 @@ function anchor_create(anchor_name,anchor_id){
$(".anchor-box").append(Part_A+""+Part_B);
if (anchor_name == "EASYLOADER"){
if(("#example_video").length >0)
- $("#play-btn").on("click",function(ev){
- ev.stopPropagation();
- $(".easyloader-mask").toggleClass('video_play');
- $("#example_video")[0].play();
- })
- $("#example_video").on("click",function(ev){
- ev.preventDefault();
- $(".easyloader-mask").toggleClass('video_play');
- $("#example_video")[0].pause();
- })
+ setTimeout(function(){
+ $("#play-btn").on("click",function(ev){
+ ev.stopPropagation();
+ $(".easyloader-mask").toggleClass('video_play');
+ $("#example_video")[0].play();
+ })
+ $("#example_video").on("click",function(ev){
+ ev.preventDefault();
+ $(".easyloader-mask").toggleClass('video_play');
+ $("#example_video")[0].pause();
+ })
+ },200)
}
}else if((page_url.indexOf(/uiflow/) != -1)||(page_url.indexOf(/arduino/) != -1)||(page_url.indexOf(/quick_start/) != -1)||(page_url.indexOf(/related_documents/) != -1)){
$(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name+'');
@@ -292,10 +368,7 @@ function faq_search(onEnter_content){
}
$(document).ready(function() {
- // $(".btn-toggle").on('click', function() {
- // $(".btn-toggle").toggleClass('open');
- // $(".d-flex").toggleClass('open');
- // });
+
});
function change_title(language) {
@@ -406,8 +479,23 @@ function isSupportWebp() {
if (document.createElement('canvas').toDataURL('image/webp', 0.5).indexOf('data:image/webp') === 0){
return true;
}
- use_jpg();
+ use_jpg();
}
+
+function img_zoom() {
+ $('#main img').on('click',function(){
+ window.zoom_image.url = this.src;
+ window.zoom_image.srcList.push(this.src);
+ for(var i=0 ; i<$('#main img').length;i++){
+ if(window.zoom_image.srcList.indexOf($('#main img')[i].src) == -1){
+ window.zoom_image.srcList.push($('#main img')[i].src);
+ }
+ }
+ window.zoom_image.show = true;
+ window.zoom_image.stopScroll();
+ })
+}
+
function page_move(divId) {
var t = $("#" + divId).offset().top;
$('html, body').animate({
@@ -461,19 +549,4 @@ function creat_pdf() {
$(".easyloader-box").removeAttr("style");
}
-$(document).on("keypress", "form", function(event) { return event.keyCode != 13;});
-
-
-function zoom_image() {
- $('img').on('click',function(){
- var picSrc = $(this).attr('src')
- console.log(picSrc)
- // $('.pic02 img').attr('src',picSrc)
- // $('.pic02').show()
- })
-}
-
-
-// $('img').on('click',function(){
-// $('.pic02').hide()
-// })
+$(document).on("keypress", "form", function(event) { return event.keyCode != 13;});
\ No newline at end of file
diff --git a/docs/assets/js/custom.min.js b/docs/assets/js/custom.min.js
index f7ef0d02..ed53b422 100644
--- a/docs/assets/js/custom.min.js
+++ b/docs/assets/js/custom.min.js
@@ -1,11 +1,14 @@
const description_icon='';const purchase_icon='';const example_icon='';const video_icon='';const quickstart_icon='';const schematic_icon='';const icon_list={"EASYLOADER":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/EASYLOADER_ICON.png","CORE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/CORE_ICON.png","MODULE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/MODULE_ICON.png","BASE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png","UNIT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png","HAT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png","ATOM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png","APPLICATION":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png","ACCESSORY":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png","ALUMINIUM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"};var header=new Vue({el:'#header',data:{homepage:'',faq_link:'',case_link:'',i2c_table:'',comparison_table:'',homepage_title:'',faq_title:'',case_title:'',product_list_title:'',language_list_title:'',platform_list_title:'',isCollapse:true,anchor:[],platform:{},activeIndex:'1',activeIndex2:'1'},methods:{loading(){const loading=this.$loading({lock:true,text:'Loading',spinner:'el-icon-loading',background:'rgba(0, 0, 0, 0.7)'});this.loading_target=loading},done(){this.loading_target.close();}},mounted(){this.loading()}})
+var zoom_image=new Vue({el:'#zoom_image',data:{url:'',srcList:[],show:false,index:0,rotate:0,width:580,scale:1},methods:{stopScroll(){var mo=function(e){e.preventDefault();};document.body.style.overflow='hidden';document.addEventListener("touchmove",mo,false);},canScroll(){var mo=function(e){e.preventDefault();};document.body.style.overflow='';document.removeEventListener("touchmove",mo,false);},close(){this.show=false;this.index=0;this.rotate=0;this.width=550;this.scale=1;this.canScroll();},next(){if(this.index>=this.srcList.length){this.index=0;}else{this.index++;}
+this.url=this.srcList[this.index]},prev(){if(this.index<=0){this.index=this.srcList.length-1;}else{this.index--;}
+this.url=this.srcList[this.index]},left(){this.rotate=this.rotate-90;},right(){this.rotate=this.rotate+90;},zoom_in(){this.width=this.width+50},zoom_out(){this.width=this.width-50},full(){this.width=this.width=800},rollImg(){if(event.wheelDelta>0){this.scale=this.scale+0.05;}else{this.scale=this.scale-0.05;}}},computed:{img_style:function(){return`transition:all 0.2s ease 0s;transform: scale(${this.scale}) rotate(${this.rotate}deg); margin-left: 0px; margin-top: 0px; max-height: 100%; max-width: 100%; width:${this.width}px;`}}})
function anchor_create(anchor_name,anchor_id){var page_url=window.location.href;var Part_A=``;var Part_B=`${anchor_name}`;if((anchor_name=="DESCRIPTION")||(anchor_name=="描述")){$(".anchor-box").append(Part_A+description_icon+Part_B);}
else if((anchor_name=="EXAMPLE")||(anchor_name=="案例程序")){$(".anchor-box").append(Part_A+example_icon+Part_B);}
else if((anchor_name=="SCHEMATIC")||(anchor_name=="原理图")){$(".anchor-box").append(Part_A+schematic_icon+Part_B);}
else if((anchor_name=="VIDEO")||(anchor_name=="相关视频")){$(".anchor-box").append(Part_A+video_icon+Part_B);}
else if(icon_list.hasOwnProperty(anchor_name)){$(".anchor-box").append(Part_A+"
"+Part_B);if(anchor_name=="EASYLOADER"){if(("#example_video").length>0)
-$("#play-btn").on("click",function(ev){ev.stopPropagation();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].play();})
-$("#example_video").on("click",function(ev){ev.preventDefault();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].pause();})}}else if((page_url.indexOf(/uiflow/)!=-1)||(page_url.indexOf(/arduino/)!=-1)||(page_url.indexOf(/quick_start/)!=-1)||(page_url.indexOf(/related_documents/)!=-1)){$(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name+'');}}
+setTimeout(function(){$("#play-btn").on("click",function(ev){ev.stopPropagation();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].play();})
+$("#example_video").on("click",function(ev){ev.preventDefault();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].pause();})},200)}}else if((page_url.indexOf(/uiflow/)!=-1)||(page_url.indexOf(/arduino/)!=-1)||(page_url.indexOf(/quick_start/)!=-1)||(page_url.indexOf(/related_documents/)!=-1)){$(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name+'');}}
function anchor_search(purchase_link="none",quickstart_link="none"){var page_url=window.location.href;if((page_url.slice(-4)=="/en/")||(page_url.slice(-7)=="/zh_CN/")||(page_url.slice(-3)=="/#/")){$("#search_note").eq(0).after("


M5Stack Docs
M5Stack Docs
- M5Stack Docs
+ M5Stack Docs