Commit 0e89b65c by 陈超

A

parent b641209b
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<div id="app"> <div id="app">
<van-sticky> <van-sticky>
<div class="tabs_container"> <div class="tabs_container">
<div @click="onChange(idx)" v-for="(tab, idx) in options" :key="idx" :class="idx == tab ? 'tab_item_selected' : 'tab_item_normal'" > <div @click="onChange(idx)" v-for="(opt, idx) in options" :key="idx" :class="idx == tab ? 'tab_item_selected' : 'tab_item_normal'" >
<span>{{tab.title}}</span> <span>{{opt.title}}</span>
</div> </div>
</div> </div>
</van-sticky> </van-sticky>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment