• <abbr id="chdyf"></abbr>
    <ruby id="chdyf"><acronym id="chdyf"><meter id="chdyf"></meter></acronym></ruby>
    <bdo id="chdyf"></bdo>
    <dfn id="chdyf"><menu id="chdyf"></menu></dfn>
    1. <menuitem id="chdyf"></menuitem><strong id="chdyf"><menu id="chdyf"></menu></strong>

      <rt id="chdyf"><menu id="chdyf"></menu></rt>
      成人小说一区二区三区,伊人精品成人久久综合全集观看,久久HEZYO色综合,中文字幕精品人妻熟女,影音先锋成人网站,我要看免费一级毛片,中国女人做爰A片,中文字幕av久久爽Av

      jquery 根據下標獲取classname,以及其子元素,修改classname的值

      2023-4-20    前端達人

      1. 根據下標獲取對應的classname,實現點擊按鈕觸發當前塊的點擊事件

      <div class="right" @click="meetingfileVisible(index)">
        <span class="foldIcon">
           <i class="el-icon-caret-bottom"></i>
        </span>
      </div>
      <div class="meeting-file">
        <span>與現實生活一致</span>
      </div> 
                  
      • 1
      • 2
      • 3
      • 4
      • 5
      • 6
      • 7
      • 8
      .meeting-file{ display:none; } 
                  
      • 1
      • 2
      • 3
      meetingfileVisible(index) { $(".meeting-file").eq(index).slideToggle("slow"); var cal =$(".foldIcon").eq(index).children("i").attr("class"); cal = cal === 'el-icon-caret-bottom' ? 'el-icon-caret-top' : 'el-icon-caret-bottom'; $(".foldIcon").eq(index).children("i").attr("class", cal); }, 
                  
      • 1
      • 2
      • 3
      • 4
      • 5
      • 6

      日歷

      鏈接

      個人資料

      藍藍設計的小編 http://www.wtxcl.cn

      存檔