<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 警告框封裝 * 調用方法 ~~~ $(function($) { //警告框 var option = {} option.imgSrc = 'html/style/img/article/warm.png' warmFalse('測試') //成功框 warmSucces('測試') }); ~~~ * 警告框封裝 ~~~ function warmStyle(msg){ let imgSrc = 'html/style/img/article/warm.png' // let imgSrc = option && option.imgSrc ? option.imgSrc : 'html/style/img/article/succee.png' // console.log(imgSrc) let html = `<div class="comAlert warmfalse" id="nullSubs">` + `<img src="${imgSrc}" />` + `<span id="warmData">${msg}</span>` + `</div>` $('body').append(html) warmCss() } function warmFalse(msg){ warmStyle(msg) $('#nullSubs').fadeIn().delay(3000).fadeOut(300,function(){ $('#nullSubs').remove() }) } ~~~ * 成功框封裝 ~~~ function succesStyle(msg){ let html = `<div class="comAlert warmsucess" id="autoSubs">` + `<img src="html/style/img/article/succee.png" />` + `<span id="succeedData">${msg}</span>`+ `</div>` $('body').append(html) warmCss() } function warmSucces(msg){ succesStyle(msg) $('#autoSubs').fadeIn().delay(3000).fadeOut(300,function(){ $('#autoSubs').remove() }) } ~~~ * 警告框樣式 ~~~ function warmCss(){ $('.comAlert').css({ 'display':'none', 'position':'absolute', 'width':'280px', 'height':'30px', 'padding':'15px 20px 15px 15px', 'border-radius':'5px', 'text-align':'center', 'line-height':'30px', 'font-size':'16px', 'margin':'0 auto', 'position':'fixed', 'top':'15%', 'left':'0', 'right':'0', 'bottom':'0', 'overflow':'auto', 'z-index':'40' }) $('.comAlert img').css({ 'width':'20px', 'height':'20px', 'position':'absolute', 'left':'10%', 'top':'20px' }) $('.warmfalse').css({ 'border':':#fde2e2', 'color':'#DB7093', 'background-color':'#fef0f0' }) $('.warmsucess').css({ 'border':'#e1f3d8', 'color':'#67c23a', 'background-color':'#f0f9eb' }) } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看