|
@@ -87,7 +87,7 @@
|
|
|
</view>
|
|
|
<view class="px-24">
|
|
|
<tm-button theme="primary" @click="quyifu()" :round="24" block class="mt-50 logincla">添加衣服</tm-button>
|
|
|
- <tm-button @click="quindex()" theme="primary" :round="24" block class="mt-30 quindex">进入首页</tm-button>
|
|
|
+ <tm-button @click="quindex()" theme="primary" :round="24" block class="mt-30 quindex">进入衣橱</tm-button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</tm-sheet>
|
|
@@ -150,7 +150,12 @@ export default {
|
|
|
},
|
|
|
quindex(){
|
|
|
uni.switchTab({
|
|
|
- url: "/pages/index/index",
|
|
|
+ url: "/pages/wardrobe/index",
|
|
|
+ success: function (e) {
|
|
|
+ var page = getCurrentPages()[0]
|
|
|
+ if (page == undefined || page == null) return;
|
|
|
+ page.shuaxin();
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
tijiao(){
|