|
@@ -1,11 +1,11 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
|
|
|
- <scroller>
|
|
|
+ <scroller >
|
|
|
<div style="padding: 15px;">
|
|
|
<button-tab>
|
|
|
<button-tab-item selected @on-item-click="consoleIndex(1)">预约中</button-tab-item>
|
|
|
- <button-tab-item @on-item-click="consoleIndex(3)" >已完成</button-tab-item>
|
|
|
+ <button-tab-item :selected="isComplete" @on-item-click="consoleIndex(3)" >已完成</button-tab-item>
|
|
|
<button-tab-item @on-item-click="consoleIndex(2)">已取消</button-tab-item>
|
|
|
</button-tab>
|
|
|
</div>
|
|
@@ -88,6 +88,7 @@
|
|
|
created () {
|
|
|
if (this.$route.query.type !== undefined) {
|
|
|
this.consoleIndex(this.$route.query.type)
|
|
|
+ this.isComplete = true
|
|
|
} else {
|
|
|
this.consoleIndex(1)
|
|
|
}
|
|
@@ -139,6 +140,7 @@
|
|
|
isShow: 1,
|
|
|
showScrollBox: false,
|
|
|
showScrollBox1: false,
|
|
|
+ isComplete: false,
|
|
|
orderId: '',
|
|
|
orderList: {}
|
|
|
}
|