Commit 7afefe5d by 冷斌

fix bug

parent 094095cf
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div class="layout_v" :class="opt.options ? 'order_inner_tab_container' : ''"> <div class="layout_v" :class="opt.options ? 'order_inner_tab_container' : ''">
<div v-if="opt.options" class="layout_h order_inner_tab" style="background: white;z-index: 220;"> <div v-if="opt.options" class="layout_h order_inner_tab" style="background: white;z-index: 220;">
<div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(index)" <div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(idx)"
class="layout_center weight_full" class="layout_center weight_full"
:class="innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'">{{innerOpt.title}} :class="innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'">{{innerOpt.title}}
</div> </div>
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
items: [] items: []
}, { }, {
title: "已取消", title: "已取消",
v: 'goods ', v: 'goods',
items: [] items: []
}] }]
}] }]
...@@ -194,11 +194,11 @@ ...@@ -194,11 +194,11 @@
}, },
methods: { methods: {
onTopTab: function (tab) { onTopTab: function (tab) {
this.innerTab = tab; this.tab = tab;
this.getList(); this.getList();
}, },
onInnerTab: function (tab) { onInnerTab: function (tab) {
this.tab = tab; this.innerTab = tab;
this.getList(); this.getList();
}, },
getList: function () { getList: function () {
......
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