<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                > 效果如圖 ![](https://box.kancloud.cn/85f5c596fa247cdcee49e67f3c1641b3_394x669.gif) > 這里實現的是三組 list 中的 點擊 toggle事件 > html 代碼 ``` <div id="app"> <div v-for="(item, index) in list" :key="index"> <p v-show="index === activeIndex" :key="index">{{item}}--{{index}}</p> <div style="background: cadetblue;width: 100px;height: 100px" @click="toggle(index, 1)">test</div> </div> <div v-for="(item, index) in list2" :key="index"> <p v-show="index === activeIndex2" :key="index">{{item}}--{{index}}</p> <div style="background: cadetblue;width: 100px;height: 100px" @click="toggle(index, 2)">test</div> </div> <div v-for="(item, index) in list3" :key="index"> <p v-show="index === activeIndex3" :key="index">{{item}}--{{index}}</p> <div style="background: cadetblue;width: 100px;height: 100px" @click="toggle(index, 3)">test</div> </div> </div> ``` > js 代碼 ``` var vm = new Vue({ el: '#app', data() { return { list: [ '111', '222', '333', '444', '555' ], list2: [ '111', '222', '333', '444', '555' ], list3: [ '111', '222', '333', '444', '555' ], activeIndex: '', activeIndex2: '', activeIndex3: '' } }, methods: { toggle(index, num) { this.activeIndex = this.activeIndex2 = this.activeIndex3 = '' switch (num) { case 1: this.activeIndex = index; break; case 2: this.activeIndex2 = index; break; case 3: this.activeIndex3 = index break; default: } } }, }) ```
                  <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>

                              哎呀哎呀视频在线观看