|
@@ -9,10 +9,10 @@
|
|
|
<div class="index-wrap">
|
|
|
<tabs class="tab-content" onchange="tabbarChange" index="{{current}}">
|
|
|
<tab-content>
|
|
|
- <home-page @change="pageSwitch"></home-page>
|
|
|
- <category-page></category-page>
|
|
|
+ <home-page @change="pageSwitch" tabindex="{{current}}"></home-page>
|
|
|
+ <category-page tabindex="{{current}}"></category-page>
|
|
|
<shelf-page @change="pageSwitch" tabindex='{{current}}'></shelf-page>
|
|
|
- <my-page @customer="openCustomer"></my-page>
|
|
|
+ <my-page @customer="openCustomer" tabindex="{{current}}"></my-page>
|
|
|
</tab-content>
|
|
|
</tabs>
|
|
|
<div class="fixed-tabbar">
|