张跃文 4 years ago
parent
commit
471b4dfa3b

+ 1 - 1
unimall-app/pages/buy/transaction.vue

@@ -126,7 +126,7 @@
 						text: '粮信',
 						midButton: true,
 						customIcon: false,
-						// pagePath:'/pages/home/home'
+						pagePath:'/pages/home/home'
 					},
 					{
 						iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wuliu.png",

+ 15 - 2
unimall-app/pages/sale/information.vue

@@ -304,8 +304,21 @@
 			})
 			uni.hideTabBar()
 			// this.loadData()
-			
-			
+			uni.preloadPage({
+				url:"/pages/buy/transaction",
+				complete(e) {
+					console.log("预加载成功"+JSON.stringify(e))
+				},
+				fail(e) {
+					console.log("预加载失败"+JSON.stringify(e))
+				}
+			})
+			uni.preloadPage({
+				url:"/pages/tran/tran"
+			})
+			uni.preloadPage({
+				url:"/pages/user/user"
+			})
 		},
 		onPageScroll(e) {
 			this.scrollTop = e.scrollTop;

+ 1 - 1
unimall-app/pages/tran/tran.vue

@@ -166,7 +166,7 @@
 							text: '粮信',
 							midButton: true,
 							customIcon: false,
-							// pagePath:'/pages/home/home'
+							pagePath:'/pages/home/home'
 						},
 						{
 							iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wuliu.png",

+ 1 - 1
unimall-app/pages/user/user.vue

@@ -245,7 +245,7 @@
 							text: '粮信',
 							midButton: true,
 							customIcon: false,
-							// pagePath:'/pages/home/home'
+							pagePath:'/pages/home/home'
 						},
 						{
 							iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wuliu.png",