|
@@ -87,7 +87,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="px-24">
|
|
<view class="px-24">
|
|
<tm-button theme="primary" @click="quyifu()" :round="24" block class="mt-50 logincla">添加衣服</tm-button>
|
|
<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>
|
|
</view>
|
|
</view>
|
|
</tm-sheet>
|
|
</tm-sheet>
|
|
@@ -150,7 +150,12 @@ export default {
|
|
},
|
|
},
|
|
quindex(){
|
|
quindex(){
|
|
uni.switchTab({
|
|
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(){
|
|
tijiao(){
|