Commit 0e89b65c by 陈超

A

parent b641209b
......@@ -7,8 +7,8 @@
<div id="app">
<van-sticky>
<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'" >
<span>{{tab.title}}</span>
<div @click="onChange(idx)" v-for="(opt, idx) in options" :key="idx" :class="idx == tab ? 'tab_item_selected' : 'tab_item_normal'" >
<span>{{opt.title}}</span>
</div>
</div>
</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