|
@@ -30,12 +30,12 @@
|
|
|
<!-- 商城 -->
|
|
|
<swiper-item>
|
|
|
<view>
|
|
|
- <kj-express :language='language'></kj-express>
|
|
|
+ <kj-express ref="express" :language='language'></kj-express>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
|
<view>
|
|
|
- <kj-index :language='language'></kj-index>
|
|
|
+ <kj-index ref='index' :language='language'></kj-index>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
@@ -114,6 +114,10 @@
|
|
|
// this.getlista()
|
|
|
},
|
|
|
onShow() {
|
|
|
+ this.$refs.express.express()
|
|
|
+ this.$refs.express.getexpress();
|
|
|
+ this.$refs.express.getlist();
|
|
|
+ this.$refs.index.getlista();
|
|
|
// this.config()
|
|
|
// // tabs列表
|
|
|
// this.category()
|
|
@@ -124,6 +128,7 @@
|
|
|
// //海外包邮
|
|
|
// this.shipp()
|
|
|
// this.recommend()
|
|
|
+
|
|
|
if (uni.getStorageSync('language') != '') {
|
|
|
this.language = uni.getStorageSync('language')
|
|
|
}
|