|
@@ -14,8 +14,8 @@
|
|
|
</div>
|
|
|
<div class="btn-recharge" @click="recharge">充值</div>
|
|
|
<button-tab>
|
|
|
- <button-tab-item selected @on-item-click="consoleIndex(1)">充值</button-tab-item>
|
|
|
- <button-tab-item :selected="!isSelected" @on-item-click="consoleIndex(2)">消费</button-tab-item>
|
|
|
+ <button-tab-item selected @on-item-click="consoleIndex(1)" ref="reset">充值</button-tab-item>
|
|
|
+ <button-tab-item @on-item-click="consoleIndex(2)">消费</button-tab-item>
|
|
|
</button-tab>
|
|
|
</div>
|
|
|
<div style="margin-top: 165px;">
|
|
@@ -108,6 +108,7 @@
|
|
|
this.moduleShow = false
|
|
|
this.consoleIndex(1)
|
|
|
this.isSelected = true
|
|
|
+ this.$refs.reset.onItemClick()
|
|
|
console.log(this.isSelected)
|
|
|
},
|
|
|
modalTime (index) {
|