')}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:hsla(0,0%,100%,.5);border-color:hsla(0,0%,100%,.1)}.navbar-dark .navbar-toggler-icon{background-image:url('data:image/svg+xml;charset=utf-8,')}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{flex:1 0;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;column-count:3;-webkit-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.breadcrumb{display:flex;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.App{display:flex;flex-direction:column}.App>.pageContent{flex:1 1;overflow:auto;padding-top:10px}.navbar-nav{flex-direction:row}.navbar-nav>*{padding-left:10px}.container{width:100%;max-width:1170px;padding-left:15px;padding-right:15px}@media only screen and (min-width:768px){.container{display:flex;flex-wrap:wrap;padding-left:30px;padding-right:30px}.container.dir-column{flex-direction:column}}.eu-cookie-notification-dialog{position:fixed;left:20px;bottom:-300px;padding:15px;width:310px;z-index:10000;font-size:12px;border-radius:4px;box-sizing:border-box;color:#555;background-color:#f4f6f8}.eu-cookie-notification-dialog .notification-title{font-size:14px;font-weight:700}.eu-cookie-notification-dialog .notification-content{padding:12px 0;line-height:1.4;display:inline-block}.eu-cookie-notification-dialog .link-text{margin:0 5px;color:#555;text-decoration:underline}.eu-cookie-notification-dialog .link-text:hover{color:#555}.eu-cookie-notification-dialog .notification-footer{display:flex;align-items:center}.eu-cookie-notification-dialog .common-button{cursor:pointer;color:#fff;font-size:12px;font-weight:700;padding:6px 10px;margin-right:10px;border-radius:4px;text-align:center;letter-spacing:normal;background-color:#4b5056}.eu-cookie-notification-dialog .setting-btn{color:#4b5056;background-color:#fff;border:1px solid #4b5056}.eu-cookie-notification-dialog .cancel-link{cursor:pointer}.eu-cookie-setting-dialog{width:100%;position:fixed;top:50%;left:50%;display:none;padding:20px;z-index:10000;max-width:500px;border-radius:5px;box-sizing:border-box;color:#555;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#f4f6f8;-webkit-animation:slide_in_animation .3s ease-in-out;animation:slide_in_animation .3s ease-in-out}.eu-cookie-setting-dialog .setting-title{font-size:14px;font-weight:700}.eu-cookie-setting-dialog .setting-item{display:flex;margin-top:20px;align-items:flex-start}.eu-cookie-setting-dialog .item-content{font-size:12px;margin:0 8px}.eu-cookie-setting-dialog .cookie-checkbox{cursor:pointer}.eu-cookie-setting-dialog .cookie-checkbox.necessary{cursor:not-allowed}.eu-cookie-setting-dialog .item-label{line-height:1;font-weight:700}.eu-cookie-setting-dialog .item-text{margin-top:5px;line-height:1.5}.eu-cookie-setting-dialog .setting-footer{margin-top:20px;text-align:right}.eu-cookie-setting-dialog .save-btn{cursor:pointer;color:#fff;font-size:12px;font-weight:700;padding:8px 10px;border-radius:4px;display:inline-block;letter-spacing:normal;background:#4b5056}.eu-cookie-setting-mask{position:fixed;display:none;top:0;left:0;width:100%;height:100%;z-index:10000;cursor:pointer;background:rgba(0,0,0,.4);-webkit-animation:slide_in_animation .2s ease-in-out;animation:slide_in_animation .2s ease-in-out}@-webkit-keyframes slide_in_animation{0%{opacity:0}to{opacity:1}}@keyframes slide_in_animation{0%{opacity:0}to{opacity:1}}.rtl-layout .eu-cookie-notification-dialog{right:20px;left:auto;text-align:right}.rtl-layout .eu-cookie-notification-dialog .common-button{margin-right:0;margin-left:10px}.rtl-layout .eu-cookie-setting-dialog-wrapper{text-align:right}.rtl-layout .eu-cookie-setting-dialog-wrapper .setting-footer{text-align:left}@media only screen and (max-width:520px){.eu-cookie-notification-dialog{width:100%;left:0}.rtl-layout .eu-cookie-notification-dialog{left:auto;right:0}}.irkojW{padding-bottom:60px;padding-top:30px;border-top:2px solid #dddfe8;margin-top:30px;font-size:13px;line-height:1.75;color:#a6a8bf}.irkojW.dark{background:#202438;border-top:none;margin-top:0;padding-top:60px}.irkojW.dark .monster{opacity:.5}.irkojW .footer-row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:top;-webkit-box-align:top;-ms-flex-align:top;align-items:top;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.irkojW .footer-col{display:inline-block;vertical-align:top;min-width:140px;margin-bottom:20px}@media only screen and (min-width:768px){.irkojW .footer-col.right{text-align:right}}.irkojW .footer-col img{display:inline}.irkojW .footer-col a{color:inherit;cursor:pointer}.irkojW h5{margin:0;font-size:inherit}.irkojW hr{margin-top:0}.irkojW .footer-show-qr{position:relative}.irkojW .footer-show-qr img{display:none;background:#fff;position:absolute;bottom:100%;margin-bottom:2px;left:0;padding:20px;border:1px solid #a6a8bf}.irkojW .footer-show-qr mip-img{max-width:100px}.irkojW .footer-show-qr mip-img img{display:block;bottom:auto}.irkojW .footer-show-qr:hover{color:#404458}.irkojW .footer-show-qr:hover img{display:block}.iDJCiE{height:66px}.lWSEr{background:0 0;padding:0;margin-bottom:50px}.lWSEr.narrow-nav{margin-bottom:0}.lWSEr.narrow-nav .navbar{border-bottom:none;padding:15px 0}.lWSEr.sticky-nav{position:fixed;z-index:100;background:#fff;width:100%;top:0;box-shadow:0 1px 8px rgba(0,0,0,.2)}.lWSEr .navbar{padding:30px 0 20px;border-bottom:2px solid #606478;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:no-wrap;-ms-flex-wrap:no-wrap;flex-wrap:no-wrap;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.lWSEr .navbar-nav{margin-right:0;margin-left:auto;text-align:right}.lWSEr amp-sidebar .navbar-nav .nav-item{display:block;padding-left:40px;padding-right:40px;text-align:left;line-height:40px}.lWSEr amp-sidebar .navbar-nav .nav-item:last-child{padding-right:40px}.lWSEr .navbar-brand,.lWSEr .navbar-light .navbar-brand{color:#7040aa;font-family:"segoe ui","PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,sans-serif;text-transform:uppercase;font-weight:700;font-size:16px}.lWSEr .navbar-brand:hover,.lWSEr .navbar-light .navbar-brand:hover{color:#7040aa}.lWSEr .navbar-label{vertical-align:middle}.lWSEr .navbar-nav{color:#404458;vertical-align:middle;display:block}.lWSEr .navbar-nav .nav-link{padding:5px;margin:-5px}.lWSEr .navbar-nav .nav-item{display:inline-block;vertical-align:middle;font-weight:700;font-size:14px;padding-left:25px}@media (max-width:1180px){.lWSEr .navbar-nav .nav-item{padding-left:21px}}@media (max-width:1080px){.lWSEr .navbar-nav .nav-item{padding-left:18px}}@media (max-width:980px){.lWSEr .navbar-nav .nav-item{padding-left:15px}}.lWSEr .navbar-nav .nav-item a:not(.btn){color:inherit}.lWSEr .navbar-nav .nav-item a:not(.btn):hover{color:#9060cc}.lWSEr img.navbar-logo{max-height:25px;margin:0 4px;display:inline}.lWSEr img.navbar-logo.sxl{max-height:30px}.lWSEr .mobile-show{display:none}@media only screen and (max-width:767px){.lWSEr{margin-bottom:30px}.lWSEr .mobile-hidden{display:none}.lWSEr .mobile-show{display:block}}.fARdgy{height:100%;padding-left:25px;margin-top:-20px}.fARdgy .sticky-inner{padding-top:20px;padding-bottom:40px}.fARdgy .sticky-inner .sidebar-post{margin-top:-5px;margin-bottom:20px}.fARdgy .sticky-inner .sidebar-post a{color:#86889a}.fARdgy .sticky-inner .sidebar-post .sidebar-post-title{margin-top:5px;font-size:14px;line-height:1.5}.fARdgy .sticky-inner .sidebar-post .post-image{margin-top:5px;width:33.33%;float:left;margin-right:10px}.fARdgy .sticky-inner .tag{color:#9060cc;font-size:13px;line-height:1.8;display:inline-block;margin-right:10px}.fARdgy .sticky-inner .tag:hover{-webkit-text-decoration:underline;text-decoration:underline;color:#9060cc}.fARdgy .sticky-inner .tag .tag-count{font-size:.75rem;margin-left:3px;opacity:.5}@media only screen and (max-width:767px){.fARdgy{padding-left:0}.fARdgy .sidebar-post{clear:both}.fARdgy .sidebar-post img{margin-bottom:20px}}body,html{min-height:100%;background:#fff}.dwTHlo{color:#404458;font-family:"segoe ui","PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,sans-serif}.dwTHlo .clearfix::after{content:"";clear:both;display:table}.dwTHlo::selection{background:rgba(183,154,218,.99);color:#fff;text-shadow:none;opacity:1}.dwTHlo::-moz-selection{background:rgba(183,154,218,.99);color:#fff;text-shadow:none;opacity:1}.dwTHlo p{line-height:1.75;margin-bottom:1.25rem}.dwTHlo img{max-width:100%;display:block;border-radius:2px}.dwTHlo a{color:#1bb0e6}.dwTHlo a:hover{color:#1fccff}.dwTHlo hr{border:none;border-top:1px solid #c6c8d8;height:0;outline:0;box-shadow:none;margin:20px 0}.dwTHlo .btn,.dwTHlo .btn.btn-primary{color:#fff;background:#93b719;border:none;font-weight:700}.dwTHlo .btn.btn-primary:active,.dwTHlo .btn.btn-primary:focus,.dwTHlo .btn.btn-primary:focus:active,.dwTHlo .btn.btn-primary:hover,.dwTHlo .btn.btn-primary:hover:active,.dwTHlo .btn:active,.dwTHlo .btn:focus,.dwTHlo .btn:focus:active,.dwTHlo .btn:hover,.dwTHlo .btn:hover:active{background:#a5cd1c;outline:0;box-shadow:none;color:#fff}.dwTHlo .display-3{line-height:1.1;font-size:3.2em}@media (max-width:1023px){.dwTHlo .display-3{font-size:2.8em}}@media (max-width:727px){.dwTHlo .display-3{font-size:2.4em}}.dwTHlo .page-link{color:#1bb0e6}.dwTHlo .page-link:hover{color:#1fccff;background:#fff}.dwTHlo .page-link:focus{box-shadow:none}.dwTHlo h1,.dwTHlo h2{font-weight:300;line-height:1.1}.dwTHlo h1.smallcaps,.dwTHlo h2.smallcaps,.dwTHlo h3.smallcaps,.dwTHlo h4.smallcaps,.dwTHlo h5.smallcaps,.dwTHlo h6.smallcaps{font-size:14px;text-transform:uppercase;-webkit-letter-spacing:1px;-moz-letter-spacing:1px;-ms-letter-spacing:1px;letter-spacing:1px;font-weight:400;color:#86889a;font-family:"segoe ui","PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,sans-serif;margin-bottom:20px}.dwTHlo .pageContent{margin-bottom:50px}.dwTHlo .pageContent.noFooter{margin-bottom:0}.dwTHlo .badge,.dwTHlo a.badge-secondary{background:0 0;color:#9060cc;border:1px solid #9060cc;font-weight:400;margin-right:4px;margin:0 4px 4px 0;padding:.5em .8em}.dwTHlo .badge a,.dwTHlo a.badge-secondary a{color:inherit}.dwTHlo .badge:hover,.dwTHlo a.badge-secondary:hover{color:#fff;background:#9060cc}.dwTHlo .badge:active,.dwTHlo .badge:focus,.dwTHlo .badge:focus:active,.dwTHlo a.badge-secondary:active,.dwTHlo a.badge-secondary:focus,.dwTHlo a.badge-secondary:focus:active{color:#fff;background:#9060cc;box-shadow:none}.dwTHlo .badge.big,.dwTHlo a.badge-secondary.big{padding:.9em 1.6em;font-size:100%;border:2px solid #9060cc;font-weight:700}.dwTHlo .tag-header{background:#9060cc;color:#fff;padding:20px 30px;border-radius:2px;margin-bottom:40px}.dwTHlo .tag-header a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}@media only screen and (max-width:767px){.dwTHlo .tag-header{padding:15px 20px}.dwTHlo .tag-header h1{font-size:1.5em}}.dwTHlo .dark-footer-container{background:#202438}.dwTHlo .mobile-show{display:none}@media (max-width:768px){.dwTHlo .mobile-show{display:block}.dwTHlo .mobile-hide{display:none}}.dwTHlo .mobile-hide .banner a.banner-link{border-radius:0 0 6px 6px}.iCIxVg a.banner-link{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background:linear-gradient(135deg,#7c40cc,#5433af 30%,#5792ff 90%,#67b2ff 100%);color:#fff;padding:24px;margin-bottom:40px;border-radius:4px;-webkit-transition:.1s all;transition:.1s all;opacity:.88}@media (max-width:600px){.iCIxVg a.banner-link{padding:18px 20px}}.iCIxVg a.banner-link:hover{-webkit-text-decoration:none;text-decoration:none;opacity:1;color:#fff}.iCIxVg .left{width:80%}.iCIxVg .right{width:15%;text-align:right;font-size:180%;line-height:16px}@media (max-width:400px){.iCIxVg .right{display:none}}.bpGihR .subtitle{color:#9060cc;margin-bottom:10px;margin-top:5px;font-size:12px;text-transform:uppercase;-webkit-letter-spacing:1px;-moz-letter-spacing:1px;-ms-letter-spacing:1px;letter-spacing:1px}.bpGihR .subtitle a{color:#9060cc;-webkit-text-decoration:underline;text-decoration:underline}.iOvbDG{margin-bottom:60px;border:none;border-radius:0;padding:0 0 50px 0;border-bottom:1px solid #dddfe8}@media (max-width:1023px){.iOvbDG{margin-bottom:45px;padding:0 0 40px 0}}.iOvbDG .card-body{padding:0}.iOvbDG .card-title{margin-bottom:20px;font-size:2.6em;-webkit-letter-spacing:-1px;-moz-letter-spacing:-1px;-ms-letter-spacing:-1px;letter-spacing:-1px;line-height:1.1;font-weight:300;color:#202438}.iOvbDG .card-title a{color:inherit}.iOvbDG .card-title a:hover{-webkit-text-decoration:none;text-decoration:none;color:#9060cc;-webkit-transition:.2s color ease-Out;transition:.2s color ease-Out}@media (max-width:1023px){.iOvbDG .card-title{font-size:2.3em}}@media (max-width:727px){.iOvbDG .card-title{font-size:1.8em}}.iOvbDG .post-image-wrapper{max-height:280px;overflow:hidden;margin-bottom:20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iOvbDG .post-image-wrapper a{width:100%;display:block}.iOvbDG .post-image-wrapper .post-image{max-width:800px}@media (max-width:1023px){.iOvbDG .post-image-wrapper{max-height:220px}}@media (max-width:727px){.iOvbDG .post-image-wrapper{max-height:180px}}.iOvbDG .post-image-wrapper .gatsby-image-wrapper,.iOvbDG .post-image-wrapper img{box-shadow:0 0 2px rgba(0,0,0,.1)}.iOvbDG.sm{border-bottom:none;margin-bottom:20px}.iOvbDG.sm .card-title{margin-bottom:10px;font-size:1.8em;line-height:1.25}@media (max-width:1023px){.iOvbDG.sm .card-title{font-size:1.5em}}@media (max-width:727px){.iOvbDG.sm .card-title{font-size:1.5em}}.iOvbDG.sm .post-image-wrapper{max-height:160px;margin-bottom:10px}@media (max-width:1023px){.iOvbDG.sm .post-image-wrapper{max-height:140px}}@media (max-width:727px){.iOvbDG.sm .post-image-wrapper{max-height:120px}}.iOvbDG.xs{margin-bottom:25px;padding-bottom:15px}.iOvbDG.xs .card-title{font-size:1.4em;line-height:1.25;-webkit-letter-spacing:0;-moz-letter-spacing:0;-ms-letter-spacing:0;letter-spacing:0;font-weight:400;margin-bottom:10px}.iOvbDG.xs:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.iOvbDG.xs .post-image-wrapper{width:100px;margin-bottom:8px;position:relative}.iOvbDG.xs .post-image-wrapper .gatsby-image-wrapper{max-width:100px}.iOvbDG.no-margin{padding-bottom:0;border-bottom:0;margin-bottom:0}.iOvbDG.no-border{border:none}@media (min-width:500px){.iOvbDG.float .post-image-wrapper{float:left;min-width:160px;margin-right:25px}}.isHHHu a.banner-link{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background:linear-gradient(135deg,#7c40cc,#5433af 30%,#5792ff 90%,#67b2ff 100%);color:#fff;padding:24px;margin-bottom:40px;border-radius:4px;-webkit-transition:.1s all;transition:.1s all;opacity:.88}@media (max-width:600px){.isHHHu a.banner-link{padding:18px 20px}}.isHHHu a.banner-link:hover{-webkit-text-decoration:none;text-decoration:none;opacity:1;color:#fff}.isHHHu .left{width:80%}.isHHHu .right{width:15%;text-align:right;font-size:180%;line-height:16px}@media (max-width:400px){.isHHHu .right{display:none}}.isHHHu .logo{max-width:100px;max-height:30px;margin-bottom:10px}.isHHHu .tagline{margin-bottom:20px;font-size:86%;opacity:.75}.bczftW{margin-bottom:40px}.bczftW h1{margin-bottom:20px}.jJsGEv{font-size:18px}.jJsGEv img{margin:0 auto}.jJsGEv .gatsby-image-wrapper,.jJsGEv .gatsby-resp-image-wrapper{margin-top:2rem;margin-bottom:2rem}.jJsGEv blockquote{font-size:150%;border-left:5px solid #7040aa;padding:.5em 1em;margin:40px 0}.jJsGEv blockquote p{margin-bottom:0}.jJsGEv h1,.jJsGEv h2,.jJsGEv h3{margin-bottom:20px}
微信小程序API是什么?能实现什么功能? - 小程序资讯 - 上线了sxl.cn微信小程序API(Application Programming Interface),即应用程序编程接口。API是一种接口函数,把函数封装起来,给开发者,这样好多的功能就不需要你去实现了,只要会调用就好了。
小程序开发框架提供丰富的微信小程序api接口,可以方便的调起微信提供的能力,如获取用户信息,本地存储,支付功能等。通常,在小程序 API 有以下几种类型:
1.事件监听 API
以 on 开头的 API 用来监听某个事件是否触发,如:wx.onSocketOpen,wx.onCompassChange 等。
这类 API 接受一个回调函数作为参数,当事件触发时会调用这个回调函数,并将相关数据以参数形式传入。
2.同步 API
我们约定,以 Sync 结尾的 API 都是同步 API, 如 wx.setStorageSync,wx.getSystemInfoSync 等。此外,也有一些其他的同步 API,如 wx.createWorker,wx.getBackgroundAudioManager 等,详情参见 API 文档中的说明。
同步 API 的执行结果可以通过函数返回值直接获取,如果执行出错会抛出异常。
3.异步 API
大多数 API 都是异步 API,如 wx.request,wx.login 等。这类 API 接口通常都接受一个 Object 类型的参数,这个参数都支持按需指定以下字段来接收接口调用结果:
Object 参数说明:
回调函数的参数
success,fail,complete 函数调用时会传入一个 Object 类型参数,包含以下字段:
异步 API 的执行结果需要通过 Object 类型的参数中传入的对应回调函数获取。部分异步 API 也会有返回值,可以用来实现更丰富的功能,如 wx.request,wx.connectSocket 等。
利用小程序API能够实现网络请求功能、顶部Banner功能、底部导航功能、数据交互功能、展示功能等功能。下面跟大家简单介绍几个:
1.网络请求功能
通过网络接口获取数据需要用到网络请求,可以利用js实现。微信提供了网络方面的接口,可以通过API-网络-网络请求。通过这个接口可以进行网络数据请求。
2.底部导航功能
底部导航功能可以通过tabBar属性得以实现。
3.顶部Banner功能
顶部Banner功能可以在swiper组件中实现,可以通过组件-视图容器-swiper找到文档,然后复制到官方。
以上就是关于微信小程序api开发相关知识的科普,关于微信小程序api教程你可以参考微信小程序api文档,学习更多。如果还想了解关于小程序的知识,你可以关注上线了公众号(sxl-cn)。「上线了」https://www.sxl.cn/是一个专注自助建站与小程序开发的SaaS平台,针对众多行业提供多套小程序模板,帮助没有技术和设计基础的商家和创业者,通过上线了一键生成小程序!
本文章由【上线了】原创,未经授权,请勿转载。